Continuous Querying of a Data Stream
First Claim
1. An article of manufacture including a computer usable medium having computer readable program code embodied therein for continuous querying of a data stream, comprising computer readable program code capable of performing the operations of:
- initializing (310) a query including query cycles on a query engine to query the data stream for desired information;
processing (320) the data stream as segments, wherein a size of the segments is based on a defined parameter;
synchronizing (330) the query cycles with the segments of the data stream;
analyzing (340) a first segment in a first computer memory by performing the query on the first segment using a processor to obtain a first result;
persisting (350) a query state of the query and rewinding a query operation to begin a new query cycle; and
analyzing (360) a second segment in a second computer memory in the new query cycle by performing the query on the second segment using the processor and based on the first result.
2 Assignments
0 Petitions
Accused Products
Abstract
In continuous querying of a data stream, a query including query cycles can be initialized (310) on a query engine to analyze the data stream for desired information. The data stream can be processed (320) as segments, where a size of the segments is based on a user-defined parameter. The query cycles can be synchronized (330) with the segments of the data stream. A first segment can be analyzed (340) by performing the query on the first segment to obtain a first result. A query state of the query can be persisted (350) and the query operation can be rewound to begin a new query cycle. A second segment can be analyzed (360) in the new query cycle by performing the query on the second segment based on the first result.
18 Citations
15 Claims
-
1. An article of manufacture including a computer usable medium having computer readable program code embodied therein for continuous querying of a data stream, comprising computer readable program code capable of performing the operations of:
-
initializing (310) a query including query cycles on a query engine to query the data stream for desired information; processing (320) the data stream as segments, wherein a size of the segments is based on a defined parameter; synchronizing (330) the query cycles with the segments of the data stream; analyzing (340) a first segment in a first computer memory by performing the query on the first segment using a processor to obtain a first result; persisting (350) a query state of the query and rewinding a query operation to begin a new query cycle; and analyzing (360) a second segment in a second computer memory in the new query cycle by performing the query on the second segment using the processor and based on the first result. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system (100) for continuous querying of a data stream, comprising:
-
a query engine (170) for analyzing a continuous data stream for desired information; an analysis server (120) for delivering the continuous data stream to the query engine in data segments; a query (180) executing on the query engine in cycles synchronized with the data segments of the continuous data stream; a first buffer (140) for receiving a first data segment; a second buffer (150) for receiving a second data segment; and a buffer pool management module (130) for managing alternately reading and writing from the first buffer and the second buffer. - View Dependent Claims (11, 12, 13, 14)
-
-
15. A method (400) for continuous querying of a data stream, comprising:
-
receiving (410) a data stream from a data source; executing (420) a cycle-based continuous query on the segments of the data stream; delivering (430) analytics results from execution of the cycle-based continuous query to two destination tables, alternately cycle-by-cycle; simultaneously producing and consuming (440) the analytics results by producing the results at one of the two destination tables while consuming the analytics results at another one of the two destination tables; and persisting (450) a query state of the cycle-based continuous query across segments and rewinding a query operation to begin a new query cycle with the same cycle-based continuous query.
-
Specification