A method and system for identifying and locating home bandwidth IP

By acquiring and calibrating the path of home bandwidth IP exploration feedback information and ownership information, the problem of inaccurate home bandwidth IP recognition and positioning in the prior art is solved, and a higher accuracy of IP recognition and positioning is achieved.

CN116668524BActive Publication Date: 2025-08-22SHENZHEN YONG AN ONLINE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310679225.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-08
Publication Date
2025-08-22
Estimated Expiration
2043-06-08

AI Technical Summary

Technical Problem

In the prior art, the identification and positioning of the access source IP based on the estimated possible location information is at risk of inaccurate identification and positioning, especially inaccurate identification and positioning of the home bandwidth IP.

Method used

By obtaining the path of the assigned IP exploration feedback information, IP type feedback information and registered ownership information, combining the benchmark home bandwidth IP and usage location information uploaded by the dialing server, the assigned IP is marked and calibrated, and the target home bandwidth IP information is expanded and calibrated using preset rules, and finally the target IP is identified and positioned.

Benefits of technology

It improves the identification accuracy and coverage of home bandwidth IP, enhances the positioning accuracy and coverage of target IPs to be analyzed, and reduces the risk of misjudgment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116668524B_ABST
    Figure CN116668524B_ABST
Patent Text Reader

Abstract

The present invention provides a method for identifying and locating a home bandwidth IP and a system for identifying and locating a home bandwidth IP. The method expands the usage location information of all target home bandwidth IPs that have the same registered ownership information and belong to an allocated IP segment to obtain target home bandwidth IP information; calibrates the target home bandwidth IP information using a benchmark home bandwidth IP and usage location information corresponding to the benchmark home bandwidth IP acquired in real time; and then identifies and locates the target IP to be analyzed based on the calibrated target home bandwidth IP information, thereby greatly improving the accuracy and coverage of home bandwidth IP identification.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network communications, specifically to the field of IP identification, and more specifically to a method for identifying and locating a home bandwidth IP and a system for identifying and locating a home bandwidth IP. Background Art

[0002] With the rapid development of internet services, businesses are increasingly demanding the geographic location (also referred to in this application as usage location) of source IP addresses (also known as target IP addresses). Generally speaking, these IP location needs fall into two main categories: 1) analyzing users in different regions to achieve targeted marketing; and 2) analyzing anomalous user behavior to address marketing fraud, such as scraping, spamming, and order manipulation. As the primary IP type in China (nearly 5 billion IP addresses are allocated to home broadband), accurate identification and location of these IP addresses are crucial for both marketing and anomaly analysis.

[0003] Existing IP location locating technologies can be categorized into two types: 1) This involves collecting information about domestically allocated IP addresses (including assigned IP addresses and registered ownership information) through WHOIS and BGP. Probe nodes (e.g., probe machines) are then deployed in various regions to enumerate domestically allocated IP addresses one by one, using commands like ping and traceroute to determine latency and network paths. This ultimately leads to the calculation of the likely geographic location of the allocated IP address. 2) This involves collecting user IP and GPS information through mobile terminals, and then analyzing the distribution of GPS information corresponding to the IP address to determine the IP address's geographic location. While the former method can estimate the location of allocated IP addresses, allocated IP addresses only respond to ICMP commands when they are actively dialing. Most allocated IP addresses are unallocated and therefore cannot be detected by ping or traceroute. Therefore, using the likely geographic location of an allocated IP address to estimate the source IP address carries the risk of miscalculation. Furthermore, locating allocated IP addresses using mobile device information requires a client-side SDK to collect information, which requires a large number of existing terminal users.

[0004] In summary, the prior art of identifying and locating the access source IP based on estimated possible location information has the risk of inaccurate identification and positioning. Summary of the Invention

[0005] Therefore, the purpose of the present invention is to overcome the above-mentioned defects of the prior art and provide a method for identifying and locating a home bandwidth IP and a system for identifying and locating a home bandwidth IP.

[0006] The present invention is achieved through the following solutions:

[0007] According to a first aspect of the present invention, a method for identifying and locating a home bandwidth IP is provided for identifying and locating a target IP to be analyzed, the method comprising: S1, obtaining path exploration feedback information, IP type feedback information, and registered ownership information of an allocated IP, and obtaining in real time the reference home bandwidth IP uploaded by a dial-up server and usage location information corresponding to the reference home bandwidth IP; S2, using the IP type feedback information of the allocated IP obtained in step S1 as a reference, marking the allocated IP with a target home bandwidth IP to obtain a target home bandwidth IP and a non-target home bandwidth IP, and adding usage location information to the target home bandwidth IP according to a first preset rule based on the path exploration feedback information corresponding to each target home bandwidth IP; and The registered ownership information and usage location information of the household bandwidth IP constitute the target household bandwidth IP initial information; S3, based on the initial information of all target household bandwidth IPs obtained in step S2, the target household bandwidth IPs with the same registered ownership information and belonging to the same allocated IP segment are expanded with usage location information according to the second preset rule to obtain the target household bandwidth IP information. Each target household bandwidth IP belonging to the same allocated IP segment in the target household bandwidth IP information corresponds to the same usage location information; S4, taking the IP as the benchmark, using the benchmark household bandwidth IP and the usage location information corresponding to the benchmark household bandwidth IP obtained in real time to calibrate the target household bandwidth IP information to obtain the calibrated target household bandwidth IP information; S5, using the calibrated target household bandwidth IP information to identify and locate the target IP to be analyzed.

[0008] In some embodiments of the present invention, the IP type feedback information of the allocated IP includes home broadband port response information. In step S2, the allocated IP whose home broadband port response information is that there is a port response is marked as the target home bandwidth IP, and the allocated IP whose home broadband port response information is that there is no port response is marked as a non-target home bandwidth IP.

[0009] In some embodiments of the present invention, the path exploration feedback information of the allocated IP also includes detection delays of multiple priorities between the allocated IP and the detector, and the first preset rule includes: comparing the detection delays of multiple priorities corresponding to the target home bandwidth IP with the delay threshold respectively; when it is determined that the detection delay of each priority corresponding to the target home bandwidth IP is less than the delay threshold, the pre-arranged location information of the detector is used as the usage location of the target home bandwidth IP; when it is determined that the detection delay of each priority corresponding to the target home bandwidth IP is not less than the delay threshold, the usage location of the target home bandwidth IP is set to empty.

[0010] In some embodiments of the present invention, the allocated IP segment is segment C, and the second preset rule is: count the number of IPs with the same registered ownership information and the same usage location information belonging to the target home bandwidth IP in an allocated IP segment; use the usage location information corresponding to the largest number of all IP addresses as the usage location information of each target home bandwidth IP with the same registered ownership information and belonging to segment C.

[0011] In some embodiments of the present invention, in step S4, calibration is performed through the following steps: each target home bandwidth IP and each non-target home bandwidth IP in the target home bandwidth IP information are compared for consistency with the obtained benchmark home bandwidth IP; when the comparison results of the non-target home bandwidth IP and the benchmark home bandwidth IP are consistent, the usage location information and IP type of the non-target home bandwidth IP are correspondingly covered with the IP type and the corresponding usage location information in the corresponding benchmark home bandwidth IP; when the comparison results of the target home bandwidth IP and the benchmark home bandwidth IP are consistent, the usage location information of the target home bandwidth IP is correspondingly covered with the usage location information of the corresponding benchmark home bandwidth IP.

[0012] In some embodiments of the present invention, the calibrated target home bandwidth IP information includes the usage location information and IP type of the covered non-target home bandwidth IP, the usage location information of the uncovered target home bandwidth IP, and the usage location information of the covered target home bandwidth IP.

[0013] In some embodiments of the present invention, step S5 includes: comparing the target IP to be analyzed with each target home bandwidth IP in the calibrated target home bandwidth IP information for consistency; using the usage location information of the target home bandwidth IP consistent with the target IP to be analyzed as the usage location of the target IP to be analyzed, and identifying the target IP to be analyzed as a home bandwidth IP.

[0014] According to a second aspect of the present invention, a system for identifying and locating a home bandwidth IP is provided, for identifying and locating a target IP to be analyzed. The system includes a dial-up server, a plurality of pre-deployed probes, and a server.

[0015] The dial-up server is configured to: obtain the benchmark home bandwidth IP and the usage location information corresponding to the benchmark home bandwidth IP by dialing according to a preset time period, and upload them to the server; each detector is configured to obtain the ownership information of the allocated IP and the allocated IP registration, and perform path exploration and IP type exploration on the obtained allocated IP to obtain the path exploration feedback information and IP type feedback information of the allocated IP; upload the obtained ownership information of the allocated IP and the allocated IP registration, path exploration feedback information, and IP type feedback information to the server; the server is configured to: identify and locate the target IP to be analyzed using the method provided in the first aspect of the present invention.

[0016] Compared with the existing technology, the advantages of the present invention are: the initial information of all target home bandwidth IPs with the same registered ownership information and belonging to the same allocated IP segment are expanded with usage location information to obtain the target home bandwidth IP information; the target home bandwidth IP information is calibrated using the benchmark home bandwidth IP and the usage location information corresponding to the benchmark home bandwidth IP obtained in real time, and then the target IP to be analyzed is identified and located based on the calibrated target home bandwidth IP information, which can greatly improve the accuracy and coverage of the identification of the home bandwidth IP. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The embodiments of the present invention are further described below with reference to the accompanying drawings, in which:

[0018] Figure 1 A schematic diagram of a flow chart of a method for identifying and locating a home bandwidth IP according to an embodiment of the present invention;

[0019] Figure 2 FIG. 4 is a schematic diagram of the operation of a home broadband IP identification and positioning system according to an embodiment of the present invention. DETAILED DESCRIPTION

[0020] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below through specific embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0021] As mentioned in the background art, in the prior art, there is a risk of inaccurate identification and positioning when identifying and positioning the access source IP based on estimated possible location information.

[0022] In order to solve the above problems, the inventors of the present application conducted further analysis on the above problems.

[0023] The prior art enumerates domestically assigned IP addresses one by one, calling commands like ping and traceroute to obtain latency and network paths, ultimately calculating the probable geographic location of the assigned IP. Using this probable geographic location for identifying and locating the target IP to be analyzed can lead to significant discrepancies. This is primarily due to the irrationality of the calculation method used to calculate the probable geographic location of the assigned IP, and the lack of a mechanism to calibrate the probable geographic location of the assigned IP. This results in significant discrepancies in the identification and location of the target IP to be analyzed. Therefore, embodiments of the present invention logically improve the calculation method for the probable geographic location of the assigned IP to obtain more accurate basic IP information. This information is then calibrated using the reliability of dial-up network data, resulting in a more accurate benchmark for identifying and locating the target IP to be analyzed. This improves the accuracy of identifying and locating the target IP to be analyzed. A more accurate benchmark also allows for greater coverage of the identification and location of the target IP to be analyzed. It should be noted that since home bandwidth IPs account for a high proportion of assigned IP addresses, the following explanation uses home bandwidth IPs as an example.

[0024] According to one embodiment of the present invention, a method for identifying and locating a home bandwidth IP is provided for identifying and locating a target IP to be analyzed, the method comprising: S1, obtaining path exploration feedback information, IP type feedback information, and registered ownership information of an allocated IP, and obtaining in real time the reference home bandwidth IP uploaded by a dial-up server and usage location information corresponding to the reference home bandwidth IP; S2, using the IP type feedback information of the allocated IP obtained in step S1 as a reference, marking the allocated IP with a target home bandwidth IP to obtain a target home bandwidth IP and a non-target home bandwidth IP, and adding usage location information to the target home bandwidth IP according to a first preset rule based on the path exploration feedback information corresponding to each target home bandwidth IP; and The registered ownership information and usage location information of the home bandwidth IP constitute the target home bandwidth IP initial information; S3, based on the initial information of all target home bandwidth IPs obtained in step S2, the target home bandwidth IPs with the same registered ownership information and belonging to an allocated IP segment are expanded with usage location information according to a second preset rule to obtain the target home bandwidth IP information. Each target home bandwidth IP belonging to an allocated IP segment in the target home bandwidth IP information corresponds to the same usage location information; S4, based on the IP, the target home bandwidth IP information is calibrated using the benchmark home bandwidth IP and the usage location information corresponding to the benchmark home bandwidth IP obtained in real time to obtain the calibrated target home bandwidth IP information; S5, the target IP to be analyzed is identified and located using the calibrated target home bandwidth IP information.

[0025] In order to better understand the embodiments of the present invention, step S1 , step S2 , step S3 , step S4 , and step S5 are explained in detail below with reference to the accompanying drawings.

[0026] In step S1, Figure 1As shown, allocated IP addresses can be directly obtained on demand by parsing Whois and BGP data. The protocols used include IP WHOIS and routing protocols. WHOIS (Who Is) is a protocol used to query domain name registration information, while IP WHOIS is a derivative protocol for querying IP addresses. IP WHOIS allows users to query detailed information such as the owner or registration information (registered ownership information), contact person, and geographic location of an IP address (sometimes referred to herein as "IP"). IP WHOIS queries are typically maintained by the Internet Assigned Numbers Authority (IANA) and various Regional Internet Registries (RIRs). This information is publicly available and can be obtained through the WHOIS query tool or the websites of the various Regional Internet Registries (RIRs). BGP is the preferred routing protocol. BGP is the only routing protocol that uses TCP as the transport layer and is primarily used to exchange network reachability information between two AS domains. Network reachability information refers to the AS number path to a specified IP prefix. Therefore, BGP data can be used to collect and organize information about IP segments broadcast by autonomous systems (ASs) around the world, as well as information about the organizations to which these ASs belong. ris.ripe.net is a public BGP routing information service provided by the RIPE NCC (Réseaux IP Européens Network Coordination Centre), which allows users to query and download global BGP routing information. RIPE NCC is the European Internet Assigned Numbers Authority (RIR), responsible for the allocation and registration of IP addresses and Autonomous System Numbers (ASNs) in Europe, the Middle East, and parts of Asia. To better illustrate Whois and BGP data, the following provides examples of Whois and BGP data.

[0027] Among them, the IP WHOIS data (Whois data) is: IP address range: 202.120.0.0-202.120.255.255; Ownership: Computer Network Information Center, Chinese Academy of Sciences; Contact: Mr. Wang; Contact email: wang@nic.ac.cn; Contact number: +86-10-58812469; Geographic location: Haidian District, Beijing, China; Registration information: APNIC; Network service provider: Computer Network Information Center, Chinese Academy of Sciences; AS number: AS4538.

[0028] Some information about the allocation organization can be obtained through router information (BGP data): AS router: AS4808iBasis HK Ltd; network IP address: 202.68.64.0 / 19; next-hop router: 202.68.64.1; AS path: 48084637 3491 9808 4637; reachability: reachable.

[0029] In step S1, the path exploration feedback information and IP type feedback information of the allocated IP can be obtained by using a pre-arranged detection machine ping, traceroute, or telnet to detect the allocated IP. The acquisition method here is a technology well known to those skilled in the art and will not be described in detail here.

[0030] In step S1, Figure 1 As shown, collecting home bandwidth IP information involves obtaining real-time home bandwidth IP information uploaded by the dial-up server. This information includes the baseline home bandwidth IP and the corresponding usage location information. The baseline home bandwidth IP includes the allocated IP and the corresponding home bandwidth IP type. It should be noted that the dial-up server is deployed in the Second Dial network. Second Dial leverages the principle that most home broadband networks dynamically allocate IP addresses, creating a dial-up VPS network that can switch IP addresses at any time. The process of obtaining home bandwidth IP information using the Second Dial network is well known in the art and will not be elaborated here.

[0031] According to one embodiment of the present invention, the IP type feedback information of the allocated IP includes home broadband port response information. In step S2, the allocated IP whose home broadband port response information is that there is a port response is marked as the target home bandwidth IP, and the allocated IP whose home broadband port response information is that there is no port response is marked as a non-target home bandwidth IP.

[0032] In step S2, according to one embodiment of the present invention, the path exploration feedback information of the allocated IP also includes detection delays of multiple priorities between the allocated IP and the detector, and the first preset rule includes: comparing the detection delays of multiple priorities corresponding to the target home bandwidth IP with the delay threshold respectively; when it is determined that the detection delay of each priority corresponding to the target home bandwidth IP is less than the delay threshold, the pre-arranged location information of the detector is used as the usage location of the target home bandwidth IP; when it is determined that the detection delay of each priority corresponding to the target home bandwidth IP is not less than the delay threshold, the usage location of the target home bandwidth IP is set to empty. It should be noted that the multiple priority levels of detection delay include: the probe machine uses ping to send a probe packet to the assigned IP address every 10 seconds, obtaining a first detection delay; and uses traceroute to detect the path of the assigned IP address every 10 seconds, obtaining a second detection delay; the first detection delay has a higher priority than the second detection delay; when both the first and second detection delays are less than 2 seconds, the probe machine's pre-set location information, such as a city, is used as the usage location information for the assigned IP address. If the assigned IP address is the target home bandwidth IP address, the usage location information is used as the target home bandwidth IP address. When both the first and second detection delays are not less than 2 seconds, the usage location is set to blank. Whether the usage location is set to blank or a specific location is set can be further confirmed during subsequent expansion or calibration operations. Furthermore, the target home bandwidth IP initial information is composed of the registered ownership information and usage location information of each assigned IP address and the target home bandwidth IP address after the target home bandwidth IP address is marked. In other words, the target home bandwidth IP initial information includes all information about the assigned IP address after the usage location and IP type are marked.

[0033] In step S3, according to one embodiment of the present invention, the allocated IP segment is Segment C. The second preset rule is: count the number of IP addresses with identical registered ownership information and belonging to the same target home bandwidth IP within the allocated IP segment and having the same usage location information; and use the usage location information corresponding to the largest number of all IP addresses as the usage location information for each target home bandwidth IP with identical registered ownership information and belonging to Segment C. For example, if the allocated IP is 223.208.209.1, the smallest field represented by the allocated IP segment of 1 is Segment C. The IP address segment owned by the Computer Network Information Center of the Chinese Academy of Sciences is 202.120.0.0 - 202.120.255.255, all of which are target home bandwidth IPs. When the usage location information of 202.120.255.0 -202.120.255.112 is city A, and the usage location information of 202.120.255.113 - 202.120.255.255 is city B, and city B has the largest number of corresponding IP addresses, city B will be used as the usage location information of each IP address in 202.120.255.0 -202.120.255.255.

[0034] In some embodiments of the present invention, in step S4, calibration is performed through the following steps: each target home bandwidth IP and each non-target home bandwidth IP in the target home bandwidth IP information are compared for consistency with the obtained benchmark home bandwidth IP; when the comparison results of the non-target home bandwidth IP and the benchmark home bandwidth IP are consistent, the usage location information and IP type of the non-target home bandwidth IP are correspondingly covered with the IP type and the corresponding usage location information in the corresponding benchmark home bandwidth IP; when the comparison results of the target home bandwidth IP and the benchmark home bandwidth IP are consistent, the usage location information of the target home bandwidth IP is correspondingly covered with the usage location information of the corresponding benchmark home bandwidth IP.

[0035] According to one embodiment of the present invention, the calibrated target home bandwidth IP information includes the usage location information and IP type of the non-target home bandwidth IP after coverage, the usage location information of the uncovered target home bandwidth IP, and the usage location information of the covered target home bandwidth IP. The calibrated target home bandwidth IP information is also as follows Figure 1 High-precision home broadband IP library.

[0036] The following are specific examples of extensions and overrides:

[0037] Through detection and analysis, we found that the following 97 target home bandwidth IPs are from Daqing City, Heilongjiang Province: 221.208.209.1 221.208.209.2 221.208.209.16 221.208.209.17 ....221.208.209.254

[0039] First, expand the collected target home bandwidth IP to segment C 221.208.209.0 / 24, and get

[0040] {"IP_CIDR": "221.208.209.0 / 24", "province": "Heilongjiang Province", "city": "Daqing City" ...}

[0041] Then the benchmark home bandwidth IP corresponds to the usage location information and IP type, for example:

[0042] {"ip": "221.208.209.4","province": "Heilongjiang Province", "city": "Suihua City".....}

[0043] {"ip": "221.208.209.5","province": "Heilongjiang Province", "city": "Suihua City".....}

[0044] {"ip": "221.208.209.6","province": "Heilongjiang Province", "city": "Suihua City".....}

[0045] {"ip": "221.208.209.7","province": "Heilongjiang Province", "city": "Suihua City".....}

[0046] The resulting high-precision home broadband IP library includes:

[0047] {"IP_CIDR": "221.208.209.0 / 30", "province": "Heilongjiang Province", "city": "Daqing City" ...},

[0048] {"IP_CIDR": "221.208.209.4 / 30", "province": "Heilongjiang Province", "city": "Suihua City" ...},

[0049] {"IP_CIDR": "221.208.209.8 / 29", "province": "Heilongjiang Province", "city": "Daqing City" ...},

[0050] {"IP_CIDR": "221.208.209.16 / 28", "province": "Heilongjiang Province", "city": "Daqing City" ...},

[0051] {"IP_CIDR": "221.208.209.32 / 27", "province": "Heilongjiang Province", "city": "Daqing City" ...},

[0052] {"IP_CIDR": "221.208.209.64 / 26", "province": "Heilongjiang Province", "city": "Daqing City" ...},

[0053] {"IP_CIDR": "221.208.209.128 / 25", "province": "Heilongjiang Province", "city": "Daqing City" ...},

[0054] It should be noted that when covering the corresponding information of non-target home bandwidth IP, it is necessary to add the IP type of the allocated IP and mark it as the target home bandwidth IP. This will not be illustrated here.

[0055] According to one embodiment of the present invention, step S5 includes: comparing the target IP to be analyzed with each target home bandwidth IP in the calibrated target home bandwidth IP information for consistency; using the usage location information of the target home bandwidth IP consistent with the target IP to be analyzed as the usage location of the target IP to be analyzed, and identifying the target IP to be analyzed as a home bandwidth IP.

[0056] Based on the above explanation, according to the second aspect of the present invention, a system for identifying and locating a home bandwidth IP is provided for identifying and locating a target IP to be analyzed. Figure 2 As shown, the system includes: a dial-up server (preferably arranged on a second-dial client), a plurality of pre-deployed probes (probe clients) and a server (service end).

[0057] The dial-up server is configured to: obtain the benchmark home bandwidth IP and the usage location information corresponding to the benchmark home bandwidth IP by dialing according to a preset time period, and upload them to the server; each detector is configured to obtain the ownership information of the allocated IP and the allocated IP registration, and perform path exploration and IP type exploration on the obtained allocated IP to obtain the path exploration feedback information and IP type feedback information of the allocated IP; upload the obtained ownership information of the allocated IP and the allocated IP registration, path exploration feedback information, and IP type feedback information to the server; the server is configured to: identify and locate the target IP to be analyzed using the method provided in the first aspect of the present invention.

[0058] Based on the highly accurate home bandwidth IP library obtained by the above solution, since IP location and classification are the main dependent features for marketing promotion and anomaly analysis as mentioned above, the enhanced accuracy here is of great help to the business growth of the enterprise.

[0059] It should be noted that although the above describes the various steps in a specific order, it does not mean that the steps must be performed in the above specific order. In fact, some of these steps can be executed concurrently or even in a different order as long as the required functions can be achieved.

[0060] The present invention may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present invention.

[0061] A computer-readable storage medium may be a tangible device that holds and stores instructions used by an instruction execution device. Computer-readable storage media may include, for example, but is not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disc (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove having instructions stored thereon, and any suitable combination thereof.

[0062] While various embodiments of the present invention have been described above, the above descriptions are intended to be illustrative, non-exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is selected to best explain the principles of the embodiments, their practical applications, or technological improvements in the marketplace, or to enable others skilled in the art to understand the embodiments disclosed herein.

Claims

1. A method for identifying and locating a home bandwidth IP, for identifying and locating a target IP to be analyzed, characterized in that: The method comprises: S1. Obtaining path exploration feedback information, IP type feedback information, and registered ownership information of the allocated IP, as well as real-time acquisition of the benchmark home bandwidth IP and usage location information corresponding to the benchmark home bandwidth IP uploaded by the dial-up server; S2. With reference to the IP type feedback information of the allocated IP obtained in step S1, the allocated IP is marked with a target home bandwidth IP to obtain a target home bandwidth IP and a non-target home bandwidth IP, and based on the path exploration feedback information corresponding to each target home bandwidth IP, the usage location information is added to the target home bandwidth IP according to the first preset rule; and the target home bandwidth IP initial information is composed of the registered ownership information and usage location information of each allocated IP and target home bandwidth IP after the target home bandwidth IP is marked; the path exploration feedback information of the allocated IP also includes the detection delays of multiple priorities between the allocated IP and the detector, and the first preset rule includes: comparing the detection delays of multiple priorities corresponding to the target home bandwidth IP with the delay threshold respectively; when it is determined that the detection delays of each priority corresponding to the target home bandwidth IP are less than the delay threshold, the pre-arranged location information of the detector is used as the usage location of the target home bandwidth IP; when it is determined that the detection delays of each priority corresponding to the target home bandwidth IP are not less than the delay threshold, the usage location of the target home bandwidth IP is set to empty; S3. Based on the initial information of all target home bandwidth IP addresses obtained in step S2, target home bandwidth IP addresses with identical registered ownership information and belonging to the same allocated IP segment are expanded according to a second preset rule to obtain target home bandwidth IP address information. Each target home bandwidth IP address in the same allocated IP segment in the target home bandwidth IP address information corresponds to the same usage location information. S4. Based on the IP address, the target home bandwidth IP address is calibrated using the real-time acquired benchmark home bandwidth IP address and the usage location information corresponding to the benchmark home bandwidth IP address to obtain calibrated target home bandwidth IP address; the allocated IP segment is segment C, and the second preset rule is: Count the number of IP addresses with the same registered ownership information and belonging to the target home bandwidth IP in an allocated IP segment and having the same usage location information; use the usage location information corresponding to the largest number of all IP addresses as the usage location information of each target home bandwidth IP with the same registered ownership information and belonging to segment C; S5. Use the calibrated target home bandwidth IP information to identify and locate the target IP to be analyzed.

2. The method according to claim 1, characterized in that The IP type feedback information of the allocated IP includes home broadband port response information. In step S2, the allocated IP whose home broadband port response information indicates a port response is marked as the target home broadband IP, and the allocated IP whose home broadband port response information indicates no port response is marked as the non-target home broadband IP.

3. The method according to claim 1, characterized in that In step S4, calibration is performed through the following steps: Comparing each target home bandwidth IP and each non-target home bandwidth IP in the target home bandwidth IP information with the obtained benchmark home bandwidth IP for consistency; When the comparison result of the non-target home bandwidth IP is consistent with the benchmark home bandwidth IP, the usage location information and IP type of the non-target home bandwidth IP are overwritten with the IP type and usage location information in the corresponding benchmark home bandwidth IP; When the comparison result between the target home bandwidth IP and the reference home bandwidth IP is consistent, the usage location information corresponding to the reference home bandwidth IP is used to overwrite the usage location information of the target home bandwidth IP.

4. The method according to claim 3, characterized in that The calibrated target home bandwidth IP information includes the usage location information and IP type of the covered non-target home bandwidth IP, the usage location information of the uncovered target home bandwidth IP, and the usage location information of the covered target home bandwidth IP.

5. The method according to claim 4, characterized in that The step S5 comprises: Comparing the target IP to be analyzed with each target home bandwidth IP in the calibrated target home bandwidth IP information for consistency; The usage location information of the target home bandwidth IP that is consistent with the target IP to be analyzed is used as the usage location of the target IP to be analyzed, and the target IP to be analyzed is identified as the home bandwidth IP.

6. A system for identifying and locating a home bandwidth IP, used to identify and locate a target IP to be analyzed, characterized in that: The system comprises: The dial-up server is configured to obtain the benchmark home bandwidth IP and the usage location information corresponding to the benchmark home bandwidth IP by dialing according to a preset time period, and upload the information to the server; Multiple pre-deployed detectors, each of which is configured to obtain ownership information of an assigned IP and an assigned IP registration, and to perform path exploration and IP type exploration on the obtained assigned IP to obtain path exploration feedback information and IP type feedback information of the assigned IP; and to upload the obtained ownership information of the assigned IP and the assigned IP registration, path exploration feedback information, and IP type feedback information to a server; The server is configured to: identify and locate the target IP to be analyzed using the method according to any one of claims 1 to 5.

7. A computer-readable storage medium, characterized in that A computer program is stored thereon, and the computer program can be executed by a processor to implement the steps of any one of the methods of claims 1 to 5.

8. An electronic device, characterized in that: include: one or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, enables the electronic device to implement the steps of the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Target IP (Internet protocol) geographic position locating method based on nearest common router

    CN104506591A

  • Method for setting uniform Web interface for various authentication / authorization servers

    CN104753854A