Method and device for matching longest prefix based on tree form data structure
A longest prefix matching and data structure technology, applied in data exchange network, electrical digital data processing, special data processing applications, etc., can solve the problem that the query speed cannot meet the line rate requirement, irrelevance, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment approach
[0062] The first type of internal bitmap is based on the prefix extension bitmap, adding a bit width of 2 r The prefix indication bitmap of the bit (Prefix Indication Bitmap), a bit in the prefix indication bitmap is 1, which means that there is a prefix matching the corresponding path in the node, and if a bit is 0, it means that there is no corresponding path in the node. The path matches the prefix. For example, Figure 1C The prefix extension bitmap for node 3 in becomes 1000, and the prefix indication bitmap is 1100.
[0063] Similarly, the next-hop information corresponding to all the prefixes contained in each node is continuously stored in the memory to form an array of leaf nodes. When searching, first find out the corresponding bit of the prefix indication bitmap according to the search keyword, if it is 0, it means that there is no matching prefix in this node; if it is 1, continue to judge whether the corresponding bit in the prefix extension bitmap is 1 , if th...
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