Efficient lookup of TCAM-like rules in RAM
Abstract
A method for classification includes extracting respective classification keys from a collection of data items and receiving a corpus of rules for matching to the classification keys. At least some of the rules include masked bits in addition to the unmasked bits. Rule patterns are extracted from the corpus, defining different, respective sequences of masked and unmasked bits to which one or more of the rules conform. The rule patterns are grouped into extended rule patterns, such that the respective set of unmasked bits in any rule pattern is a superset of the unmasked bits in the extended rule pattern into which it is grouped. Rule entries corresponding to the rules are computed using the extended rule patterns and are stored in a random access memory (RAM). The data items are classified by matching the respective classification keys to the rule entries in the RAM.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 24 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for classification, comprising: extracting, in a decision logic pipeline, respective classification keys from a collection of data items, each classification key comprising a string of bits; receiving a corpus of rules for matching to the classification keys, each rule comprising a respective set of unmasked bits having corresponding bit values, and at least some of the rules comprising masked bits in addition to the unmasked bits; extracting rule patterns from the corpus, each rule pattern defining a different, respective sequence of masked and unmasked bits to which one or more of t
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)
References Cited — Backward Prior Art (24)
Non-Patent Literature (5)
- Demetriades et al., "An Efficient Hardware-basedMulti-hash Scheme for High Speed IP Lookup", 16th IEEE Symposium on High Performance Interconnects, pp. 103-110, Aug. 26-28, 2008.
- European Application # 17189940 search report dated Jan. 26, 2018.
- Kasnavi et al., "A cache-based internet protocol address lookup architecture", Computer Networks, vol. 52 , pp. 303-326, year 2008.
- Kirsch et al., "Less Hashing, Same Performance: Building a Better Bloom Filter", Random Structures and Algorithms, vol. 33, issue 2, pp. 187-218, Sep. 2008.
- Kirsch et al., "More Robust Hashing: Cuckoo Hashing with a Stash", SIAM Journal on Computing, vol. 39, Issue 4, pp. 1543-1561, Sep. 2009.