Methods and devices for creating, compressing and searching binary tree
Abstract
Methods and devices for creating, compressing and searching a binary tree are provided by the present disclosure, which relates to the field of traffic classification. Binary tree compression includes: determining a number of a compression layer or a number of an intermediate node, compressing a binary tree according to the number of the compression layer or the number of the intermediate node to form at least one compression node, and creating a bitmap of the compression node. Therefore, the depth of the decision tree is reduced, the search speed is increased, rule expansion is avoided, and rule replication is reduced.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 1.
Claims (2 — 2 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for compressing a binary tree, comprising: determining, by a processor, a compression parameter, wherein the compression parameter is a number n of a compression layer or a number K of an intermediate node, wherein determining the compression parameter comprises: determining the compression parameter according to a number of bits Nb of data read in one memory access, a number of bits Ni used by a bit index of each intermediate node, a number of bits Na used by a start address of sub-nodes of a compression node, a number of bits Nt used by a compression node type, and a number of bits
- Claim 2Independent Claim
The method according to
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 2015256450 A1 | Generating a Shape Graph for a Routing Table | — | 9 |
References Cited — Backward Prior Art (15)
Non-Patent Literature (5)
- Ai-fang et al., "Multi-field Packet Classification Algorithm Based on Aggregated and Folded Vector" Application Research of Computers, vol. 24 No. 9, Sep. 2007.
- Chinese Search Report issued in corresponding Chinese Patent Application No. 201080003336.3; dated Apr. 26, 2013.
- Extended European Search Report issued in corresponding European Patent Application No. 10847261.4, mailed Jul. 24, 2012.
- Fei-Fei et al., "Non-backtracking Longest Prefix Match Search Algorithm" Computer Engineering, vol. 34 No. 10, May 2008.
- International Search Report issued in corresponding PCT Patent Application No. PCT/CN2010/076299, mailed Jun. 9, 2011.