Method and device for high performance regular expression pattern matching
Abstract
Disclosed herein is an improved architecture for regular expression pattern matching. Improvements to pattern matching deterministic finite automatons (DFAs) that are described by the inventors include a pipelining strategy that pushes state-dependent feedback to a final pipeline stage to thereby enhance parallelism and throughput, augmented state transitions that track whether a transition is indicative of a pattern match occurring thereby reducing the number of necessary states for the DFA, augmented state transition that track whether a transition is indicative of a restart to the matching process, compression of the DFA's transition table, alphabet encoding for input symbols to equivalence class identifiers, the use of an indirection table to allow for optimized transition table memory, and enhanced scalability to facilitate the ability of the improved DFA to process multiple input symbols per cycle.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 73.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A device for matching an input string to a pattern via a deterministic finite automaton (DFA), the DFA comprising a plurality of states including a current state, the input string comprising a plurality of input symbols, the device comprising: a pattern matching circuit that implements the DFA, the pattern matching circuit being configured to receive and serially process the input symbols of the input string in groups of m input symbols, wherein m is an integer that is greater than or equal to 1, the pattern matching circuit comprising: (1) a transition table memory comprising a plurality of s
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗