System and method for efficiently searching a forwarding database that is split into a bounded number of sub-databases having a bounded size
Abstract
A method, apparatus, and storage medium product are provided for forming a forwarding database, and for using the formed database to more efficiently and quickly route packets of data across a computer network. The forwarding database is arranged into multiple sub-databases. Each sub-database is pointed to by a pointer within a pointer table. When performing a longest-match search of incoming addresses, a longest prefix matching algorithm can be used to find the longest match among specialized “spear prefixes” stored in the pointer table. After the longest spear prefixes are found, the pointer table will direct the next search within a sub-database pointed to by that spear prefix. Another longest-match search can be performed for database prefixes (or simply “prefixes”) within the sub-database selected by the pointer. Only the sub-database of interest will, therefore, be searched and all other sub-databases are not accessed. Using a precursor pointer and a sub-database of optimally bounded size and number ensures power consumption be confined only to the sub-database being accessed, and that higher speed lookup operations can be achieved since only the sub-database of interest is b
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 25.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method of forming a forwarding database for routing packets of data in a communication network, the method comprising: splitting N number of prefixes within the database, based exclusively on values of one or more unmasked bits within the prefixes, into a number of sub-databases bounded proportional to N and inversely proportional to T, and wherein each sub-database has no more than T number of prefixes, with T being a predetermined value less than N, and at least one of the sub-databases having more than one prefix; and forming a first set of pointers wherein each of the first set of pointe
- Claim 2Depends on #1
The method as recited in claim 1 , wherein said splitting comprises, beginning with the most significant bit of the N number of prefixes, repeatedly splitting the N number of prefixes to form a tree extending between
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 25 total)
References Cited — Backward Prior Art (15)
Non-Patent Literature (5)
- Akhbarizadeh et al., "Reconfigurable Memory Architecture for Scalable IP Forwarding Engines," (C) IEEE, pp. 432-437.
- Chen et al., "A Fast and Scalable IP Lookup Scheme for High-Speed Networks," (C) 1999 IEEE, pp. 211-218.
- Gupta, "Algorithms for Routing Lookups and Packet Classification," Dec. 2000, pp. 1-197.
- International Search Report, PCT/US2004/009531, mailed Sep. 2, 2004.
- Lampson et al., "IP Lookup using Multiway and Mulcicolumn Search," Aug. 1997, pp. 1-23.