Parallel route searching method and system
A routing and cascading technology, applied in the field of communication, can solve problems such as multi-instance VRF value inclusion, and achieve the effects of eliminating limitations, improving efficiency, and insufficient optimization
- 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 parallel route lookup method, which is based on a custom routing prefix that stores routing information hierarchically. The custom routing prefix includes the first-level routing prefix, the second-level routing prefix, and the second-level A three-level routing prefix, the method includes the following steps:
[0065] S1. Receive the message, and extract the VRF information corresponding to the message and the destination address IP;
[0066] S2. Identify the first flag of the first-level routing prefix. If the first flag indicates that the second-level routing prefix has no data, then query the first-level routing prefix according to the VRF information and destination address IP, otherwise, query the first-level routing prefixes and second-level routing prefixes;
[0067] S3. When querying the second-level routing prefix, identify the second flag of the second-level routing prefix. If th...
no. 1 example
[0098] The first instance number (VRF), used to represent the 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 routing;
[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] Such as Figure 4 As shown, the length of the first-level routing p...
Embodiment 2
[0128] see Figure 5 As shown, Embodiment 2 of the present invention provides a parallel route lookup method, which is based on self-defined routing prefixes that store routing information hierarchically. The self-defined routing prefixes include multi-level routing prefixes in turn, and each upper-level routing prefix contains a label Whether there is a data flag bit for data in the next-level routing prefix, the method includes the following steps:
[0129] A1. Receive the message, and extract the VRF information corresponding to the message and the destination address IP;
[0130] A2. Identify the data flags 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 address IP, query the routing prefixes of all levels of data.
[0132] In the embodiment of the present invention, the routing table will be processed hierarchically, and the cust...
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