CN107395783B - IP address processing method, system, device and electronic equipment - Google Patents

IP address processing method, system, device and electronic equipment Download PDF

Info

Publication number
CN107395783B
CN107395783B CN201710611186.8A CN201710611186A CN107395783B CN 107395783 B CN107395783 B CN 107395783B CN 201710611186 A CN201710611186 A CN 201710611186A CN 107395783 B CN107395783 B CN 107395783B
Authority
CN
China
Prior art keywords
address
area
access
detection device
sent
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
CN201710611186.8A
Other languages
Chinese (zh)
Other versions
CN107395783A (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 QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology 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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201710611186.8A priority Critical patent/CN107395783B/en
Publication of CN107395783A publication Critical patent/CN107395783A/en
Application granted granted Critical
Publication of CN107395783B publication Critical patent/CN107395783B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5046Resolving address allocation conflicts; Testing of addresses
    • 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5053Lease time; Renewal aspects

Abstract

The embodiment of the invention provides an IP address processing method, a system, a device and electronic equipment, comprising the following steps: at least one probe device in a first area sends a network service query request to a DNS authoritative server; the DNS authoritative server receives network service inquiry requests sent by all the detection devices and sends the IP address list of the first area to all the detection devices; the detection devices receive the IP address list of the first area, respectively access all IP addresses in the IP address list, and send access results of all IP addresses to the central control server; the central control server receives the access result of each IP address sent by each detection device, determines whether each IP address is available according to the access result of each IP address, and sends the information whether each IP address is available to the DNS authoritative server; and the DNS authoritative server receives the information whether each IP address is available or not and takes the unavailable IP address off the line. The invention can ensure the availability of network service.

Description

IP address processing method, system, device and electronic equipment
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a method, a system, a device, and an electronic device for processing an IP address.
Background
A Domain Name System (DNS) is a set of systems that maps Domain names to Internet Protocol (IP) addresses, and enables users to access the Internet more conveniently without having to remember IP strings that can be read directly by a machine. The DNS system is almost the basis of all current network services, and for a service with many users, the DNS system generally performs load balancing operation, that is, configures a series of different IP addresses for users in different areas, where each IP address corresponds to a network server.
Generally, an authoritative server in a DNS system will configure a different series of IP addresses for central servers in different regions. Taking the user of the link in beijing as an example, if the user accesses the IP of the link in beijing to the domain name www.iqiyi.com, the result shown in fig. 1 is obtained: the DNS authoritative server configures 6 IP addresses for the service of the domain name www.iqiyi.com aiming at the central control servers in different areas, and users in different areas of Beijing Unicom can access www.iqiyi.com through the different IP addresses corresponding to the areas. When a certain IP address is unavailable in fig. 1, the DNS authoritative server cannot sense the unavailable IP address, and still resolves the domain name. In the prior art, a server of an internet data center is generally adopted to detect a fault and feed back the fault through a service line.
However, the inventor finds that the prior art has at least the following problems in the process of implementing the invention:
in the prior art, when a server of an internet data center is used for fault detection, usually a detected fault is fed back through a service line, but the feedback delay exists in the processing mode, so that a user side cannot timely sense an unavailable IP address, and the user side can continue to use the unavailable IP address, which results in that the user cannot successfully access a domain name corresponding to the IP address.
Disclosure of Invention
Embodiments of the present invention provide a method, a system, a device, and an electronic device for processing an IP address, so as to realize timely feedback of a failed IP address and ensure availability of a network service. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides an IP address processing method, which is applied to a domain name system DNS, and the method includes:
at least one probe device in a first area sends a network service query request to a DNS authoritative server;
the DNS authoritative server receives network service inquiry requests sent by all the detection devices and sends the IP address list of the first area to all the detection devices;
the detection devices receive the IP address list of the first area, respectively access all IP addresses in the IP address list, and send access results of all IP addresses to the central control server;
the central control server receives the access result of each IP address sent by each detection device, determines whether each IP address is available according to the access result of each IP address, and sends the information whether each IP address is available to the DNS authoritative server;
and the DNS authoritative server receives the information whether each IP address is available or not and takes the unavailable IP address off the line.
Specifically, the sending, by at least one probe device in the first area, a network service query request to a DNS authoritative server includes:
at least one probe device in the first area periodically sends a network service inquiry request to a DNS authoritative server.
Specifically, the respectively accessing each IP address in the IP address list includes:
and respectively accessing the IP addresses through a preset service access format.
Specifically, the determining whether each IP address is available according to the access result of each IP address includes:
counting a first number of inaccessible results in the access results of the IP addresses sent by each detection device aiming at each IP address;
and when the first number corresponding to any IP address is larger than a first preset threshold value, determining that the IP address is unavailable.
Specifically, after counting, for each IP address, a first number of inaccessible results in the access results of the IP address sent by each probe device, the method further includes:
when the first quantity corresponding to any IP address is smaller than the first preset threshold and larger than a second preset threshold, the central control server sends an access instruction to at least one detection device in a second area; wherein the second preset threshold is smaller than the first preset threshold;
at least one detection device in the second area receives the access instruction sent by the central control server and sends a network service query request to the DNS authoritative server;
the DNS authoritative server receives network service query requests sent by all the detection devices in the second area, and sends the IP address list of the first area to all the detection devices in the second area;
each detection device in the second area receives the IP address list of the first area, respectively accesses each IP address in the IP address list, and sends the access result of each IP address to the central control server;
and the central control server receives the access result of each IP address sent by each detection device in the second area, and determines whether each IP address is available according to the access result of each IP address sent by each detection device in the second area.
Specifically, the determining whether each IP address is available according to the access result of each IP address sent by each detection device in the second area includes:
counting a second number of inaccessible results in the access results of the IP address sent by each detection device in the second area aiming at each IP address;
and when the second quantity corresponding to any IP address is larger than a third preset threshold value, determining that the IP address is unavailable.
In a second aspect, an embodiment of the present invention provides an IP address processing method, which is applied to a probe device in a first area, where the method includes:
sending a network service query request to a Domain Name System (DNS) authoritative server; the DNS authoritative server receives network service inquiry requests sent by all the detection devices and sends the IP address list of the first area to all the detection devices;
receiving the IP address list of the first area sent by the DNS authoritative server, and respectively accessing each IP address in the IP address list of the first area;
and sending the access result of each IP address to a central control server so that the central control server receives the access result of each IP address sent by each detection device, determining whether each IP address is available according to the access result of each IP address, sending information about whether each IP address is available to the DNS authoritative server, and downloading the unavailable IP address through the DNS authoritative server.
Specifically, the sending of the network service query request to the DNS authoritative server includes:
and periodically sending a network service inquiry request to the DNS authoritative server.
Specifically, the respectively accessing the IP addresses in the first area included in the network service information includes:
and respectively accessing the IP addresses in the first area through a preset service access format.
In a third aspect, an embodiment of the present invention provides an IP address processing method, which is applied to a central control server, and the method includes:
receiving an access result of each IP address in a first area, which is sent by at least one detection device in the first area; the access result is obtained after each detection device in the first region sends a network service query request to a Domain Name System (DNS) authoritative server, the DNS authoritative server receives the network service query request sent by each detection device and sends an IP address list of the first region to each detection device, and each detection device receives the IP address list of the first region and accesses each IP address in the IP address list respectively;
and determining whether each IP address is available according to the access result of each IP address, and sending the information whether each IP address is available to the DNS authoritative server so that the DNS authoritative server receives the information whether each IP address is available and downloads the unavailable IP address.
Specifically, the determining whether each IP address is available according to the access result of each IP address includes:
counting a first number of inaccessible results in the access results of the IP addresses sent by each detection device aiming at each IP address;
and when the first number corresponding to any IP address is larger than a first preset threshold value, determining that the IP address is unavailable.
Specifically, after counting, for each IP address, a first number of inaccessible results in the access results of the IP address sent by each probe device, the method further includes:
when a first number corresponding to any IP address is smaller than a first preset threshold and larger than a second preset threshold, sending an access instruction to at least one detection device in a second area, so that each detection device in the second area receives the access instruction sent by the central control server and sends a network service query request to the DNS authoritative server, the DNS authoritative server receives the network service query request sent by each detection device in the second area and sends an IP address list of the first area to each detection device in the second area, each detection device in the second area receives the IP address list of the first area, and sends an access result of each IP address to the central control server after accessing each IP address in the IP address list; wherein the second preset threshold is smaller than the first preset threshold;
and receiving an access result of each IP address sent by each detection device in the second area, and determining whether each IP address is available according to the access result of each IP address and the access result of each IP address sent by each detection device in the second area.
Specifically, the determining whether each IP address is available according to the access result of each IP address sent by each detection device in the second area includes:
counting a second number of inaccessible results in the access results of the IP address sent by each detection device in the second area aiming at each IP address;
and when the second quantity corresponding to any IP address is larger than a third preset threshold value, determining that the IP address is unavailable.
In a fourth aspect, an embodiment of the present invention provides an IP address processing system, where the system includes: at least one detection device, a central control server and a Domain Name System (DNS) authoritative server in the first area,
at least one probe device in the first area, configured to send a network service query request to the DNS authoritative server;
the DNS authoritative server is used for receiving network service inquiry requests sent by all the detection devices and sending the IP address list of the first area to all the detection devices;
the at least one detection device in the first region is further configured to receive an IP address list of the first region sent by the DNS authoritative server, access each IP address in the IP address list, and send an access result of each IP address to the central control server;
the central control server is used for receiving the access result of each IP address sent by each detection device, determining whether each IP address is available according to the access result of each IP address, and sending the information whether each IP address is available to the DNS authoritative server;
the DNS authoritative server is also used for receiving the information whether each IP address sent by the central control server is available or not and downloading the unavailable IP address.
Specifically, at least one probe device in the first area is specifically configured to periodically send a network service query request to the DNS authoritative server.
Specifically, the at least one detection device in the first area is specifically configured to access each IP address through a preset service access format.
Specifically, the central control server is specifically configured to count, for each IP address, a first number of results that are not accessible in access results of the IP address sent by each detection device; and when the first number corresponding to any IP address is larger than a first preset threshold value, determining that the IP address is unavailable.
Specifically, the central control server is further configured to send an access instruction to at least one detection device in a second area when a first number corresponding to any IP address is smaller than the first preset threshold and larger than a second preset threshold; wherein the second preset threshold is smaller than the first preset threshold;
the DNS authoritative server is also used for receiving network service inquiry requests sent by all the detection devices and sending the IP address list of the first area to all the detection devices;
the at least one detection device in the second region is further configured to receive an IP address list of the first region sent by the DNS authoritative server, access each IP address in the IP address list, and send an access result of each IP address to the central control server;
the central control server is further configured to receive an access result of each IP address sent by each detection device, determine whether each IP address is available according to the access result of each IP address, and send information whether each IP address is available to the DNS authoritative server;
the DNS authoritative server is also used for receiving the information whether each IP address sent by the central control server is available or not and downloading the unavailable IP address.
Specifically, the central control server is specifically configured to count, for each IP address, a second number of inaccessible results in the access results of the IP address sent by each detection device in the second area; and when the second quantity corresponding to any IP address is larger than a third preset threshold value, determining that the IP address is unavailable.
In a fifth aspect, an embodiment of the present invention provides an IP address processing apparatus, which is applied to a probe device in a first area, where the apparatus includes:
the first sending module is used for sending a network service query request to a Domain Name System (DNS) authoritative server; the DNS authoritative server receives network service inquiry requests sent by all the detection devices and sends the IP address list of the first area to all the detection devices;
a receiving and accessing module, configured to receive the IP address list of the first area sent by the DNS authoritative server, and respectively access each IP address in the IP address list of the first area;
and the second sending module is used for sending the access result of each IP address to a central control server so that the central control server receives the access result of each IP address sent by each detection device, determines whether each IP address is available according to the access result of each IP address, sends information about whether each IP address is available to the DNS authoritative server, and downloads the unavailable IP address through the DNS authoritative server.
Specifically, the first sending module is specifically configured to periodically send a network service query request to the DNS authoritative server.
Specifically, the receiving and accessing module is specifically configured to access the IP addresses in the first area through a preset service access format.
In a sixth aspect, an embodiment of the present invention provides an IP address processing apparatus, which is applied to a central control server, and the apparatus includes:
the system comprises a receiving module, a judging module and a judging module, wherein the receiving module is used for receiving an access result of each IP address in a first area, which is sent by at least one detection device in the first area; the access result is obtained after each detection device in the first region sends a network service query request to a Domain Name System (DNS) authoritative server, the DNS authoritative server receives the network service query request sent by each detection device and sends an IP address list of the first region to each detection device, and each detection device receives the IP address list of the first region and accesses each IP address in the IP address list respectively;
and the sending module is used for determining whether each IP address is available according to the access result of each IP address and sending the information whether each IP address is available to the DNS authoritative server so that the DNS authoritative server receives the information whether each IP address is available and downloads the unavailable IP address.
Specifically, the sending module includes:
the statistic submodule is used for counting the first number of inaccessible results in the access results of the IP addresses sent by the detection equipment aiming at each IP address;
and the sub-module speed is determined and used for determining that the IP address is unavailable when the first quantity corresponding to any IP address counted by the counting sub-module is greater than a first preset threshold value.
Specifically, the sending module further includes:
a sending submodule, configured to send an access instruction to at least one detection device in a second region when a first number corresponding to any IP address counted by the counting submodule is smaller than the first preset threshold and larger than a second preset threshold, so that each detection device in the second area receives the access instruction sent by the central control server, and sending a network service query request to the DNS authoritative server, wherein the DNS authoritative server receives the network service query request sent by each probe device in the second area, and transmitting the IP address list of the first area to each probe device of the second area, each detection device in the second area receives the IP address list of the first area, and sends the access result of each IP address to the central control server after accessing each IP address in the IP address list; wherein the second preset threshold is smaller than the first preset threshold;
and the receiving submodule is used for receiving the access result of each IP address sent by each detection device in the second area, and determining whether each IP address is available according to the access result of each IP address and the access result of each IP address sent by each detection device in the second area.
Specifically, the receiving sub-module includes:
a counting unit, configured to count, for each IP address, a second number of inaccessible results in the access results of the IP address sent by each probe device in the second area;
and the determining unit is used for determining that the IP address is unavailable when the second quantity corresponding to any IP address counted by the counting unit is greater than a third preset threshold value.
In a seventh aspect, an embodiment of the present invention provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete mutual communication through the communication bus;
the memory is used for storing a computer program;
the processor is configured to implement the steps of the IP address processing method according to the second aspect when executing the program stored in the memory.
In an eighth aspect, an embodiment of the present invention provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete mutual communication through the communication bus;
the memory is used for storing a computer program;
the processor is configured to implement the method steps of the IP address processing according to the third aspect when executing the program stored in the memory.
In a ninth aspect, an embodiment of the present invention provides a computer-readable storage medium, which stores instructions that, when executed on a computer, cause the computer to execute the IP address processing method according to the second aspect.
In a tenth aspect, an embodiment of the present invention provides a computer program product containing instructions, which when run on a computer, causes the computer to execute the IP address processing method according to the second aspect.
In an eleventh aspect, an embodiment of the present invention provides a computer-readable storage medium, where instructions are stored, and when the instructions are executed on a computer, the computer is caused to execute the IP address processing method according to the third aspect.
In a twelfth aspect, an embodiment of the present invention provides a computer program product containing instructions, which when run on a computer, causes the computer to execute the IP address processing method according to the third aspect.
The IP address processing method, the system, the device and the electronic equipment provided by the embodiment of the invention can realize that the user can sense the unavailable IP address in time, and can take the unavailable IP address off line in time, thereby ensuring the availability of network service. According to the invention, the detection equipment is introduced into the DNS system to access each IP address in the first area, the access result is sent to the central control server, the central control server judges whether each IP address in the network service is available or not, and sends the information whether each IP address is available or not to the DNS authoritative server, and the DNS authoritative server timely takes off the unavailable IP address, so that the availability of the network service is ensured. Of course, it is not necessary for any product or method of practicing the invention to achieve all of the above-described advantages at the same time.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
FIG. 1 is a diagram illustrating IP addresses configured for domain name www.iqiyi.com by Beijing gateway in the prior art;
fig. 2 is a flowchart of an IP address processing method according to an embodiment of the present invention;
fig. 3 is another flowchart of an IP address processing method according to an embodiment of the present invention;
fig. 4 is another flowchart of an IP address processing method according to an embodiment of the present invention;
fig. 5 is another flowchart of an IP address processing method according to an embodiment of the present invention;
fig. 6 is a schematic diagram of an IP address processing system according to an embodiment of the present invention;
fig. 7 is a schematic system architecture diagram of an IP address processing system in practical application according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an IP address processing apparatus according to an embodiment of the present invention;
fig. 9 is another schematic structural diagram of an IP address processing apparatus according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a sending module 902 according to an embodiment of the present invention;
fig. 11 is another schematic structural diagram of the sending module 902 according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of a receiving submodule 1102 according to an embodiment of the present invention;
fig. 13 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 14 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to enable a user to timely sense an unavailable IP address and timely take the unavailable IP address off line to ensure the availability of network service, the embodiment of the invention provides an IP address processing method, a system, a device and electronic equipment, wherein a network service in a first area comprises a plurality of IP addresses, in order to detect whether each IP address in the network service in the first area is available, at least one detection device in the first area sends a network service query request to a DNS authority server, the DNS authority server sends an IP address list of the first area to each detection device after receiving the network service query request sent by each detection device, each detection device respectively accesses each IP address in the IP address list according to the received IP address list of the first area, and sends an access result of each IP address to a central control server; the central control server receives the access result of each IP address sent by each detection device, determines whether each IP address is available according to the access result of each IP address, and sends the information whether each IP address is available to the DNS authoritative server; and the DNS authoritative server offline unavailable IP addresses in the received information whether the IP addresses are available. According to the invention, the detection equipment is introduced into the DNS system to access each IP address in the first area, the access result is sent to the central control server, the central control server judges whether each IP address in the network service is available or not, and sends the information whether each IP address is available or not to the DNS authoritative server, and the DNS authoritative server timely takes off the unavailable IP address, so that the availability of the network service is ensured.
The technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.
An embodiment of the present invention provides an IP address processing method, and fig. 2 is a flowchart of the IP address processing method provided in the embodiment of the present invention, including the following steps:
step 201, at least one probe device in a first area sends a network service query request to a DNS authoritative server.
The method provided by the embodiment of the invention can be applied to a Domain Name System (DNS). The DNS system typically configures users in different areas with a different series of IP addresses, where each IP address corresponds to a network server.
In order to enable a user to timely sense unavailable IP addresses, at least one detection device is preset in the first area and used for accessing all IP addresses in network services in the first area. The preset detection equipment needs to meet the following conditions respectively: when the system works in a networking state for a long time, each detection device can send a network service query request to a DNS authoritative server and access each IP address in the network service in the first area, but the time for a user to use the detection device for detection is short; the resource consumption is low, and all the detection equipment can work for a long time at the same time when a large number of detection equipment exist at the same time; the efficiency of sending messages and accessing IP addresses is high, the running speed is high, the information processing capacity is strong, and the normal use of hardware where equipment is located cannot be influenced when detection activities are carried out; the edge network environment where the detection equipment is located is stable; the user population using the detection device has wider geographical distribution; the detection device meeting the above conditions can be usually installed in electronic devices such as a home router, an internet set-top box, an intelligent home, a television set, and the like.
Before the detection device works, a business agreement can be achieved with a user in a network area where the detection device can access through a business means, and when whether each IP address is available or not is determined, enough detection devices are arranged in the first area according to the content in the business agreement so as to ensure the accuracy of the access result of the detection device.
At least one probe device in the first area sends a network service query request to a DNS authoritative server so as to query the DNS authoritative server for the IP address list in the first area. The network service inquiry request comprises request information of an IP address list in a first area which the detection device wants to inquire.
Step 202, the DNS authoritative server receives the network service query request sent by each probe device, and sends the IP address list of the first area to each probe device.
After receiving the network service query request sent by each probe device, the DNS authoritative server may send an IP address list in the first area to which the probe device requests access, which is included in the network service query request, to each probe device, so that each probe device in the first area may access each IP address in the IP address list. The IP address list in the first area may include a plurality of IP addresses, as shown in fig. 1, wherein 111.206.13.62, 111.206.13.63, 111.206.13.64, 111.206.13.65, 111.206.13.66, 111.206.13.61 are IP address lists in one area.
Step 203, each detection device receives the IP address list of the first area, accesses each IP address in the IP address list, and sends the access result of each IP address to the central control server.
Each detection device in the first area receives an IP address list of the first area sent by the DNS authoritative server, and accesses each IP address in the IP address list to obtain a corresponding access result, wherein the access result comprises two types: access success and access failure. When the detection device detects the network service corresponding to the IP address, the success of the access is displayed, and when the detection device cannot detect the network service corresponding to the IP address, the failure of the access is displayed. Each detection device can access each IP address in the IP address list respectively and send the access result of each IP address to the central control server.
And step 204, the central control server receives the access result of each IP address sent by each detection device, determines whether each IP address is available according to the access result of each IP address, and sends the information whether each IP address is available to the DNS authoritative server.
After receiving the access result of successful access or failed access of each IP address sent by each detection device, the central control server may determine whether each IP address is available according to the access result of each IP address. For example, for each IP address, the ratio of access success to access failure in the access results sent by all the probe devices is calculated, and if the ratio of access success is greater than the ratio of access failure, it may be determined that the IP address is available.
After the central control server determines whether each IP address is available, the central control server can send the information whether each IP address is available to the DNS authoritative server, and aiming at each IP address, the information whether each IP address is available is sent to the DNS authoritative server. The central control server may also send information on whether each IP address is available to the DNS configuration management server, and the DNS configuration management server may feed back information on whether each IP address is available to the DNS authority server.
In step 205, the DNS authoritative server receives information whether each IP address is available, and drops the unavailable IP address.
And the DNS authoritative server receives the information whether each IP address sent by the central control server is available, controls the unavailable IP address to be offline according to the information whether each IP address is available, and does not perform any processing on the available IP address.
The IP address processing method provided by the embodiment of the invention is applied to a DNS system, and the DNS system is introduced with at least one detection device to respectively access each IP address in the network service in the first area and send the access result to a central control server, the central control server judges whether each IP address in the network service is available or not and sends the information whether each IP address is available or not to a DNS authoritative server, and the DNS authoritative server takes the unavailable IP address off the line, thereby ensuring the availability of the network service.
With reference to the foregoing embodiment, in another embodiment provided by the present invention, step S201 may specifically include: at least one probe device in the first area periodically sends a network service inquiry request to a DNS authoritative server.
In order to detect and feed back the availability of the IP address in real time, at least one detecting device in the first area may send a network service query request to the DNS authority server at intervals of time, requesting to query the IP address list of the network service in the first area. The method for periodically sending the network service query request to the DNS authoritative server so as to continuously detect whether the IP address is available can feed back the availability of the IP address in the current network service in time and timely take off the unavailable IP address, thereby being beneficial to ensuring the availability of the network service.
With reference to the foregoing embodiment, in another embodiment provided by the present invention, the method for at least one probe device in the first area in step S203 to access each IP address in the IP address list respectively may specifically be: and respectively accessing each IP address in the IP address list through a preset service access format. Each detection device in the first area respectively accesses each IP address in the IP address list according to a preset service access format, where the preset service access format may be determined according to an accessed network service, for example, when accessing an FTP (File Transfer Protocol) server, the address format of the FTP is ftp.bbc.com; when accessing an HTTP (HyperText Transfer Protocol) server, the address format of HTTP is www.cnblogs.com/sublian/p/5460378. html, so the preset service access format is determined according to the web server being accessed. The access speed can be improved by accessing each IP address in the IP address list by adopting the preset access format, so that the detection equipment can effectively access each IP address.
With reference to the foregoing embodiment, in another embodiment provided by the present invention, in step S204, as a specific embodiment of the present invention, the method for determining whether each IP address is available according to the access result of each IP address may specifically include: the central control server counts a first number of inaccessible results in the access results of the IP addresses sent by each detection device aiming at each IP address; and when the first number corresponding to any IP address is larger than a first preset threshold value, determining that the IP address is unavailable.
When each detection device accesses each IP address in the IP address list, the access result includes two types: and when the detection device cannot detect the network service corresponding to the IP address, the access failure is displayed. Counting the number of results which are inaccessible when the IP address fails to be accessed in the access results of the IP address sent by each detection device as a first number for each IP address; when the first number is greater than a first preset threshold, then the IP address is determined to be unavailable.
The first preset threshold value may be arbitrarily set according to the total number of the detection devices and actual needs. For example, when there are 100 detecting devices, the first preset threshold is set to 80, that is, when there are 100 detecting devices, if there are more than 80 detecting devices feeding back that the IP address is not available, it is determined that the IP address is not available. The method provided by the embodiment of the invention determines that the IP address is unavailable simply and effectively by setting the first preset threshold when the number of results that the IP address is inaccessible is greater than the first preset threshold, and can determine whether each IP address is available through simple number statistics.
As another specific embodiment of the present invention, in combination with the above embodiments, fig. 3 provides a flowchart of a method after counting, for each IP address, a first number of inaccessible results in the access results of the IP address sent by each probe device in the above steps, and includes the following steps:
step 301, when the first number corresponding to any IP address is smaller than a first preset threshold and larger than a second preset threshold, the central control server sends an access instruction to at least one detection device in the second area.
Counting the number of results which are inaccessible when the IP address fails to be accessed in the access results of the IP address sent by each detection device as a first number for each IP address; when the first number corresponding to any IP address is smaller than a first preset threshold and larger than a second preset threshold, where both the first preset threshold and the second preset threshold are arbitrarily set according to the total number of the detection devices and actual needs, for example, when there are 100 detection devices, the first preset threshold is set to be 80, and the second preset threshold is set to be 50, that is, when there are 100 detection devices, if there are more than 50 detection devices and less than 80 detection devices that feed back that the IP address is unavailable, then, in order to determine the availability of the IP address, the IP address may be accessed again. Specifically, the central control server may issue an access instruction to the at least one probe device in the second area, so that the at least one probe device in the second area accesses the IP address, and does not continue to use the IP address in the first area, which may make the access result more accurate.
Step 302, at least one probe device in the second area receives an access instruction sent by the central control server, and sends a network service query request to the DNS authoritative server.
After receiving the access instruction sent by the central control server, at least one detection device in the second area requests to access the IP address list of the network service in the first area, and sends a network service query request to the DNS authoritative server.
Step 303, the DNS authoritative server receives the network service query request sent by each probe in the second area, and sends the IP address list of the first area to each probe in the second area.
After receiving the network service query request sent by each detection device, the DNS authoritative server sends an IP address list in a first region, which is included in the network service query request and is requested to be accessed by the detection device, to each detection device, so that each detection device in a second region can access each IP address in the IP address list.
And step 304, each detection device in the second area receives the IP address list of the first area, accesses each IP address in the IP address list, and sends the access result of each IP address to the central control server.
After each detection device in the second area receives the IP address list of the first area sent by the DNS authoritative server, each detection device accesses each IP address in the IP address list respectively, and the access result comprises two types: the method comprises the following steps that access success and access failure are displayed, when the detection equipment detects the network service corresponding to the IP address, the access success is displayed, and when the detection equipment cannot detect the network service corresponding to the IP address, the access failure is displayed; each detection device can access each IP address in the IP address list respectively and send the access result of each IP address to the central control server.
Step 305, the central control server receives the access result of each IP address sent by each probe device in the second area, and determines whether each IP address is available according to the access result of each IP address sent by each probe device in the second area.
After receiving the access result of successful access or failed access of each IP address sent by each detection device, the central control server may determine whether each IP address is available according to the access result of each IP address. For example, for each IP address, calculating the ratio of access success to access failure in the access results sent by all the detection devices, and if the ratio of access success is greater than the ratio of access failure, then the IP address is indeed available; or counting the number of successful access of the detection devices for each detection device, and determining that the IP address is available when more than half of the detection devices display successful access.
After the central control server determines whether each IP address is available, the information about whether each IP address is available is sent to the DNS authoritative server, and the information about whether each IP address is available is sent to the DNS authoritative server aiming at each IP address.
In the embodiment of the present invention, when the first number corresponding to any IP address is smaller than the first preset threshold and larger than the second preset threshold, in order to obtain accurate information on whether the IP address is available, each detection device in the second area may continue to access each IP address in the IP address list in the first area, so as to improve accuracy of an access result.
A specific method for determining whether each IP address is available according to an access result of each IP address sent by each probe device in the second area includes: counting a second number of inaccessible results in the access results of the IP addresses sent by the detection devices in the second area aiming at each IP address; and when the second quantity corresponding to any IP address is larger than a third preset threshold value, determining that the IP address is unavailable.
Counting a second number of inaccessible results in the access results of the IP addresses sent by the detection devices in the second area aiming at each IP address; and when the second number is larger than a third preset threshold value, determining that the IP address is unavailable. The third preset threshold may be arbitrarily set according to the total number of the detection devices and actual needs, for example, when there are 100 detection devices, the third preset threshold is set to 70, that is, when there are 100 detection devices, if there are more than 70 detection devices that feed back the IP address, it is determined that the IP address is unavailable. The method provided by the embodiment of the invention determines that the IP address is unavailable simply and effectively by setting the third preset threshold when the number of results that the IP address is inaccessible is greater than the third preset threshold, and can determine whether each IP address is available through simple number statistics.
An embodiment of the present invention provides an IP address processing method, which is applied to a detection device in a first area, and fig. 4 is a flowchart of the IP address processing method provided in the embodiment of the present invention, and includes the following steps:
step 401, sending a network service query request to a Domain Name System (DNS) authoritative server; and the DNS authoritative server receives the network service inquiry request sent by each detection device and sends the IP address list of the first area to each detection device.
At least one detection device in a first area sends a network service query request to a DNS authoritative server, and then queries an IP address list in the first area from the DNS authoritative server, and the DNS authoritative server receives the network service query request sent by each detection device and sends the IP address list of the first area to each detection device.
Step 402, receiving an IP address list of the first area sent by the DNS authoritative server, and accessing each IP address in the IP address list of the first area respectively.
After receiving a network service query request sent by each detection device, the DNS authoritative server sends an IP address list in a first area which is requested to be accessed by the detection device and is included in the network service query request to each detection device, and each detection device in the first area receives the IP address list of the first area.
Each detection device respectively accesses each IP address in the IP address list, and the access result comprises two types: the method comprises the following steps that access success and access failure are displayed, when the detection equipment detects the network service corresponding to the IP address, the access success is displayed, and when the detection equipment cannot detect the network service corresponding to the IP address, the access failure is displayed; each probing device will access each IP address in the list of IP addresses separately.
Step 403, sending the access result of each IP address to the central control server, so that the central control server receives the access result of each IP address sent by each detection device, determines whether each IP address is available according to the access result of each IP address, sends information whether each IP address is available to the DNS authoritative server, and takes the unavailable IP address off line through the DNS authoritative server.
Each detection device can access each IP address in the IP address list respectively and send the access result of each IP address to the central control server. And the central control server receives the access result of successful access or failed access of each IP address sent by each detection device and determines whether each IP address is available according to the access result of each IP address. For example, for each IP address, each probe device sends all the access results of each IP address to the central control server, and when there are 10 probe devices and 6 IP addresses, then 10 probe devices send the access results of 6 IP addresses to the central control server, and a total of 60 access results are generated. And the central control server calculates the ratio of successful access to failed access in the access results sent by all the detection devices, and if the ratio of successful access is greater than the ratio of failed access, the IP address is available. After the central control server determines whether each IP address is available, the information about whether each IP address is available is sent to the DNS authoritative server, and the information about whether each IP address is available is sent to the DNS authoritative server aiming at each IP address.
The IP address processing method provided by the embodiment of the invention is applied to the detection equipment in the first area, and the at least one detection equipment is introduced into the DNS system to respectively access each IP address in the network service in the first area and send the access result to the central control server, the central control server judges whether each IP address in the network service is available or not and sends the information whether each IP address is available or not to the DNS authority server, and the DNS authority server takes the unavailable IP address off the line, thereby ensuring the availability of the network service.
A specific probe device in a first area sends a network service query request to a DNS authoritative server, and the method comprises the following steps: and periodically sending a network service inquiry request to the DNS authoritative server. At least one probe device in the first area periodically sends a network service inquiry request to a DNS authoritative server. In order to detect and feed back the availability of the IP address in real time, at least one detection device in a first area sends a network service query request to a DNS authoritative server at intervals of time to request to query an IP address list of the network service in the first area, and the method periodically sends the network service query request to the DNS authoritative server so as to continuously detect whether the IP address is available, can feed back the availability of the IP address in the current network service in time, and timely takes the unavailable IP address off line, thereby being beneficial to ensuring the availability of the network service.
A specific method for a probe device in a first area to access an IP address in the first area included in network service information includes: and respectively accessing the IP addresses in the first area through a preset service access format. And each detection device in the first area respectively accesses each IP address in the IP address list according to a preset service access format, wherein the preset service access format can be determined according to the accessed network service.
An embodiment of the present invention further provides an IP address processing method, which is applied to a central control server, and fig. 5 is a flowchart of the IP address processing method provided in the embodiment of the present invention, and the method includes the following steps:
step 501, receiving an access result of each IP address in the first area, which is sent by at least one probe device in the first area.
The central control server receives an access result of each IP address in the first area, which is sent by at least one detection device in the first area, wherein the access result is obtained by the steps that the at least one detection device in the first area requests the central control server to inquire network services in the first area, the DNS authoritative server receives the network service inquiry request sent by each detection device after sending the network service inquiry request to the DNS authoritative server, and after sending the IP address list of the first area to each detection device, each detection device receives the IP address list of the first area and respectively accesses each IP address in the IP address list; the access result comprises successful access and failed access, when the detection equipment detects the network service corresponding to the IP address, the successful access is displayed, and when the detection equipment cannot detect the network service corresponding to the IP address, the failed access is displayed; each probing device will access each IP address in the list of IP addresses separately.
Step 502, according to the access result of each IP address, determining whether each IP address is available, and sending the information whether each IP address is available to the DNS authoritative server, so that the DNS authoritative server receives the information whether each IP address is available, and downloads the unavailable IP address.
And after receiving the access result of successful access or failed access of each IP address sent by each detection device, the central control server determines whether each IP address is available according to the access result of each IP address. For example, for each IP address, the ratio of access success to access failure in the access results sent by all the probe devices is calculated, and if the ratio of access success is greater than the ratio of access failure, the IP address is indeed available.
The IP address processing method provided by the embodiment of the invention is applied to the central control server, and can realize that the user can sense the unavailable IP address in time, and the unavailable IP address is downloaded, thereby ensuring the availability of network service. By introducing at least one detection device into the DNS system to respectively access each IP address in the network service in the first area and sending the access result to the central control server, the central control server judges whether each IP address in the network service is available and sends the information whether each IP address is available to the DNS authoritative server, and the DNS authoritative server takes the unavailable IP address off the line, the availability of the network service is guaranteed.
A specific method for determining whether each IP address is available according to an access result of each IP address includes: counting a first number of inaccessible results in the access results of the IP addresses sent by each detection device aiming at each IP address; and when the first number corresponding to any IP address is larger than a first preset threshold value, determining that the IP address is unavailable. When each detection device accesses each IP address in the IP address list, the access result includes two types: and when the detection device cannot detect the network service corresponding to the IP address, the access failure is displayed. Counting the number of results which are inaccessible when the IP address fails to be accessed in the access results of the IP address sent by each detection device as a first number for each IP address; when the first number is greater than a first preset threshold, then the IP address is determined to be unavailable. The first preset threshold is arbitrarily set according to the total number of the detecting devices and actual needs, for example, when there are 100 detecting devices, the first preset threshold is set to 80.
Specifically, for each IP address, the method after counting the first number of inaccessible results in the access results of the IP address sent by each probe device further includes: when the first quantity corresponding to any IP address is smaller than a first preset threshold and larger than a second preset threshold, an access instruction is sent to at least one detection device in the second area, so that each detection device in the second area receives the access instruction sent by the central control server and sends a network service query request to the DNS authoritative server, the DNS authoritative server receives the network service query request sent by each detection device in the second area and sends an IP address list of the first area to each detection device in the second area, each detection device in the second area receives the IP address list of the first area, and after accessing each IP address in the IP address list respectively, the access result of each IP address is sent to the central control server.
Wherein the second preset threshold is smaller than the first preset threshold; and receiving the access result of each IP address sent by each detection device in the second area, and determining whether each IP address is available according to the access result of each IP address and the access result of each IP address sent by each detection device in the second area. After counting the first number of inaccessible results in the access results of the IP addresses sent by each detection device by the central control server, if the first number corresponding to any IP address is smaller than a first preset threshold and larger than a second preset threshold, wherein the second preset threshold is smaller than the first preset threshold, and the first preset threshold and the second preset threshold are arbitrarily set according to the total number of the detection devices and actual needs; and the central control server sends an access instruction to at least one detection device in the second area, so that the at least one detection device in the second area accesses each IP address in the network service in the first area, and sends an access result to the central control server.
And after receiving the access result of each IP address sent by each detection device in the second area, the central control server determines whether each IP address is available according to the access result of each IP address and the access result of each IP address sent by each detection device in the second area. For example, for each IP address, calculating the ratio of access success to access failure in the access results sent by all the detection devices, and if the ratio of access success is greater than the ratio of access failure, then the IP address is indeed available; or counting the number of successful access of the detection devices for each detection device, and determining that the IP address is available when more than half of the detection devices display successful access.
Specifically, determining whether each IP address is available according to the access result of each IP address sent by each probe device in the second area includes: counting a second number of inaccessible results in the access results of the IP addresses sent by the detection devices in the second area aiming at each IP address; and when the second quantity corresponding to any IP address is larger than a third preset threshold value, determining that the IP address is unavailable. When each detection device in the second area respectively accesses each IP address in the IP address list of the first area, the access result includes two types: and when the detection device cannot detect the network service corresponding to the IP address, the access failure is displayed. For each IP address, the central control server counts a second number of inaccessible results in the access results of the IP address sent by each detection device in the second area; and when the second number is larger than a third preset threshold value, determining that the IP address is unavailable.
An embodiment of the present invention further provides an IP address processing system, as shown in fig. 6, where the system includes: each probe 601, the central control server 602 and the domain name system DNS authority server 603 in the first area,
each probe 601 in the first area is configured to send a network service query request to the DNS authoritative server 603;
the DNS authoritative server 603 is configured to receive a network service query request sent by each probe 601, and send an IP address list of the first area to each probe 601;
each detection device 601 in the first area is further configured to receive an IP address list of the first area sent by the DNS authoritative server 603, access each IP address in the IP address list, and send an access result of each IP address to the central control server 602;
the central control server 602 is configured to receive an access result of each IP address sent by each detection device 601, determine whether each IP address is available according to the access result of each IP address, and send information about whether each IP address is available to the DNS authority server 603; the DNS authoritative server 603 receives the network service query request sent by each probe 601, and sends the IP address list of the first area to each probe 601;
the DNS authoritative server 603 is further configured to receive information about whether each IP address sent by the central control server 602 is available, and take the unavailable IP address off line.
In the IP address processing system provided in the embodiment of the present invention, at least one probe device is introduced into the DNS system to access each IP address in the network service in the first area, and the access result is sent to the central control server, the central control server determines whether each IP address in the network service is available, and sends information about whether each IP address is available to the DNS authoritative server, and the DNS authoritative server drops an unavailable IP address, thereby ensuring the availability of the network service.
Fig. 7 shows a system architecture of an IP address processing system provided in an embodiment of the present invention in practical application, where the system architecture includes:
a network server 701 in the first area, including each IP address in the network service in the first area;
the probe device 703 in the first area is configured to send a network service query request to the DNS authority server 707;
a DNS authoritative server 707, configured to receive a network service query request sent by the probe device 703 in the first area, and send an IP address list of the first area to each probe device 703 in the first area;
the detection device 703 in the first area is further configured to receive an IP address list of the first area sent by the DNS authoritative server 707, access each IP address in the IP address list, and send an access result of each IP address to the central control server 702;
the central control server 702 is configured to receive an access result of each IP address sent by each detection device 703 in the first area, determine whether each IP address is available according to the access result of each IP address, and send information about whether each IP address is available to the DNS configuration management server 706;
a DNS configuration management server 706, configured to receive information about whether each IP address sent by the central control server 702 is available, and control the DNS authoritative server 707 to offline the unavailable IP address;
a DNS authority server 707 for also taking off the unavailable IP address;
a network server 704 in the second area, which includes each IP address in the network service in the second area;
the detection device 705 in the second area is configured to receive an IP address list of the first area sent by the DNS authoritative server 707, access each IP address in the IP address list, and send an access result of each IP address to the central control server 702;
the central control server 702 is further configured to receive an access result of each IP address sent by each detection device 705 in the second area, determine whether each IP address is available according to the access result of each IP address, and send information whether each IP address is available to the DNS configuration management server 706;
the DNS configuration management server 706 is further configured to receive information about whether each IP address sent by the central control server 702 is available, and control the DNS authority server 707 to offline the unavailable IP address;
DNS authority server 707, also for taking an unavailable IP address offline.
As an implementation manner of the embodiment of the present invention, at least one probe device in the first area is specifically configured to periodically send a network service query request to the DNS authoritative server.
As an implementation manner of the embodiment of the present invention, at least one detection device in the first area is specifically configured to access each IP address in the IP address list through a preset service access format.
As an implementation manner of the embodiment of the present invention, the central control server is specifically configured to count, for each IP address, a first number of inaccessible results in access results of the IP address sent by each detection device; and when the first number corresponding to any IP address is larger than a first preset threshold value, determining that the IP address is unavailable.
As an implementation manner of the embodiment of the present invention, the central control server is further configured to send an access instruction to at least one detection device in the second area when the first number corresponding to any IP address is smaller than a first preset threshold and larger than a second preset threshold; wherein the second preset threshold is smaller than the first preset threshold;
as an implementation manner of the embodiment of the present invention, the DNS authoritative server is further configured to receive a network service query request sent by each probe device, and send an IP address list of the first area to each probe device; the detection equipment in the second area is also used for receiving an IP address list of the first area sent by the DNS authoritative server, respectively accessing all IP addresses in the IP address list and sending the access result of all the IP addresses to the central control server;
as an implementation manner of the embodiment of the present invention, the central control server is further configured to receive an access result of each IP address sent by each detection device, determine whether each IP address is available according to the access result of each IP address, and send information whether each IP address is available to the DNS authoritative server;
as an implementation manner of the embodiment of the present invention, the DNS authoritative server is further configured to receive information about whether each IP address sent by the central control server is available, and drop an unavailable IP address.
As an implementation manner of the embodiment of the present invention, the central control server is specifically configured to count, for each IP address, a second number of inaccessible results in access results of the IP address sent by each probe device in the second area; and when the second quantity corresponding to any IP address is larger than a third preset threshold value, determining that the IP address is unavailable.
An embodiment of the present invention provides an IP address processing apparatus, which is applied to a detection device in a first area, and a schematic structural diagram of the apparatus is shown in fig. 8, where the apparatus includes:
a first sending module 801, configured to send a network service query request to a domain name system DNS authoritative server; the DNS authoritative server receives the network service inquiry requests sent by the detection devices and sends the IP address list of the first area to the detection devices;
a receiving and accessing module 802, configured to receive an IP address list of a first area sent by a DNS authoritative server, and respectively access each IP address in the IP address list of the first area;
the second sending module 803 is configured to send the access result of each IP address to the central control server, so that the central control server receives the access result of each IP address sent by each detection device, determines whether each IP address is available according to the access result of each IP address, sends information about whether each IP address is available to the DNS authority server, and offline the unavailable IP address through the DNS authority server.
According to the IP address processing device provided by the embodiment of the invention, at least one detection device is introduced into a DNS system to respectively access each IP address in the network service in the first area, and the access result is sent to the central control server, the central control server judges whether each IP address in the network service is available, and sends the information whether each IP address is available to the DNS authoritative server, and the DNS authoritative server downloads the unavailable IP address, so that the availability of the network service is ensured.
Specifically, the first sending module 801 is specifically configured to periodically send a network service query request to the DNS authoritative server.
Specifically, the receiving and accessing module 802 is specifically configured to access the IP addresses in the first area respectively through a preset service access format.
An embodiment of the present invention provides an IP address processing apparatus, which is applied to a central control server, and a schematic structural diagram of the apparatus is shown in fig. 9, where the apparatus includes:
a receiving module 901, configured to receive an access result sent by at least one probe device in a first area to each IP address in the first area; the access result is obtained after each detection device in the first area sends a network service query request to a Domain Name System (DNS) authoritative server, the DNS authoritative server receives the network service query request sent by each detection device and sends an IP address list of the first area to each detection device, and each detection device receives the IP address list of the first area and respectively accesses each IP address in the IP address list;
a sending module 902, configured to determine whether each IP address is available according to an access result of each IP address, and send information about whether each IP address is available to the DNS authoritative server, so that the DNS authoritative server receives the information about whether each IP address is available, and rolls off the line of the unavailable IP address.
According to the IP address processing device provided by the embodiment of the invention, at least one detection device is introduced into a DNS system to respectively access each IP address in the network service in the first area, and the access result is sent to the central control server, the central control server judges whether each IP address in the network service is available, and sends the information whether each IP address is available to the DNS authoritative server, and the DNS authoritative server downloads the unavailable IP address, so that the availability of the network service is ensured.
Specifically, the schematic structural diagram of the sending module 902 is shown in fig. 10, and includes:
a statistics submodule 1001, configured to, for each IP address, count a first number of inaccessible results in access results of the IP address sent by each detection device;
the determining submodule module 1002 is configured to determine that any IP address counted by the counting submodule 1001 is unavailable when the first number corresponding to the IP address is greater than a first preset threshold.
Specifically, as shown in fig. 11, the structural diagram of the sending module 902 further includes:
a sending submodule 1101, configured to send an access instruction to at least one probe device in the second region when a first number corresponding to any IP address counted by the counting submodule 1001 is smaller than a first preset threshold and larger than a second preset threshold, so that each probe device in the second region receives the access instruction sent by the central control server and sends a network service query request to the DNS authoritative server, the DNS authoritative server receives the network service query request sent by each probe device in the second region and sends an IP address list of the first region to each probe device in the second region, each probe device in the second region receives an IP address list in the first region, and sends an access result of each IP address to the central control server after accessing each IP address in the IP address list respectively; wherein the second preset threshold is smaller than the first preset threshold;
the receiving submodule 1102 is configured to receive an access result of each IP address sent by each probe device in the second area, and determine whether each IP address is available according to the access result of each IP address and the access result of each IP address sent by each probe device in the second area.
Specifically, the schematic structural diagram of the receiving sub-module 1102, as shown in fig. 12, includes:
a counting unit 1201, configured to count, for each IP address, a second number of inaccessible results in the access results of the IP address sent by each probe device in the second area;
a determining unit 1202, configured to determine that an IP address is unavailable when a second number corresponding to any IP address counted by the counting unit 1201 is greater than a third preset threshold.
An embodiment of the present invention provides an electronic device, as shown in fig. 13, including a processor 1301, a communication interface 1302, a memory 1303, and a communication bus 1304, where the processor 1301, the communication interface 1302, and the memory 1203 complete communication therebetween through the communication bus;
a memory 1303 for storing a computer program;
the processor 1301 is configured to, when executing the program stored in the memory 1303, implement the following steps of the IP address processing method:
sending a network service query request to a Domain Name System (DNS) authoritative server; the DNS authoritative server receives the network service inquiry requests sent by the detection devices and sends the IP address list of the first area to the detection devices;
receiving an IP address list of a first region sent by a DNS authoritative server, and respectively accessing each IP address in the IP address list of the first region;
and sending the access result of each IP address to a central control server so that the central control server receives the access result of each IP address sent by each detection device, determining whether each IP address is available according to the access result of each IP address, sending information about whether each IP address is available to a DNS authoritative server, and offline the unavailable IP address through the DNS authoritative server.
According to the electronic device provided by the embodiment of the invention, at least one detection device is introduced into a DNS system to respectively access each IP address in the network service in the first area, and the access result is sent to the central control server, the central control server judges whether each IP address in the network service is available, and sends the information whether each IP address is available to the DNS authority server, and the DNS authority server downloads the unavailable IP address, so that the availability of the network service is ensured.
The embodiment of the present invention provides an electronic device, as shown in fig. 14, including a processor 1401, a communication interface 1402, a memory 1403, and a communication bus 1404, where the processor 1401, the communication interface 1402, and the memory 1403 complete communication with each other through the communication bus 1404;
a memory 1403 for storing a computer program;
the processor 1401 is configured to implement the following method steps of processing an IP address when executing a program stored in the memory 1403:
receiving an access result of each IP address in the first area, which is sent by at least one detection device in the first area; the access result is obtained after each detection device in the first area sends a network service query request to a Domain Name System (DNS) authoritative server, the DNS authoritative server receives the network service query request sent by each detection device and sends an IP address list of the first area to each detection device, and each detection device receives the IP address list of the first area and respectively accesses each IP address in the IP address list;
and determining whether each IP address is available according to the access result of each IP address, and sending the information whether each IP address is available to the DNS authoritative server, so that the DNS authoritative server receives the information whether each IP address is available, and downloads the unavailable IP address.
The electronic equipment provided by the embodiment of the invention can realize that the user can sense the unavailable IP address in time and take the unavailable IP address off line in time, thereby ensuring the availability of network service. By introducing at least one detection device into the DNS system to respectively access each IP address in the network service in the first area and sending the access result to the central control server, the central control server judges whether each IP address in the network service is available and sends the information whether each IP address is available to the DNS authoritative server, and the DNS authoritative server takes the unavailable IP address off the line, the availability of the network service is guaranteed.
The embodiment of the invention provides a computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium runs on a computer, the computer is enabled to execute the following steps of an IP address processing method:
sending a network service query request to a Domain Name System (DNS) authoritative server; the DNS authoritative server receives the network service inquiry requests sent by the detection devices and sends the IP address list of the first area to the detection devices;
receiving an IP address list of a first region sent by a DNS authoritative server, and respectively accessing each IP address in the IP address list of the first region;
and sending the access result of each IP address to a central control server so that the central control server receives the access result of each IP address sent by each detection device, determining whether each IP address is available according to the access result of each IP address, sending information about whether each IP address is available to a DNS authoritative server, and offline the unavailable IP address through the DNS authoritative server.
The computer-readable storage medium provided by the embodiment of the invention can realize that the user can sense the unavailable IP address in time and take the unavailable IP address off line in time, thereby ensuring the availability of network service. By introducing at least one detection device into the DNS system to respectively access each IP address in the network service in the first area and sending the access result to the central control server, the central control server judges whether each IP address in the network service is available and sends the information whether each IP address is available to the DNS authoritative server, and the DNS authoritative server takes the unavailable IP address off the line, the availability of the network service is guaranteed.
An embodiment of the present invention provides a computer program product containing instructions, which when run on a computer, causes the computer to execute the following steps of an IP address processing method:
sending a network service query request to a Domain Name System (DNS) authoritative server; the DNS authoritative server receives the network service inquiry requests sent by the detection devices and sends the IP address list of the first area to the detection devices;
receiving an IP address list of a first region sent by a DNS authoritative server, and respectively accessing each IP address in the IP address list of the first region;
and sending the access result of each IP address to a central control server so that the central control server receives the access result of each IP address sent by each detection device, determining whether each IP address is available according to the access result of each IP address, sending information about whether each IP address is available to a DNS authoritative server, and offline the unavailable IP address through the DNS authoritative server.
The computer program product containing the instructions provided by the embodiment of the invention can realize that the user can sense the unavailable IP address in time and take the unavailable IP address off line in time, thereby ensuring the availability of network service. By introducing at least one detection device into the DNS system to respectively access each IP address in the network service in the first area and sending the access result to the central control server, the central control server judges whether each IP address in the network service is available and sends the information whether each IP address is available to the DNS authoritative server, and the DNS authoritative server takes the unavailable IP address off the line, the availability of the network service is guaranteed.
An embodiment of the present invention provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are run on a computer, the computer is caused to execute the following method steps of processing an IP address:
receiving an access result of each IP address in the first area, which is sent by at least one detection device in the first area; the access result is obtained after each detection device in the first area sends a network service query request to a Domain Name System (DNS) authoritative server, the DNS authoritative server receives the network service query request sent by each detection device and sends an IP address list of the first area to each detection device, and each detection device receives the IP address list of the first area and respectively accesses each IP address in the IP address list;
and determining whether each IP address is available according to the access result of each IP address, and sending the information whether each IP address is available to the DNS authoritative server, so that the DNS authoritative server receives the information whether each IP address is available, and downloads the unavailable IP address.
The computer-readable storage medium provided by the embodiment of the invention can realize that the user can sense the unavailable IP address in time and take the unavailable IP address off line in time, thereby ensuring the availability of network service. By introducing at least one detection device into the DNS system to respectively access each IP address in the network service in the first area and sending the access result to the central control server, the central control server judges whether each IP address in the network service is available and sends the information whether each IP address is available to the DNS authoritative server, and the DNS authoritative server takes the unavailable IP address off the line, the availability of the network service is guaranteed.
An embodiment of the present invention provides a computer program product containing instructions, which when run on a computer, cause the computer to perform the following method steps of IP address processing:
receiving an access result of each IP address in the first area, which is sent by at least one detection device in the first area; the access result is obtained after each detection device in the first area sends a network service query request to a Domain Name System (DNS) authoritative server, the DNS authoritative server receives the network service query request sent by each detection device and sends an IP address list of the first area to each detection device, and each detection device receives the IP address list of the first area and respectively accesses each IP address in the IP address list;
and determining whether each IP address is available according to the access result of each IP address, and sending the information whether each IP address is available to the DNS authoritative server, so that the DNS authoritative server receives the information whether each IP address is available, and downloads the unavailable IP address.
The computer program product containing the instructions provided by the embodiment of the invention can realize that the user can sense the unavailable IP address in time and take the unavailable IP address off line in time, thereby ensuring the availability of network service. By introducing at least one detection device into the DNS system to respectively access each IP address in the network service in the first area and sending the access result to the central control server, the central control server judges whether each IP address in the network service is available and sends the information whether each IP address is available to the DNS authoritative server, and the DNS authoritative server takes the unavailable IP address off the line, the availability of the network service is guaranteed.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It should be noted that the apparatus, the electronic device, and the storage medium provided in the embodiments of the present invention are respectively an apparatus, an electronic device, and a storage medium to which the IP address processing method is applied, and all embodiments of the IP address processing method are applicable to the apparatus, the electronic device, and the storage medium, and can achieve the same or similar beneficial effects.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (20)

1. An IP address processing method is applied to a Domain Name System (DNS), and comprises the following steps:
at least one probe device in a first area sends a network service query request to a DNS authoritative server;
the DNS authoritative server receives network service inquiry requests sent by all the detection devices and sends the IP address list of the first area to all the detection devices;
the detection devices receive the IP address list of the first area, respectively access all IP addresses in the IP address list, and send access results of all IP addresses to the central control server;
the central control server receives the access result of each IP address sent by each detection device, determines whether each IP address is available according to the access result of each IP address, and sends the information whether each IP address is available to the DNS authoritative server;
the DNS authoritative server receives information whether each IP address is available or not and takes the unavailable IP address off line;
the determining whether each IP address is available according to the access result of each IP address includes:
counting a first number of inaccessible results in the access results of the IP addresses sent by each detection device aiming at each IP address;
when the first number corresponding to any IP address is larger than a first preset threshold value, determining that the IP address is unavailable;
after counting, for each IP address, a first number of inaccessible results in the access results of the IP address sent by each probe device, the method further includes:
when the first quantity corresponding to any IP address is smaller than the first preset threshold and larger than a second preset threshold, the central control server sends an access instruction to at least one detection device in a second area; wherein the second preset threshold is smaller than the first preset threshold;
at least one detection device in the second area receives the access instruction sent by the central control server and sends a network service query request to the DNS authoritative server;
the DNS authoritative server receives network service query requests sent by all the detection devices in the second area, and sends the IP address list of the first area to all the detection devices in the second area;
each detection device in the second area receives the IP address list of the first area, respectively accesses each IP address in the IP address list, and sends the access result of each IP address to the central control server;
and the central control server receives the access result of each IP address sent by each detection device in the second area, and determines whether each IP address is available according to the access result of each IP address sent by each detection device in the second area.
2. The method of claim 1, wherein the sending of the network service query request to the DNS authoritative server by the at least one probe device in the first area comprises:
at least one probe device in the first area periodically sends a network service inquiry request to a DNS authoritative server.
3. The method of claim 1, wherein said separately accessing each IP address in the list of IP addresses comprises:
and respectively accessing the IP addresses through a preset service access format.
4. The method according to claim 1, wherein the determining whether each IP address is available according to the access result of each IP address sent by each probe device in the second area comprises:
counting a second number of inaccessible results in the access results of the IP address sent by each detection device in the second area aiming at each IP address;
and when the second quantity corresponding to any IP address is larger than a third preset threshold value, determining that the IP address is unavailable.
5. An IP address processing method applied to a probe device in a first area, the method comprising:
sending a network service query request to a Domain Name System (DNS) authoritative server; the DNS authoritative server receives network service inquiry requests sent by all the detection devices and sends the IP address list of the first area to all the detection devices;
receiving the IP address list of the first area sent by the DNS authoritative server, and respectively accessing each IP address in the IP address list of the first area;
sending the access result of each IP address to a central control server so that the central control server receives the access result of each IP address sent by each detection device, determining whether each IP address is available according to the access result of each IP address, sending information whether each IP address is available to the DNS authoritative server, and downloading the unavailable IP address through the DNS authoritative server;
wherein, the step of determining whether each IP address is available or not according to the access result of each IP address executed by the central control server comprises:
counting a first number of inaccessible results in the access results of the IP addresses sent by each detection device aiming at each IP address;
when the first number corresponding to any IP address is larger than a first preset threshold value, determining that the IP address is unavailable;
the method for counting the number of the inaccessible results in the access results of the IP address sent by each detection device for each IP address, which is executed by the central control server, further includes:
when a first number corresponding to any IP address is smaller than a first preset threshold and larger than a second preset threshold, sending an access instruction to at least one detection device in a second area, so that each detection device in the second area receives the access instruction sent by the central control server and sends a network service query request to the DNS authoritative server, the DNS authoritative server receives the network service query request sent by each detection device in the second area and sends an IP address list of the first area to each detection device in the second area, each detection device in the second area receives the IP address list of the first area, and sends an access result of each IP address to the central control server after accessing each IP address in the IP address list; wherein the second preset threshold is smaller than the first preset threshold;
and receiving an access result of each IP address sent by each detection device in the second area, and determining whether each IP address is available according to the access result of each IP address and the access result of each IP address sent by each detection device in the second area.
6. The method according to claim 5, wherein the sending the network service query request to the DNS authoritative server comprises:
and periodically sending a network service inquiry request to the DNS authoritative server.
7. The method of claim 5, wherein the respectively accessing the IP addresses in the first area included in the network service information comprises:
and respectively accessing the IP addresses in the first area through a preset service access format.
8. An IP address processing method is applied to a central control server, and the method comprises the following steps:
receiving an access result of each IP address in a first area, which is sent by at least one detection device in the first area; the access result is obtained after each detection device in the first region sends a network service query request to a Domain Name System (DNS) authoritative server, the DNS authoritative server receives the network service query request sent by each detection device and sends an IP address list of the first region to each detection device, and each detection device receives the IP address list of the first region and accesses each IP address in the IP address list respectively;
determining whether each IP address is available according to the access result of each IP address, and sending the information whether each IP address is available to the DNS authoritative server so that the DNS authoritative server receives the information whether each IP address is available and downloads the unavailable IP address;
the determining whether each IP address is available according to the access result of each IP address includes:
counting a first number of inaccessible results in the access results of the IP addresses sent by each detection device aiming at each IP address;
when the first number corresponding to any IP address is larger than a first preset threshold value, determining that the IP address is unavailable;
after counting, for each IP address, a first number of inaccessible results in the access results of the IP address sent by each probe device, the method further includes:
when a first number corresponding to any IP address is smaller than a first preset threshold and larger than a second preset threshold, sending an access instruction to at least one detection device in a second area, so that each detection device in the second area receives the access instruction sent by the central control server and sends a network service query request to the DNS authoritative server, the DNS authoritative server receives the network service query request sent by each detection device in the second area and sends an IP address list of the first area to each detection device in the second area, each detection device in the second area receives the IP address list of the first area, and sends an access result of each IP address to the central control server after accessing each IP address in the IP address list; wherein the second preset threshold is smaller than the first preset threshold;
and receiving an access result of each IP address sent by each detection device in the second area, and determining whether each IP address is available according to the access result of each IP address and the access result of each IP address sent by each detection device in the second area.
9. The method according to claim 8, wherein the determining whether each IP address is available according to the access result of each IP address sent by each probe device in the second area comprises:
counting a second number of inaccessible results in the access results of the IP address sent by each detection device in the second area aiming at each IP address;
and when the second quantity corresponding to any IP address is larger than a third preset threshold value, determining that the IP address is unavailable.
10. An IP address processing system, the system comprising: at least one detection device, a central control server and a Domain Name System (DNS) authoritative server in the first area,
at least one probe device in the first area, configured to send a network service query request to the DNS authoritative server;
the DNS authoritative server is used for receiving network service inquiry requests sent by all the detection devices and sending the IP address list of the first area to all the detection devices;
the at least one detection device in the first region is further configured to receive an IP address list of the first region sent by the DNS authoritative server, access each IP address in the IP address list, and send an access result of each IP address to the central control server;
the central control server is used for receiving the access result of each IP address sent by each detection device, determining whether each IP address is available according to the access result of each IP address, and sending the information whether each IP address is available to the DNS authoritative server;
the DNS authoritative server is also used for receiving information whether each IP address sent by the central control server is available or not and downloading the unavailable IP address;
the central control server is specifically configured to count, for each IP address, a first number of results that are not accessible in access results of the IP address sent by each detection device; when the first number corresponding to any IP address is larger than a first preset threshold value, determining that the IP address is unavailable;
the central control server is further configured to send an access instruction to at least one detection device in a second area when a first number corresponding to any one IP address is smaller than the first preset threshold and larger than a second preset threshold; wherein the second preset threshold is smaller than the first preset threshold;
the DNS authoritative server is also used for receiving network service inquiry requests sent by all the detection devices and sending the IP address list of the first area to all the detection devices;
the at least one detection device in the second region is further configured to receive an IP address list of the first region sent by the DNS authoritative server, access each IP address in the IP address list, and send an access result of each IP address to the central control server;
the central control server is further configured to receive an access result of each IP address sent by each detection device, determine whether each IP address is available according to the access result of each IP address, and send information whether each IP address is available to the DNS authoritative server;
the DNS authoritative server is also used for receiving the information whether each IP address sent by the central control server is available or not and downloading the unavailable IP address.
11. The system according to claim 10, wherein at least one probe device in the first area is specifically configured to periodically send a network service query request to the DNS authoritative server.
12. The system according to claim 10, wherein at least one probe device in the first area is configured to access each of the IP addresses separately via a predefined service access format.
13. The system according to claim 10, wherein the central control server is specifically configured to count, for each IP address, a second number of inaccessible results in the access results of the IP address sent by each probe device in the second area; and when the second quantity corresponding to any IP address is larger than a third preset threshold value, determining that the IP address is unavailable.
14. An IP address processing apparatus, applied to a probe device in a first area, the apparatus comprising:
the first sending module is used for sending a network service query request to a Domain Name System (DNS) authoritative server; the DNS authoritative server receives network service inquiry requests sent by all the detection devices and sends the IP address list of the first area to all the detection devices;
a receiving and accessing module, configured to receive the IP address list of the first area sent by the DNS authoritative server, and respectively access each IP address in the IP address list of the first area;
a second sending module, configured to send the access result of each IP address to a central control server, so that the central control server receives the access result of each IP address sent by each detection device, determines whether each IP address is available according to the access result of each IP address, sends information about whether each IP address is available to the DNS authority server, and takes the unavailable IP address off line through the DNS authority server;
wherein, the step of determining whether each IP address is available or not according to the access result of each IP address executed by the central control server comprises:
counting a first number of inaccessible results in the access results of the IP addresses sent by each detection device aiming at each IP address;
when the first number corresponding to any IP address is larger than a first preset threshold value, determining that the IP address is unavailable;
the method for counting the number of the inaccessible results in the access results of the IP address sent by each detection device for each IP address, which is executed by the central control server, further includes:
when a first number corresponding to any IP address is smaller than a first preset threshold and larger than a second preset threshold, sending an access instruction to at least one detection device in a second area, so that each detection device in the second area receives the access instruction sent by the central control server and sends a network service query request to the DNS authoritative server, the DNS authoritative server receives the network service query request sent by each detection device in the second area and sends an IP address list of the first area to each detection device in the second area, each detection device in the second area receives the IP address list of the first area, and sends an access result of each IP address to the central control server after accessing each IP address in the IP address list; wherein the second preset threshold is smaller than the first preset threshold;
and receiving an access result of each IP address sent by each detection device in the second area, and determining whether each IP address is available according to the access result of each IP address and the access result of each IP address sent by each detection device in the second area.
15. The apparatus according to claim 14, wherein the first sending module is specifically configured to periodically send a network service query request to the DNS authority server.
16. The apparatus according to claim 14, wherein the receiving access module is specifically configured to access the IP addresses in the first area respectively through a preset service access format.
17. An IP address processing apparatus, applied to a central control server, the apparatus comprising:
the system comprises a receiving module, a judging module and a judging module, wherein the receiving module is used for receiving an access result of each IP address in a first area, which is sent by at least one detection device in the first area; the access result is obtained after each detection device in the first region sends a network service query request to a Domain Name System (DNS) authoritative server, the DNS authoritative server receives the network service query request sent by each detection device and sends an IP address list of the first region to each detection device, and each detection device receives the IP address list of the first region and accesses each IP address in the IP address list respectively;
a sending module, configured to determine whether each IP address is available according to the access result of each IP address, and send information about whether each IP address is available to the DNS authoritative server, so that the DNS authoritative server receives the information about whether each IP address is available, and rolls off the line of the unavailable IP address;
the sending module comprises:
the statistic submodule is used for counting the first number of inaccessible results in the access results of the IP addresses sent by the detection equipment aiming at each IP address;
the sub-module speed is determined and used for determining that the IP address is unavailable when the first quantity corresponding to any IP address counted by the counting sub-module is larger than a first preset threshold value;
the sending module further comprises:
a sending submodule, configured to send an access instruction to at least one detection device in a second region when a first number corresponding to any IP address counted by the counting submodule is smaller than the first preset threshold and larger than a second preset threshold, so that each detection device in the second area receives the access instruction sent by the central control server, and sending a network service query request to the DNS authoritative server, wherein the DNS authoritative server receives the network service query request sent by each probe device in the second area, and transmitting the IP address list of the first area to each probe device of the second area, each detection device in the second area receives the IP address list of the first area, and sends the access result of each IP address to the central control server after accessing each IP address in the IP address list; wherein the second preset threshold is smaller than the first preset threshold;
and the receiving submodule is used for receiving the access result of each IP address sent by each detection device in the second area, and determining whether each IP address is available according to the access result of each IP address and the access result of each IP address sent by each detection device in the second area.
18. The apparatus of claim 17, wherein the receiving submodule comprises:
a counting unit, configured to count, for each IP address, a second number of inaccessible results in the access results of the IP address sent by each probe device in the second area;
and the determining unit is used for determining that the IP address is unavailable when the second quantity corresponding to any IP address counted by the counting unit is greater than a third preset threshold value.
19. An electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete communication with each other through the communication bus;
the memory is used for storing a computer program;
the processor, when executing the program stored in the memory, implementing the method steps of any of claims 5-7.
20. An electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete communication with each other through the communication bus;
the memory is used for storing a computer program;
the processor, when executing the program stored in the memory, implementing the method steps of any of claims 8-9.
CN201710611186.8A 2017-07-25 2017-07-25 IP address processing method, system, device and electronic equipment Active CN107395783B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710611186.8A CN107395783B (en) 2017-07-25 2017-07-25 IP address processing method, system, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710611186.8A CN107395783B (en) 2017-07-25 2017-07-25 IP address processing method, system, device and electronic equipment

Publications (2)

Publication Number Publication Date
CN107395783A CN107395783A (en) 2017-11-24
CN107395783B true CN107395783B (en) 2020-08-28

Family

ID=60336948

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710611186.8A Active CN107395783B (en) 2017-07-25 2017-07-25 IP address processing method, system, device and electronic equipment

Country Status (1)

Country Link
CN (1) CN107395783B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108737493B (en) * 2018-04-02 2021-09-17 北京奇艺世纪科技有限公司 Address allocation method and device and electronic equipment
CN110086685A (en) * 2019-06-13 2019-08-02 深圳市友华通信技术有限公司 Network recovery method based on the network terminal
CN110519401B (en) * 2019-07-05 2022-06-10 中国平安财产保险股份有限公司 Method, device, equipment and storage medium for improving network access success rate
CN110677506B (en) * 2019-08-21 2022-10-11 中国平安财产保险股份有限公司 Network access method, device, computer equipment and storage medium
CN111404893B (en) * 2020-03-06 2021-12-21 深信服科技股份有限公司 Host classification method, device, equipment and computer storage medium
CN112769976B (en) 2021-01-13 2023-10-24 网宿科技股份有限公司 Domain name resolution method and system
CN113905050B (en) * 2021-08-30 2023-07-18 成都市联洲国际技术有限公司 Method, device and system for detecting internet access information

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101340327A (en) * 2008-08-21 2009-01-07 腾讯科技(深圳)有限公司 Method, system and domain name parsing server implementing load balance of network server
CN102045411A (en) * 2009-10-13 2011-05-04 中国移动通信集团公司 Method, server and system for domain name resolution
CN103825778A (en) * 2014-02-19 2014-05-28 互联网域名系统北京市工程研究中心有限公司 DNS downtime detection switching method and system based on cloud detection
CN105472051A (en) * 2014-09-02 2016-04-06 中国电信股份有限公司 Method, device and system for improving domain name resolution reliability
CN106657440A (en) * 2016-12-27 2017-05-10 创新科存储技术(深圳)有限公司 DNS service realization method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101340327A (en) * 2008-08-21 2009-01-07 腾讯科技(深圳)有限公司 Method, system and domain name parsing server implementing load balance of network server
CN102045411A (en) * 2009-10-13 2011-05-04 中国移动通信集团公司 Method, server and system for domain name resolution
CN103825778A (en) * 2014-02-19 2014-05-28 互联网域名系统北京市工程研究中心有限公司 DNS downtime detection switching method and system based on cloud detection
CN105472051A (en) * 2014-09-02 2016-04-06 中国电信股份有限公司 Method, device and system for improving domain name resolution reliability
CN106657440A (en) * 2016-12-27 2017-05-10 创新科存储技术(深圳)有限公司 DNS service realization method

Also Published As

Publication number Publication date
CN107395783A (en) 2017-11-24

Similar Documents

Publication Publication Date Title
CN107395783B (en) IP address processing method, system, device and electronic equipment
CN111262938B (en) DNS server selection method and proxy server
CN109787859B (en) Intelligent speed limiting method and device based on network congestion detection and storage medium
US8510448B2 (en) Service provider registration by a content broker
US20210337046A1 (en) Intelligent scheduling method, terminal device, edge node cluster and intelligent scheduling system
US10015243B2 (en) Optimized content distribution based on metrics derived from the end user
US9525659B1 (en) Request routing utilizing point of presence load information
CN107528862B (en) Domain name resolution method and device
CN108737515B (en) Request routing in a networked environment
CN110677405B (en) Data processing method and device, electronic equipment and storage medium
CN102884764B (en) Message receiving method, deep packet inspection device, and system
CN110830565B (en) Resource downloading method, device, system, electronic equipment and storage medium
US10182033B1 (en) Integration of service scaling and service discovery systems
CN113037855B (en) Multimedia access system, method, device, terminal and medium
JP2022549055A (en) NODE RATE LIMITING METHOD, APPARATUS, ELECTRONIC DEVICE AND STORAGE MEDIUM
CN110620828A (en) File pushing method, system, device, electronic equipment and medium
CN111556135A (en) Request scheduling method, system and device and electronic equipment
CN110677684B (en) Video processing method, video access method, distributed storage method and distributed video access system
CN111107118B (en) Picture access acceleration method, device, equipment, system and storage medium
CN111064802B (en) Network request processing method and device, electronic equipment and storage medium
US10135916B1 (en) Integration of service scaling and external health checking systems
CN109639831B (en) Method and device for distributing transmission resources matched with network service
CN110677683A (en) Video storage and video access method and distributed storage and video access system
CN110808967A (en) Detection method for challenging black hole attack and related device
CN107066373B (en) Control processing method and 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