NESTED COMPLEX SEQUENCE PATTERN QUERIES OVER EVENT STREAMS
First Claim
Patent Images
1. A method of evaluating nested complex sequence pattern queries comprising:
- obtaining events from an event stream;
evaluating the events within a first window using an outer query to produce outer partial results;
determining a more stringent window constraint, the more stringent window constraint comprising a subset of the window constraint corresponding to events that produces the outer partial results; and
passing the more stringent window constraint to an inner query nested within the outer query.
2 Assignments
0 Petitions
Accused Products
Abstract
A method of evaluating nested complex sequence pattern queries includes obtaining events from an event stream and evaluating the events within a first window using an outer query to produce outer partial results. The method also includes determining a more stringent window constraint, the more stringent window constraint comprising a subset of the window constraint corresponding to events that produces the outer partial results and passing the more stringent window constraint to an inner query nested within the outer query. A complex event processing system is also provided.
-
Citations
15 Claims
-
1. A method of evaluating nested complex sequence pattern queries comprising:
-
obtaining events from an event stream; evaluating the events within a first window using an outer query to produce outer partial results; determining a more stringent window constraint, the more stringent window constraint comprising a subset of the window constraint corresponding to events that produces the outer partial results; and passing the more stringent window constraint to an inner query nested within the outer query. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A complex event processing system comprising:
-
an event stream; a computational device; a complex event processing engine for receiving event from the event stream, in which the complex event processing engine is hosted by the computational device; nested complex sequence pattern query executed by the complex event processing engine, the nested complex sequence pattern query comprising; an outer query; an inner child sub-query nested within the outer query, in which the outer query is evaluated prior to evaluation of the inner child sub-query; and a window constraint derived from the outer query, the window constraint being passed down to the inner child sub-query, the inner child sub-query being evaluated within the window constraint. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. A complex event processing system comprising:
-
an event stream; a computational device; a complex event processing engine for receiving event from the event stream, in which the complex event processing engine is hosted by the computational device by executing computer readable instructions by a processor in the computational device; nested complex sequence pattern query executed by the complex event processing engine, the nested complex sequence pattern query comprising; an outer query; an inner child sub-query nested within the outer query, in which the outer query is evaluated prior to evaluation of the inner child sub-query; a window constraint derived from the outer query, the window constraint being passed down to the inner child sub-query, the inner child sub-query being evaluated within the window constraint, in which window constraints are generated for each partial result of the outer query and each of the window constraints is passed down a respective inner child sub-query for evaluation, the inner child sub-query computing results based on events within the event stream constrained by the window constraints to produce qualified result sequences that are passed up to the outer query; and local results generated by the outer query, in which the outer query joins the qualified result sequences with the local results; a root operator, in which evaluation of the outer query and inner child query are performed iteratively and passed upward to the root operator until a final result sequence is produced by the root operator; a contextual delay constraint for passing up intermediate results when evaluating event instances in the window constraint with the inner child sub-query; local predicates for filtering events before being stored in a stack; and an attribute value passed from the outer query to the inner child query to correlate the outer query with the inner child query, the events within the window constraint being evaluated against the attribute value by the inner child query to determine which events are relevant to the outer query; in which partial outer results from the outer query are joined with the inner query results of the inner child query.
-
Specification