PARALLEL PATTERN MATCHING ON MULTIPLE INPUT STREAMS IN A DATA PROCESSING SYSTEM
First Claim
1. A method of pattern matching in a data processing system, the method comprising:
- performing in parallel for a plurality of input streams;
calculating a memory address in a translation table responsive to a current input value, a current state and current state information;
retrieving a transition rule from the transition rule table at the memory address, the transition rule including a test input value, a test current state, and next state information;
determining if the current input value and the current state match the test input value and the test current state;
updating the current state information with the next state information in response to determining that the current input value and the current state match the test input value and the test current state; and
updating the current state information with contents of a default transition rule in response to determining that the current input value and the current state do not match the test input value and the test current state.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, system and computer program product for performing pattern matching in parallel for a plurality of input streams. The method includes calculating a memory address in a translation table responsive to a current input value, a current state and current state information. A transition rule is retrieved from the transition rule table at the memory address, the transition rule including a test input value, a test current state, and next state information. It is determined if the current input value and the current state match the test input value and the test current state. The current state information is updated with the next state information in response to determining that the current input value and the current state match the test input value and the test current state. The current state information is updated with contents of a default transition rule in response to determining that the current input value and the current state do not match the test input value and the test current state.
34 Citations
20 Claims
-
1. A method of pattern matching in a data processing system, the method comprising:
-
performing in parallel for a plurality of input streams; calculating a memory address in a translation table responsive to a current input value, a current state and current state information; retrieving a transition rule from the transition rule table at the memory address, the transition rule including a test input value, a test current state, and next state information; determining if the current input value and the current state match the test input value and the test current state; updating the current state information with the next state information in response to determining that the current input value and the current state match the test input value and the test current state; and updating the current state information with contents of a default transition rule in response to determining that the current input value and the current state do not match the test input value and the test current state. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system for pattern matching, the system comprising:
-
a transition rule table for storing transition rules; a plurality of state registers storing current states of a plurality of state machines; an address generator including circuitry for receiving input current input values and for generating addresses corresponding to transition rules in response to the current input values and the current states; a mechanism operating in parallel on multiple generated addresses for retrieving transition rules corresponding to each of the generated addresses, the retrieving from the transition rule table; and a rule selector for updating the current states in response to the retrieved transition rules. - View Dependent Claims (10, 11, 12, 13)
-
-
14. A computer program product for pattern matching in a data processing system, the computer program product comprising:
-
a tangible storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising; performing in parallel for a plurality of input streams; calculating a memory address in a transition rule table responsive to a current input value, a current state and current state information; retrieving a transition rule from the transition rule table at the memory address, the transition rule including a test input value, a test current state, and next state information; determining if the current input value and the current state match the test input value and the test current state; updating the current state information with the next state information in response to determining that the current input value and the current state match the test input value and the test current state; and updating the current state information with contents of a default transition rule in response to determining that the current input value and the current state do not match the test input value and the test current state. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
Specification