A kind of parallel route lookup method and system
A routing and routing technology, applied in the field of communication, can solve problems such as multi-instance VRF value inclusion, and achieve the effects of eliminating limitations, efficient parallel routing search methods, and strong availability.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0064] see Figures 1 to 4 As shown, Embodiment 1 of the present invention provides a method for parallel routing lookup, the method is based on a custom routing prefix that hierarchically stores routing information, and the custom routing prefix sequentially includes a first-level routing prefix, a second-level routing prefix, and a first-level routing prefix. The third-level routing prefix, the method includes the following steps:
[0065] S1. Receive a message, and extract VRF information and destination IP address corresponding to the message;
[0066] S2. Identify the first flag bit of the first-level routing prefix. If the first flag indicates that the second-level routing prefix has no data, query the first-level routing prefix according to the VRF information and the destination address IP, otherwise, query the first-level routing prefix. prefixes and second-level routing prefixes;
[0067] S3. When querying the second-level routing prefix, identify the second flag b...
no. 1 example
[0098] The first instance number (VRF), used to represent instance information of the route;
[0099] The first mask prefix length (Ip_Mask_Len), used to represent the mask prefix length of the route;
[0100] The first routing address (Ip), used to represent the IP address of the route;
[0101] The first next hop information (Next_hop) is used to store the next hop information of the routing table;
[0102] The first next node address (Next), used to represent the next member on the Hash_entry linked list;
[0103] The first reserved bit field (Unused2) is used to indicate that the bit field is a reserved field;
[0104] The first reserved bit field (Unused3) is used to indicate that the bit field is a reserved field.
[0105] Corresponding to the structural example given above, the data storage process of the method mentioned in the embodiment of the present invention;
[0106] like Figure 4 As shown, the length of the first-level routing prefix is ...
Embodiment 2
[0128] see Figure 5 As shown, Embodiment 2 of the present invention provides a parallel route lookup method. The method is based on a custom routing prefix that hierarchically stores routing information. The custom routing prefix sequentially includes multi-level routing prefixes, and each upper-level routing prefix contains a marker. Whether the next-level routing prefix has a data flag bit of data, the method includes the following steps:
[0129] A1. Receive the message, and extract the VRF information and destination IP address corresponding to the message;
[0130] A2. Identify the data flag bits of the routing prefixes at all levels, and determine whether there is data in the routing prefixes at all levels;
[0131] A3. According to the VRF information and the destination IP address, query the routing prefixes at all levels where data exists.
[0132] In this embodiment of the present invention, the routing table is processed in a hierarchical manner, and t...
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