IP address deduplication aggregation method
An IP address and re-aggregation technology, applied in the information field, can solve problems such as a large number of fragments, unfavorable aggregation effects, and unintuitive expression methods, and achieve good performance results
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] refer to figure 1 , a kind of IP address deduplication aggregation method provided by the embodiment of the present invention, comprises the following steps:
[0028] S1: Obtain the IP address to be aggregated, convert the IP address to be aggregated into an address segment format, obtain the IP address segment to be aggregated, and execute step S2;
[0029] S2: Utilize the binary search algorithm to confirm the position to be inserted in the IP address segment data container of the IP address segment to be aggregated, and perform step S3;
[0030] S3: Search backward according to the position to be inserted, judge whether to perform a union aggregation according to the search result, and execute step S4;
[0031] S4: Search forward according to the position to be inserted, judge whether to perform secondary union aggregation according to the search result, and execute step S5;
[0032] S5: Determine whether to insert the IP address to be aggregated at the position to...
Embodiment 2
[0035] refer to figure 2 , a kind of IP address deduplication aggregation method provided by the embodiment of the present invention, comprises the following steps:
[0036] Step 1: Initialize two empty arrays, defined as As and Ac. The As array is used to store the initial IP address. The IP address is stored using unsigned long integer 32-bit numeric data, and the Ac array is used to store The number of consecutive IP addresses including the starting IP address. The elements in the two arrays establish a one-to-one correspondence relationship according to the subscript, which is used to represent the data of an IP address segment, and the arrays in As are always in order;
[0037] Step 2: Obtain an IP address to be aggregated in the data set to be processed, and uniformly convert the IP address into an IP address segment format, which are the starting IP address and the continuous IP addresses including the starting IP address Quantity, expressed as Is, Ic, the current st...
PUM

Abstract
Description
Claims
Application Information

- 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