Method for realizing IPv6 fast route lookup
A routing and fast technology, applied in digital transmission systems, electrical components, transmission systems, etc., can solve problems such as increasing DFLOW overhead, reducing forwarding efficiency, and being less than ideal, and achieving the effect of improving forwarding efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example 1
[0052] see figure 2 , which shows the process of using the bitmap to perform index mapping. It can be seen from the figure that in the original array 100 with 16 elements at the top, the elements with indexes 3, 4, 9 and 14 have actual content to be stored, and the rest are empty, so that the elements with actual content can be stored continuously , forming an array 300 with only 4 elements after compression, see the bottom of the figure.
[0053] Using the bitmap 200 in the middle of the figure, the original index value can be mapped to the compressed index value, 3 is mapped to 0, 4 is mapped to 1, 9 is mapped to 2, 14 is mapped to 3, and other original indexes on the corresponding bitmap All bits are 0, indicating that there is no content stored on these indices.
[0054] figure 1 It is a schematic diagram of the main data structure of the present invention. It can be seen from the figure that the R-series nodes are all leaf nodes that store routing information, and th...
example 2
[0057] This example is for a scheme of eigenvalues. Assuming that there are only two prefixes 110* and 11010* in the routing table (for simplicity, take an address prefix with only one valid byte as an example), the original characteristic values of the two can be preliminarily determined to be (00100000)2 and (00001000) respectively 2, but since 110* is also the prefix of 11010*, prefix expansion is required, and the eigenvalues of 110* are superimposed on the eigenvalues of 11010*, and the final eigenvalues of 110* and 11010* are (00100000)2 and ( 00101000) 2.
[0058] If you want to do the longest prefix match on the destination prefix 11011*, the first thing you find must be 11010* (the bit corresponding to 11011* in the bitmap must be 0, but you can still calculate the number of 1s in front of this bit at this time) method to get the index value of the effective prefix 11010* in front of 11011* and closest to it in the compressed array, of course, this method is ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com