A method and system for matching IP addresses based on suffix index
An IP address and suffix technology, applied in the field of network communication, can solve the problem of low search efficiency of routing table search algorithm
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0050] Such as figure 1 As shown, the method provided by the present invention includes the following steps:
[0051] S1. Build a suffix index for IP routing data;
[0052] S2. Divide the IPv6 address into k segments evenly, and then construct different hash tables for each segment of IPv6 addresses, and each hash table stores the interval values of different suffixes in the suffix index in the segments;
[0053] S3. For a given destination IP address, divide it into k segments evenly, then use binary search to find the matching suffix index interval in k hash tables, and record the matching suffix index interval The number of segments corresponding to the hash table;
[0054] S4. Perform a backtracking search within the segment according to the recorded segment number, and output the routing information of the destination IP.
[0055] Among them, such as figure 2 As shown, figure 2 The structure diagram of the routing table.
[0056] In the specific implementation process, the spec...
Embodiment 2
[0104] This embodiment provides a system that applies the method of embodiment 1, such as image 3 As shown, the specific scheme is as follows:
[0105] It includes an index construction module and an index query module. The index construction module is used for constructing a suffix index and a hash table, and the index query module is used for hash table search and intra-segment backtracking search.
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