STREAM DATA PROCESSING METHOD AND APPARATUS
First Claim
Patent Images
1. A stream data processing method comprising the steps of:
- registering a query in a first node, subjecting data added with time stamps to operator execution in a second node set, and sorting the data having been subjected to operator execution according to the time stamps to output the data in a third node set;
extracting, in the first node, a set of first value expressions indicating a group that assures an input order by data of the same group from the registered query, and calculating a set of second value expressions indicating a method for partitioning operator execution for each data in the plural second nodes;
calculating a set of third value expressions indicating a method for performing output processing by partitioning data into the plural third nodes from the sets of the first and second value expressions, and determining a method for distributing data to the third node set from the set of third value expressions; and
determining, on the basis of the distribution method for the third node set and the set of the first value expressions, a method for distributing data having been processed in the same second node so as to be processed in the same third node.
1 Assignment
0 Petitions
Accused Products
Abstract
A user specifies a group by a user-defined query. An input order is assured among data of a same group. By outputting data belonging to a same group from the same node, an order inputted for a necessary portion is assured. By outputting data belonging to different groups from another node, processing in plural nodes is achieved to avoid reduction in performance.
-
Citations
14 Claims
-
1. A stream data processing method comprising the steps of:
-
registering a query in a first node, subjecting data added with time stamps to operator execution in a second node set, and sorting the data having been subjected to operator execution according to the time stamps to output the data in a third node set; extracting, in the first node, a set of first value expressions indicating a group that assures an input order by data of the same group from the registered query, and calculating a set of second value expressions indicating a method for partitioning operator execution for each data in the plural second nodes; calculating a set of third value expressions indicating a method for performing output processing by partitioning data into the plural third nodes from the sets of the first and second value expressions, and determining a method for distributing data to the third node set from the set of third value expressions; and determining, on the basis of the distribution method for the third node set and the set of the first value expressions, a method for distributing data having been processed in the same second node so as to be processed in the same third node. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A stream data processing system that processes inputted data comprising:
-
a first node for registering a query; a second node set for performing operator execution of data to which a time stamp is added; and a third node set for sorting the data having been subjected to said operator execution according to the time stamp, and for outputting the data, wherein the first node extracts a set of first value expressions indicating a group that assures an input order by data of the same group from the registered query, and calculates a set of second value expressions indicating a method for partitioning operator execution for each data in the plural second nodes, wherein the first node calculates a set of third value expressions indicating a method for performing output processing by partitioning data into the plural third nodes from the sets of the first and second value expressions, and generates a first table indicating a method for distributing data to the third node set from the set of third value expressions, and wherein the first node generates a second table indicating a method for distributing data having been processed in the same second node so as to be processed in the same third node, from the distribution method for the third node set and the set of the first value expressions. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
Specification