Patents
US 9,304,768 B2#18823914 Most CitedActiveUnited States (USPTO)Utility

Cache prefetch for deterministic finite automaton instructions

6Forward Citations (#18823914 Global)
0.6/yrCitation Velocity (#13247378 Global)
1.25Citation PageRank (#30206289 Global)
50Prior Art Cited
3Claims (1 Indep. · 2 Dep.)
0Drawings / Sheets

Abstract

In a DFA scanning engine used to match regular expressions or similar rules, instructions to execute DFA state transitions are accessed through an instruction cache. Each DFA instruction may indicate varying numbers of transitions or branches from a current state. The cache pre-fetches a requested number of additional instructions consecutively following an accessed instruction. The DFA engine accesses an instruction from the cache corresponding to a state within a small number of transitions from the root state. When a low-branching instruction is executed to access a next instruction from the root state, or when a low-branching instruction is executed to access a next instruction from the cache, a fixed or configurable pre-fetch length is requested. Some instructions such as low-branching instructions may contain a pre-fetch hint.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 6.

Claims (3 — 1 Independent, 2 Dependent)

  1. Claim 1Independent Claim

    A method of pre-fetching instructions to an instruction cache for a Deterministic Finite Automaton (DFA) engine during a DFA descent, said DFA descent comprising a transition depth and a branching value, said method comprising: accessing an instruction from an instruction cache; and pre-fetching a number of instructions immediately following the accessed instruction to the instruction cache, wherein the number of instructions is selected based on at least one of the transition depth or the branching value.

  2. Claim 2Depends on #1

    The method of claim 1 , wherein the number of instructions is selected based on the transition depth.

  3. Claim 3Depends on #2

    The method of claim 2 , wherein said selection is by comparing the transition depth with a threshold value and selecting the number of instructions to be zero only if the transition depth is less

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (50)

PatentTitleYearCitations
US 5,485,620 AIntegrated control system for industrial automation applications1996347
US 5,870,576 AMethod and apparatus for storing and expanding variable-length program instructions upon detection of a miss condition within an instruction cache containing pointers to compressed instructions for wide instruction word processor architectures199933
US 5,937,181 ASimulation of a process of a concurrent system199916
US 6,122,757 ACode generating system for improved pattern matching in a protocol analyzer200098
US 2001014936 A1Data processing device, system, and method using a table—33
US 2002124162 A1Computer system and method for fetching a next instruction—8
US 2003051043 A1High speed data stream pattern recognition—142
US 2003065800 A1Method of generating of DFA state machine that groups transitions into classes in order to conserve memory—98
US 6,697,276 B1Content addressable memory device2004106
US 6,700,809 B1Entry relocation in a content addressable memory device2004117
US 2004162826 A1System and method for determining the start of a match of a regular expression—107
US 2004215593 A1Programmable processor apparatus integrating dedicated search registers and dedicated state machine registers with associated execution hardware to support rapid application of rulesets to data—123
US 2005012521 A1Methods and apparatuses for evaluation of regular expressions of arbitrary size—83
US 6,934,796 B1Content addressable memory with hashing function200593
US 2005198625 A1Apparatus and methods for performing generational escape analysis in managed runtime environments—10
US 2005273450 A1Regular expression acceleration engine and processing model—124
US 2006101195 A1Layered memory architecture for deterministic finite automaton based string matching useful in network intrusion detection and prevention systems and apparatuses—86
US 2006136570 A1Runtime adaptable search processor—404
US 7,119,577 B2Method and apparatus for efficient implementation and evaluation of state machines and programmable finite state automata200632
US 2006277534 A1Evaluation of a temporal description within a general purpose programming language—18
US 2007130140 A1Method and device for high performance regular expression pattern matching—83
US 2007182540 A1Local verification systems and methods for security monitoring—63
US 2008034427 A1Fast and scalable process for regular expression search—68
US 2008046423 A1Method and system for multi-character multi-pattern pattern matching—90

Non-Patent Literature (5)

  • Michela Becchi, Charlie Wiseman, Patrick Crowley, "Evaluating Regular Expression Matching Engines on Network and General Purpose Processors", 5th ACM/IEEE Symposium on Architectures for Networking and Communications Systems (ANCS'09), Oct. 2009, pp. 30-39.
  • Michela Becchi, Mark Franklin, and Patrick Crowley, "A Workload for Evaluating Deep Packet Inspection Architectures", Workload Characterization, 2008. IISWC 2008. IEEE International Symposium on, Oct. 2008, pp. 79-89.
  • Michela Becchi, Patrick Crowley, "A Hybrid Finite Automaton for Practical Deep Packet Inspection", CoNEXT '07 Proceedings of the 2007 ACM CoNEXT conference, Dec. 2007, pp. 1-12.
  • Morita, et al. (Apr. 1994). Parallel generation and parsing of array languages using reversible cellular automata. International Journal of Pattern Recognition and Artificial Intelligence, 8(02), 543-561.
  • Suejb Memeti, "Automatic Java Code Generator for Regular Expression and Finite Automata", published by Linneaeus Univeristy, Vaxjo, SE, for Degree Project, May 2012, pp. 1-47.