Invention Grant
US07949683B2 Method and apparatus for traversing a compressed deterministic finite automata (DFA) graph
有权
用于遍历压缩的确定性有限自动机(DFA)图的方法和装置
- Patent Title: Method and apparatus for traversing a compressed deterministic finite automata (DFA) graph
- Patent Title (中): 用于遍历压缩的确定性有限自动机(DFA)图的方法和装置
-
Application No.: US11986975Application Date: 2007-11-27
-
Publication No.: US07949683B2Publication Date: 2011-05-24
- Inventor: Rajan Goyal
- Applicant: Rajan Goyal
- Applicant Address: US CA Mountain View
- Assignee: Cavium Networks, Inc.
- Current Assignee: Cavium Networks, Inc.
- Current Assignee Address: US CA Mountain View
- Agency: Hamilton, Brook, Smith & Reynolds, P.C.
- Main IPC: G06F7/00
- IPC: G06F7/00

Abstract:
An apparatus, and corresponding method, for traversing a compressed graph used in performing a search for a match of at least one expression in an input stream is presented. The compressed graph includes a number of interconnected nodes connected solely by valid arcs. A valid arc of a current node represents a character match in an expression of a character associated with the current node. Arcs which are not valid may be pruned. Non-valid arcs may include arcs which point back to a designated node(s), or arcs that point to the same next node as the designated node(s) for the same character. Each valid arc may comprise a next node pointer, a hash function, and a copy of an associated character. The hash function may be used to manage a retrieval process used by a walker traversing the compressed node. The walker may also use a comparison function to verify the correct arc has been retrieved.
Public/Granted literature
- US20090138440A1 Method and apparatus for traversing a deterministic finite automata (DFA) graph compression Public/Granted day:2009-05-28
Information query