CN113779165B - IP address geographic position ambiguity judging method and related equipment - Google Patents

IP address geographic position ambiguity judging method and related equipment Download PDF

Info

Publication number
CN113779165B
CN113779165B CN202110884008.9A CN202110884008A CN113779165B CN 113779165 B CN113779165 B CN 113779165B CN 202110884008 A CN202110884008 A CN 202110884008A CN 113779165 B CN113779165 B CN 113779165B
Authority
CN
China
Prior art keywords
address
disputed
address segment
active
information
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202110884008.9A
Other languages
Chinese (zh)
Other versions
CN113779165A (en
Inventor
张沛
黄小红
高克雄
王奇
何方舟
舒思悦
文柯达
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing University of Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
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 Beijing University of Posts and Telecommunications filed Critical Beijing University of Posts and Telecommunications
Priority to CN202110884008.9A priority Critical patent/CN113779165B/en
Publication of CN113779165A publication Critical patent/CN113779165A/en
Application granted granted Critical
Publication of CN113779165B publication Critical patent/CN113779165B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/90335Query processing
    • G06F16/90348Query processing by searching ordered data, e.g. alpha-numerically ordered data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/69Types of network addresses using geographic information, e.g. room number

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Remote Sensing (AREA)
  • Navigation (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本公开提供了一种IP地址地理位置歧义判定方法及相关设备,该方法包括:根据不同IP定位库构建相同IP地址段集合和争议IP地址段集合,基于相同IP地址段集合进行IP地址活跃性探测,构建活跃IP地址数据集。将争议IP地址段与活跃IP地址段相关联,分别计算不同IP地址段对应的路径向量,将与争议IP地址段的路径向量距离最近的活跃IP地址段的地址位置作为该争议IP地址段的目标地理位置。本公开提供的判定方法解决了多源IP地址地理位置数据库IP地址地理位置不一致的问题,充分利用了探测点到目的IP的全路径信息,有较高的可靠性。同时,仅需对应争议城市的部分活跃IP及可完成地理位置的判别,具有实时、准确、轻量、易部署的优点。

The disclosure provides a method for judging ambiguity of IP address geographic location and related equipment, the method includes: constructing the same IP address segment set and disputed IP address segment set according to different IP location databases, and performing IP address activity based on the same IP address segment set Probe, build active IP address data set. Associate the disputed IP address segment with the active IP address segment, calculate the path vectors corresponding to different IP address segments, and use the address position of the active IP address segment closest to the path vector of the disputed IP address segment as the disputed IP address segment target location. The judging method provided by the present disclosure solves the problem of inconsistency of IP address geographic locations in multi-source IP address geographic location databases, makes full use of the full path information from the detection point to the destination IP, and has high reliability. At the same time, it only needs to correspond to some active IPs in the disputed cities and can complete the geographical location discrimination, which has the advantages of real-time, accuracy, light weight and easy deployment.

Description

IP地址地理位置歧义判定方法及相关设备IP address geographic location ambiguity determination method and related equipment

技术领域technical field

本公开涉及互联网技术领域,尤其涉及一种IP地址地理位置歧义判定方法及相关设备。The present disclosure relates to the technical field of the Internet, and in particular to a method for judging ambiguity of an IP address geographic location and related equipment.

背景技术Background technique

IP地址是IP协议提供的一种统一的地址格式,是互联网的核心组成部分,可以用来唯一标识一台接入网络的主机或设备。用户使用的设备或主机必须拥有IP地址,才可以接入互联网,从而获取网络资源。IP地址地理位置指的是与网络空间中的IP地址相对应的物理空间中的地址。一般来说,IP地址与物理地址存在一一对应的关系。IP定位指的是通过一定的技术手段,建立IP地址与其物理地址的映射关系。IP定位在网络性能优化、网络安全分析、个性化推荐等方面应用十分广泛。IP地址是互联网中网络或主机的逻辑地址,其地理位置对网络流量调度、网络安全事件分析以及用户推广有重要作用。当前业内已有较多的IP地址地理位置数据库,但是,多源的IP地址地理位置信息造成了IP地址位置歧义,降低了IP地址地理位置的使用效果。An IP address is a unified address format provided by the IP protocol. It is a core component of the Internet and can be used to uniquely identify a host or device connected to the network. The device or host used by the user must have an IP address before it can access the Internet and obtain network resources. IP address geographic location refers to an address in physical space corresponding to an IP address in cyberspace. Generally speaking, there is a one-to-one correspondence between IP addresses and physical addresses. IP positioning refers to the establishment of a mapping relationship between an IP address and its physical address through certain technical means. IP positioning is widely used in network performance optimization, network security analysis, and personalized recommendation. An IP address is the logical address of a network or host on the Internet, and its geographic location plays an important role in network traffic scheduling, network security event analysis, and user promotion. At present, there are many IP address geographic location databases in the industry. However, multi-source IP address geographic location information causes ambiguity in IP address location and reduces the use effect of IP address geographic location.

发明内容Contents of the invention

有鉴于此,本公开的目的在于提出一种IP地址地理位置歧义判定方法及相关设备。In view of this, the purpose of the present disclosure is to propose a method for judging ambiguity of an IP address geographic location and related equipment.

基于上述目的,本公开提供了一种IP地址地理位置歧义判定方法,包括:Based on the above purpose, the present disclosure provides a method for judging ambiguity of IP address geographic location, including:

从至少两个IP定位库中获取定位信息;Obtain location information from at least two IP location libraries;

对所述定位信息中的地理位置进行标准化处理;Standardize the geographic location in the positioning information;

通过路由前缀将所述定位信息中的IP地址段与路由信息表中的自治系统as(autonomous system)信息相关联;Associating the IP address segment in the positioning information with the autonomous system as (autonomous system) information in the routing information table through the routing prefix;

基于所述定位信息和所述as信息构建相同IP地址段集合,基于所述定位信息和所述as信息构建争议IP地址段集合;Constructing the same IP address segment set based on the positioning information and the as information, and constructing a disputed IP address segment set based on the positioning information and the as information;

基于所述相同IP地址段集合,通过活跃性探测确定活跃IP地址段集合;Based on the same IP address segment set, determine the active IP address segment set through liveness detection;

基于所述争议IP地址段集合和所述活跃IP地址段集合,通过预定规则确定与所述争议IP地址段集合中的每一个争议IP地址段相关联的至少两个活跃IP地址段;Based on the set of disputed IP address segments and the set of active IP address segments, determine at least two active IP address segments associated with each disputed IP address segment in the set of disputed IP address segments through predetermined rules;

通过路由追踪分别获取所述争议IP地址段的路径向量和与之相关联的全部所述活跃IP地址段的路径向量,分别计算所述争议IP地址段的路径向量与每一个所述活跃IP地址段的路径向量的距离,将与最小所述距离对应的所述活跃IP地址段相关联的地理位置作为所述争议IP地址段的目标地理位置。Obtain the path vector of the disputed IP address segment and the path vectors of all the active IP address segments associated therewith through route tracing, respectively calculate the path vector of the disputed IP address segment and each of the active IP addresses The distance of the path vector of the segment, and the geographic location associated with the active IP address segment corresponding to the smallest distance is used as the target geographic location of the disputed IP address segment.

进一步的,所述定位信息包括:起止IP、国家编码、州/省份/地区和城市名称,所述地理位置包括国家编码、州/省份/地区和城市名称。Further, the positioning information includes: starting and ending IP, country code, state/province/region and city name, and the geographic location includes country code, state/province/region and city name.

进一步的,所述标准化处理包括:将所述地理位置在预设的标准地理位置库中进行查询,若所述地理位置为非标准地理位置,则将所述地理位置替换为标准地理位置。Further, the standardization process includes: querying the geographic location in a preset standard geographic location library, and if the geographic location is a non-standard geographic location, replacing the geographic location with a standard geographic location.

进一步的,所述基于所述定位信息和所述as信息构建相同IP地址段集合,基于所述定位信息和所述as信息构建争议IP地址段集合,包括:将所述起止IP对应的所述地理位置和as信息均相同的记录信息合并构建相同IP地址段集合,将所述起止IP相同、地理位置和/或as信息不同的所述记录信息合并构建争议IP地址段集合。Further, the constructing the same IP address segment set based on the positioning information and the as information, and constructing the disputed IP address segment set based on the positioning information and the as information include: the starting and ending IPs corresponding to the The record information with the same geographical location and as information is combined to construct the same IP address segment set, and the record information with the same start and end IP and different geographic location and/or as information is combined to construct a disputed IP address segment set.

进一步的,所述基于所述相同IP地址段集合,通过活跃性探测确定活跃IP地址段集合,包括:从所述相同IP地址段集合中抽取信息构建第一字典,所述第一字典为{城市名称:as:[IP地址段集合]},从所述第一字典的每个IP地址段中随机抽取部分IP地址,对其进行活跃性探测,基于所述城市名称、所述as信息和与其对应的所述活跃性探测结果为活跃的IP地址段,构建活跃IP地址段集合。Further, the determination of the active IP address segment set through liveness detection based on the same IP address segment set includes: extracting information from the same IP address segment set to construct a first dictionary, and the first dictionary is { City name: as: [IP address segment collection]}, randomly extract a part of IP addresses from each IP address segment of the first dictionary, and perform activity detection on it, based on the city name, the as information and The corresponding liveness detection result is an active IP address segment, and a set of active IP address segments is constructed.

进一步的,所述预定规则包括:从所述争议IP地址段集合中抽取信息构建第二字典,所述第二字典为{争议IP地址段:[第一争议城市第二争议城市…第N争议城市as]},基于as信息利用相似性原理分别查询所述第二字典中的所述第一争议城市、所述第二争议城市…所述第N争议城市在所述活跃IP地址段集合中对应的活跃IP地址段,作为与所述争议IP地址段关联的活跃IP地址段。Further, the predetermined rule includes: extracting information from the set of disputed IP address segments to construct a second dictionary, the second dictionary is {disputed IP address segment: [the first disputed city, the second disputed city...the Nth disputed city as]}, based on the as information, use the similarity principle to respectively query the first disputed city, the second disputed city... the Nth disputed city in the active IP address segment set in the second dictionary The corresponding active IP address segment is used as the active IP address segment associated with the disputed IP address segment.

进一步的,所述通过路由追踪分别获取所述争议IP地址段的路径向量和与之相关联的全部所述活跃IP地址段的路径向量,包括:构建第三字典,所述第三字典为{争议IP地址段:[第一争议城市+as+第一活跃IP地址段第二争议城市+as+第二活跃IP地址段…第N争议城市+as+第N活跃IP地址段]},对所述第三字典中的所述争议IP地址段和全部所述活跃IP地址段发起路由追踪探测,将通过所述路由追踪探测得到的路径转化为路径向量。Further, the obtaining the path vector of the disputed IP address segment and the path vectors of all the active IP address segments associated with it through route tracing includes: constructing a third dictionary, and the third dictionary is { Disputed IP address segment: [the first disputed city + as + the first active IP address segment, the second disputed city + as + the second active IP address segment... the Nth disputed city + as + the Nth active IP address segment]}, the The disputed IP address segment and all the active IP address segments in the three dictionaries initiate route tracing detection, and convert the path obtained through the route tracing detection into a path vector.

基于同一发明构思,本公开还提供了一种IP地址地理歧义判定装置,包括:Based on the same inventive concept, the present disclosure also provides an IP address geographical ambiguity determination device, including:

获取模块,被配置为从至少两个IP定位库中获取定位信息;An acquisition module configured to acquire location information from at least two IP location libraries;

标准化处理模块,被配置为对所述定位信息中的地理位置进行标准化处理;A standardization processing module configured to perform standardization processing on the geographic location in the positioning information;

信息关联模块,被配置为通过路由前缀将所述定位信息中的IP地址段与路由信息表中的as信息相关联;An information association module configured to associate the IP address segment in the positioning information with the as information in the routing information table through a routing prefix;

集合构建模块,被配置为基于所述定位信息和所述as信息构建相同IP地址段集合,基于所述定位信息和所述as信息构建争议IP地址段集合;A set construction module configured to construct the same IP address segment set based on the positioning information and the as information, and construct a disputed IP address segment set based on the positioning information and the as information;

活跃性探测模块,被配置为基于所述相同IP地址段集合,通过活跃性探测确定活跃IP地址段集合;The activity detection module is configured to determine the active IP address segment set through liveness detection based on the same IP address segment set;

关联活跃IP确定模块,被配置为基于所述争议IP地址段集合和所述活跃IP地址段集合,通过预定规则确定与所述争议IP地址段集合中的每一个争议IP地址段相关联的至少两个活跃IP地址段;The associated active IP determination module is configured to determine at least Two active IP address segments;

地理位置判定模块,被配置为通过路由追踪分别获取所述争议IP地址段的路径向量和与之相关联的全部所述活跃IP地址段的路径向量,分别计算所述争议IP地址段的路径向量与每一个所述活跃IP地址段的路径向量的距离,将与最小所述距离对应的所述活跃IP地址段相关联的地理位置作为所述争议IP地址段的目标地理位置。The geographical location determination module is configured to respectively obtain the path vector of the disputed IP address segment and the path vectors of all the active IP address segments associated therewith through route tracing, and calculate the path vectors of the disputed IP address segment respectively For the distance from the path vector of each active IP address segment, the geographic location associated with the active IP address segment corresponding to the smallest distance is used as the target geographic location of the disputed IP address segment.

基于同一发明构思,本公开还提供了一种电子设备,包括存储器、处理器及存储在所述存储器上并可由所述处理器执行的计算机程序,所述处理器在执行所述计算机程序时实现如上所述的方法。Based on the same inventive concept, the present disclosure also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable by the processor. When the processor executes the computer program, it realizes method as above.

基于同一发明构思,本公开还提供了一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令用于使计算机执行如上所述的方法。Based on the same inventive concept, the present disclosure also provides a non-transitory computer-readable storage medium, the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to cause a computer to execute the above-mentioned method.

从上面所述可以看出,本公开提供的一种IP地址地理位置歧义判定方法及相关设备,解决多源IP地址地理位置数据库IP地址地理位置不一致的问题。通过分析多源IP地址地理位置数据库,获得数据库中IP地址地理位置定位相同IP地址集合和不相同的IP地址集合,并通过主动测量获得特定测量点到这些集合的网络路径,根据定位相同IP地址集合的网络路径,建立地市级的网络路径基准数据集。针对IP地址地理位置不一致的集合,通过比较到特定城市网络路径基准数据集的网络路径的相似性,实现IP地址地理位置歧义判别。本公开提供的方法对网络质量的依赖程度较低,充分利用了探测点到目的IP的全路径信息,有较高的可靠性。同时,仅需对应争议城市的部分活跃IP及可完成地理位置的判别,具有实时、准确、轻量、易部署的优点。It can be seen from the above that the present disclosure provides a method for judging ambiguity of IP address geographic location and related equipment to solve the problem of IP address geographic location inconsistency in multi-source IP address geographic location databases. By analyzing the multi-source IP address geographic location database, the IP address geographic location in the database is obtained to locate the same IP address set and different IP address sets, and the network path from a specific measurement point to these sets is obtained through active measurement, and the same IP address is located according to Collected network paths to establish city-level network path benchmark data sets. For the set of IP addresses with inconsistent geographic location, the ambiguity discrimination of IP address geographic location is realized by comparing the similarity of the network path to the benchmark data set of the network path of a specific city. The method provided by the disclosure is less dependent on network quality, fully utilizes the full path information from the detection point to the destination IP, and has high reliability. At the same time, it only needs to correspond to some active IPs in the disputed cities and can complete the geographical location discrimination, which has the advantages of real-time, accuracy, light weight and easy deployment.

附图说明Description of drawings

为了更清楚地说明本公开或相关技术中的技术方案,下面将对实施例或相关技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the present disclosure or related technologies, the following will briefly introduce the accompanying drawings that need to be used in the descriptions of the embodiments or related technologies. Obviously, the accompanying drawings in the following description are only for the present disclosure Embodiments, for those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1为本公开实施例的IP地址地理位置歧义判定方法的流程示意图;FIG. 1 is a schematic flowchart of a method for judging ambiguity in an IP address geographic location according to an embodiment of the present disclosure;

图2为本公开实施例的活跃性探测的流程示意图;FIG. 2 is a schematic flow diagram of liveness detection in an embodiment of the present disclosure;

图3为本公开实施例的IP地址地理位置歧义判定装置的结构示意图;FIG. 3 is a schematic structural diagram of an apparatus for determining ambiguity in an IP address geographic location according to an embodiment of the present disclosure;

图4为本公开实施例的电子设备的结构示意图。FIG. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.

具体实施方式Detailed ways

为使本公开的目的、技术方案和优点更加清楚明白,以下结合具体实施例,并参照附图,对本公开进一步详细说明。In order to make the purpose, technical solutions and advantages of the present disclosure clearer, the present disclosure will be further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

需要说明的是,除非另外定义,本公开实施例使用的技术术语或者科学术语应当为本公开所属领域内具有一般技能的人士所理解的通常意义。本公开实施例中使用的“第一”、“第二”以及类似的词语并不表示任何顺序、数量或者重要性,而只是用来区分不同的组成部分。“包括”或者“包含”等类似的词语意指出现该词前面的元件或者物件涵盖出现在该词后面列举的元件或者物件及其等同,而不排除其他元件或者物件。“连接”或者“相连”等类似的词语并非限定于物理的或者机械的连接,而是可以包括电性的连接,不管是直接的还是间接的。“上”、“下”、“左”、“右”等仅用于表示相对位置关系,当被描述对象的绝对位置改变后,则该相对位置关系也可能相应地改变。It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present disclosure shall have ordinary meanings understood by those skilled in the art to which the present disclosure belongs. "First", "second" and similar words used in the embodiments of the present disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. "Comprising" or "comprising" and similar words mean that the elements or items appearing before the word include the elements or items listed after the word and their equivalents, without excluding other elements or items. Words such as "connected" or "connected" are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "Down", "Left", "Right" and so on are only used to indicate the relative positional relationship. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

如背景技术所述,IP地址地理位置数据库是一种描述IP地址到其物理位置的映射关系的数据库,通常称之为IP定位库。利用IP定位库获取IP定位是最常见的一种形式,因此,很多机构提供IP定位库服务。现在常见的IP定位库一般都存在免费和商业两个版本,免费版本相对于商业版本来说记录的条数更少,定位的准确率也相对较低。IP定位库存在很多条记录,每条记录一般包含地址块前缀或起始地址到终止地址、所属洲编码、国家编码、州/省份/地区、城市、经纬度、邮政编码等信息。基于此,可以确定IP地址到物理地址的映射关系。不同的IP定位库由于使用的探测方法不尽相同,因此,对于同一个IP地址不同的IP定位库可能会存在定位不一致的情况,我们将这些定位不一致的数据称为争议IP,对争议IP歧义地址位置进行判定,从而解决多源IP地址地理位置不一致的问题。As described in the background, the IP address geographic location database is a database describing the mapping relationship between IP addresses and their physical locations, and is generally called an IP location database. Obtaining IP location by using IP location library is the most common form. Therefore, many organizations provide IP location library services. Common IP location databases now generally have two versions, free and commercial. Compared with the commercial version, the free version has fewer records and the positioning accuracy is relatively lower. There are many records in the IP location database, and each record generally includes address block prefix or start address to end address, continent code, country code, state/province/region, city, latitude and longitude, zip code and other information. Based on this, the mapping relationship between the IP address and the physical address can be determined. Different IP location databases use different detection methods. Therefore, different IP location databases with the same IP address may have location inconsistencies. We refer to these inconsistent location data as disputed IPs. Dispute IP ambiguity The location of the address is determined to solve the problem of inconsistency in the geographical location of multi-source IP addresses.

以下结合附图来详细说明本公开的实施例。Embodiments of the present disclosure will be described in detail below in conjunction with the accompanying drawings.

参考图1,本公开提供了一种IP地址地理位置歧义判定方法,包括以下步骤:Referring to FIG. 1, the present disclosure provides a method for judging ambiguity of an IP address geographic location, including the following steps:

步骤S101、从至少两个IP定位库中获取定位信息。具体的,不同的IP定位库由于其探测方法不相同,对于IP地址的描述存在不一致的情况。从不同的IP定位库中提取IP地址段的定位信息,再对定位信息进行进一步的处理。Step S101. Obtain location information from at least two IP location databases. Specifically, different IP location libraries have inconsistent descriptions of IP addresses due to their different detection methods. The positioning information of the IP address segment is extracted from different IP positioning databases, and then the positioning information is further processed.

步骤S102、对所述定位信息中的地理位置进行标准化处理。不同的IP定位库中对于同一地理位置的描述可能不同,需要统一对地理位置的描述,也即对同一地理位置的描述进行标准化处理。Step S102 , standardize the geographic location in the positioning information. The descriptions of the same geographic location in different IP positioning databases may be different, and it is necessary to unify the description of the geographic location, that is, standardize the description of the same geographic location.

步骤S103、通过路由前缀将所述定位信息中的IP地址段与路由信息表中的as信息相关联。路由表中包含路由前缀、自治域的自治系统号asn(autonomous system number),将所有路由前缀建立前缀树,并从前缀树中查找IP地址段所属的路由前缀,即可将该IP地址段与其所属的路由前缀及asn相关联。Step S103, associating the IP address segment in the location information with the as information in the routing information table through the routing prefix. The routing table contains the routing prefix and the autonomous system number asn (autonomous system number) of the autonomous domain. Build a prefix tree for all routing prefixes, and find the routing prefix to which the IP address segment belongs from the prefix tree, so that the IP address segment can be associated with The route prefix to which it belongs is associated with the asn.

步骤S104、基于所述定位信息和所述as信息构建相同IP地址段集合,基于所述定位信息和所述as信息构建争议IP地址段集合。具体的,根据所述定位信息中的IP地址段信息的不同分别构建不同的集合,IP地址段无争议的定位信息合并构建相同IP地址段集合,IP地址段存在争议的定位信息合并构建争议IP地址段集合。Step S104, constructing a set of identical IP address segments based on the positioning information and the as information, and constructing a set of disputed IP address segments based on the positioning information and the as information. Specifically, according to the differences in the IP address segment information in the positioning information, different sets are respectively constructed. The positioning information of the undisputed IP address segment is combined to construct the same IP address segment set, and the positioning information of the IP address segment is disputed to construct the disputed IP address segment. A collection of address segments.

步骤S105、基于所述相同IP地址段集合,通过活跃性探测确定活跃IP地址段集合。具体的,对于IP地址段无争议的相同IP地址段集合,对集合中的IP地址段进行活跃性探测,将探测结果为活跃的IP地址段合并作为活跃IP地址段集合。Step S105 , based on the same IP address segment set, determine an active IP address segment set through liveness detection. Specifically, for a set of identical IP address segments with no disputes over IP address segments, liveness detection is performed on the IP address segments in the set, and IP address segments whose detection results are active are combined as an active IP address segment set.

步骤S106、基于所述争议IP地址段集合和所述活跃IP地址段集合,通过预定规则确定与所述争议IP地址段集合中的每一个争议IP地址段相关联的至少两个活跃IP地址段。将争议IP地址段与活跃IP地址段集合中的活跃IP地址段进行关联,选取与争议IP地址段相似性最高的至少两个活跃IP地址段,用以后续判断争议IP地址段的地理位置。Step S106, based on the set of disputed IP address segments and the set of active IP address segments, determine at least two active IP address segments associated with each disputed IP address segment in the set of disputed IP address segments through predetermined rules . The disputed IP address segment is associated with the active IP address segment in the set of active IP address segments, and at least two active IP address segments with the highest similarity to the disputed IP address segment are selected for subsequent determination of the geographic location of the disputed IP address segment.

步骤S107、通过路由追踪分别获取所述争议IP地址段的路径向量和与之相关联的全部所述活跃IP地址段的路径向量,分别计算所述争议IP地址段的路径向量与每一个所述活跃IP地址段的路径向量的距离,将与最小所述距离对应的所述活跃IP地址段相关联的地理位置作为所述争议IP地址段的目标地理位置。Step S107: Obtain the path vector of the disputed IP address segment and the path vectors of all the active IP address segments associated with it through route tracing, respectively calculate the path vector of the disputed IP address segment and each of the For the distance of the path vector of the active IP address segment, the geographic location associated with the active IP address segment corresponding to the minimum distance is used as the target geographic location of the disputed IP address segment.

在一些实施例中,所述定位信息包括:起止IP、国家编码、州/省份/地区和城市名称,所述地理位置包括国家编码、州/省份/地区和城市名称。IP定位库中的定位信息通常包括地址块前缀或起始地址到终止地址、国家编码、州/省份/地区和城市字段,不同的IP定位库对同一城市的描述可能存在差异。In some embodiments, the positioning information includes: starting and ending IP, country code, state/province/region and city name, and the geographic location includes country code, state/province/region and city name. The location information in the IP location library usually includes address block prefix or start address to end address, country code, state/province/region and city fields, and different IP location libraries may have different descriptions for the same city.

在一些实施例中,标准化处理包括:将所述地理位置在预设的标准地理位置库中进行查询,若所述地理位置为非标准地理位置,则将所述地理位置替换为标准地理位置。具体的,以其中一个IP定位库中的地理位置信息作为基准,以其他定位库中的地理位置信息作为键,基准定位库中的地理位置信息作为值,构建{别名:标准命名}字典,如果某一条记录所述的地理位置信息与基准库中的地理位置信息存在差别,则查询该字典进行替换。In some embodiments, the standardization process includes: querying the geographic location in a preset standard geographic location library, and if the geographic location is a non-standard geographic location, replacing the geographic location with a standard geographic location. Specifically, take the geographic location information in one of the IP location databases as the reference, use the geographic location information in other location libraries as the key, and use the geographic location information in the reference location library as the value to construct {alias: standard naming} dictionary, if If there is a difference between the geographic location information described in a certain record and the geographic location information in the reference database, the dictionary is queried for replacement.

在一些实施例中,所述基于所述定位信息和所述as信息构建相同IP地址段集合,基于所述定位信息和所述as信息构建争议IP地址段集合,包括:将所述起止IP对应的所述地理位置和as信息均相同的记录信息合并构建相同IP地址段集合,将所述起止IP相同、地理位置和/或as信息不同的所述记录信息合并构建争议IP地址段集合。In some embodiments, the constructing the same IP address segment set based on the positioning information and the as information, and constructing the disputed IP address segment set based on the positioning information and the as information include: mapping the start and end IPs to The record information with the same geographical location and as information is combined to construct the same IP address segment set, and the record information with the same start and end IP and different geographic location and/or as information is combined to construct a disputed IP address segment set.

具体的,定位信息中的IP地址段包括无争议IP地址段和争议IP地址段,分别将两类IP地址段合并构建集合。无争议IP地址段为定位信息中地理位置信息完全相同的记录信息,合并构建相同IP地址段集合。例如,第一IP定位库中的定位信息为{IP段一:起止IP,国家甲,省份甲,城市甲,as甲},第二IP定位库中的定位信息为{IP段一:起止IP,国家甲,省份甲,城市甲,as甲},则将这样的定位信息视为相同的记录信息,构建相同IP地址段集合进行保存。Specifically, the IP address segment in the positioning information includes an undisputed IP address segment and a disputed IP address segment, and the two types of IP address segments are combined to form a set. The non-disputed IP address segment is the record information with exactly the same geographical location information in the positioning information, which is combined to construct a set of the same IP address segment. For example, the positioning information in the first IP positioning library is {IP segment 1: start and end IP, country A, province A, city A, as A}, and the positioning information in the second IP positioning library is {IP segment 1: start and end IP , country A, province A, city A, as A}, such positioning information is regarded as the same record information, and a set of the same IP address segment is constructed for storage.

争议IP地址段的地理位置信息或as信息不同,包括州/省份/地区、城市名称或as信息不同等情况,将争议IP地址段的不同地理位置信息记录在争议IP地址段后面,作为争议IP地址段集合的元素。例如,第一IP定位库中的定位信息为{IP段一:起止IP,国家甲,省份甲,城市甲,as甲},第二IP定位库中的定位信息为{IP段一:起止IP,国家甲,省份乙,城市乙,as甲},则将这样的定位信息视为不同的记录信息,构建争议IP地址段集合进行保存。If the geographical location information or as information of the disputed IP address segment is different, including the state/province/region, city name or as information, etc., record the different geographical location information of the disputed IP address segment behind the disputed IP address segment as the disputed IP Element of the address segment collection. For example, the positioning information in the first IP positioning library is {IP segment 1: start and end IP, country A, province A, city A, as A}, and the positioning information in the second IP positioning library is {IP segment 1: start and end IP , country A, province B, city B, as A}, such positioning information is regarded as different record information, and a collection of disputed IP address segments is constructed for preservation.

在一些实施例中,所述基于所述相同IP地址段集合,通过活跃性探测确定活跃IP地址段集合,包括:从所述相同IP地址段集合中抽取信息构建第一字典,所述第一字典为{城市名称:as:[IP地址段集合]},从所述第一字典的每个IP地址段中随机抽取部分IP地址,对其进行活跃性探测,基于所述城市名称、所述as信息和与其对应的所述活跃性探测结果为活跃的IP地址段,构建活跃IP地址段集合。In some embodiments, the determining the active IP address segment set through liveness detection based on the same IP address segment set includes: extracting information from the same IP address segment set to construct a first dictionary, the first The dictionary is {city name: as: [IP address segment collection]}, randomly extracts some IP addresses from each IP address segment of the first dictionary, and performs activity detection on them, based on the city name, the The as information and the corresponding activity detection result are active IP address segments, and a set of active IP address segments is constructed.

具体的,以相同IP地址段集合中的城市名称和as信息作为键,将其对应的IP地址段作为值构建第一字典{城市名称:as:[IP地址段集合]},相同的城市名称和as信息对应不同IP地址段,将这些IP地址段作为集合记录在该城市名称和as信息后面。对于IP地址段集合中,可能包括活跃IP地址段和不活跃IP地址段,需要探测工具对网络情况进行进一步探测。参考图2,本实施例中利用PING来进行活跃性探测,PING命令通过向目的地址发送ICMP报文来检测活跃性,如果收到回复报文,则认为该地址段为活跃地址段,将活跃地址保存至该地址段之后,同时将不活跃IP地址段从集合中剔除掉,建立每个城市、每个网络定位相同的活跃IP地址段集合。Specifically, the city name and as information in the same IP address segment set are used as keys, and the corresponding IP address segment is used as a value to construct the first dictionary {city name: as: [IP address segment set]}, the same city name The as information corresponds to different IP address segments, and these IP address segments are recorded as a set behind the city name and the as information. For the set of IP address segments, which may include active IP address segments and inactive IP address segments, detection tools are required to further detect network conditions. With reference to Fig. 2, utilize PING to carry out liveness detection in the present embodiment, PING order detects liveness by sending ICMP message to destination address, if receive reply message, then think that this address section is active address section, will active After the address is saved in the address segment, the inactive IP address segment is removed from the set at the same time, and a set of active IP address segments with the same location for each city and each network is established.

在一些实施例中,所述预定规则包括:从所述争议IP地址段集合中抽取信息构建第二字典,所述第二字典为{争议IP地址段:[第一争议城市第二争议城市…第N争议城市as]},基于as信息利用相似性原理分别查询所述第二字典中的所述第一争议城市、所述第二争议城市…所述第N争议城市在所述活跃IP地址段集合中对应的活跃IP地址段,作为与所述争议IP地址段关联的活跃IP地址段。In some embodiments, the predetermined rule includes: extracting information from the set of disputed IP address segments to construct a second dictionary, the second dictionary is {disputed IP address segment: [the first disputed city, the second disputed city... The Nth disputed city as]}, respectively query the first disputed city, the second disputed city... the Nth disputed city in the active IP address in the second dictionary by using the similarity principle based on as information The corresponding active IP address segment in the segment set is used as the active IP address segment associated with the disputed IP address segment.

具体的,将as信息相同的争议IP地址段对应的不同的争议城市在活跃IP地址段集合中进行查询,选取与每一个争议城市对应的相似度最高的IP地址段作为该争议城市对应的活跃IP地址段,构建第三字典{争议IP地址段:[第一争议城市+as+第一活跃IP地址段第二争议城市+as+第二活跃IP地址段…第N争议城市+as+第N活跃IP地址段]}。Specifically, the different disputed cities corresponding to the disputed IP address segment with the same as information are queried in the set of active IP address segments, and the IP address segment with the highest similarity corresponding to each disputed city is selected as the active IP address segment corresponding to the disputed city. IP address segment, build the third dictionary {disputed IP address segment: [first disputed city + as + first active IP address segment second disputed city + as + second active IP address segment ... Nth disputed city + as + Nth active IP address segment]}.

在一些实施例中,所述通过路由追踪分别获取所述争议IP地址段的路径向量和与之相关联的全部所述活跃IP地址段的路径向量,包括:构建第三字典,所述第三字典为{争议IP地址段:[第一争议城市+as+第一活跃IP地址段第二争议城市+as+第二活跃IP地址段…第N争议城市+as+第N活跃IP地址段]},对所述第三字典中的所述争议IP地址段和全部所述活跃IP地址段发起路由追踪探测,将通过所述路由追踪探测得到的路径转化为路径向量。本实施例中,采用scamper工具发起路由追踪,可以多线程进行探测,并对探测包的发送速率进行控制,提高了探测的速率,将探测结果以文件的形式进行保存。In some embodiments, the obtaining the path vector of the disputed IP address segment and the path vectors of all the active IP address segments associated therewith through route tracing includes: constructing a third dictionary, the third The dictionary is {disputed IP address segment: [first disputed city+as+first active IP address segment second disputed city+as+second active IP address segment...Nth disputed city+as+Nth active IP address segment]}, for The disputed IP address segment and all the active IP address segments in the third dictionary initiate a trace-route detection, and convert the path obtained through the trace-route detection into a path vector. In this embodiment, the scamper tool is used to initiate route tracing, and multi-thread detection can be performed, and the sending rate of detection packets is controlled to increase the detection rate, and the detection results are saved in the form of files.

构建第四字典{IP地址段:[路径向量]},该路径向量包括争议IP地址段的路径向量和活跃IP地址段的路径向量,在构建路径向量的时候遇到为*的(没有返回数据包)则将其舍去。将第三字典中的IP地址段作为键,在第四字典中进行查找相应的值,构建第五字典{争议IP地址段:[争议IP地址段路径向量第一活跃IP地址段对应路径向量第二活跃IP地址段对应路径向量…第N活跃IP地址段对应路径向量]}。分别比较争议IP地址段路径向量与每一个活跃IP地址段路径向量之间的距离,距离更近的两个IP地址段在物理空间的相似性更大。由于向量的长度存在不一致的问题,因此采用动态时间规整(DTW,Dynamic TimeWarping)算法来比较向量之间的距离,具体如下:Build the fourth dictionary {IP address segment: [path vector]}, the path vector includes the path vector of the disputed IP address segment and the path vector of the active IP address segment, when constructing the path vector, encounter * (no return data package) will be discarded. Use the IP address segment in the third dictionary as the key, search the corresponding value in the fourth dictionary, and build the fifth dictionary {disputed IP address segment: [disputed IP address segment path vector first active IP address segment corresponding to path vector No. The second active IP address segment corresponds to the path vector...the Nth active IP address segment corresponds to the path vector]}. Comparing the distance between the path vector of the disputed IP address segment and the path vector of each active IP address segment respectively, the two IP address segments with closer distance have greater similarity in physical space. Due to the inconsistency of the length of the vectors, the dynamic time warping (DTW, Dynamic TimeWarping) algorithm is used to compare the distance between the vectors, as follows:

(1)输入争议IP地址段对应的路径向量和其中一个活跃IP地址段对应的路径向量,通过构建两个向量之间的距离矩阵,分别计算两个向量各个点之间的距离。(1) Input the path vector corresponding to the disputed IP address segment and the path vector corresponding to one of the active IP address segments, and calculate the distance between each point of the two vectors by constructing a distance matrix between the two vectors.

(2)从距离矩阵中寻找一条从左上角到右下角的路径,使得路径上的元素和最小,该元素和作为两个向量的距离。寻找最小元素和采用了动态规划方法,具体实现如下:(2) Find a path from the upper left corner to the lower right corner from the distance matrix, so that the element sum on the path is the smallest, and the element sum is the distance between two vectors. Find the smallest element and use the dynamic programming method, the specific implementation is as follows:

假设距离矩阵为M,从矩阵左上角(1,1)到任一点(i,j)的最短路径长度为Lmin(i,j)。由于当前路径长度=前一步的路径长度+当前元素的大小,对于路径上的某个元素(i,j),它的前一个元素只可能为以下三者之一:a)左边的相邻元素(i,j-1),b)上面的相邻元素(i-1,j),c)左上方的相邻元素(i-1,j-1)。那么可以用递归算法求最短路径长度:Lmin(i,j)=min{Lmin(i,j-1),Lmin(i-1,j),Lmin(i-1,j-1)}+M(i,j),其中初始条件Lmin=(1,1)=M(1,1),结果返回两个向量之间的距离。Suppose the distance matrix is M, and the length of the shortest path from the upper left corner of the matrix (1,1) to any point (i,j) is Lmin(i,j). Since the current path length = the path length of the previous step + the size of the current element, for an element (i, j) on the path, its previous element can only be one of the following three: a) the adjacent element on the left (i, j-1), b) the upper neighbor (i-1, j), c) the upper left neighbor (i-1, j-1). Then you can use the recursive algorithm to find the shortest path length: Lmin(i,j)=min{Lmin(i,j-1),Lmin(i-1,j),Lmin(i-1,j-1)}+M (i,j), where the initial condition Lmin=(1,1)=M(1,1), the result returns the distance between the two vectors.

(3)分别将(争议IP地址段路径向量,第一活跃IP地址段对应路径向量),(争议IP地址段路径向量,第二活跃IP地址段对应路径向量)…(争议IP地址段路径向量,第N活跃IP地址段对应路径向量)作为参数,输入上述DTW算法中,对返回距离值进行比较,最终得出距离最小的值对应的活跃IP地址段的地理位置作为争议IP地址段的目标地理位置,从而完成争议IP地址地理位置的判定。(3) respectively (the path vector of the disputed IP address segment, the path vector corresponding to the first active IP address segment), (the path vector of the disputed IP address segment, the path vector corresponding to the second active IP address segment) ... (the path vector of the disputed IP address segment , the Nth active IP address segment corresponds to the path vector) as a parameter, input into the above DTW algorithm, compare the returned distance values, and finally get the geographical location of the active IP address segment corresponding to the smallest distance value as the target of the disputed IP address segment Geographical location, so as to complete the determination of the geographical location of the disputed IP address.

在一个具体实施例中,存在两个IP定位库A和B。首先,以A库为标准,对B库中城市与A库存在别名的记录进行标准化处理。然后结合当天的路由表,将每个IP地址段与路由表的前缀相关联,进而与其所对应的as进行关联。然后将A库中每一个IP段的定位与B库中的进行比对,将定位相同的记录保存为相同IP地址段集合,把该集合中的数据按城市和as进行划分,建立{城市:as:[IP地址段集合]}集合作为基准,对于基准集中的每一个IP段,随机选取若干IP进行活跃性探测,用PING工具进行探测,收到回复即认为该地址为活跃的,将活跃IP地址段附在该IP地址段的后面,如果未找到活跃IP地址段则将此IP地址段剔除。将定位不同的记录保存为争议IP地址段集合,A库对于IP地址段的定位是苏州,B库对于IP地址段的定位是南京。对于这条记录我们保存为{争议IP地址段:[苏州南京as]},并从基准集中查询苏州和南京的对应as的活跃IP地址集,利用相似性原则,从活跃地址中寻找与该争议IP地址段相似性最高的IP地址段,生成{争议IP地址段:[苏州+as+第一活跃IP南京+as+第二活跃IP]}字典。用scamper对争议IP以及所对应活跃IP分别发起路由追踪探测,将结果以文件的形式进行保存。将探测得到的路径转化为路径向量,构建{IP:[路径向量]}字典。以{争议IP地址段:[苏州+as+第一活跃IP南京+as+第二活跃IP]}字典中的IP为键,在{IP:[路径向量]}字典中寻找字典对应的值,构建{争议IP:[争议IP路径向量第一活跃IP对应路径向量第二活跃IP对应路径向量]}字典。用DTW算法分别比较争议IP与第一活跃IP和第二活跃IP对应路径向量的距离,返回结果显示与第一活跃IP地址段距离近,则认为该IP地址段定位是苏州。In a specific embodiment, there are two IP location libraries A and B. First, with library A as the standard, standardize the records of cities in library B that have aliases with library A. Then combine with the routing table of the day, associate each IP address segment with the prefix of the routing table, and then associate it with the corresponding as. Then compare the location of each IP segment in the A library with that in the B library, save the records with the same location as the same IP address segment set, divide the data in the set by city and as, and create {city: as: [IP address segment collection]} set as a benchmark, for each IP segment in the benchmark set, randomly select several IPs for activity detection, use the PING tool to detect, and receive a reply that the address is considered active and will be active The IP address segment is appended to the IP address segment. If no active IP address segment is found, this IP address segment will be removed. Records with different locations are saved as a collection of disputed IP address segments. Database A locates the IP address segment as Suzhou, and library B locates the IP address segment as Nanjing. For this record, we save it as {disputed IP address segment: [Suzhou Nanjing as]}, and query the active IP address sets corresponding to AS in Suzhou and Nanjing from the benchmark set, and use the principle of similarity to find the disputed IP addresses from the active addresses For the IP address segment with the highest similarity, generate {disputed IP address segment: [Suzhou+as+the first active IP Nanjing+as+the second active IP]} dictionary. Use scamper to initiate route tracking detection on the disputed IP and the corresponding active IP, and save the results in the form of files. Convert the detected path into a path vector, and build a {IP:[path vector]} dictionary. Use the IP in the {disputed IP address segment: [Suzhou + as + the first active IP Nanjing + as + the second active IP]} dictionary as the key, find the corresponding value in the dictionary in {IP: [path vector]}, and construct { Disputed IP: [the path vector of the disputed IP, the first active IP corresponds to the path vector, the second active IP corresponds to the path vector]} dictionary. Use the DTW algorithm to compare the distances between the disputed IP and the path vectors corresponding to the first active IP and the second active IP. If the returned result shows that it is close to the first active IP address segment, then the IP address segment is considered to be located in Suzhou.

需要说明的是,本公开实施例的方法可以由单个设备执行,例如一台计算机或服务器等。本实施例的方法也可以应用于分布式场景下,由多台设备相互配合来完成。在这种分布式场景的情况下,这多台设备中的一台设备可以只执行本公开实施例的方法中的某一个或多个步骤,这多台设备相互之间会进行交互以完成所述的方法。It should be noted that the methods in the embodiments of the present disclosure may be executed by a single device, such as a computer or a server. The method of this embodiment can also be applied in a distributed scenario, and is completed by cooperation of multiple devices. In the case of such a distributed scenario, one of the multiple devices may only perform one or more steps in the method of the embodiment of the present disclosure, and the multiple devices will interact with each other to complete all described method.

需要说明的是,上述对本公开的一些实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于上述实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。It should be noted that some embodiments of the present disclosure are described above. Other implementations are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in an order different from those in the above-described embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. Multitasking and parallel processing are also possible or may be advantageous in certain embodiments.

基于同一发明构思,与上述任意实施例方法相对应的,本公开还提供了一种IP地址地理位置歧义判定装置。Based on the same inventive concept, and corresponding to the method in any of the foregoing embodiments, the present disclosure further provides an apparatus for determining ambiguity of an IP address geographic location.

参考图3,所述一种IP地址地理位置歧义判定装置,包括:With reference to Fig. 3, described a kind of IP address geographical location ambiguity determination device comprises:

获取模块301,被配置为从至少两个IP定位库中获取定位信息;The obtaining module 301 is configured to obtain positioning information from at least two IP positioning libraries;

标准化处理模块302,被配置为对所述定位信息中的地理位置进行标准化处理;A standardization processing module 302, configured to perform standardization processing on the geographic location in the positioning information;

信息关联模块303,被配置为通过路由前缀将所述定位信息中的IP地址段与路由信息表中的as信息相关联;The information association module 303 is configured to associate the IP address segment in the positioning information with the as information in the routing information table through a routing prefix;

集合构建模块304,被配置为基于所述定位信息和所述as信息构建相同IP地址段集合,基于所述定位信息和所述as信息构建争议IP地址段集合;The set construction module 304 is configured to construct the same IP address segment set based on the positioning information and the as information, and construct a disputed IP address segment set based on the positioning information and the as information;

活跃性探测模块305,被配置为基于所述相同IP地址段集合,通过活跃性探测确定活跃IP地址段集合;The activity detection module 305 is configured to determine an active IP address segment set through liveness detection based on the same IP address segment set;

关联活跃IP确定模块306,被配置为基于所述争议IP地址段集合和所述活跃IP地址段集合,通过预定规则确定与所述争议IP地址段集合中的每一个争议IP地址段相关联的至少两个活跃IP地址段;The associated active IP determining module 306 is configured to, based on the set of disputed IP address segments and the set of active IP address segments, determine the IP address associated with each disputed IP address segment in the set of disputed IP address segments through predetermined rules. At least two active IP address segments;

地理位置判定模块307,被配置为通过路由追踪分别获取所述争议IP地址段的路径向量和与之相关联的全部所述活跃IP地址段的路径向量,分别计算所述争议IP地址段的路径向量与每一个所述活跃IP地址段的路径向量的距离,将与最小所述距离对应的所述活跃IP地址段相关联的地理位置作为所述争议IP地址段的目标地理位置。The geographic location determination module 307 is configured to respectively obtain the path vector of the disputed IP address segment and the path vectors of all the active IP address segments associated therewith through route tracing, and calculate the paths of the disputed IP address segment respectively For the distance between the vector and the path vector of each active IP address segment, the geographic location associated with the active IP address segment corresponding to the smallest distance is used as the target geographic location of the disputed IP address segment.

为了描述的方便,描述以上装置时以功能分为各种模块分别描述。当然,在实施本公开时可以把各模块的功能在同一个或多个软件和/或硬件中实现。For the convenience of description, when describing the above devices, functions are divided into various modules and described separately. Of course, when implementing the present disclosure, the functions of each module can be implemented in one or more pieces of software and/or hardware.

上述实施例的装置用于实现前述任一实施例中相应的IP地址地理位置歧义判定方法,并且具有相应的方法实施例的有益效果,在此不再赘述。The device in the above embodiment is used to implement the corresponding IP address geographic location ambiguity determination method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, and will not be repeated here.

基于同一发明构思,与上述任意实施例方法相对应的,本公开还提供了一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现上任意一实施例所述的IP地址地理位置歧义判定方法。Based on the same inventive concept, and corresponding to the methods in any of the above embodiments, the present disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and operable on the processor, the processor When the program is executed, the method for judging the ambiguity of the geographical location of the IP address described in any one of the above embodiments is realized.

图4示出了本实施例所提供的一种更为具体的电子设备硬件结构示意图,该设备可以包括:处理器1010、存储器1020、输入/输出接口1030、通信接口1040和总线1050。其中处理器1010、存储器1020、输入/输出接口1030和通信接口1040通过总线1050实现彼此之间在设备内部的通信连接。FIG. 4 shows a schematic diagram of a more specific hardware structure of an electronic device provided by this embodiment. The device may include: a processor 1010 , a memory 1020 , an input/output interface 1030 , a communication interface 1040 and a bus 1050 . The processor 1010 , the memory 1020 , the input/output interface 1030 and the communication interface 1040 are connected to each other within the device through the bus 1050 .

处理器1010可以采用通用的CPU(Central Processing Unit,中央处理器)、微处理器、应用专用集成电路(Application Specific Integrated Circuit,ASIC)、或者一个或多个集成电路等方式实现,用于执行相关程序,以实现本说明书实施例所提供的技术方案。The processor 1010 may be implemented by a general-purpose CPU (Central Processing Unit, central processing unit), a microprocessor, an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute related programs to realize the technical solutions provided by the embodiments of this specification.

存储器1020可以采用ROM(Read Only Memory,只读存储器)、RAM(Random AccessMemory,随机存取存储器)、静态存储设备,动态存储设备等形式实现。存储器1020可以存储操作系统和其他应用程序,在通过软件或者固件来实现本说明书实施例所提供的技术方案时,相关的程序代码保存在存储器1020中,并由处理器1010来调用执行。The memory 1020 may be implemented in the form of ROM (Read Only Memory, read only memory), RAM (Random Access Memory, random access memory), static storage device, dynamic storage device, and the like. The memory 1020 can store operating systems and other application programs. When implementing the technical solutions provided by the embodiments of this specification through software or firmware, the relevant program codes are stored in the memory 1020 and invoked by the processor 1010 for execution.

输入/输出接口1030用于连接输入/输出模块,以实现信息输入及输出。输入/输出模块可以作为组件配置在设备中(图中未示出),也可以外接于设备以提供相应功能。其中输入设备可以包括键盘、鼠标、触摸屏、麦克风、各类传感器等,输出设备可以包括显示器、扬声器、振动器、指示灯等。The input/output interface 1030 is used to connect the input/output module to realize information input and output. The input/output module can be configured in the device as a component (not shown in the figure), or can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, mouse, touch screen, microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, and the like.

通信接口1040用于连接通信模块(图中未示出),以实现本设备与其他设备的通信交互。其中通信模块可以通过有线方式(例如USB、网线等)实现通信,也可以通过无线方式(例如移动网络、WIFI、蓝牙等)实现通信。The communication interface 1040 is used to connect a communication module (not shown in the figure), so as to realize the communication interaction between the device and other devices. The communication module can realize communication through wired means (such as USB, network cable, etc.), and can also realize communication through wireless means (such as mobile network, WIFI, Bluetooth, etc.).

总线1050包括一通路,在设备的各个组件(例如处理器1010、存储器1020、输入/输出接口1030和通信接口1040)之间传输信息。Bus 1050 includes a path that carries information between the various components of the device (eg, processor 1010, memory 1020, input/output interface 1030, and communication interface 1040).

需要说明的是,尽管上述设备仅示出了处理器1010、存储器1020、输入/输出接口1030、通信接口1040以及总线1050,但是在具体实施过程中,该设备还可以包括实现正常运行所必需的其他组件。此外,本领域的技术人员可以理解的是,上述设备中也可以仅包含实现本说明书实施例方案所必需的组件,而不必包含图中所示的全部组件。It should be noted that although the above device only shows the processor 1010, the memory 1020, the input/output interface 1030, the communication interface 1040, and the bus 1050, in the specific implementation process, the device may also include other components. In addition, those skilled in the art can understand that the above-mentioned device may only include components necessary to implement the solutions of the embodiments of this specification, and does not necessarily include all the components shown in the figure.

上述实施例的电子设备用于实现前述任一实施例中相应的IP地址地理位置歧义判定方法,并且具有相应的方法实施例的有益效果,在此不再赘述。The electronic device in the foregoing embodiments is used to implement the corresponding IP address geographic location ambiguity determination method in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.

基于同一发明构思,与上述任意实施例方法相对应的,本公开还提供了一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令用于使所述计算机执行如上任一实施例所述的IP地址地理位置歧义判定方法。Based on the same inventive concept, the present disclosure also provides a non-transitory computer-readable storage medium corresponding to the method in any of the above-mentioned embodiments, the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions use The purpose is to make the computer execute the method for judging the ambiguity of the geographical location of the IP address as described in any one of the above embodiments.

本实施例的计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。The computer-readable medium in this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology. Information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Flash memory or other memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cartridge, tape magnetic disk storage or other magnetic storage device or any other non-transmission medium that can be used to store information that can be accessed by a computing device.

上述实施例的存储介质存储的计算机指令用于使所述计算机执行如上任一实施例所述的IP地址地理位置歧义判定方法,并且具有相应的方法实施例的有益效果,在此不再赘述。The computer instructions stored in the storage medium of the above embodiments are used to make the computer execute the method for determining the ambiguity of IP address geographic location as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

所属领域的普通技术人员应当理解:以上任何实施例的讨论仅为示例性的,并非旨在暗示本公开的范围(包括权利要求)被限于这些例子;在本公开的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,步骤可以以任意顺序实现,并存在如上所述的本公开实施例的不同方面的许多其它变化,为了简明它们没有在细节中提供。Those of ordinary skill in the art should understand that: the discussion of any of the above embodiments is exemplary only, and is not intended to imply that the scope of the present disclosure (including claims) is limited to these examples; under the idea of the present disclosure, the above embodiments or Combinations between technical features in different embodiments are also possible, steps may be implemented in any order, and there are many other variations of the different aspects of the disclosed embodiments as described above, which are not provided in detail for the sake of brevity.

另外,为简化说明和讨论,并且为了不会使本公开实施例难以理解,在所提供的附图中可以示出或可以不示出与集成电路(IC)芯片和其它部件的公知的电源/接地连接。此外,可以以框图的形式示出装置,以便避免使本公开实施例难以理解,并且这也考虑了以下事实,即关于这些框图装置的实施方式的细节是高度取决于将要实施本公开实施例的平台的(即,这些细节应当完全处于本领域技术人员的理解范围内)。在阐述了具体细节(例如,电路)以描述本公开的示例性实施例的情况下,对本领域技术人员来说显而易见的是,可以在没有这些具体细节的情况下或者这些具体细节有变化的情况下实施本公开实施例。因此,这些描述应被认为是说明性的而不是限制性的。In addition, for simplicity of illustration and discussion, and so as not to obscure the embodiments of the present disclosure, well-known power/supply circuits associated with integrated circuit (IC) chips and other components may or may not be shown in the provided figures. ground connection. Furthermore, devices may be shown in block diagram form in order to avoid obscuring the embodiments of the disclosure, and this also takes into account the fact that details regarding the implementation of these block diagram devices are highly dependent on the implementation of the embodiments of the disclosure to be implemented. platform (ie, the details should be well within the purview of those skilled in the art). Where specific details (eg, circuits) have been set forth to describe example embodiments of the present disclosure, it will be apparent to those skilled in the art that other applications may be made without or with variations from these specific details. Embodiments of the present disclosure are implemented below. Accordingly, these descriptions should be regarded as illustrative rather than restrictive.

尽管已经结合了本公开的具体实施例对本公开进行了描述,但是根据前面的描述,这些实施例的很多替换、修改和变型对本领域普通技术人员来说将是显而易见的。例如,其它存储器架构(例如,动态RAM(DRAM))可以使用所讨论的实施例。Although the disclosure has been described in conjunction with specific embodiments thereof, many alternatives, modifications and variations of those embodiments will be apparent to those of ordinary skill in the art from the foregoing description. For example, other memory architectures such as dynamic RAM (DRAM) may use the discussed embodiments.

本公开实施例旨在涵盖落入所附权利要求的宽泛范围之内的所有这样的替换、修改和变型。因此,凡在本公开实施例的精神和原则之内,所做的任何省略、修改、等同替换、改进等,均应包含在本公开的保护范围之内。The disclosed embodiments are intended to embrace all such alterations, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the embodiments of the present disclosure shall fall within the protection scope of the present disclosure.

Claims (10)

1.一种IP地址地理位置歧义判定方法,包括:1. A method for judging the ambiguity of an IP address geographic location, comprising: 从至少两个IP定位库中获取定位信息;Obtain location information from at least two IP location libraries; 对所述定位信息中的地理位置进行标准化处理;Standardize the geographic location in the positioning information; 通过路由前缀将所述定位信息中的IP地址段与路由信息表中的自治系统as信息相关联;Associating the IP address segment in the positioning information with the autonomous system as information in the routing information table through a routing prefix; 基于所述定位信息和所述as信息构建相同IP地址段集合,基于所述定位信息和所述as信息构建争议IP地址段集合;Constructing the same IP address segment set based on the positioning information and the as information, and constructing a disputed IP address segment set based on the positioning information and the as information; 基于所述相同IP地址段集合,通过活跃性探测确定活跃IP地址段集合;Based on the same IP address segment set, determine the active IP address segment set through liveness detection; 基于所述争议IP地址段集合和所述活跃IP地址段集合,通过预定规则确定与所述争议IP地址段集合中的每一个争议IP地址段相关联的至少两个活跃IP地址段;Based on the set of disputed IP address segments and the set of active IP address segments, determine at least two active IP address segments associated with each disputed IP address segment in the set of disputed IP address segments through predetermined rules; 通过路由追踪分别获取所述争议IP地址段的路径向量和与之相关联的全部所述活跃IP地址段的路径向量,分别计算所述争议IP地址段的路径向量与每一个所述活跃IP地址段的路径向量的距离,将与最小所述距离对应的所述活跃IP地址段相关联的地理位置作为所述争议IP地址段的目标地理位置。Obtain the path vector of the disputed IP address segment and the path vectors of all the active IP address segments associated therewith through route tracing, respectively calculate the path vector of the disputed IP address segment and each of the active IP addresses The distance of the path vector of the segment, and the geographic location associated with the active IP address segment corresponding to the smallest distance is used as the target geographic location of the disputed IP address segment. 2.根据权利要求1所述的判定方法,其中,所述定位信息包括:起止IP、国家编码、州/省份/地区和城市名称,所述地理位置包括国家编码、州/省份/地区和城市名称。2. The determination method according to claim 1, wherein the positioning information includes: start and end IP, country code, state/province/region and city name, and the geographic location includes country code, state/province/region and city name. 3.根据权利要求1所述的判定方法,其中,所述标准化处理包括:将所述地理位置在预设的标准地理位置库中进行查询,若所述地理位置为非标准地理位置,则将所述地理位置替换为标准地理位置。3. The judging method according to claim 1, wherein the standardization process comprises: querying the geographic location in a preset standard geographic location library, and if the geographic location is a non-standard geographic location, the The geographic location is replaced with the standard geographic location. 4.根据权利要求2所述的判定方法,其中,所述基于所述定位信息和所述as信息构建相同IP地址段集合,基于所述定位信息和所述as信息构建争议IP地址段集合,包括:4. The judging method according to claim 2, wherein said constructing the same IP address segment set based on said positioning information and said as information, constructing a disputed IP address segment set based on said positioning information and said as information, include: 将所述起止IP对应的所述地理位置和as信息均相同的记录信息合并构建相同IP地址段集合,将所述起止IP相同、地理位置和/或as信息不同的所述记录信息合并构建争议IP地址段集合。Combining the record information corresponding to the same starting and ending IPs with the same geographical location and as information to construct the same IP address segment set, and merging the record information with the same starting and ending IPs but different geographical locations and/or as information to construct a dispute A collection of IP address segments. 5.根据权利要求2所述的判定方法,其中,所述基于所述相同IP地址段集合,通过活跃性探测确定活跃IP地址段集合,包括:5. The determination method according to claim 2, wherein said determining an active IP address segment set by liveness detection based on said same IP address segment set includes: 从所述相同IP地址段集合中抽取信息构建第一字典,所述第一字典为{城市名称:as:[IP地址段集合]},从所述第一字典的每个IP地址段中随机抽取部分IP地址,对其进行活跃性探测,基于所述城市名称、所述as信息和与其对应的所述活跃性探测结果为活跃的IP地址段,构建活跃IP地址段集合。Extract information from the same IP address segment set to build a first dictionary, the first dictionary is {city name: as: [IP address segment set]}, randomly from each IP address segment of the first dictionary Extracting part of the IP addresses, performing activity detection on them, and constructing a set of active IP address segments based on the city name, the as information and the IP address segments corresponding to the activity detection results that are active. 6.根据权利要求1所述的判定方法,其中,所述预定规则包括:从所述争议IP地址段集合中抽取信息构建第二字典,所述第二字典为{争议IP地址段:[第一争议城市第二争议城市…第N争议城市as]},基于as信息利用相似性原理分别查询所述第二字典中的所述第一争议城市、所述第二争议城市…所述第N争议城市在所述活跃IP地址段集合中对应的活跃IP地址段,作为与所述争议IP地址段关联的活跃IP地址段。6. The determination method according to claim 1, wherein the predetermined rule comprises: extracting information from the set of disputed IP address segments to construct a second dictionary, the second dictionary being {disputed IP address segment: [th One disputed city, the second disputed city...the Nth disputed city as]}, based on the as information, use the similarity principle to respectively query the first disputed city, the second disputed city...the Nth disputed city in the second dictionary The active IP address segment corresponding to the disputed city in the active IP address segment set is used as the active IP address segment associated with the disputed IP address segment. 7.根据权利要求6所述的判定方法,所述通过路由追踪分别获取所述争议IP地址段的路径向量和与之相关联的全部所述活跃IP地址段的路径向量,包括:构建第三字典,所述第三字典为{争议IP地址段:[第一争议城市+as+第一活跃IP地址段第二争议城市+as+第二活跃IP地址段…第N争议城市+as+第N活跃IP地址段]},对所述第三字典中的所述争议IP地址段和全部所述活跃IP地址段发起路由追踪探测,将通过所述路由追踪探测得到的路径转化为路径向量。7. The judging method according to claim 6, said obtaining respectively the path vector of said disputed IP address segment and the path vectors of all said active IP address segments associated therewith through route tracing, comprising: constructing a third Dictionary, the third dictionary is {disputed IP address segment: [first disputed city+as+first active IP address segment second disputed city+as+second active IP address segment...Nth disputed city+as+Nth active IP address segment]}, initiate route tracing detection on the disputed IP address segment and all the active IP address segments in the third dictionary, and convert the path obtained through the route tracing detection into a path vector. 8.一种IP地址地理歧义判定装置,包括:8. A device for determining geographical ambiguity of an IP address, comprising: 获取模块,被配置为从至少两个IP定位库中获取定位信息;An acquisition module configured to acquire location information from at least two IP location libraries; 标准化处理模块,被配置为对所述定位信息中的地理位置进行标准化处理;A standardization processing module configured to perform standardization processing on the geographic location in the positioning information; 信息关联模块,被配置为通过路由前缀将所述定位信息中的IP地址段与路由信息表中的as信息相关联;An information association module configured to associate the IP address segment in the positioning information with the as information in the routing information table through a routing prefix; 集合构建模块,被配置为基于所述定位信息和所述as信息构建相同IP地址段集合,基于所述定位信息和所述as信息构建争议IP地址段集合;A set construction module configured to construct the same IP address segment set based on the positioning information and the as information, and construct a disputed IP address segment set based on the positioning information and the as information; 活跃性探测模块,被配置为基于所述相同IP地址段集合,通过活跃性探测确定活跃IP地址段集合;The activity detection module is configured to determine the active IP address segment set through liveness detection based on the same IP address segment set; 关联活跃IP确定模块,被配置为基于所述争议IP地址段集合和所述活跃IP地址段集合,通过预定规则确定与所述争议IP地址段集合中的每一个争议IP地址段相关联的至少两个活跃IP地址段;The associated active IP determination module is configured to determine at least Two active IP address segments; 地理位置判定模块,被配置为通过路由追踪分别获取所述争议IP地址段的路径向量和与之相关联的全部所述活跃IP地址段的路径向量,分别计算所述争议IP地址段的路径向量与每一个所述活跃IP地址段的路径向量的距离,将与最小所述距离对应的所述活跃IP地址段相关联的地理位置作为所述争议IP地址段的目标地理位置。The geographical location determination module is configured to respectively obtain the path vector of the disputed IP address segment and the path vectors of all the active IP address segments associated therewith through route tracing, and calculate the path vectors of the disputed IP address segment respectively For the distance from the path vector of each active IP address segment, the geographic location associated with the active IP address segment corresponding to the smallest distance is used as the target geographic location of the disputed IP address segment. 9.一种电子设备,包括存储器、处理器及存储在所述存储器上并可由所述处理器执行的计算机程序,所述处理器在执行所述计算机程序时实现根据权利要求1至7中任意一项所述的方法。9. An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable by the processor, and the processor implements any of claims 1 to 7 when executing the computer program. one of the methods described. 10.一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令用于使计算机执行根据权利要求1至7中任一项所述的方法。10. A non-transitory computer-readable storage medium, the non-transitory computer-readable storage medium stores computer instructions, the computer instructions are used to cause a computer to perform the method according to any one of claims 1 to 7 .
CN202110884008.9A 2021-08-03 2021-08-03 IP address geographic position ambiguity judging method and related equipment Active CN113779165B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110884008.9A CN113779165B (en) 2021-08-03 2021-08-03 IP address geographic position ambiguity judging method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110884008.9A CN113779165B (en) 2021-08-03 2021-08-03 IP address geographic position ambiguity judging method and related equipment

Publications (2)

Publication Number Publication Date
CN113779165A CN113779165A (en) 2021-12-10
CN113779165B true CN113779165B (en) 2023-07-28

Family

ID=78836606

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110884008.9A Active CN113779165B (en) 2021-08-03 2021-08-03 IP address geographic position ambiguity judging method and related equipment

Country Status (1)

Country Link
CN (1) CN113779165B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115378912B (en) * 2022-07-21 2023-06-09 北京华顺信安科技有限公司 Scanning method and system for active IPv6 address
CN115696571A (en) * 2022-11-18 2023-02-03 广州裕睿信息科技有限公司 Method, device, storage medium and equipment for positioning correction

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110858810A (en) * 2018-08-24 2020-03-03 中国移动通信集团四川有限公司 Network link state monitoring method, device, system and medium
CN111629081A (en) * 2020-05-28 2020-09-04 腾讯科技(深圳)有限公司 Internet protocol IP address data processing method and device and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8806322B2 (en) * 2011-11-28 2014-08-12 Google Inc. System and method for obtaining a structured address by geocoding unstructured address information
US9804253B2 (en) * 2013-07-08 2017-10-31 Rockwell Collins, Inc. System and methods for non-parametric technique based geolocation and cognitive sensor activation

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110858810A (en) * 2018-08-24 2020-03-03 中国移动通信集团四川有限公司 Network link state monitoring method, device, system and medium
CN111629081A (en) * 2020-05-28 2020-09-04 腾讯科技(深圳)有限公司 Internet protocol IP address data processing method and device and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
自相似活跃子网前缀空间的路由查找;彭艳兵,龚俭,丁伟,徐加羚;计算机学报(08);全文 *

Also Published As

Publication number Publication date
CN113779165A (en) 2021-12-10

Similar Documents

Publication Publication Date Title
CN109040343B (en) Domain name resolution method and device, computer readable storage medium and electronic equipment
TWI639324B (en) Method and device for determining IP address segment and its corresponding latitude and longitude
RU2486586C1 (en) Method and device for integration of data on point provided by group of suppliers
CN104281672B (en) Method and device for processing log data
CN109739867B (en) Industrial metadata management method and system
CN113779165B (en) IP address geographic position ambiguity judging method and related equipment
CN111447292B (en) A kind of IPv6 geographic location positioning method, device, equipment and storage medium
TW201543859A (en) Method, apparatus, and system for determining a location of a terminal
CN107491537A (en) POI data excavation, information retrieval method, device, equipment and medium
CN114301874B (en) IPv6 address positioning method based on IPv4 address geographical position information and electronic equipment
CN109948334B (en) Vulnerability detection method and system, electronic equipment and storage medium
CN107423037B (en) Application program interface positioning method and device
CN107092623A (en) A kind of point of interest querying method and device
US9453741B2 (en) Navigation system with indexed term searching and method of operation thereof
CN113360789B (en) Point of interest data processing method, device, electronic device and storage medium
CN113268550A (en) Method and system for scheduling autonomous domain system, electronic device and storage medium
US10216771B2 (en) Creating and handling identification for a resource in a configuration database
CN109698814A (en) Botnet finds that method and Botnet find device
CN110188954A (en) Landmark reliability evaluation method and device based on POP network
CN115412462B (en) Detection method for inter-domain route interruption
CN109697234B (en) Multi-attribute information query method, device, server and medium for entity
CN108809687B (en) System and method for providing cross-network event attribution
CN114637761B (en) Business object generation method and device
CN105868380A (en) Heterogenous data reading method and electronic equipment
WO2023124209A1 (en) Data directory generation method and apparatus, data retrieval method and apparatus, and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant