TECHNIQUES FOR PERFORMING REGULAR EXPRESSION-BASED PATTERN MATCHING IN DATA STREAMS
First Claim
Patent Images
1. A method of detecting a pattern in a data stream comprising events, the method comprising:
- receiving, at a processing system, predicate information, the predicate information specifying a predicate associated with each symbol in a set of one or more symbols;
receiving, at the processing system, a regular expression specifying a pattern, the regular expression comprising one or more symbols from the set of symbols;
constructing an automaton for the pattern; and
upon receiving an event in the data stream;
determining, based upon the received event, one or more states of the automaton and associated bindings, wherein at least one state in the one or more states has multiple associated bindings, anddetermining if the pattern is matched due to the received event based upon the one or more states and associated bindings.
1 Assignment
0 Petitions
Accused Products
Abstract
Techniques for detecting patterns in one or more data streams. A pattern to be detected may be specified using a regular expression. Events received in a data stream are processed during runtime to detect occurrences of the specified pattern in the data stream.
-
Citations
18 Claims
-
1. A method of detecting a pattern in a data stream comprising events, the method comprising:
-
receiving, at a processing system, predicate information, the predicate information specifying a predicate associated with each symbol in a set of one or more symbols; receiving, at the processing system, a regular expression specifying a pattern, the regular expression comprising one or more symbols from the set of symbols; constructing an automaton for the pattern; and upon receiving an event in the data stream; determining, based upon the received event, one or more states of the automaton and associated bindings, wherein at least one state in the one or more states has multiple associated bindings, and determining if the pattern is matched due to the received event based upon the one or more states and associated bindings. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer-readable storage medium storing a plurality of instructions for controlling a processor to detect a pattern in a data stream comprising events, the plurality of instructions comprising:
-
instructions that cause the processor to receive predicate information, the predicate information specifying a predicate associated with each symbol in a set of one or more symbols; instructions that cause the processor to receive a regular expression specifying a pattern, the regular expression comprising one or more symbols from the set of symbols; instructions that cause the processor to construct an automaton for the pattern; and instructions that cause the processor to, upon receiving an event in the data stream, determine, based upon the received event, one or more states of the automaton and associated bindings, wherein at least one state in the one or more states has multiple associated bindings, and determine if the pattern is matched due to the received event based upon the one or more states and associated bindings. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A system for detecting a pattern in a data stream comprising events, the system comprising:
-
a memory storing a plurality of instructions; and a processor coupled to the memory, the processor configured to execute the plurality of instructions to; receive predicate information, the predicate information specifying a predicate associated with each symbol in a set of one or more symbols; receive a regular expression specifying a pattern, the regular expression comprising one or more symbols from the set of symbols; construct an automaton for the pattern; and upon receiving an event in the data stream, determine, based upon the received event, one or more states of the automaton and associated bindings, wherein at least one state in the one or more states has multiple associated bindings, and determine if the pattern is matched due to the received event based upon the one or more states and associated bindings. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification