Routing table construction method and device and routing table lookup method and device
A technique for establishing a method and a routing table, which is applied in the field of communication and can solve problems such as slow speed of searching the routing table
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0050] The technical solutions of the present invention will be described in further detail below with reference to the accompanying drawings and embodiments.
[0051] Figure 4 The flow chart of the embodiment of the method for establishing the routing table of the present invention, such as Figure 4 As shown, the routing table establishment method includes:
[0052] 101. Divide the data structure of the routing table into a trunk and a TRIE subtree;
[0053] 102. Add a routing table entry to the TRIE subtree;
[0054] 103. Save the promoted child node of the vertex of the TRIE subtree in the trunk, the height of the TRIE subtree is less than or equal to the set height threshold, and the promoted child node of the vertex of the TRIE subtree is the The vertices of the TRIE subtree include the child vertices in the prefix child nodes.
[0055] The routing table can be stored in a layered data structure, and the data structure of the routing table can be divided into a trun...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 