WO2021184577A1 - 服务器ip地址获取方法、装置、设备及存储介质 - Google Patents

服务器ip地址获取方法、装置、设备及存储介质 Download PDF

Info

Publication number
WO2021184577A1
WO2021184577A1 PCT/CN2020/098954 CN2020098954W WO2021184577A1 WO 2021184577 A1 WO2021184577 A1 WO 2021184577A1 CN 2020098954 W CN2020098954 W CN 2020098954W WO 2021184577 A1 WO2021184577 A1 WO 2021184577A1
Authority
WO
WIPO (PCT)
Prior art keywords
server
domain name
address
addresses
address set
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.)
Ceased
Application number
PCT/CN2020/098954
Other languages
English (en)
French (fr)
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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Publication of WO2021184577A1 publication Critical patent/WO2021184577A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

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/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • 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

Definitions

  • This application relates to the field of security technology, and in particular to a method, device, device, and computer-readable storage medium for obtaining an IP address of a server.
  • Servers are usually deployed in multiple Internet data centers, and content distribution network technology is used to allow users from different regions and operators to access the servers faster and more stably.
  • content distribution network technology is used to allow users from different regions and operators to access the servers faster and more stably.
  • ordinary users access the services on the server, they can obtain the IP address of the corresponding server through the local domain name resolution server.
  • the inventor found that the current method only provides a part of the server IP address, and cannot provide all the server IP addresses. If you want to obtain the IP addresses corresponding to all servers, the current method cannot meet the demand.
  • This application provides a method, device, device, and storage medium for obtaining the IP address of a server, the main purpose of which is to provide users with a technical solution for obtaining the IP address of the server.
  • a method for obtaining the IP address of a server includes:
  • the similarity measurement algorithm is used to perform a deduplication operation on the IP address of the server in the response packet, so as to obtain all the IP addresses of the server.
  • the present application also provides a server IP address obtaining device, which includes:
  • Sampling IP acquisition module used to randomly obtain sample IP address sets from a preset IP database according to regions and operators;
  • Resolution processing module used to traverse the sampled IP address set to obtain a domain name set that needs to be resolved, and input the domain name set that needs to be resolved into a public domain name resolution server for resolution processing to obtain the server's IP address set;
  • Encapsulation processing module used to receive the IP address set of the server returned by the public domain name resolution server, and encapsulate the IP address set of the server into a response packet;
  • Deduplication processing module used to perform a deduplication operation on the IP address of the server in the response packet by using a similarity measurement algorithm, so as to obtain all the IP addresses of the server.
  • the present application also provides a computer device, including a memory, a processor, and a computer program stored in the memory and running on the processor, and the processor executes the computer program when the computer program is executed. The following steps:
  • the similarity measurement algorithm is used to perform a deduplication operation on the IP address of the server in the response packet, so as to obtain all the IP addresses of the server.
  • the present application also provides a computer-readable storage medium on which a computer program is stored, wherein the computer program is executed by a processor to implement the following steps:
  • the similarity measurement algorithm is used to perform a deduplication operation on the IP address of the server in the response packet, so as to obtain all the IP addresses of the server.
  • the server IP address acquisition method, device and computer-readable storage medium proposed in this application acquire a sampled IP address set from an IP database, traverse the IP address set to obtain a set of domain names to be resolved, and use a public domain name resolution server to After the domain name set to be resolved is resolved, the IP address set of the server is obtained, and the IP address set of the server is encapsulated and deduplicated to obtain all the IP addresses of the server corresponding to the sampled IP address set, thereby completing the server All IP addresses are obtained.
  • FIG. 1 is a schematic flowchart of a method for obtaining an IP address of a server according to an embodiment of the application
  • FIG. 2 is a schematic diagram of the internal structure of a computer device provided by an embodiment of the application.
  • FIG. 3 is a schematic diagram of modules of a server IP address obtaining device provided by an embodiment of the application.
  • This application provides a method for obtaining the IP address of a server.
  • FIG. 1 it is a schematic flowchart of a method for obtaining an IP address of a server according to an embodiment of this application.
  • the method can be executed by a device, and the device can be implemented by software and/or hardware.
  • the method for obtaining the IP address of the server includes:
  • the preset IP database is obtained by accessing IP databases contained in different regions and operators.
  • the included IP databases may be: communication IP databases, routing IP databases, and so on.
  • the IP is the abbreviation of the English Internet Protocol, which refers to the "protocol for interconnection between networks" and is used for interconnection between computer networks.
  • sampling IP addresses are randomly obtained from a preset IP database according to regions and operators.
  • the preset IP database is implemented by a normal distribution random algorithm.
  • the normal distribution algorithm includes :
  • random sampling of IP addresses represents: R i represents a random number uniformly distributed between [0, 1], u represents a number of different IP addresses and carriers mean, ⁇ represents the number of different regions and the operator's IP address The standard deviation of, n is the total number of IP addresses in the IP database.
  • the domain name is also called a network domain, which is the name of a computer or computer group on the Internet composed of a series of names separated by dots, used to identify the electronic location of the computer during data transmission (Sometimes also refer to geographic location).
  • the sampled IP address set is traversed through the cmd command of the local client to obtain the domain name set that needs to be resolved.
  • an intelligent domain name resolution system is used to input the set of domain names that need to be resolved into the public domain name resolution server.
  • the domain name intelligent resolution system mentioned in this application is Extension Mechanism as for DNS, or EDNS for short.
  • the EDNS is a resolution system that adds fields on the basis of following the existing domain name resolution server (Domain Name System, DNS) message format.
  • DNS Domain Name System
  • this application encapsulates the domain name set to be resolved into the EDNS request packet, and inputs the domain name set in the EDNS request packet to the public DNS through the end resolver of the EDNS
  • the public DNS receives the domain name set, uses the forwarding resolver to forward the domain name set to the recursive resolver, and adds the EDNS field to the request message for forwarding the domain name set, according to the
  • the EDNS field is used for iterative analysis of the domain name set by the recursive resolver, so as to complete the parsing process and obtain the IP address set of the server.
  • the EDNS field includes: the address prefix length (SOURCE PREFIX-LENGTH) of the end resolver, and the address prefix (ADDRESS) of the end resolver.
  • the iterative analysis in this application includes: identifying the address information of the original client according to the EDNS field in the request message, obtaining the network topology location of the client according to the address information, and using all The network topology position calculates the IP address set of the server corresponding to the domain name set.
  • the triple index of ⁇ name, class, type> in the recursive resolver is used to cache the IP address set of the server, and to cache the IP address set of the server.
  • the forwarding resolver uses the forwarding resolver to return the server's IP address set to the EDNS according to the added prefix of the cache effective address segment, and encapsulate it into the EDNS response packet .
  • the present application uses similarity metric learning to determine the similarity of the server IP addresses, so as to perform deduplication and obtain all the IP addresses of the server.
  • the similarity metric learning method is a cosine similarity algorithm.
  • the cosine similarity algorithm uses the cosine value of the angle between two vectors in the vector space as a measure of the size of the difference between two individuals. The closer the cosine value is to 1, the closer the angle is to 0 degrees, that is, two The more similar the vectors.
  • the cosine similarity algorithm includes:
  • X and Y represent any two IP addresses in the IP server IP address set
  • i represents the number of IPs in the server IP address set
  • the resulting similarity ranges from -1 to 1: -1 represents the direction the two IP addresses point to
  • 1 means that the directions of the two IP addresses are exactly the same
  • 0 means that the two IP addresses are independent
  • the value in between means moderate similarity or dissimilarity, according to this
  • the metric learning of cosine similarity obtains the similarity of two IP addresses.
  • a threshold is preset. If the similarity is greater than the preset threshold, it means that the two corresponding IP addresses are similar, and then the IP address is deduplicated, so as to obtain all of the server's IP address.
  • the preset threshold mentioned in this application is 0.8.
  • This application also provides a computer device.
  • FIG. 2 it is a schematic diagram of the internal structure of a computer device provided by an embodiment of this application.
  • the computer device 1 may be a PC (Personal Computer, personal computer), or a terminal device such as a smart phone, a tablet computer, or a portable computer, or a server.
  • the computer device 1 at least includes a memory 11, a processor 12, a communication bus 13, and a network interface 14.
  • the memory 11 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, and the like.
  • the memory 11 may be an internal storage unit of the computer device 1 in some embodiments, such as a hard disk of the computer device 1. In other embodiments, the memory 11 may also be an external storage device of the computer device 1, such as a plug-in hard disk, a smart media card (SMC), and a secure digital (SD) equipped on the computer device 1. Card, Flash Card, etc. Further, the memory 11 may also include both an internal storage unit of the computer device 1 and an external storage device.
  • the memory 11 can be used not only to store application software and various data installed in the computer device 1, such as the code of the server IP address obtaining program 01, etc., but also to temporarily store data that has been output or will be output.
  • the processor 12 may be a central processing unit (CPU), controller, microcontroller, microprocessor, or other data processing chip, for running program codes or processing stored in the memory 11 Data, for example, execute server IP address acquisition program 01, etc.
  • CPU central processing unit
  • controller microcontroller
  • microprocessor microprocessor
  • other data processing chip for running program codes or processing stored in the memory 11 Data, for example, execute server IP address acquisition program 01, etc.
  • the communication bus 13 is used to realize the connection and communication between these components.
  • the network interface 14 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface), and is usually used to establish a communication connection between the device 1 and other electronic devices.
  • the computer device 1 may also include a user interface.
  • the user interface may include a display (Display) and an input unit such as a keyboard (Keyboard).
  • the optional user interface may also include a standard wired interface and a wireless interface.
  • the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, etc.
  • the display can also be called a display screen or a display unit as appropriate, and is used to display the information processed in the computer device 1 and to display a visualized user interface.
  • Fig. 2 only shows the computer device 1 with components 11-14 and the server IP address obtaining program 01.
  • Fig. 1 does not constitute a limitation on the computer device 1, and may include Fewer or more parts than shown, or some parts in combination, or different parts arrangement.
  • the server IP address obtaining program 01 is stored in the memory 11; when the processor 12 executes the server IP address obtaining program 01 stored in the memory 11, the following steps are implemented:
  • Step 1 Randomly obtain a sampled IP address set from a preset IP database.
  • the preset IP database is obtained by accessing IP databases contained in different regions and operators.
  • the included IP databases may be: communication IP databases, routing IP databases, and so on.
  • the IP is the abbreviation of the English Internet Protocol, which refers to the "protocol for interconnection between networks" and is used for interconnection between computer networks.
  • sampling IP addresses are randomly obtained from a preset IP database according to regions and operators.
  • the preset IP database is implemented by a normal distribution random algorithm.
  • the normal distribution algorithm includes :
  • random sampling of IP addresses represents: R i represents a random number uniformly distributed between [0, 1], u represents a number of different IP addresses and carriers mean, ⁇ represents the number of different regions and the operator's IP address The standard deviation of, n is the total number of IP addresses in the IP database.
  • Step 2 Traverse the sampled IP address set to obtain a set of domain names that need to be resolved, and input the set of domain names that need to be resolved into a public domain name resolution server for resolution processing to obtain the IP address set of the server.
  • the domain name is also called a network domain, which is the name of a computer or computer group on the Internet composed of a series of names separated by dots, used to identify the electronic location of the computer during data transmission (Sometimes also refer to geographic location).
  • the sampled IP address set is traversed through the cmd command of the local client to obtain the domain name set that needs to be resolved.
  • an intelligent domain name resolution system is used to input the set of domain names that need to be resolved into the public domain name resolution server.
  • the domain name intelligent resolution system mentioned in this application is Extension Mechanism as for DNS, or EDNS for short.
  • the EDNS is a resolution system that adds fields on the basis of following the existing domain name resolution server (Domain Name System, DNS) message format.
  • DNS Domain Name System
  • this application encapsulates the domain name set to be resolved into the EDNS request packet, and inputs the domain name set in the EDNS request packet to the public DNS through the end resolver of the EDNS
  • the public DNS receives the domain name set, uses the forwarding resolver to forward the domain name set to the recursive resolver, and adds the EDNS field to the request message for forwarding the domain name set, according to the
  • the EDNS field is used for iterative analysis of the domain name set by the recursive resolver, so as to complete the parsing process and obtain the IP address set of the server.
  • the EDNS field includes: the address prefix length (SOURCE PREFIX-LENGTH) of the end resolver, and the address prefix (ADDRESS) of the end resolver.
  • the iterative analysis in this application includes: identifying the address information of the original client according to the EDNS field in the request message, obtaining the network topology location of the client according to the address information, and using all The network topology position calculates the IP address set of the server corresponding to the domain name set.
  • Step 3 Receive the IP address set of the server returned by the public domain name resolution server, and encapsulate the IP address set of the server into a response packet.
  • the triple index of ⁇ name, class, type> in the recursive resolver is used to cache the IP address set of the server, and to cache the IP address set of the server.
  • the forwarding resolver uses the forwarding resolver to return the server's IP address set to the EDNS according to the added prefix of the cache effective address segment, and encapsulate it into the EDNS response packet .
  • Step 4 Use a similarity measurement algorithm to perform a deduplication operation on the IP address of the server in the response packet, so as to obtain all the IP addresses of the server.
  • the present application uses similarity metric learning to determine the similarity of the server IP addresses, so as to perform deduplication and obtain all the IP addresses of the server.
  • the similarity metric learning method is a cosine similarity algorithm.
  • the cosine similarity algorithm uses the cosine value of the angle between two vectors in the vector space as a measure of the size of the difference between two individuals. The closer the cosine value is to 1, the closer the angle is to 0 degrees, that is, two The more similar the vectors.
  • the cosine similarity algorithm includes:
  • X and Y represent any two IP addresses in the IP server IP address set
  • i represents the number of IPs in the server IP address set
  • the similarity generated ranges from -1 to 1: -1 represents the direction the two IP addresses point to
  • 1 means that the directions of the two IP addresses are exactly the same
  • 0 means that the two IP addresses are independent
  • the value in between means moderate similarity or dissimilarity, according to this
  • the metric learning of cosine similarity obtains the similarity of two IP addresses.
  • a threshold is preset. If the similarity is greater than the preset threshold, it means that the two corresponding IP addresses are similar, and then the IP address is deduplicated, so as to obtain all of the server's IP address.
  • the preset threshold mentioned in this application is 0.8.
  • the functional module diagram of the device 100 for obtaining the server IP address of this application is shown.
  • the server IP address obtaining apparatus 100 described in this application can be installed in a computer device. According to the realized function.
  • the module described in the present invention can also be called a unit, which refers to a series of computer program segments that can be executed by the processor of a computer device and can complete fixed functions, which are stored in the memory of the computer device and are stored in the memory of the computer device.
  • the server IP address obtaining device 100 includes a sampling IP obtaining module 10, an analysis processing module 20, an encapsulation processing module 30, and a deduplication processing module 40, exemplarily:
  • the sampling IP acquisition module 10 is configured to randomly acquire a sampling IP address set from a preset IP database according to regions and operators.
  • the resolution processing module 20 is configured to traverse the sampled IP address set to obtain a domain name set that needs to be resolved, and input the domain name set that needs to be resolved into a public domain name resolution server for resolution processing to obtain the IP address set of the server.
  • the encapsulation processing module 30 is configured to receive the IP address set of the server returned by the public domain name resolution server, and encapsulate the IP address set of the server into a response packet.
  • the deduplication processing module 40 is configured to perform a deduplication operation on the IP address of the server in the response packet by using a similarity measurement algorithm, so as to obtain all the IP addresses of the server.
  • an embodiment of the present application also proposes a computer-readable storage medium.
  • the computer-readable storage medium may be non-volatile or volatile.
  • the computer-readable storage medium stores the server IP address acquisition A program, the server IP address obtaining program can be executed by one or more processors to implement the following operations:
  • the similarity measurement algorithm is used to perform a deduplication operation on the IP address of the server in the response packet, so as to obtain all the IP addresses of the server.
  • all the above-mentioned data may also be stored in a node of a blockchain.
  • a node of a blockchain For example, the domain name set, the IP address of the server, etc., these data can be stored in the blockchain node.
  • Blockchain essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information for verification. The validity of the information (anti-counterfeiting) and the generation of the next block.
  • Blockchain can include the underlying blockchain platform, platform product service layer, application service layer, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Theoretical Computer Science (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Artificial Intelligence (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本申请涉及安全技术,揭露了一种服务器IP地址获取方法,包括:按地区和运营商随机从预设的IP数据库获取采样IP地址集;遍历所述采样IP地址集得到需要解析的域名集,将所述需要解析的域名集输入至公共域名解析服务器中进行解析处理,得到服务器的IP地址集;接收所述公共域名解析服务器返回的所述服务器的IP地址集,并将所述服务器的IP地址集封装为响应包;利用相似度度量算法对所述响应包中的服务器的IP地址进行去重操作,从而得到服务器所有的IP地址。本申请还提出一种服务器IP地址获取装置、计算机设备以及一种计算机可读存储介质。本申请实现了服务器的IP地址获取。

Description

服务器IP地址获取方法、装置、设备及存储介质
本申请要求于2020年3月17日提交中国专利局、申请号为CN202010189566.9,发明名称为“服务器IP地址获取方法、装置及计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及安全技术领域,尤其涉及一种服务器IP地址获取方法、装置、设备及计算机可读存储介质。
背景技术
服务器通常会部署在多个互联网数据中心上,采用内容分发网络技术,以让不同地区和运营商的用户能够更快更稳定地访问所述服务器。当普通用户在访问服务器上的服务时,可以通过本地的域名解析服务器获取到对应的服务器的IP地址。发明人发现目前方法只是提供一部分的服务器IP地址,不能提供全部的服务器IP地址,如果想要获取到所有服务器对应的IP地址,目前方法无法满足需求。
发明内容
本申请提供一种服务器IP地址获取方法、装置、设备及存储介质,其主要目的在于给用户提供一种关于服务器IP地址获取的技术方案。
为实现上述目的,本申请提供的一种服务器IP地址获取方法,包括:
按地区和运营商随机从预设的IP数据库获取采样IP地址集;
遍历所述采样IP地址集得到需要解析的域名集,将所述需要解析的域名集输入至公共域名解析服务器中进行解析处理,得到服务器的IP地址集;
接收所述公共域名解析服务器返回的所述服务器的IP地址集,并将所述服务器的IP地址集封装为响应包;
利用相似度度量算法对所述响应包中的服务器的IP地址进行去重操作,从而得到服务器所有的IP地址。
为了解决上述问题,本申请还提供一种服务器IP地址获取装置,所述装置包括:
采样IP获取模块:用于按地区和运营商随机从预设的IP数据库获取采样IP地址集;
解析处理模块:用于遍历所述采样IP地址集得到需要解析的域名集,将所述需要解析的域名集输入至公共域名解析服务器中进行解析处理,得到服务器的IP地址集;
封装处理模块:用于接收所述公共域名解析服务器返回的所述服务器的IP地址集,并将所述服务器的IP地址集封装为响应包;
去重处理模块:用于利用相似度度量算法对所述响应包中的服务器的IP地址进行去重操作,从而得到服务器所有的IP地址。
为实现上述目的,本申请还提供一种计算机设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如下步骤:
按地区和运营商随机从预设的IP数据库获取采样IP地址集;
遍历所述采样IP地址集得到需要解析的域名集,将所述需要解析的域名集输入至公共域名解析服务器中进行解析处理,得到服务器的IP地址集;
接收所述公共域名解析服务器返回的所述服务器的IP地址集,并将所述服务器的IP地址集封装为响应包;
利用相似度度量算法对所述响应包中的服务器的IP地址进行去重操作,从而得到服务器所有的IP地址。
为实现上述目的,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,其中,所述计算机程序被处理器执行时实现如下步骤:
按地区和运营商随机从预设的IP数据库获取采样IP地址集;
遍历所述采样IP地址集得到需要解析的域名集,将所述需要解析的域名集输入至公共域名解析服务器中进行解析处理,得到服务器的IP地址集;
接收所述公共域名解析服务器返回的所述服务器的IP地址集,并将所述服务器的IP地址集封装为响应包;
利用相似度度量算法对所述响应包中的服务器的IP地址进行去重操作,从而得到服务器所有的IP地址。
本申请提出的服务器IP地址获取方法、装置及计算机可读存储介质,从IP数据库获取采样IP地址集,并对所述IP地址集遍历得到待解析的域名集,利用公共域名解析服务器对所述待解析的域名集进行解析处理后得到服务器的IP地址集,将所述服务器的IP地址集进行封装和去重操作,得到所述采样IP地址集所对应服务器的所有IP地址,从而完成服务器的所有IP地址获取。
附图说明
图1为本申请一实施例提供的服务器IP地址获取方法的流程示意图;
图2为本申请一实施例提供的计算机设备的内部结构示意图;
图3为本申请一实施例提供的服务器IP地址获取装置的模块示意图。
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
本申请提供一种服务器IP地址获取方法。参照图1所示,为本申请一实施例提供的服务器IP地址获取方法的流程示意图。该方法可以由一个装置执行,该装置可以由软件和/或硬件实现。
在本实施例中,服务器IP地址获取方法包括:
S1、从预设的IP数据库随机获取采样IP地址集。
在本申请的至少一个实施例,所述预设的IP数据库通过向不同地区和运营商中包含的IP数据库进行访问得到。例如,对于华南地区,其包含的IP数据库可以为:通信IP数据库、路由IP数据库等。其中,所述IP是英文Internet Protocol的缩写,指的是“网络之间互连的协议”,用于计算机网络之间相互连接。
较佳地,本申请实施例所述按地区和运营商随机从预设的IP数据库获取采样IP地址从预设的IP数据库通过正态分布随机算法实现,详细地,所述正态分布算法包括:
Figure PCTCN2020098954-appb-000001
其中,random表示采样IP地址集:R i表示[0,1]之间均匀分布的随机数,u表示不同地区和运营商的IP地址数量的均值,σ表示不同地区和运营商的IP地址数量的标准差,n为IP数据库中IP地址的总数量。
S2、遍历所述采样IP地址集得到需要解析的域名集,将所述需要解析的域名集输入至公共域名解析服务器中进行解析处理,得到服务器的IP地址集。
本申请较佳实施例中,所述域名又称网域,是由一串用点分隔的名字组成的Internet 上某一台计算机或计算机组的名称,用于在数据传输时标识计算机的电子方位(有时也指地理位置)。较佳地,本申请中通过本地客户端的cmd命令对所述采样IP地址集进行遍历得到所述需要解析的域名集。进一步地,本申请中利用一个域名智能解析系统将所述需要解析的域名集输入至公共域名解析服务器中。较佳地,本申请所述域名智能解析系统为Extension Mechanismas for DNS,简称EDNS。所述EDNS是在遵循已有的域名解析服务器(Domain Name System,DNS)消息格式的基础上增加字段的解析系统。所述公共域名解析服务器用于对域名进行解析并转换为对应的IP地址。
详细地,本申请将所述需要解析的域名集封装到所述EDNS的请求数据包中,通过所述EDNS的末端解析器将所述EDNS的请求数据包中的域名集输入至所述公共DNS中;所述公共DNS接收所述域名集,利用所述转发解析器转发所述域名集至所述递归解析器中,并在转发所述域名集的请求报文中添加EDNS字段,根据所述EDNS字段,通过所述递归解析器对所述域名集进行迭代分析,从而完成所述解析处理,得到所述服务器的IP地址集。其中,所述EDNS字段包括:所述末端解析器的地址前缀长度(SOURCE PREFIX-LENGTH),所述末端解析器的地址前缀(ADDRESS)。
较佳地,本申请中所述迭代分析包括:根据所述请求报文中的所述EDNS字段,识别出原始客户端的地址信息,根据所述地址信息得到所述客户端的网络拓扑位置,利用所述网络拓扑位置计算出所述域名集对应的服务器的IP地址集。
S3、接收所述公共域名解析服务器返回的所述服务器的IP地址集,并将所述服务器的IP地址集封装为响应包。
本申请较佳实施例中,利用所述上述递归解析器中的<name,class,type>三元组索引对所述服务器的IP地址集进行缓存,并对所述服务器的IP地址集进行缓存时添加缓存生效地址段的前缀,根据所述添加的缓存生效地址段的前缀,利用所述转发解析器将所述服务器的IP地址集返回给所述EDNS,并封装成所述EDNS的响应包。
S4、利用相似度度量算法对所述响应包中的服务器的IP地址进行去重操作,从而得到服务器所有的IP地址。
本申请较佳实施例中,对于所述EDNS响应包中得到的服务器IP地址集,本申请利用相似性度量学习进行服务器IP地址相似度的判断,从而进行去重,得到服务器所有的IP地址。在本申请较佳实施例中,所述相似性度量学习方法为余弦相似度算法。
所述余弦相似度算法是用向量空间中两个向量夹角的余弦值作为衡量两个个体间差异的大小的度量,余弦值越接近1,就表明夹角越接近0度,也就是两个向量越相似。其中,所述余弦相似度算法包括:
Figure PCTCN2020098954-appb-000002
其中,X、Y表示IP服务器IP地址集中的任意两个IP地址,i表示服务器IP地址集的IP数量,所产生的相似性范围从-1到1:-1表示两个IP地址指向的方向正好截然相反,1表示两个IP地址的指向是完全相同的,0表示两个IP地址之间是独立的,而在这之间的值则表示中度的相似性或相异性,据此根据余弦相似度的度量学习得到两个IP地址的相似度。
进一步地,本申请较佳实施例中通过预设一个阈值,若所述相似度大于所述预设的阈值,表示对应的两个IP地址相似,则进行IP地址去重,从而得到服务器的所有IP地址。本申请中所述预设的阈值为0.8。
本申请还提供一种计算机设备。参照图2所示,为本申请一实施例提供的计算机设备 的内部结构示意图。
在本实施例中,所述计算机设备1可以是PC(Personal Computer,个人电脑),或者是智能手机、平板电脑、便携计算机等终端设备,也可以是一种服务器等。该计算机设备1至少包括存储器11、处理器12,通信总线13,以及网络接口14。
其中,存储器11至少包括一种类型的可读存储介质,所述可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、磁性存储器、磁盘、光盘等。存储器11在一些实施例中可以是计算机设备1的内部存储单元,例如该计算机设备1的硬盘。存储器11在另一些实施例中也可以是计算机设备1的外部存储设备,例如计算机设备1上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,存储器11还可以既包括计算机设备1的内部存储单元也包括外部存储设备。存储器11不仅可以用于存储安装于计算机设备1的应用软件及各类数据,例如服务器IP地址获取程序01的代码等,还可以用于暂时地存储已经输出或者将要输出的数据。
处理器12在一些实施例中可以是一中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器或其他数据处理芯片,用于运行存储器11中存储的程序代码或处理数据,例如执行服务器IP地址获取程序01等。
通信总线13用于实现这些组件之间的连接通信。
网络接口14可选的可以包括标准的有线接口、无线接口(如WI-FI接口),通常用于在该装置1与其他电子设备之间建立通信连接。
可选地,该计算机设备1还可以包括用户接口,用户接口可以包括显示器(Display)、输入单元比如键盘(Keyboard),可选的用户接口还可以包括标准的有线接口、无线接口。可选地,在一些实施例中,显示器可以是LED显示器、液晶显示器、触控式液晶显示器以及OLED(Organic Light-Emitting Diode,有机发光二极管)触摸器等。其中,显示器也可以适当的称为显示屏或显示单元,用于显示在计算机设备1中处理的信息以及用于显示可视化的用户界面。
图2仅示出了具有组件11-14以及服务器IP地址获取程序01的计算机设备1,本领域技术人员可以理解的是,图1示出的结构并不构成对计算机设备1的限定,可以包括比图示更少或者更多的部件,或者组合某些部件,或者不同的部件布置。
在图2所示的装置1实施例中,存储器11中存储有服务器IP地址获取程序01;处理器12执行存储器11中存储的服务器IP地址获取程序01时实现如下步骤:
步骤一、从预设的IP数据库随机获取采样IP地址集。
在本申请的至少一个实施例,所述预设的IP数据库通过向不同地区和运营商中包含的IP数据库进行访问得到。例如,对于华南地区,其包含的IP数据库可以为:通信IP数据库、路由IP数据库等。其中,所述IP是英文Internet Protocol的缩写,指的是“网络之间互连的协议”,用于计算机网络之间相互连接。
较佳地,本申请实施例所述按地区和运营商随机从预设的IP数据库获取采样IP地址从预设的IP数据库通过正态分布随机算法实现,详细地,所述正态分布算法包括:
Figure PCTCN2020098954-appb-000003
其中,random表示采样IP地址集:R i表示[0,1]之间均匀分布的随机数,u表示不同地区和运营商的IP地址数量的均值,σ表示不同地区和运营商的IP地址数量的标准差,n为IP数据库中IP地址的总数量。
步骤二、遍历所述采样IP地址集得到需要解析的域名集,将所述需要解析的域名集输入至公共域名解析服务器中进行解析处理,得到服务器的IP地址集。
本申请较佳实施例中,所述域名又称网域,是由一串用点分隔的名字组成的Internet上某一台计算机或计算机组的名称,用于在数据传输时标识计算机的电子方位(有时也指地理位置)。较佳地,本申请中通过本地客户端的cmd命令对所述采样IP地址集进行遍历得到所述需要解析的域名集。进一步地,本申请中利用一个域名智能解析系统将所述需要解析的域名集输入至公共域名解析服务器中。较佳地,本申请所述域名智能解析系统为Extension Mechanismas for DNS,简称EDNS。所述EDNS是在遵循已有的域名解析服务器(Domain Name System,DNS)消息格式的基础上增加字段的解析系统。所述公共域名解析服务器用于对域名进行解析并转换为对应的IP地址。
详细地,本申请将所述需要解析的域名集封装到所述EDNS的请求数据包中,通过所述EDNS的末端解析器将所述EDNS的请求数据包中的域名集输入至所述公共DNS中;所述公共DNS接收所述域名集,利用所述转发解析器转发所述域名集至所述递归解析器中,并在转发所述域名集的请求报文中添加EDNS字段,根据所述EDNS字段,通过所述递归解析器对所述域名集进行迭代分析,从而完成所述解析处理,得到所述服务器的IP地址集。其中,所述EDNS字段包括:所述末端解析器的地址前缀长度(SOURCE PREFIX-LENGTH),所述末端解析器的地址前缀(ADDRESS)。
较佳地,本申请中所述迭代分析包括:根据所述请求报文中的所述EDNS字段,识别出原始客户端的地址信息,根据所述地址信息得到所述客户端的网络拓扑位置,利用所述网络拓扑位置计算出所述域名集对应的服务器的IP地址集。
步骤三、接收所述公共域名解析服务器返回的所述服务器的IP地址集,并将所述服务器的IP地址集封装为响应包。
本申请较佳实施例中,利用所述上述递归解析器中的<name,class,type>三元组索引对所述服务器的IP地址集进行缓存,并对所述服务器的IP地址集进行缓存时添加缓存生效地址段的前缀,根据所述添加的缓存生效地址段的前缀,利用所述转发解析器将所述服务器的IP地址集返回给所述EDNS,并封装成所述EDNS的响应包。
步骤四、利用相似度度量算法对所述响应包中的服务器的IP地址进行去重操作,从而得到服务器所有的IP地址。
本申请较佳实施例中,对于所述EDNS响应包中得到的服务器IP地址集,本申请利用相似性度量学习进行服务器IP地址相似度的判断,从而进行去重,得到服务器所有的IP地址。在本申请较佳实施例中,所述相似性度量学习方法为余弦相似度算法。
所述余弦相似度算法是用向量空间中两个向量夹角的余弦值作为衡量两个个体间差异的大小的度量,余弦值越接近1,就表明夹角越接近0度,也就是两个向量越相似。其中,所述余弦相似度算法包括:
Figure PCTCN2020098954-appb-000004
其中,X、Y表示IP服务器IP地址集中的任意两个IP地址,i表示服务器IP地址集的IP数量,所产生的相似性范围从-1到1:-1表示两个IP地址指向的方向正好截然相反,1表示两个IP地址的指向是完全相同的,0表示两个IP地址之间是独立的,而在这之间的值则表示中度的相似性或相异性,据此根据余弦相似度的度量学习得到两个IP地址的相似度。
进一步地,本申请较佳实施例中通过预设一个阈值,若所述相似度大于所述预设的阈值,表示对应的两个IP地址相似,则进行IP地址去重,从而得到服务器的所有IP地址。本申请中所述预设的阈值为0.8。
参照图3所示,为本申请服务器IP地址获取装置100的功能模块图。
本申请所述服务器IP地址获取装置100可以安装于计算机设备中。根据实现的功能。本发所述模块也可以称之为单元,是指一种能够被计算机设备处理器所执行,并且能够完成固定功能的一系列计算机程序段,其存储在计算机设备的存储器中,根据实现的功能,所述服务器IP地址获取装置100包括采样IP获取模块10、解析处理模块20、封装处理模块30以及去重处理模块40,示例性地:
所述采样IP获取模块10用于:按地区和运营商随机从预设的IP数据库获取采样IP地址集。
所述解析处理模块20用于:遍历所述采样IP地址集得到需要解析的域名集,将所述需要解析的域名集输入至公共域名解析服务器中进行解析处理,得到服务器的IP地址集。
所述封装处理模块30用于:接收所述公共域名解析服务器返回的所述服务器的IP地址集,并将所述服务器的IP地址集封装为响应包。
所述去重处理模块40用于:利用相似度度量算法对所述响应包中的服务器的IP地址进行去重操作,从而得到服务器所有的IP地址。
上述采样IP获取模块10、解析处理模块20、封装处理模块30以及去重处理模块40等程序模块被执行时所实现的功能或操作步骤与上述实施例大体相同,在此不再赘述。
此外,本申请实施例还提出一种计算机可读存储介质,所述计算机可读存储介质可以是非易失性,也可以是易失性,所述计算机可读存储介质上存储有服务器IP地址获取程序,所述服务器IP地址获取程序可被一个或多个处理器执行,以实现如下操作:
按地区和运营商随机从预设的IP数据库获取采样IP地址集;
遍历所述采样IP地址集得到需要解析的域名集,将所述需要解析的域名集输入至公共域名解析服务器中进行解析处理,得到服务器的IP地址集;
接收所述公共域名解析服务器返回的所述服务器的IP地址集,并将所述服务器的IP地址集封装为响应包;
利用相似度度量算法对所述响应包中的服务器的IP地址进行去重操作,从而得到服务器所有的IP地址。
本申请计算机可读存储介质具体实施方式与上述服务器IP地址获取装置和方法各实施例基本相同,在此不作累述。
在另一个实施例中,为进一步保证上述所有出现的数据的私密和安全性,上述所有数据还可以存储于一区块链的节点中。例如域名集、服务器的IP地址等,这些数据均可存储在区块链节点中。
需要说明的是,本申请所指区块链是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式。区块链(Blockchain),本质上是一个去中心化的数据库,是一串使用密码学方法相关联产生的数据块,每一个数据块中包含了一批次网络交易的信息,用于验证其信息的有效性(防伪)和生成下一个区块。区块链可以包括区块链底层平台、平台产品服务层以及应用服务层等
需要说明的是,上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。并且本文中的术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、装置、物品或者方法不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、装置、物品或者方法所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、装置、物品或者方法中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡 献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。

Claims (20)

  1. 一种服务器IP地址获取方法,其中,所述方法包括:
    按地区和运营商随机从预设的IP数据库获取采样IP地址集;
    遍历所述采样IP地址集得到需要解析的域名集,将所述需要解析的域名集输入至公共域名解析服务器中进行解析处理,得到服务器的IP地址集;
    接收所述公共域名解析服务器返回的所述服务器的IP地址集,并将所述服务器的IP地址集封装为响应包;
    利用相似度度量算法对所述响应包中的服务器的IP地址进行去重操作,从而得到服务器所有的IP地址。
  2. 如权利要求1所述的服务器IP地址获取方法,其中,所述按地区和运营商随机从预设的IP数据库获取采样IP地址集通过正态分布随机算法实现,所述正态分布算法包括:
    Figure PCTCN2020098954-appb-100001
    其中,random表示采样IP地址集:R i表示[0,1]之间均匀分布的随机数,u表示不同地区和运营商的IP地址数量的均值,σ表示不同地区和运营商的IP地址数量的标准差,n为IP数据库中IP地址的总数量。
  3. 如权利要求1所述的服务器IP地址获取方法,其中,所述将所述需要解析的域名集输入至公共域名解析服务器中进行解析处理,得到服务器的IP地址集,包括:
    将所述需要解析的域名集封装到预先构建的域名智能解析系统的请求数据包中,通过所述域名智能解析系统的末端解析器将所述请求数据包输入至所述公共域名解析服务器中;
    利用所述公共域名解析服务器的转发解析器转发所述域名集至所述公共域名解析服务器的递归解析器中,并在转发的请求报文中添加所述域名智能解析系统字段;
    根据所述域名智能解析系统字段,通过所述递归解析器对所述域名集进行迭代分析,得到所述服务器的IP地址集。
  4. 如权利要求3所述的服务器IP地址获取方法,其中,所述迭代分析包括:
    根据所述请求报文中的所述域名智能解析系统字段,识别出原始客户端的地址信息,根据所述地址信息得到所述原始客户端的网络拓扑位置,利用所述网络拓扑位置计算出所述域名集对应的服务器的IP地址集。
  5. 如权利要求1至4中任意一项所述的服务器IP地址获取方法,其中,所述相似度度量算法包括:
    Figure PCTCN2020098954-appb-100002
    其中,X、Y表示服务器IP地址集中的任意两个IP地址,i表示服务器IP地址集的IP数量。
  6. 如权利要求1所述的服务器IP地址获取方法,其中,所述遍历所述采样IP地址集得到需要解析的域名集包括:
    通过本地客户端的cmd命令对所述采样IP地址集进行遍历得到所述需要解析的域名集。
  7. 如权利要求1所述的服务器IP地址获取方法,其中,所述利用相似度度量算法对所述响应包中的服务器的IP地址进行去重操作包括:
    当所述响应包中的服务器的IP地址的相似度大于预设阈值时,进行去重操作。
  8. 一种服务器IP地址获取装置,其中,所述装置包括:
    采样IP获取模块:用于按地区和运营商随机从预设的IP数据库获取采样IP地址集;
    解析处理模块:用于遍历所述采样IP地址集得到需要解析的域名集,将所述需要解析的域名集输入至公共域名解析服务器中进行解析处理,得到服务器的IP地址集;
    封装处理模块:用于接收所述公共域名解析服务器返回的所述服务器的IP地址集,并将所述服务器的IP地址集封装为响应包;
    去重处理模块:用于利用相似度度量算法对所述响应包中的服务器的IP地址进行去重操作,从而得到服务器所有的IP地址。
  9. 一种计算机设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其中,所述处理器执行所述计算机程序时实现如下步骤:
    按地区和运营商随机从预设的IP数据库获取采样IP地址集;
    遍历所述采样IP地址集得到需要解析的域名集,将所述需要解析的域名集输入至公共域名解析服务器中进行解析处理,得到服务器的IP地址集;
    接收所述公共域名解析服务器返回的所述服务器的IP地址集,并将所述服务器的IP地址集封装为响应包;
    利用相似度度量算法对所述响应包中的服务器的IP地址进行去重操作,从而得到服务器所有的IP地址。
  10. 如权利要求9所述的计算机设备,其中,所述按地区和运营商随机从预设的IP数据库获取采样IP地址集通过正态分布随机算法实现,所述正态分布算法包括:
    Figure PCTCN2020098954-appb-100003
    其中,random表示采样IP地址集:R i表示[0,1]之间均匀分布的随机数,u表示不同地区和运营商的IP地址数量的均值,σ表示不同地区和运营商的IP地址数量的标准差,n为IP数据库中IP地址的总数量。
  11. 如权利要求9所述的计算机设备,其中,所述将所述需要解析的域名集输入至公共域名解析服务器中进行解析处理,得到服务器的IP地址集,包括:
    将所述需要解析的域名集封装到预先构建的域名智能解析系统的请求数据包中,通过所述域名智能解析系统的末端解析器将所述请求数据包输入至所述公共域名解析服务器中;
    利用所述公共域名解析服务器的转发解析器转发所述域名集至所述公共域名解析服务器的递归解析器中,并在转发的请求报文中添加所述域名智能解析系统字段;
    根据所述域名智能解析系统字段,通过所述递归解析器对所述域名集进行迭代分析,得到所述服务器的IP地址集。
  12. 如权利要求11所述的计算机设备,其中,所述迭代分析包括:
    根据所述请求报文中的所述域名智能解析系统字段,识别出原始客户端的地址信息,根据所述地址信息得到所述原始客户端的网络拓扑位置,利用所述网络拓扑位置计算出所述域名集对应的服务器的IP地址集。
  13. 如权利要求9至12中任意一项所述的计算机设备,其中,所述相似度度量算法包括:
    Figure PCTCN2020098954-appb-100004
    其中,X、Y表示服务器IP地址集中的任意两个IP地址,i表示服务器IP地址集的IP数量。
  14. 如权利要求9所述的计算机设备,其中,所述遍历所述采样IP地址集得到需要解析的域名集包括:
    通过本地客户端的cmd命令对所述采样IP地址集进行遍历得到所述需要解析的域名集。
  15. 如权利要求9所述的计算机设备,其中,所述利用相似度度量算法对所述响应包中的服务器的IP地址进行去重操作包括:
    当所述响应包中的服务器的IP地址的相似度大于预设阈值时,进行去重操作。
  16. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,其中,所述计算机程序被处理器执行时实现如下步骤:
    按地区和运营商随机从预设的IP数据库获取采样IP地址集;
    遍历所述采样IP地址集得到需要解析的域名集,将所述需要解析的域名集输入至公共域名解析服务器中进行解析处理,得到服务器的IP地址集;
    接收所述公共域名解析服务器返回的所述服务器的IP地址集,并将所述服务器的IP地址集封装为响应包;
    利用相似度度量算法对所述响应包中的服务器的IP地址进行去重操作,从而得到服务器所有的IP地址。
  17. 如权利要求16所述的计算机可读存储介质,其中,所述按地区和运营商随机从预设的IP数据库获取采样IP地址集通过正态分布随机算法实现,所述正态分布算法包括:
    Figure PCTCN2020098954-appb-100005
    其中,random表示采样IP地址集:R i表示[0,1]之间均匀分布的随机数,u表示不同地区和运营商的IP地址数量的均值,σ表示不同地区和运营商的IP地址数量的标准差,n为IP数据库中IP地址的总数量。
  18. 如权利要求17所述的计算机可读存储介质,其中,所述将所述需要解析的域名集输入至公共域名解析服务器中进行解析处理,得到服务器的IP地址集,包括:
    将所述需要解析的域名集封装到预先构建的域名智能解析系统的请求数据包中,通过所述域名智能解析系统的末端解析器将所述请求数据包输入至所述公共域名解析服务器中;
    利用所述公共域名解析服务器的转发解析器转发所述域名集至所述公共域名解析服务器的递归解析器中,并在转发的请求报文中添加所述域名智能解析系统字段;
    根据所述域名智能解析系统字段,通过所述递归解析器对所述域名集进行迭代分析,得到所述服务器的IP地址集。
  19. 如权利要求18所述的计算机可读存储介质,其中,所述迭代分析包括:
    根据所述请求报文中的所述域名智能解析系统字段,识别出原始客户端的地址信息,根据所述地址信息得到所述原始客户端的网络拓扑位置,利用所述网络拓扑位置计算出所述域名集对应的服务器的IP地址集。
  20. 如权利要求16至19中任意一项所述的计算机可读存储介质,其中,所述相似度度量算法包括:
    Figure PCTCN2020098954-appb-100006
    其中,X、Y表示服务器IP地址集中的任意两个IP地址,i表示服务器IP地址集的IP数量。
PCT/CN2020/098954 2020-03-17 2020-06-29 服务器ip地址获取方法、装置、设备及存储介质 Ceased WO2021184577A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010189566.9 2020-03-17
CN202010189566.9A CN111478984B (zh) 2020-03-17 2020-03-17 服务器ip地址获取方法、装置及计算机可读存储介质

Publications (1)

Publication Number Publication Date
WO2021184577A1 true WO2021184577A1 (zh) 2021-09-23

Family

ID=71747513

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/098954 Ceased WO2021184577A1 (zh) 2020-03-17 2020-06-29 服务器ip地址获取方法、装置、设备及存储介质

Country Status (2)

Country Link
CN (1) CN111478984B (zh)
WO (1) WO2021184577A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117714124A (zh) * 2023-12-08 2024-03-15 北京华顺信安科技有限公司 基于域名解析的云防护方法、系统、终端及存储介质

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116888941A (zh) * 2020-11-09 2023-10-13 华为技术有限公司 用于数据发现的域名系统
CN113938462B (zh) * 2020-12-28 2024-07-16 京东科技控股股份有限公司 域名解析方法、装置、电子设备和存储介质
CN112685072B (zh) * 2020-12-31 2023-08-01 恒安嘉新(北京)科技股份公司 通信地址知识库的生成方法、装置、设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150264009A1 (en) * 2014-01-22 2015-09-17 Limelight Networks, Inc. Client-selectable routing using dns requests
CN105897942A (zh) * 2015-09-17 2016-08-24 乐视云计算有限公司 一种域名解析系统及域名解析方法
CN108243051A (zh) * 2016-12-27 2018-07-03 中国移动通信集团浙江有限公司 域名劫持防护处理方法及装置
CN108900648A (zh) * 2018-06-13 2018-11-27 网宿科技股份有限公司 一种控制多cname流量比例的方法和装置
CN109274702A (zh) * 2017-07-12 2019-01-25 武汉安天信息技术有限责任公司 一种网站内容采集方法及装置

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7694019B2 (en) * 2007-03-09 2010-04-06 International Business Machines Corporation System and method for accessing multiple addresses per domain name using networked repository
CN102780791A (zh) * 2012-07-18 2012-11-14 广东睿江科技有限公司 一种自适应ip的方法、装置以及系统
CN104253873B (zh) * 2013-06-25 2017-03-22 腾讯科技(深圳)有限公司 域名访问方法、终端及域名访问系统
CN103701948A (zh) * 2013-12-25 2014-04-02 乐视网信息技术(北京)股份有限公司 域名解析系统配置信息的采集方法及装置
CN104869182A (zh) * 2015-05-28 2015-08-26 广州华多网络科技有限公司 一种域名解析的方法和装置
CN106953940B (zh) * 2017-04-13 2018-11-20 网宿科技股份有限公司 Dns服务器及配置加载方法、网络系统、域名解析方法及系统
CN107295116B (zh) * 2017-05-11 2020-04-10 上海红阵信息科技有限公司 一种域名解析方法、装置及系统
CN109150561B (zh) * 2017-06-16 2021-07-20 贵州白山云科技股份有限公司 一种域名系统解析配置方法、装置和系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150264009A1 (en) * 2014-01-22 2015-09-17 Limelight Networks, Inc. Client-selectable routing using dns requests
CN105897942A (zh) * 2015-09-17 2016-08-24 乐视云计算有限公司 一种域名解析系统及域名解析方法
CN108243051A (zh) * 2016-12-27 2018-07-03 中国移动通信集团浙江有限公司 域名劫持防护处理方法及装置
CN109274702A (zh) * 2017-07-12 2019-01-25 武汉安天信息技术有限责任公司 一种网站内容采集方法及装置
CN108900648A (zh) * 2018-06-13 2018-11-27 网宿科技股份有限公司 一种控制多cname流量比例的方法和装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117714124A (zh) * 2023-12-08 2024-03-15 北京华顺信安科技有限公司 基于域名解析的云防护方法、系统、终端及存储介质

Also Published As

Publication number Publication date
CN111478984A (zh) 2020-07-31
CN111478984B (zh) 2022-09-09

Similar Documents

Publication Publication Date Title
US11856046B2 (en) Endpoint URL generation and management
WO2021184577A1 (zh) 服务器ip地址获取方法、装置、设备及存储介质
CN100525242C (zh) 名称解析服务器和分组传送设备
US8615796B2 (en) Managing resource allocations
US8271424B2 (en) Privacy and confidentiality preserving reporting of URLs
US7987509B2 (en) Generation of unique significant key from URL get/post content
CN108090064A (zh) 一种数据查询方法、装置、数据存储服务器及系统
WO2019109529A1 (zh) 网页识别方法、装置、计算机设备及计算机存储介质
CN111367857B (zh) 数据存储方法、装置、ftp服务器及存储介质
WO2020181809A1 (zh) 基于接口校验的数据处理的方法、系统和计算机设备
CN111259282A (zh) Url去重方法、装置、电子设备及计算机可读存储介质
CN108093026B (zh) 多租户请求的处理方法及装置
US20150278543A1 (en) System and Method for Optimizing Storage of File System Access Control Lists
CN114153626A (zh) 一种服务集成过程抽象的方法、装置和计算机设备
CN106169963A (zh) 服务页面的访问方法及系统、代理服务器
CN108694333A (zh) 用户信息处理方法及装置
WO2021184580A1 (zh) 域名智能解析方法、装置、电子设备及计算机可读存储介质
CN113242331A (zh) 不同类型的地址转换方法、装置、计算机设备及存储介质
CN115794780A (zh) 网络空间资产的采集方法、装置、电子设备及存储介质
CN108063833A (zh) Http dns解析报文处理方法及装置
CN111224878A (zh) 路由转发方法、装置、电子设备及存储介质
CN111314379B (zh) 被攻击域名识别方法、装置、计算机设备和存储介质
CN110399530A (zh) 数据匹配方法、装置及计算机设备
CN111414642A (zh) 一种基于网关的链接生成方法、装置、服务器和存储介质
US10915582B2 (en) Comprehensive homographic string detection by mapping similar characters into identifiers to determine homographic strings from queried strings

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: 20926300

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: 20926300

Country of ref document: EP

Kind code of ref document: A1