Stream data processing method and system
First Claim
1. A stream data processing method in a system conducting query processing on stream data, the method comprising:
- sectioning, when the query includes a time-based window in which the stream data arriving at the system within a given time interval is to be processed, the time-based window into sub-windows each having a smaller width;
generating at least one aggregation tuple that aggregates the stream data included within the sub-window; and
calculating the query processing result based on the aggregation tuple.
1 Assignment
0 Petitions
Accused Products
Abstract
Stream data is provided for realizing precise calculation processing to keep a constant memory usage of a query including a time-based window, and to take all of input data into consideration. A stream data processing server sections the time-based window into sub-windows each with a smaller width by a query time resolution change unit, and a query processing engine executes the aggregation processing based on the sub-window when receiving the stream data to generate an aggregation tuple, and calculates the calculation result of the query including the time-based window by aggregation processing on the aggregation tuple.
-
Citations
15 Claims
-
1. A stream data processing method in a system conducting query processing on stream data, the method comprising:
-
sectioning, when the query includes a time-based window in which the stream data arriving at the system within a given time interval is to be processed, the time-based window into sub-windows each having a smaller width; generating at least one aggregation tuple that aggregates the stream data included within the sub-window; and calculating the query processing result based on the aggregation tuple. - View Dependent Claims (2, 3)
-
-
4. A stream data processing method in a system conducting query processing on stream data, the method comprising:
-
sectioning, when the query includes a time-based window in which stream data arriving at the system within a given time interval is to be processed, the time-based window into sub-windows each having a smaller width; generating, when a received stream tuple is sectioned into the new sub-window, an aggregation tuple within the sub-window; setting a termination time of a lifetime of the aggregation tuple to a time obtained by adding a width of the time-based window designated by the query to a time stamp of the received stream tuple; updating the aggregation tuple based on the stream tuple when the received stream tuple is sectioned into the existing sub-window; setting the lifetime termination time of the updated aggregation tuple to a time obtained by adding a width of the time-based window designated by the query to the time stamp of the received stream tuple; generating a stream tuple with a flag that erases the aggregation tuple at the set lifetime termination time; and calculating the query processing result based on the aggregation tuple. - View Dependent Claims (5, 6)
-
-
7. A stream data processing system for conducting query processing on stream data, comprising:
-
a network interface unit that receives the stream data; a processing unit that conducts query processing on the stream data; and a storage unit that retains the query, wherein the processing unit sections, when the query includes a time-based window in which the stream data arriving at the system within a given time interval is to be processed, the time-based window into sub-windows each having a smaller width, generates at least one aggregation tuple that aggregates the stream data included within the sub-window, and calculates a processing result of the query based on the aggregation tuple. - View Dependent Claims (8, 9, 10, 11, 12, 13, 14, 15)
-
Specification