Method and apparatus for performing a binary search on an expanded tree
Abstract
A method and apparatus for searching an electronically stored table of information including a plurality of table entries and facilitating high speed searching of a table to provide a longest matching entry. The table searching method uses at least one memory unit having a table of information including a plurality of data entries. The table of information has a plurality of search keys associated with the plurality of data entries and the plurality of search keys form a tree structure based on a prefix length for each of the search keys. The plurality of search keys are expanded such that each of the plurality of search keys has two lowest level search keys associated therewith that cover a lowest level of the tree structure. A binary search of the lowest level search keys is performed based on a search value to determine a longest prefix match. A data entry of the plurality of data entries is output based on said longest prefix match. The method is also applicable to routing data in an internet router where the routing of data packets depends on address information stored in the table of information.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 6.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of routing data in a network device, the method comprising the steps of: determining a search value; providing at least one memory unit having a table of information, with said table of information having a plurality of search keys associated with a plurality of data entries and with the plurality of search keys forming a tree structure based on a prefix length for each of the search keys; expanding the plurality of search keys such that each of the plurality of search keys is a lowest level search key or has two lowest level search keys associated therewith that cover a lowest level
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (6 of 6 total)
References Cited — Backward Prior Art (50)
Non-Patent Literature (1)
- Oberhauser et al., Fast Data Structures for Shortest Path Routing: A Comparative Evaluation, Communications 1995. ICC 95 Seattle, Gateway to Globalization, 1995 IEEE International on, vol. 3, Jun. 18-22, 1995, pp.: 1597-1601.