Virtual private network routing search method and device
A virtual private network and routing technology, which is applied in the direction of data exchange, network interconnection, and network connection through path configuration. problems such as low rate, to achieve the effect of improving speed, improving efficiency, and reducing height
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] In this embodiment, an index tree is established for each VPN as an example for illustration. In this embodiment, the keyword is the destination IP address. Referring to Fig. 1, the embodiment of the present invention provides a kind of method for virtual private network routing search, specifically comprises the following steps:
[0030] Step 101: Pre-store the IP address range and index information of the VPN, which can be in the form of a record table, and store the IP address range and index information of the VPN in a record table, or save the IP address range and index information of the VPN respectively in In the two record tables, a one-to-one correspondence between the IP address interval and the index information is established, and the index information can be found from the IP address interval according to the correspondence. The record table can be an ordered array, and the elements in the array can be sorted according to the size of the IP address, such as...
Embodiment 2
[0047] In this embodiment, an index tree is jointly established for all VPNs as an example for illustration. In this embodiment, keywords include destination IP addresses and identification information of VPNs. Referring to Fig. 6, the embodiment of the present invention provides a method for virtual private network routing search, which specifically includes the following steps:
[0048] Step 201: Pre-store the VPN IP address range and index information, which may be in the form of a record table, and store the VPN IP address range and index information in a record table. It can also be stored in two record tables, and a one-to-one correspondence between IP address ranges and index information can be established.
[0049] Step 202: An index tree is jointly established for all VPNs in advance, and the leaf nodes in the index tree store the IP address of the VPN and the identification information of the VPN, such as the IP address of the VPN ID and the VPN routing table item st...
Embodiment 3
[0059] Referring to Fig. 9, the embodiment of the present invention also provides a device for virtual private network route lookup, which specifically includes:
[0060] A search module, configured to search for the lowest leaf node corresponding to the keyword in the pre-established index tree;
[0061] The obtaining module is used to obtain the block corresponding to the leaf node found by the search module in the pre-stored IP address range of the virtual private network and the corresponding index information, and the block includes one or more continuous IP address ranges and corresponding Index information, obtain the IP address range to which the keyword belongs in the block, and find the routing entry corresponding to the index information according to the index information corresponding to the IP address range.
[0062] Among them, the search module may specifically include:
[0063] The establishment unit is used to pre-establish an index tree, and the leaf nodes o...
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