WO2016070483A1 - Ip address database inferring and filling method - Google Patents

Ip address database inferring and filling method Download PDF

Info

Publication number
WO2016070483A1
WO2016070483A1 PCT/CN2014/095169 CN2014095169W WO2016070483A1 WO 2016070483 A1 WO2016070483 A1 WO 2016070483A1 CN 2014095169 W CN2014095169 W CN 2014095169W WO 2016070483 A1 WO2016070483 A1 WO 2016070483A1
Authority
WO
WIPO (PCT)
Prior art keywords
address
candidate
list
same
midnet
Prior art date
Application number
PCT/CN2014/095169
Other languages
French (fr)
Chinese (zh)
Inventor
胡新静
李晓东
耿光刚
陈勇
Original Assignee
中国科学院计算机网络信息中心
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中国科学院计算机网络信息中心 filed Critical 中国科学院计算机网络信息中心
Publication of WO2016070483A1 publication Critical patent/WO2016070483A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5053Lease time; Renewal aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/255Maintenance or indexing of mapping tables

Definitions

  • the invention belongs to the field of network technologies, and particularly relates to a method for inferring and filling an IP address library, which is used for correcting and filling the geographical location and ISP information of the IP in the IP address library of the Traceroute detection.
  • the method of the present invention is based on the results of the Traceroute detection. Take Traceroute based on UDP high-port as an example.
  • the working process is as follows: Traceroute sends a series of UDP packets with a TTL (Time To Live) value starting from 1 to the destination host. When the router processes, its TTL value is decremented by 1. When the intermediate router finds that the TTL expires when receiving the packet, it will reply the ICMP time-exceeded message to the source host, so that the source host gets its own distance. The routing IP address given the far hop count. When the packet arrives at the destination host, the destination host replies with an ICMP destination unreachable message, and the probe terminates. In this way, we obtain the routing and forwarding path from the source address to the destination address, and use this path to build the network topology.
  • TTL Time To Live
  • the IP address pool usually provides information such as the geographical location of the IP address segment and the ISP (Internet Service Provider). It is usually evaluated from coverage, granularity, and accuracy. At present, there are many free and charged IP address libraries, but usually rely on netizens feedback, research and other methods to collect and verify the addresses of these IP address pools and ISP attribution information, which is not automatic enough.
  • ISP Internet Service Provider
  • the present invention is directed to the above problem, and proposes an inference and filling method of an IP address library, which can use the data obtained by automatic detection to correct and fill the geographical location and ISP information of the IP in the IP address library, improve the coverage of the IP address library, and correct IP address library data.
  • the IP address filling method of the present invention combines the network topology obtained by the Traceroute detection to correct and fill the IP address attribution data, and the basic unit of processing is the C network segment (which may also be a smaller network segment).
  • the inference and filling method is based on the following statistical rule: for the IP of consecutive three-hop routes appearing in the Traceroute probe, if the IP of the previous hop and the IP of the next hop have the same geographical location (same province or same city), then the middle one The address of the hopped IP should also be the same geographical location. The same is true for ISPs. If the forward and backward hop IPs also have the same ISP if they have the same address, the probability that the intermediate route IP is the same address is greater.
  • a method for inferring and filling an IP address library as shown in FIG. 1, the steps thereof include:
  • midNet (preNet 1 , nextNet 1 ), ..., (preNet x , nextNet x );
  • each tuple will "vote out" a candidate address data for midNet according to the following validation and populated statistical rules: if in the tuple The forward and backward jumps have the same address, and for the intermediate one-hop IP, the candidate address data is obtained by the tuple, that is, the same address as the forward and backward jumps.
  • midNet gets a list of candidate addresses. If each candidate address in the candidate address list is the same, it ends as a final decision result; if each candidate address in the candidate address list is different, the following steps are continued.
  • step 3 determines the information of the midNet.
  • ⁇ , ⁇ , ⁇ are coefficients, f, g, Is a function definition.
  • the obtained candidate address list is used as the final judgment result of the midNet address, thereby realizing the correction and filling of the original IP address data.
  • the intermediate route If the C network segment originally has no address, the candidate address list finally obtained in this step is filled with the original address database; if the intermediate route C network segment originally has an address, and the original address is in the candidate list, the step is finally obtained.
  • the candidate address list verifies the original address database data; if the intermediate route C network segment originally has an address, and the original address is not in the candidate list, the candidate address list finally obtained in this step corrects the original address database data.
  • the function f, g can be determined according to the situation. Functions can be defined and adjusted based on different network structures or management situations and pre-obtained knowledge. There is no fixed standard method. In a preferred embodiment of the invention,
  • GeoScore i ⁇ ((preGeoWeight j +nextGeoWeight j )*lg(1+min(preLinkCount j +nextLinkCount j )))
  • step 4 the candidate list is obtained by using the above steps for the city and the province respectively. If the candidate list of the province does not include the province corresponding to each city in the city candidate list, the missing provinces are also added to the candidate list of the province. .
  • the method of the invention is simple to implement and can correct and supplement the data of the IP address library.
  • the method is relatively effective and low in cost, and does not require field research to confirm the IP address and ISP attribution information, and does not need to rely on the feedback of the netizen when the network is detected. This method can cover more IP when the topology data increases.
  • FIG. 1 is a flow chart showing the steps of a method for inferring and filling an IP address library of the present invention.
  • Example of IP address inference and padding Take the IP address 183.151.162.1 as an example.
  • the address in the library is in Zhejiang Province, the city is uncertain, and the operator is telecommunications.
  • the list of the forward and backward hops of the intermediate route is shown in Table 1, as follows:
  • the alternative voting result is unique, the province is Zhejiang, the city is Lishui, and the operator is telecommunications. Since the candidate results are unique, no further statistical calculation is needed.
  • the inferred address result is the same as the information in the original IP address pool, the city information is supplemented, and the ISP information is the same. In this case, the current method verifies the province information and operator information of the address, and the city information is filled.
  • IP address 118.84.3.0 Take the IP address 118.84.3.0 as an example.
  • the address in the library is Beijing, and the carrier is telecommunications, which is the IP network segment of the backbone network.
  • the list of forward and backward hops (partial interception) of the intermediate route is shown in Table 3, as follows:

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention relates to an IP address database inferring and filling method. The method combines a network topology obtained in combination with Traceroute probing, corrects and fills IP address ownership data, a basic processing unit being a C network segment (or a smaller network segment), the method being based on the following statistical patterns: for the IPs of a consecutive three-hop route appearing in a Traceroute probe, if the IP of the previous hop and the IP of the next hop have the same geographical location (the same province or the same city), the IP of the middle hop should also have the same geographical location; the same applies to the ISPs; if the IPs of the previous hop and the next hop also have the same ISP with the same location, the probability of the middle routing IP having the same location becomes greater. The present invention utilizes data obtained through automatic probing to correct and fill IP geographical location and ISP information in the IP address database, thus increasing coverage of the IP address database, and correcting the data of the IP address database.

Description

一种IP地址库的推断和填充方法Inference and filling method of IP address library 技术领域Technical field
本发明属于网络技术领域,具体涉及一种IP地址库的推断和填充方法,用于纠正和填充Traceroute探测的IP地址库中IP的地理位置和ISP信息。The invention belongs to the field of network technologies, and particularly relates to a method for inferring and filling an IP address library, which is used for correcting and filling the geographical location and ISP information of the IP in the IP address library of the Traceroute detection.
背景技术Background technique
本发明方法基于Traceroute探测结果而提出。以基于UDP高端口实现的Traceroute为例,其工作过程如下:Traceroute通过向目的主机发送一系列TTL(Time To Live,生存时间)值从1开始递增的的UDP报文,由于报文每经过一个路由器的处理,其TTL值都会自减1,当中间路由器在收到报文时发现TTL超时,会向源主机回复ICMP超时报文(ICMP time-exceeded message),这样源主机就得到了距离自己给定跳数之远的路由IP地址。当报文到达目的主机时,目的主机回复的则是ICMP地址不可达报文(ICMP destination unreachable message),探测终止。这样我们就获得了从源地址到目的地址的路由转发路径,从而利用这个路径去构建网络拓扑。The method of the present invention is based on the results of the Traceroute detection. Take Traceroute based on UDP high-port as an example. The working process is as follows: Traceroute sends a series of UDP packets with a TTL (Time To Live) value starting from 1 to the destination host. When the router processes, its TTL value is decremented by 1. When the intermediate router finds that the TTL expires when receiving the packet, it will reply the ICMP time-exceeded message to the source host, so that the source host gets its own distance. The routing IP address given the far hop count. When the packet arrives at the destination host, the destination host replies with an ICMP destination unreachable message, and the probe terminates. In this way, we obtain the routing and forwarding path from the source address to the destination address, and use this path to build the network topology.
IP地址库通常提供了IP地址段所在的地理位置、ISP(Internet Service Provider)等信息,通常从覆盖度、粒度和准确度上来进行评估。目前存在着很多免费和收费的IP地址库,但通常都依靠网民反馈、调研等方法来收集和验证这些IP地址库的地址和ISP归属信息,不够自动化。The IP address pool usually provides information such as the geographical location of the IP address segment and the ISP (Internet Service Provider). It is usually evaluated from coverage, granularity, and accuracy. At present, there are many free and charged IP address libraries, but usually rely on netizens feedback, research and other methods to collect and verify the addresses of these IP address pools and ISP attribution information, which is not automatic enough.
发明内容Summary of the invention
本发明针对上述问题,提出一种IP地址库的推断和填充方法,能够利用自动化探测得到的数据来纠正和填充IP地址库中IP的地理位置和ISP信息,提高IP地址库的覆盖度,纠正IP地址库的数据。The present invention is directed to the above problem, and proposes an inference and filling method of an IP address library, which can use the data obtained by automatic detection to correct and fill the geographical location and ISP information of the IP in the IP address library, improve the coverage of the IP address library, and correct IP address library data.
本发明的IP地址填充方法结合Traceroute探测得到的网络拓扑,对IP的地址归属数据进行纠正和填充,处理的基本单位是C网段(亦可以是更小的网段)。该推断与填充方法是基于以下统计规律:对Traceroute探测中出现的连续三跳路由的IP,如果前一跳的IP和后一跳的IP具有相同的地理位置(同省或同市),则中间一跳的IP的地址也应该是相同的地理位置。ISP亦然。前后跳IP如果在具有相同地址的情况下也具有相同的ISP,则中间路由IP是同一地址的概率就更大。 The IP address filling method of the present invention combines the network topology obtained by the Traceroute detection to correct and fill the IP address attribution data, and the basic unit of processing is the C network segment (which may also be a smaller network segment). The inference and filling method is based on the following statistical rule: for the IP of consecutive three-hop routes appearing in the Traceroute probe, if the IP of the previous hop and the IP of the next hop have the same geographical location (same province or same city), then the middle one The address of the hopped IP should also be the same geographical location. The same is true for ISPs. If the forward and backward hop IPs also have the same ISP if they have the same address, the probability that the intermediate route IP is the same address is greater.
具体来说,本发明采用的技术方案如下:Specifically, the technical solution adopted by the present invention is as follows:
一种IP地址库的推断和填充方法,如图1所示,其步骤包括:A method for inferring and filling an IP address library, as shown in FIG. 1, the steps thereof include:
1.对于一个IP,从Traceroute数据中找出满足其前后跳IP同地址的连续三跳IP,并记录三个IP分别对应的C网段或者更小的网段,记做preNet,midNet和nextNet(其中,preNet≠midNet且midNet≠nextNet);对于midNet来说,生成如下的各网段(C网段或者更小的网段)对的元组列表:1. For an IP, find the consecutive three-hop IPs that meet the IP address of the forward and backward hops from the Traceroute data, and record the C segments corresponding to the three IP addresses or smaller network segments, and record them as preNet, midNet and nextNet. (Where, preNet≠midNet and midNet≠nextNet); for midNet, generate the following tuple list for each network segment (C segment or smaller segment):
midNet:(preNet1,nextNet1),……,(preNetx,nextNetx);midNet: (preNet 1 , nextNet 1 ), ..., (preNet x , nextNet x );
2.使用给定的IP地址库和步骤1中提取出的元组列表,每一个元组根据下述验证和填充的统计规则都会“投票选出”midNet的一个候选地址数据:如果元组中的前后跳具有相同的地址,则针对中间一跳IP,则由该元组得到其候选地址数据,即与前后跳相同的地址。2. Using the given IP address pool and the list of tuples extracted in step 1, each tuple will "vote out" a candidate address data for midNet according to the following validation and populated statistical rules: if in the tuple The forward and backward jumps have the same address, and for the intermediate one-hop IP, the candidate address data is obtained by the tuple, that is, the same address as the forward and backward jumps.
这样,midNet就得到了候选地址列表。如果该候选地址列表中的各候选地址相同,则作为最终判定结果并结束;如果该候选地址列表中的各候选地址有不同,则继续下面的步骤。In this way, midNet gets a list of candidate addresses. If each candidate address in the candidate address list is the same, it ends as a final decision result; if each candidate address in the candidate address list is different, the following steps are continued.
3.使用步骤2的结果,对midNet进行信息的判定,具体方法是:3. Using the results of step 2, determine the information of the midNet, the specific method is:
1)对每一个候选地址geoi,记录是哪些元组投票选出的,这些元组的个数记为counti。然后对下列指标进行统计:1) For each candidate address geo i , the records are selected by which tuples are voted, and the number of these tuples is counted as count i . Then count the following indicators:
·前一跳子网与中间路由子网的链接preLink的出现次数preLinkCount;· The number of occurrences of the link preLink of the previous hop subnet and the intermediate routing subnet preLinkCount;
·后一跳子网与中间路由子网的链接nextLink的出现次数nextLinkCount;· The number of occurrences of the nextLink of the next hop subnet and the intermediate routing subnet nextLinkCount;
·前后跳子网ISP相同的元组数目sameISPCount;· The number of tuples with the same ISP of the ISP before and after jumping to the sameISACount;
·前后跳子网各自的地址信息权威值(由相关专家人为设定)preGeoWeight和nextGeoWeight。• The address information authority value of each of the hops and hops (set by the relevant experts) preGeoWeight and nextGeoWeight.
2)计算每个候选地址的得分GeoScorei2) Calculate the score GeoScore i for each candidate address:
Figure PCTCN2014095169-appb-000001
Figure PCTCN2014095169-appb-000001
其中,α,β,γ是系数,f,g,
Figure PCTCN2014095169-appb-000002
是函数定义。在实际应用中,可根据情况确定各参数的值和函数的定义,最简可以取α=0,β=0,γ=0,c=1,即表明各候选地址的得分相同。
Where α, β, γ are coefficients, f, g,
Figure PCTCN2014095169-appb-000002
Is a function definition. In practical applications, the values of the parameters and the definition of the function can be determined according to the situation. The simplest can take α=0, β=0, γ=0, c=1, which means that the scores of the candidate addresses are the same.
4.对于所有候选地址及其得分,按得分高低排列,将得到的候选地址列表作为midNet的地址最终判定结果,从而实现对原IP地址数据的纠正和填充。如图1所示,如果中间路由 C网段原来是没有地址的,则该步骤最终得到的候选地址列表填充了原地址库;如果中间路由C网段原来是有地址的,并且原地址在候选列表中,则该步骤最终得到的候选地址列表验证了原地址库数据;如果中间路由C网段原来是有地址的,而原地址不在候选列表中,则该步骤最终得到的候选地址列表对原地址库数据进行了纠正。4. For all candidate addresses and their scores, according to the score level, the obtained candidate address list is used as the final judgment result of the midNet address, thereby realizing the correction and filling of the original IP address data. As shown in Figure 1, if the intermediate route If the C network segment originally has no address, the candidate address list finally obtained in this step is filled with the original address database; if the intermediate route C network segment originally has an address, and the original address is in the candidate list, the step is finally obtained. The candidate address list verifies the original address database data; if the intermediate route C network segment originally has an address, and the original address is not in the candidate list, the candidate address list finally obtained in this step corrects the original address database data.
进一步地,步骤3在实际应用中可根据情况确定函数f,g,
Figure PCTCN2014095169-appb-000003
可以根据不同的网络结构或管理情况以及预先得到的知识来对函数进行定义和调整,没有固定的标准方法。在本发明的一个优选的实施例中,可以令
Further, in step 3, in the actual application, the function f, g can be determined according to the situation.
Figure PCTCN2014095169-appb-000003
Functions can be defined and adjusted based on different network structures or management situations and pre-obtained knowledge. There is no fixed standard method. In a preferred embodiment of the invention,
GeoScorei=∑((preGeoWeightj+nextGeoWeightj)*lg(1+min(preLinkCountj+nextLinkCountj)))GeoScore i =∑((preGeoWeight j +nextGeoWeight j )*lg(1+min(preLinkCount j +nextLinkCount j )))
这样得到的纠正和填充效果较好。The correction and filling effect obtained in this way is better.
进一步地,步骤4中,对城市和省份分别利用上述步骤求取候选列表,如果省份的候选列表中不包含城市候选列表中各城市对应的省份,则将缺失的省份也添加入省份的候选列表。Further, in step 4, the candidate list is obtained by using the above steps for the city and the province respectively. If the candidate list of the province does not include the province corresponding to each city in the city candidate list, the missing provinces are also added to the candidate list of the province. .
本发明方法实现简单,能够对IP地址库的数据进行纠正和补充,方法比较有效且成本较低,不需要实地调研确认IP的地址和ISP归属信息,也无需依靠网民的反馈,当探测的网络拓扑数据增多时,该方法就能够覆盖更多的IP。The method of the invention is simple to implement and can correct and supplement the data of the IP address library. The method is relatively effective and low in cost, and does not require field research to confirm the IP address and ISP attribution information, and does not need to rely on the feedback of the netizen when the network is detected. This method can cover more IP when the topology data increases.
附图说明DRAWINGS
图1是本发明的IP地址库的推断和填充方法的步骤流程图。1 is a flow chart showing the steps of a method for inferring and filling an IP address library of the present invention.
具体实施方式detailed description
为使本发明的上述目的、特征和优点能够更加明显易懂,下面通过具体实施例和附图,对本发明做进一步说明。The above described objects, features and advantages of the present invention will become more apparent from the aspects of the appended claims.
实施例1:Example 1:
IP地址推断和填充的例子:以IP地址183.151.162.1为例,在库中的地址是浙江省,城市为不确定,运营商为电信。该中间路由的前后跳子网列表见表1,如下:Example of IP address inference and padding: Take the IP address 183.151.162.1 as an example. The address in the library is in Zhejiang Province, the city is uncertain, and the operator is telecommunications. The list of the forward and backward hops of the intermediate route is shown in Table 1, as follows:
表1.路由的前后跳同址的子网元组列表Table 1. List of subnet tuples with the same address before and after the route
Figure PCTCN2014095169-appb-000004
Figure PCTCN2014095169-appb-000004
Figure PCTCN2014095169-appb-000005
Figure PCTCN2014095169-appb-000005
经过步骤2,得到如表2的投票结果。After step 2, the voting result as shown in Table 2 is obtained.
表2.路由的前后跳同址的投票列表Table 2. Voting lists for the forward and backward hops of the route
Figure PCTCN2014095169-appb-000006
Figure PCTCN2014095169-appb-000006
然后由表2可以得知,备选的投票结果是唯一的,省份为浙江,城市是丽水市,运营商为电信,由于候选结果唯一,因此无须进一步的统计计算。推断的地址结果与原始IP地址库中的信息相比,省份是相同的,城市信息进行了补充,ISP信息相同。在这种情况下,本次的方法对该地址的省份信息和运营商信息进行了验证,城市信息进行了填充。It can be seen from Table 2 that the alternative voting result is unique, the province is Zhejiang, the city is Lishui, and the operator is telecommunications. Since the candidate results are unique, no further statistical calculation is needed. The inferred address result is the same as the information in the original IP address pool, the city information is supplemented, and the ISP information is the same. In this case, the current method verifies the province information and operator information of the address, and the city information is filled.
实施例2:(备选的投票结果不是唯一的,需要进一步的统计计算)Example 2: (Alternative voting results are not unique and require further statistical calculations)
以IP地址118.84.3.0为例,在库中的地址是北京,运营商为电信,为骨干网IP网段。该中间路由的前后跳子网(部分截取)列表见表3,如下:Take the IP address 118.84.3.0 as an example. The address in the library is Beijing, and the carrier is telecommunications, which is the IP network segment of the backbone network. The list of forward and backward hops (partial interception) of the intermediate route is shown in Table 3, as follows:
表3.路由的前后跳同址的子网元组列表Table 3. List of subnet tuples with the same address before and after the route
Figure PCTCN2014095169-appb-000007
Figure PCTCN2014095169-appb-000007
经过步骤2,得到如表4的投票结果。After step 2, the voting result as shown in Table 4 is obtained.
表4.路由的前后跳同址的投票列表Table 4. Voting lists for the forward and backward hops of the route
Figure PCTCN2014095169-appb-000008
Figure PCTCN2014095169-appb-000008
Figure PCTCN2014095169-appb-000009
Figure PCTCN2014095169-appb-000009
然后由表4可以得知,地址的投票结果共计有两个:北京和合肥安徽,ISP投票结果是电信和联通。如果按照最简公式,投票各结果的得分均相同,如果考虑到前后网段链接数该影响因子,则北京的得分应比合肥安徽高,ISP的判定结果也是同理。因此该结果对数据库中的结果进行了一定的验证。Then, as can be seen from Table 4, there are two voting results for the address: Beijing and Hefei, Anhui, and the results of the ISP voting are Telecom and China Unicom. According to the simplest formula, the scores of each result of the voting are the same. If the influence factor of the number of links before and after the network is taken into consideration, the score of Beijing should be higher than that of Hefei Anhui, and the judgment result of ISP is also the same. Therefore, the results verify the results in the database.
以上实施例仅用以说明本发明的技术方案而非对其进行限制,本领域的普通技术人员可以对本发明的技术方案进行修改或者等同替换,而不脱离本发明的精神和范围,本发明的保护范围应以权利要求所述为准。 The above embodiments are only used to illustrate the technical solutions of the present invention, and the present invention is not limited thereto, and those skilled in the art can modify or replace the technical solutions of the present invention without departing from the spirit and scope of the present invention. The scope of protection shall be as stated in the claims.

Claims (3)

  1. 一种IP地址库的推断和填充方法,其步骤包括:A method for inferring and filling an IP address library, the steps of which include:
    1)对于一个IP,从Traceroute数据中找出满足其前后跳IP同地址的连续三跳IP,并记录三个IP分别对应的C网段或者更小的网段,记做preNet,midNet和nextNet,其中,preNet≠midNet且midNet≠nextNet;对于midNet,生成如下的各网段对的元组列表:1) For an IP, find the consecutive three-hop IPs that meet the IP address of the forward and backward hops from the Traceroute data, and record the C segments corresponding to the three IP addresses or smaller network segments, and record them as preNet, midNet and nextNet. Among them, preNet≠midNet and midNet≠nextNet; for midNet, generate the following tuple list of each network segment pair:
    midNet:(preNet1,nextNet1),……,(preNetx,nextNetx);midNet: (preNet 1 , nextNet 1 ), ..., (preNet x , nextNet x );
    2)使用给定的IP地址库和步骤1)提取出的元组列表,每一个元组根据下述统计规则投票选出midNet的一个候选地址数据:如果元组中的前后跳具有相同的地址,则针对中间一跳IP,则由该元组得到其候选地址数据,即与前后跳相同的地址;从而得到midNet的候选地址列表;如果该候选地址列表中的各候选地址相同,则作为最终判定结果并结束;如果该候选地址列表中的各候选地址有不同,则继续下面的步骤;2) Using a given IP address library and a list of tuples extracted in step 1), each tuple voted for a candidate address data of midNet according to the following statistical rules: if the forward and backward jumps in the tuple have the same address , for the intermediate one-hop IP, the candidate address data is obtained by the tuple, that is, the same address as the forward and backward jumps; thereby obtaining the candidate address list of the midNet; if each candidate address in the candidate address list is the same, then as the final The determination result ends; if each candidate address in the candidate address list is different, the following steps are continued;
    3)使用步骤2)的结果对midNet进行信息的判定,具体方法是:3) Using the results of step 2) to determine the information of the midNet, the specific method is:
    a)对每一个候选地址geoi,记录是哪些元组投票选出的,这些元组的个数记为counti,然后对下列指标进行统计:a) For each candidate address geo i , record which tuples are voted for, the number of these tuples is counted as count i , and then the following indicators are counted:
    前一跳子网与中间路由子网的链接preLink的出现次数preLinkCount;The number of occurrences of the link preLink of the previous hop subnet and the intermediate routing subnet preLinkCount;
    后一跳子网与中间路由子网的链接nextLink的出现次数nextLinkCount;The number of occurrences of the link of the next hop subnet and the intermediate routing subnet nextLinkCount;
    前后跳子网ISP相同的元组数目sameISPCount;The number of tuples with the same hops of the ISP before and after jumping to the sameISACount;
    前后跳子网各自的地址信息权威值preGeoWeight和nextGeoWeight;The address information authority values preGeoWeight and nextGeoWeight of the hop-hopping subnets;
    b)计算每个候选地址的得分GeoScoreib) Calculate the score GeoScore i for each candidate address:
    Figure PCTCN2014095169-appb-100001
    Figure PCTCN2014095169-appb-100001
    其中,α,β,γ是系数,
    Figure PCTCN2014095169-appb-100002
    是根据实际情况确定的函数定义;
    Where α, β, γ are coefficients,
    Figure PCTCN2014095169-appb-100002
    Is a function definition determined according to the actual situation;
    4)对于所有候选地址及其得分,按得分高低排列,将得到的候选地址列表作为midNet的地址最终判定结果,从而实现对原IP地址数据的纠正和填充。4) For all candidate addresses and their scores, the scores are ranked according to the score, and the obtained candidate address list is used as the final judgment result of the midNet address, thereby realizing the correction and filling of the original IP address data.
  2. 如权利要求1所述的方法,其特征在于:步骤3)中计算每个候选地址的得分GeoScorei的公式为: The method of claim 1 wherein the formula for calculating the score GeoScore i for each candidate address in step 3) is:
    GeoScorei=∑((preGeoWeightj+nextGeoWeightj)*lg(1+min(preLinkCountj+nextLinkCountj)))。GeoScore i =∑((preGeoWeight j +nextGeoWeight j )*lg(1+min(preLinkCount j +nextLinkCount j ))).
  3. 如权利要求1所述的方法,其特征在于:步骤4)中,对城市和省份分别利用求取候选列表,如果省份的候选列表中不包含城市候选列表中各城市对应的省份,则将缺失的省份也添加入省份的候选列表。 The method according to claim 1, wherein in step 4), the candidate list is used for the city and the province respectively, and if the candidate list of the province does not include the province corresponding to each city in the city candidate list, the candidate will be missing. The provinces are also added to the list of candidates for the province.
PCT/CN2014/095169 2014-11-06 2014-12-26 Ip address database inferring and filling method WO2016070483A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410643337.4A CN104333616B (en) 2014-11-06 2014-11-06 A kind of deduction in IP address library and fill method
CN201410643337.4 2014-11-06

Publications (1)

Publication Number Publication Date
WO2016070483A1 true WO2016070483A1 (en) 2016-05-12

Family

ID=52408264

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/095169 WO2016070483A1 (en) 2014-11-06 2014-12-26 Ip address database inferring and filling method

Country Status (2)

Country Link
CN (1) CN104333616B (en)
WO (1) WO2016070483A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105227688B (en) * 2015-08-31 2018-06-29 罗向阳 A kind of region class Target IP localization method based on route characteristic
CN105897944B (en) * 2016-03-25 2020-08-04 胡津瑞 Trace-based deduction and filling method of IP address geographic position library
CN107819827B (en) * 2017-10-16 2021-03-12 阔视(北京)科技有限公司 Advertisement putting method, device and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102104635A (en) * 2009-12-17 2011-06-22 阿里巴巴集团控股有限公司 Method and device for updating Internet protocol (IP) address base
CN102394944A (en) * 2011-09-16 2012-03-28 北京新媒传信科技有限公司 Method and equipment for correcting IP (Internet Protocol) address in Web access
CN103716282A (en) * 2012-09-28 2014-04-09 北京新媒传信科技有限公司 Method and system for correcting IP library

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102104635A (en) * 2009-12-17 2011-06-22 阿里巴巴集团控股有限公司 Method and device for updating Internet protocol (IP) address base
CN102394944A (en) * 2011-09-16 2012-03-28 北京新媒传信科技有限公司 Method and equipment for correcting IP (Internet Protocol) address in Web access
CN103716282A (en) * 2012-09-28 2014-04-09 北京新媒传信科技有限公司 Method and system for correcting IP library

Also Published As

Publication number Publication date
CN104333616B (en) 2018-08-24
CN104333616A (en) 2015-02-04

Similar Documents

Publication Publication Date Title
US10015073B2 (en) Automatic optimal route reflector root address assignment to route reflector clients and fast failover in a network environment
EP3326074B1 (en) Methods, systems, and apparatus for geographic location using trace routes
Marder et al. Pushing the boundaries with bdrmapit: Mapping router ownership at internet scale
Vetriselvan et al. Survey on the RIP, OSPF, EIGRP routing protocols
US9054951B2 (en) Detecting and avoiding routing loops with BGP route server extensions
US9641430B2 (en) Verifying data plane paths based on a validated secure control plane
Zhang et al. Scaling IP Routing with the Core Router-Integrated Overlay.
KR20140043778A (en) Method and node for supporting routing via inter as path
US20100150020A1 (en) Backup route generation in border gateway protocol
Moreira et al. A stateless traceback technique for identifying the origin of attacks from a single packet
Mazloum et al. Violation of interdomain routing assumptions
WO2016070483A1 (en) Ip address database inferring and filling method
McQuistin et al. Taming anycast in the wild internet
CN108075928B (en) General simulation model and method for network flow
Misra et al. Routing bandwidth guaranteed paths for traffic engineering in WiMAX mesh networks
WO2016123904A1 (en) Routing convergence method, device and virtual private network system
CN105024866B (en) A kind of IS-ISv6 networks routing configuration abnormality detection system and method
Ginsberg et al. IS-IS traffic engineering (TE) metric extensions
CN112671652A (en) Message forwarding method and device
JP5170778B2 (en) BGP fault location estimation method and apparatus
US10397092B2 (en) Reducing flooding of route updates of a dynamic routing protocol
Ahmed et al. An experimental study on inter-domain routing dynamics using IP-level path traces
Neudorfer et al. Improving AS relationship inference using PoPs
Cheng et al. Route flap damping with assured reachability
Ghani et al. PHDS: IP prefix hijack detection system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14905591

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14905591

Country of ref document: EP

Kind code of ref document: A1