IP search method and system and storage medium
A technology of IP address and storage space, which is applied in semi-structured data query, special data processing application, semi-structured data index, etc. It can solve the problem of improving network transmission delay, low efficiency of linear hash method, and off-chip IP search Efficiency reduction and other issues, to achieve the effect of improving the search speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0026] In order to realize fast IP lookup, the technical solution adopted in the embodiment of the present invention is: in the IP lookup process based on splitting hash, the off-chip hash address is sorted, and then uses the dichotomy method to search for the IP address, including the following step:
[0027] 1) Splitting the IP prefix in the routing table to determine the split bit M;
[0028] 2) According to the split bit M, the first M bits are stored as an index in the on-chip storage space, and the latter part is stored in the off-chip storage space, and the off-chip storage space is sorted;
[0029] 3) The target IP address enters the routing table for IP lookup process;
[0030] 4) Perform information transmission according to the search result, and send the target IP address request to the corresponding next hop information.
[0031] Step 3) in the main process The specific process is as follows, and the flow chart is as follows figure 1 Shown:
[0032] 1) Receiv...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


