Pre-processing before precise pattern matching
Abstract
A method for pattern matching finds a target pattern from a stream of patterns, both of the stream of patterns and the target pattern being comprised of elements. The method includes acquiring occurrence numbers of target elements in the target pattern, initializing the buffer, the buffer indicating a section in the stream of patterns, determining whether occurrence numbers of the target elements in the buffer reach the occurrence numbers of the target elements in the target pattern, updating the buffer and then returning to the determining step, in response to determining that the occurrence numbers of the target elements in the buffer do not reach the occurrence numbers of the target elements in the target pattern, and outputting the elements in the buffer for subsequent processing, in response to determining that the occurrence numbers of the target elements in the buffer reach the occurrence numbers of the target elements in the target pattern. A device and a circuit for pattern matching are also provided to increase the speed for pattern matching.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 24 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for identifying a target pattern from a stream of patterns, the target pattern and the stream of patterns comprises consecutive elements and the target pattern comprises one or more of the consecutive elements of the stream of patterns, the method comprising: acquiring a first occurrence value for each element in the target pattern, wherein the first occurrence value is equal to the number of times each element occurs in the target pattern; storing a predetermined number of consecutive elements from the stream of patterns in a buffer as a section of elements, wherein the section of el
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (24)
Non-Patent Literature (5)
- Baeza-Yates, Ricardo A., et al., "Fast and Practical Approximate String Matching", Combinatorial Pattern Matching, Tucson, AZ, Apr. 29-May 1, 1992, pp. 185-192.
- Fernandez, Edward, et al., "String Matching in Hardware using the FM-index", FCCM 2011, Salt Lake City, UT, IEEE Computer Society, pp. 218-225.
- Ierusalimschy, Roberto, "A text pattern-matching tool based on Parsing Expression Grammars", Software-Practice and Experience, vol. 39, © 2008 John Wiley and Sons, Ltd., pp. 221-258.
- Ierusalimschy, Roberto, “A text pattern-matching tool based on Parsing Expression Grammars”, Software—Practice and Experience, vol. 39, © 2008 John Wiley and Sons, Ltd., pp. 221-258.
- Kernighan, Brian W., et al., The C Programming Language, Prentice-Hall, Inc., Englewood Cliffs, NJ, © 1978, pp. 65-67, 98-102 and 112-113.