Internet protocol version 4 (IPv4) address and port section pool maintenance method facing IPv6 based on hash algorithm
A hash algorithm, ipv4 address technology, applied in the Internet field, can solve problems such as maintenance of unfavorable port segment information, errors, and reduction of system query efficiency, and achieve efficient and accurate maintenance and avoid collisions.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0020] The implementation of the present invention will be described in detail below in conjunction with the drawings and examples.
[0021] The present invention first defines a new hash function, which accepts the port segment mask length, IPv4 address, and port segment index as input parameters respectively, and according to figure 2 The structure shown combines it. Get a 64-bit integer, and take the modulo of the hash table size n as the result. The output of the hash function is an integer in [0,n-1], where n is the size of the hash table.
[0022] This function can be expressed as follows:
[0023] H(IP,L,IDX)=(L×2 L+32 +IP×2 L +IDX×2 L-16 )modn
[0024] Among them, IP represents an IPv4 address, and 0≤IP32 , L indicates the length of the port segment mask, that is, the number of 1s in the binary representation of the port segment mask, 0≤L≤16, IDX indicates the port segment index, 0≤IDX16 , n is the size of the hash table; in order to avoid conflicts, n usually t...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com
