Method for using a balanced tree as a base for a routing table
Abstract
The invention provides a method for using a balanced tree as a base for a routing table. In one embodiment of the invention the routing table is stored as a binary search tree data structure in which a key value of each node in the tree corresponds with a network address of a network in the routing table. The tree is then rearranged so that any node having a key value which is a supernet of a network corresponding to the key value of any other node in the tree becomes a parent of such other node. In a preferred embodiment, the binary tree data structure is implemented as a red-black tree data structure.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 7.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method of storing a routing table having a plurality of routes associated with a plurality of networks, each being identified by a network address, the method including: constructing a binary tree data structure in which the key value of each node in the binary tree data structure corresponds to a network address of a network of the plurality of networks; and rearranging the binary tree data structure so that any node having a key value which is a supernet of a network corresponding to the key value of any other node in the binary tree data structure becomes a parent of such other node.
- Claim 2Depends on #1
A method as claimed in claim 1 , in which constructing the binary tree data structure includes constructing a binary search tree data structure wherein a key value of each left child node is less than a key value of its pare
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (7 of 7 total)
References Cited — Backward Prior Art (7)
Non-Patent Literature (1)
- International Search Report-PCT/US02/01744, May 17, 2002.