Multiple string searching using ternary content addressable memory
Abstract
Disclosed herein is a method and apparatus for multiple string searching using a ternary content addressable memory. The method includes receiving a text string having a plurality of characters and performing an unanchored search of a database of stored patterns matching one or more characters of the text string using a state machine, wherein the state machine comprises a ternary content addressable memory (CAM) and wherein the performing comprises comparing a state and one of the plurality of characters with contents of a state field and a character field, respectively, stored in the ternary CAM. In the method and apparatus described herein, one or more of the following search features may be supported: exact string matching, inexact string matching, single character wildcard matching, multiple character wildcard matching, case insensitive matching, parallel matching and rollback.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 1.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A search engine for implementing search operations between an input string of characters and a plurality of patterns embodied by a state machine, the search engine comprising: a ternary content addressable memory (TCAM) having a plurality of rows each for storing a first portion of a corresponding state entry of the state machine, wherein the first portion includes a state field, a character field, and a previous result field; and an associated random access memory (RAM) having a plurality of rows each for storing a second portion of the corresponding state entry, wherein the second portion in
- Claim 2Depends on #1
The search engine of claim 1 , wherein the state field, the character field, and the previous result field of the first portion of each state entry are individually masked with respect to the first portions of other state
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 10,489,455 B2 | Scoped search engine | 2019 | 0 |
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- "Fast Routing Table Lookup Using CAMs", Anthony J. McAuley and Paul Francis, 1993, pp. 1382-1391, IEEE.
- "Memory Organization Scheme for the Implementation of Routing Tables in High Performance IP Routers", document dated Nov. 21, 2003, 6 pages.
- A Search Algorithm for Table Entries with Non-Contiguous Wildcarding, Paul F. Tsuchiya, Bellcore, 1991, pp. 1-10.
- A Tree-Based Packet Routing Table for Berkeley Unix, Keith Sklower, Berkeley Technical Report, UC Berkeley, CA, USA, 1991, pp. 1-14.
- Bu et al., "A Keyword Match Processor Architecture using Content Addressable Memory," GLSVLSI '04, Apr. 26-28, 2004, 5 pages.