CN108809769B - Method for detecting IPv6 liveness and electronic equipment - Google Patents

Method for detecting IPv6 liveness and electronic equipment Download PDF

Info

Publication number
CN108809769B
CN108809769B CN201810789999.0A CN201810789999A CN108809769B CN 108809769 B CN108809769 B CN 108809769B CN 201810789999 A CN201810789999 A CN 201810789999A CN 108809769 B CN108809769 B CN 108809769B
Authority
CN
China
Prior art keywords
analysis
server
domain name
mirror image
dns
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
CN201810789999.0A
Other languages
Chinese (zh)
Other versions
CN108809769A (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.)
CERNET Corp
Original Assignee
CERNET Corp
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 CERNET Corp filed Critical CERNET Corp
Priority to CN201810789999.0A priority Critical patent/CN108809769B/en
Publication of CN108809769A publication Critical patent/CN108809769A/en
Application granted granted Critical
Publication of CN108809769B publication Critical patent/CN108809769B/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
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • 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
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/659Internet protocol version 6 [IPv6] addresses

Abstract

The invention provides a method and electronic equipment for detecting IPv6 liveness, wherein the method comprises the following steps: s1, sending DNS analysis request to the root domain name server or its mirror image server through user terminal; s2, when the DNS analysis request is sent, the DNS analysis request is subjected to route tracking to obtain root domain name server route tracking characteristic value data; s3, the root domain name server array or its mirror server responds to DNS analysis request to obtain DNS analysis characteristic value data; s4, analyzing the DNS analysis characteristic value data and the root domain name server route tracking characteristic value data to obtain the activity of the root domain name server of the internet service provider and the mirror image server thereof supporting IPv 6.

Description

Method for detecting IPv6 liveness and electronic equipment
Technical Field
The invention relates to the technical field of computer networks, in particular to a method and electronic equipment for detecting IPv6 liveness.
Background
Computer networks have experienced well-spraying growth in the last decade, and with the rapid development of internet technology, although resources such as network bandwidth are increasing, the increasing usage level of network resources will inevitably cause network congestion.
With the high-speed development of internet technology, the internet surfing speed becomes an increasingly important test. For the most basic root domain name resolution becomes the first level of the barrier affecting the network speed, the current thirteen root domain name servers obviously cannot meet the internet surfing requirements of users, so more and more network operators begin to deploy the access root mirror image server in the internet to improve the network resolution performance.
IPv6 is an abbreviation of Internet Protocol Version 6, wherein Internet Protocol is translated into "Internet Protocol", IPv6 is the next generation IP Protocol designed by IETF (Internet Engineering Task Force) to replace the current Version IP Protocol (IPv4), and the name can be used to compile a website for each sand worldwide. Since the biggest problem of the IPv4 is that network address resources are limited, the application and development of the internet are severely restricted. The use of the IPv6 not only solves the problem of the number of network address resources, but also solves the obstacle of connecting various access devices to the Internet. Although IPv6 is still only under research phase in the global scope, many technical problems are still to be further solved, and devices supporting IPv6 are very limited, global development of IPv6 technology is continuously proceeding in general, and as IPv4 is depleted, many countries have recognized the advantages brought by IPv6 technology, especially china, and the next generation of internet full deployment and large-scale commercialization of IPv6 are promoted through some country-level projects. With the perfection of the IPv6 technologies, the problems of overhigh cost, slow development, insufficient support and the like of the IPv6 can fade the view of people quickly.
At present, the support degree and the response speed of a root domain name server and a mirror image server thereof for a DNS analysis request under an IPV4 protocol are relatively mature, a performance measurement method is quite complete, the support degree of the DNS analysis request under an emerging IPv6 protocol still needs to be enhanced, and how to efficiently deploy the root mirror image server also becomes a key step for promoting the development of IPv 6.
Disclosure of Invention
In view of the above problems, a method and an electronic device for detecting IPv6 liveness are provided, which can effectively obtain the degree that the root domain name server and the mirror image server of the current internet service provider support IPv 6.
The invention discloses a method for detecting IPv6 liveness, which comprises the following steps:
s1, sending DNS analysis request to root domain name server or its mirror image server through user terminal;
s2, when sending DNS analysis request, carrying out route tracing to DNS analysis request to obtain root domain name server route tracing characteristic value data;
s3, the root domain name server array or its mirror server responds to the DNS analysis request to obtain DNS analysis characteristic value data;
s4, analyzing the DNS analysis characteristic value data and the root domain name server route tracking characteristic value data to obtain the activity of the root domain name server of the internet service provider and the mirror image server thereof supporting IPv 6.
Optionally, in step S2, the performing route tracing on the DNS resolution request includes:
and positioning a router between the user terminal and the root domain name server by utilizing an ICMP protocol, wherein the number of the routers and gateways through which the DNS analysis request passes is obtained according to a TTL value in the ICMP protocol.
Optionally, the root domain name server route tracing characteristic value data includes an IP address of the user terminal, an IPv6 address of the root domain name server, route tracing detail data, timeout information, and route tracing time;
the DNS analysis characteristic value data comprises a user terminal IP address, a DNS server address, an IPv6 address of a root domain name server, analysis time, an Internet operator and analysis success information.
Optionally, in step S4, when the DNS resolution characteristic value data is resolved, there are DNS resolution characteristic value data with successful resolution and DNS resolution characteristic value data with failed resolution, where an average resolution time is calculated for the DNS resolution characteristic value data with successful resolution, a resolution failure number is calculated for the DNS resolution characteristic value data with failed resolution, and the average resolution time and the resolution failure number are stored in a data table as an IPv6 resolution data table of the root domain name server responding to the DNS resolution request.
Optionally, in step S4, when analyzing the route tracking characteristic value data, it is determined that the mirror server of the root domain name server is an intra-domain mirror server or an extra-domain mirror server, and if the mirror server of the root domain name server is an intra-domain mirror server, the position of the mirror server is recorded, and if the mirror server of the root domain name server is an extra-domain mirror server, it is determined whether the extra-domain mirror server is a primary root server, and if not, the route tracking characteristic data is deleted, and an intra-domain mirror server distribution table and an intra-domain mirror server analysis data table are obtained according to the recorded position of the mirror server.
Optionally, wherein: the IPv6 resolution data table of the root domain name server responding to the DNS resolution request comprises an Internet service provider name, a root domain name server node name, average domain name resolution time, resolution success number, resolution failure number, resolution request total number and resolution request ratio, wherein the resolution success ratio is obtained according to the resolution success number and the resolution request total number.
The analysis data table of the intra-domain mirror image server comprises an internet service provider name, a root domain name server node name, an intra-domain mirror image server name, average domain name analysis time, an analysis success number, an analysis failure number, a total number of analysis requests and a ratio of the analysis requests, wherein the analysis success rate is obtained according to the analysis success number and the total number of the analysis requests.
Optionally, the activity RL of the root domain name server of the internet service provider and its mirror server supporting IPv6 is derived according to the following formula:
Figure BDA0001734558290000031
wherein X is the average domain name resolution time, Y is the resolution success rate, and Z is the resolution request ratio; AVG is the overall average value of the influencing factors; ACP is the proportion of the factor activity calculation result to the factor activity total when the influence factor reaches the average value; K. p and L are weight influence coefficients of average domain name resolution time, resolution success rate and resolution request ratio respectively, wherein k is2、p2And l2And the default weight influence coefficients respectively represent K, P and 80% -120% of the range of the average value L, when the value of the influence factor is higher than 120% of the average value or lower than 80% of the average value, the influence coefficient is adjusted up or decreased, and each influence coefficient is divided into three sections, as follows:
Figure BDA0001734558290000041
Figure BDA0001734558290000042
in another aspect, the present disclosure also provides an electronic device for detecting IPv6 liveness, including a processor; a memory storing a computer executable program which, when executed by the processor, causes the processor to perform the above-described method of detecting IPv6 liveness.
The present disclosure also provides a system for detecting IPv6 liveness, where the system for detecting IPv6 liveness includes: the resource request module is used for sending a DNS analysis request to the root domain name server or a mirror image server thereof through the user terminal; the route tracking module is used for carrying out route tracking on the DNS analysis request when the DNS analysis request is sent to obtain root domain name server route tracking characteristic value data; the acquisition module is used for responding the DNS analysis request by the root domain name server array or the mirror image server thereof to obtain DNS analysis characteristic value data; and the analysis module is used for analyzing the DNS analysis characteristic value data and the root domain name server route tracking characteristic value data to obtain the activity of the root domain name server of the Internet service provider and the mirror image server thereof supporting IPv 6.
Yet another aspect of the present disclosure provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the above-described method of detecting IPv6 liveness.
The invention can intuitively obtain the distribution condition of the root domain name server and the mirror image server thereof of a single internet service provider or a plurality of internet service providers under the IPv6 protocol; and giving the support degree of the root domain name server and the root mirror image server thereof to the DNS analysis in the IPv6 mode in real time, and obtaining the activity ranking of the root domain name server and the root mirror image server thereof according to the influence factors.
Drawings
For a more complete understanding of the present disclosure and the advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:
fig. 1 schematically illustrates a method for detecting IPv6 liveness provided by an embodiment of the present disclosure.
Fig. 2 schematically shows a flowchart of a method for detecting IPv6 liveness provided by an embodiment of the present disclosure.
Fig. 3 schematically illustrates a root domain name server resolving the original data of a DNS request according to an embodiment of the present disclosure.
Fig. 4 schematically illustrates a flowchart of a method for resolving DNS resolution characteristic value data according to an embodiment of the present disclosure.
Fig. 5 schematically illustrates a flowchart of a method for parsing the traceroute characteristic value data according to an embodiment of the present disclosure.
Fig. 6 is a schematic diagram illustrating the result of detecting the IPv6 liveness by a single root domain name server of a single network operator and its mirror server according to an embodiment of the present disclosure.
Fig. 7 schematically illustrates a block diagram of an electronic device for detecting IPv6 liveness, according to an embodiment of the present disclosure.
Fig. 8 schematically illustrates a system block diagram for detecting IPv6 liveness according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is illustrative only and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
Where a convention analogous to "A, B or at least one of C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B or C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.). It will be further understood by those within the art that virtually any disjunctive word and/or phrase presenting two or more alternative terms, whether in the description, claims, or drawings, should be understood to contemplate the possibilities of including one of the terms, either of the terms, or both terms. For example, the phrase "a or B" should be understood to include the possibility of "a" or "B", or "a and B".
Some block diagrams and/or flow diagrams are shown in the figures. It will be understood that some blocks of the block diagrams and/or flowchart illustrations, or combinations thereof, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the instructions, which execute via the processor, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks.
Accordingly, the techniques of this disclosure may be implemented in hardware and/or software (including firmware, microcode, etc.). In addition, the techniques of this disclosure may take the form of a computer program product on a computer-readable medium having instructions stored thereon for use by or in connection with an instruction execution system. In the context of this disclosure, a computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the instructions. For example, the computer readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, device, or propagation medium. Specific examples of the computer readable medium include: magnetic storage devices, such as magnetic tape or Hard Disk Drives (HDDs); optical storage devices, such as compact disks (CD-ROMs); a memory, such as a Random Access Memory (RAM) or a flash memory; and/or wired/wireless communication links.
Fig. 1 schematically shows a structural schematic diagram of a method for detecting IPv6 liveness provided by an embodiment of the present disclosure.
As shown in fig. 1, in the process of detecting IPv6 liveness, an end user first requests DNS resolution from a root domain name server according to a domain name thereof, and performs route tracing on a forwarding path of a router in the process of requesting resolution to obtain DNS resolution characteristic value data and route tracing characteristic value data, and stores the DNS resolution characteristic value data and the root server route tracing characteristic value data in a data storage server, the storage server stores the DNS resolution characteristic value data and the root server route tracing characteristic value data in a DNS resolution characteristic data table and a root server route tracing characteristic data table, and the data processing server performs statistical analysis on data in the storage server to obtain a supporting situation of the root domain name server of a single or multiple internet service providers and its mirror server on the liveness of IPv 6.
Fig. 2 schematically shows a flowchart of a method for detecting IPv6 liveness provided by an embodiment of the present disclosure.
As shown in fig. 2, the method includes the following operations:
and S1, sending a DNS resolution request to the root domain name server or the mirror image server thereof through the user terminal.
A plurality of user terminals are deployed in a large range, wherein the user terminals are terminal users under Internet operators, the types of the terminal users can be counted independently or together, and an education network is taken as a single Internet operator by default.
And the user terminal sends a DNS analysis request for the domain name of the domain name array according to the server address in the root server array, wherein the root server array is the IPv6 address of thirteen global root servers.
S2, when sending the DNS resolution request, performs route tracing on the DNS resolution request to obtain root domain name server route tracing characteristic value data, as shown in table 1.
TABLE 1
Figure BDA0001734558290000071
For each user terminal, a route trace is performed to the server IPv6 address of the root server array, wherein the route trace locates all routers between the terminal's computer and the destination computer using ICMP protocol. The TTL value can reflect the number of routers or gateways through which a data packet passes, and each routing forwarding information generates root domain name server routing tracking characteristic value data by manipulating the TTL value of an independent ICMP call message and observing discarded return information of the message, and sends the root domain name server routing tracking characteristic value data to the data storage server. Wherein each record in the root realm name server route trace characteristic value data list includes: the IP address of the user terminal, the IPv6 address of the root server, the detailed data of the route tracking, whether overtime exists, the route tracking time and other critical information, and specific parameters are detailed in table 1.
And S3, the root domain name server array or the mirror server thereof responds to the DNS analysis request to obtain DNS analysis characteristic value data.
The method comprises the steps of counting domain name resolution time of different root servers in a domain name array to generate DNS resolution characteristic value data, then sending the generated DNS resolution characteristic value data to a data storage server, wherein the DNS resolution characteristic value data comprise network attributes of a user terminal, such as a user IP address, a DNS server address, an access root domain name, resolution time, key information of an internet service provider, whether resolution is successful and the like, specific parameters are detailed in a table 2, and DNS resolution original data are shown in a figure 3. And the data storage server stores the DNS resolution characteristic value data into a DNS resolution characteristic data table and a root domain name server characteristic data table.
TABLE 2
Figure BDA0001734558290000081
S4, analyzing the DNS analysis characteristic value data and the root domain name server route tracking characteristic value data to obtain the activity of the root domain name server of the internet service provider and the mirror image server thereof supporting IPv 6.
The data processing server carries out statistical analysis on the stored DNS analysis characteristic value data and root domain name server route tracking characteristic value data to obtain the activity of the root domain name servers and mirror image servers thereof of a single network operator and a plurality of network operators, which support IPv 6.
The method comprises the following steps of obtaining a DNS analyzed data set by counting all data in a DNS analysis characteristic data table, and then analyzing the DNS analysis characteristic value data set, wherein the specific steps comprise:
s41, the root domain name server performs data analysis.
Dividing the root domain name server data set into two parts according to whether the analysis is successful or not, wherein the analysis successful part calculates the average analysis time in the form of average number; the number of unsuccessful partial statistical analysis failures is shown, fig. 4 is a flow chart of a method for analyzing characteristic value data of DNS analysis, table 3 is a total data table for analyzing the root domain name server supporting IPv6 after the analysis is completed, and table 3 shows an overview of the support degree of IPv6 analysis of the root domain name server, which is mainly characterized by domain name analysis time, analysis success and failure number. The data in table 3 is processed to obtain the DNS resolution request support situation of the root domain name server to the internet service provider, which mainly takes average domain name resolution time, resolution success and failure number, total request number, resolution request ratio as characteristic values, specifically referring to table 4.
TABLE 3
Figure BDA0001734558290000091
TABLE 4
Figure BDA0001734558290000092
And S42, analyzing the data of the mirror image server of the root domain name server.
Traversing the route analysis data from the terminal to the root domain name server in the route tracking characteristic value data set, filtering the mirror image server in the domain and the mirror image server outside the domain according to whether the route leaves the network domain of the terminal or not, analyzing the specific position of the mirror image server according to the specific trend of the last three hops of the route trend, recording the position of the mirror image server if the mirror image server is the mirror image server in the domain, judging whether the mirror image server is the main root server if the mirror image server is the outside domain server, deleting the data if the mirror image server is not the main root server, fig. 5 is a flow chart for analyzing the route data, fig. 5 is a distribution table of the mirror image server in the domain, table 6 is a routing data table of the terminal node and the root domain name server, processing the data in the table 6 to obtain the resolution performance and the support degree of the mirror image server in the internet service provider domain, specifically referring to table 7, which reflects the, specific performance parameters of each mirror image server under each root domain name server under each service provider flag are characterized by average domain name resolution time, resolution success and failure number, total request number and resolution request ratio.
TABLE 5
Figure BDA0001734558290000093
TABLE 6
Figure BDA0001734558290000101
TABLE 7
Figure BDA0001734558290000102
And S43, respectively calculating the support condition of the root domain name server and the mirror image server thereof on the IPv6 liveness.
The activity (RL) of the root domain name server supporting IPv6 is determined by three factors of average domain name resolution time (X), resolution success rate (Y) and resolution request, so that an activity calculation formula can be given, according to tables 4 and 7, the activity of the root domain name server and the mirror image server supporting IPv6 can be calculated according to the formula, and the activity calculation formula is as follows:
Figure BDA0001734558290000103
Figure BDA0001734558290000104
Figure BDA0001734558290000105
wherein K, P, L in the formula are respectively the weight influence coefficients of the average domain name resolution time, resolution success rate and resolution processing ratio, the weight proportion of the three influence factors is represented by a constant, and the default weight influence coefficient is 80% -120% of the average value range of each influence factor (namely k)2,p2,l2) When the value of the influence factor is more than 120% of the average value or less than 80% of the average value, the influence factors are properly adjusted up or down, so that each influence factor is divided into three sections.
X, Y, Z in the formula are respectively the average domain name resolution time, resolution success rate and resolution processing ratio of the influencing factors; AVG is the overall average value of the influencing factors; ACP is the proportion of the factor activity calculation result to the factor activity total when the average value of the influencing factors is reached (can be 50% as default).
Fig. 6 is a schematic diagram of the analyzed result of the IPv6 liveness supported by the mirror server of the root domain name server and the primary root server calculated according to the above formula, from which it can be known that the factors affecting the IPv6 liveness include average domain name resolution time, resolution success rate and resolution request duty ratio, from fig. 6, it can be seen that not only the case where the mirror server of the root domain name server and the primary root server support IPv6 liveness, but also the dominant factor affecting the IPv6 supported by the mirror server located in beijing, shanghai and west ann is resolution request duty ratio, the dominant factor affecting the IPv6 supported by the mirror server located in guangzhou is average domain name resolution time, and the dominant factor affecting the IPv6 supported by the primary root server is resolution success rate, wherein the dominant factor determination method is the ratio of actual data to the average value.
As shown in fig. 7, electronic device 700 includes a processor 710, a computer-readable storage medium 720. The electronic device 700 may perform the method described above with reference to fig. 2 for message processing.
In particular, processor 710 may comprise, for example, a general purpose microprocessor, an instruction set processor and/or associated chipset, and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), and/or the like. The processor 710 may also include on-board memory for caching purposes. Processor 710 may be a single processing unit or a plurality of processing units for performing the different actions of the method flows described with reference to fig. 2 in accordance with embodiments of the present disclosure.
Computer-readable storage medium 720 may be, for example, any medium that can contain, store, communicate, propagate, or transport the instructions. For example, a readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, device, or propagation medium. Specific examples of the readable storage medium include: magnetic storage devices, such as magnetic tape or Hard Disk Drives (HDDs); optical storage devices, such as compact disks (CD-ROMs); a memory, such as a Random Access Memory (RAM) or a flash memory; and/or wired/wireless communication links.
The computer-readable storage medium 720 may include a computer program 721, which computer program 721 may include code/computer-executable instructions that, when executed by the processor 710, cause the processor 710 to perform a method flow such as described above in connection with fig. 2 and any variations thereof.
The computer program 721 may be configured with, for example, computer program code comprising computer program modules. For example, in an example embodiment, code in computer program 721 may include one or more program modules, including 721A, modules 721B, … …, for example. It should be noted that the division and number of modules are not fixed, and those skilled in the art may use suitable program modules or program module combinations according to actual situations, which when executed by the processor 210, enable the processor 710 to perform the method flow described above in connection with fig. 2 and any variations thereof, for example.
According to embodiments of the present disclosure, a computer readable medium may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer-readable signal medium may include a propagated data signal with computer-readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, optical fiber cable, radio frequency signals, etc., or any suitable combination of the foregoing.
FIG. 8 schematically illustrates a block diagram of a system for detecting IPv6 liveness, according to an embodiment of the disclosure.
As shown in fig. 8, a system 800 for detecting IPv6 liveness includes a resource request module 810, a route tracking module 820, an obtaining module 830, and a parsing module 840.
A resource request module 810, configured to send a DNS resolution request to a root domain name server or a mirror server thereof through a user terminal;
a route tracking module 820, configured to perform route tracking on the DNS resolution request when sending the DNS resolution request, to obtain root domain name server route tracking characteristic value data;
the obtaining module 830, the root domain name server array or its mirror server responds to the DNS resolution request to obtain DNS resolution characteristic value data;
the analyzing module 840 is configured to analyze the DNS analysis feature value data and the root name server route tracking feature value data to obtain the liveness of the root name server of the internet service provider and the mirror server thereof supporting IPv 6.
It is understood that the resource request module 810, the route tracking module 820, the obtaining module 830, and the parsing module 840 may be combined into one module for implementation, or any one of the modules may be split into multiple modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of the other modules and implemented in one module. According to an embodiment of the present invention, at least one of the resource request module 810, the route tracking module 820, the obtaining module 830, the parsing module 840 may be implemented at least in part as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in hardware or firmware in any other reasonable manner of integrating or packaging a circuit, or in a suitable combination of three implementations, software, hardware, and firmware. Alternatively, at least one of the resource request module 810, the route tracing module 820, the obtaining module 830, and the parsing module 840 may be at least partially implemented as a computer program module, which, when executed by a computer, may perform the functions of the respective modules.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that various combinations and/or combinations of features recited in the various embodiments and/or claims of the present disclosure can be made, even if such combinations or combinations are not expressly recited in the present disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments and/or claims of the present disclosure may be made without departing from the spirit or teaching of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
While the disclosure has been shown and described with reference to certain exemplary embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the disclosure as defined by the appended claims and their equivalents. Accordingly, the scope of the present disclosure should not be limited to the above-described embodiments, but should be defined not only by the appended claims, but also by equivalents thereof.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the present invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (5)

1. A method of detecting IPv6 liveness, comprising:
s1, sending DNS analysis request to root domain name server or its mirror image server through user terminal;
s2, when sending the DNS analysis request, performing route tracing on the DNS analysis request to obtain root domain name server route tracing characteristic value data, wherein the root domain name server route tracing characteristic value data comprises an IP address of a user terminal, an IPv6 address of a root domain name server, route tracing detailed data, overtime information and route tracing time;
s3, the root domain name server array or its mirror server responds to DNS analysis request to obtain DNS analysis characteristic value data, the DNS analysis characteristic value data includes user terminal IP address, DNS server address, IPv6 address of root domain name server, analysis time, Internet operator, analysis success information;
s4, analyzing the DNS analysis characteristic value data and the root domain name server route tracking characteristic value data to obtain the root domain name server of the Internet service provider and the activity of the mirror server thereof supporting IPv6, when analyzing the DNS analysis characteristic value data, the DNS analysis characteristic value data with successful analysis and the DNS analysis characteristic value data with failed analysis exist, wherein, the average analysis time is calculated for the DNS analysis characteristic value data with successful analysis, the analysis failure times are calculated for the DNS analysis characteristic value data with failed analysis, the average analysis time and the analysis failure times are stored in a data table as the IPv6 analysis data table of the root domain name server responding to the DNS analysis request, the IPv6 analysis data table of the root domain name server responding to the DNS analysis request comprises the Internet service provider name, the root domain name server node name, the node name of the root domain name server, Averaging domain name resolution time, resolution success number, resolution failure number, total resolution request number and resolution request ratio, wherein the resolution success ratio is obtained according to the resolution success number and the resolution request number; when analyzing the route tracking characteristic value data, judging whether a mirror image server of the root domain name server is an intra-domain mirror image server or an out-of-domain mirror image server, if the mirror image server of the root domain name server is the intra-domain mirror image server, recording the position of the mirror image server, if the mirror image server of the root domain name server is the out-of-domain mirror image server, judging whether the out-of-domain mirror image server is a main root server, if not, deleting the route tracking characteristic data, and obtaining an intra-domain mirror image server distribution table and an intra-domain mirror image server analysis data table according to the recorded position of the mirror image server, wherein the intra-domain mirror image server analysis data table comprises an internet service provider name, a root domain name server node name, an intra-domain mirror image server name, average domain name analysis time, analysis success number, analysis failure number, analysis request total number and analysis, obtaining the analysis success rate according to the analysis success rate and the total number of the analysis requests; the activity RL of the root domain name server of the Internet service provider and the mirror image server thereof for supporting IPv6 is obtained according to the following formula:
Figure FDA0002501980870000021
wherein X is the average domain name resolution time, Y is the resolution success rate, and Z is the resolution request ratio; AVG is the overall average of the influencing factors X, Y or Z; ACP is the proportion of the calculation result of the activity of the influence factor to the total activity of the influence factor when the average value of the influence factor X, Y or Z is reached; K. p and L are weight influence coefficients of average domain name resolution time, resolution success rate and resolution request ratio respectively, wherein k is2、p2And l2And the default weight influence coefficients respectively represent K, P and 80% -120% of the range of the average value L, when the value of the influence factor is higher than 120% of the average value or lower than 80% of the average value, the influence coefficient is adjusted up or decreased, and each influence coefficient is divided into three sections, as follows:
Figure FDA0002501980870000022
Figure FDA0002501980870000023
2. the detection method according to claim 1, wherein the step S2 of performing route tracing on the DNS resolution request includes:
and positioning the router between the user terminal and the root domain name server by utilizing an ICMP protocol, wherein the number of the routers and the gateways through which the DNS analysis request passes is obtained according to the TTL value in the ICMP protocol.
3. An electronic device for detecting IPv6 liveness, comprising:
a processor;
a memory storing a computer executable program which, when executed by the processor, causes the processor to perform a method of detecting IPv6 liveness as claimed in claims 1-2.
4. A system for detecting IPv6 liveness, comprising:
the resource request module is used for sending a DNS analysis request to the root domain name server or a mirror image server thereof through the user terminal;
the route tracking module is used for carrying out route tracking on the DNS analysis request when the DNS analysis request is sent to obtain root domain name server route tracking characteristic value data, and the root domain name server route tracking characteristic value data comprises an IP address of a user terminal, an IPv6 address of a root domain name server, route tracking detailed data, timeout information and route tracking time;
the system comprises an acquisition module, a DNS analysis characteristic value data acquisition module and a DNS analysis control module, wherein the root domain name server array or a mirror server thereof responds to a DNS analysis request to obtain the DNS analysis characteristic value data, and the DNS analysis characteristic value data comprise a user terminal IP address, a DNS server address, an IPv6 address of a root domain name server, analysis time, an Internet operator and analysis success information;
an analysis module for analyzing the DNS analysis characteristic value data and the root domain name server route tracking characteristic value data to obtain the IPv6 activity supported by the root domain name server of the Internet service provider and the mirror server thereof, when analyzing the DNS analysis characteristic value data, the DNS analysis characteristic value data with successful analysis and the DNS analysis characteristic value data with failed analysis exist, wherein, the average analysis time is calculated for the DNS analysis characteristic value data with successful analysis, the analysis failure times are calculated for the DNS analysis characteristic value data with failed analysis, the average analysis time and the analysis failure times are stored in a data table as an IPv6 analysis data table of the root domain name server responding to the DNS analysis request, and the IPv6 analysis data table of the root domain name server responding to the DNS analysis request comprises the Internet service provider name, the root domain name server node name, the node name of the root domain name server, Averaging domain name resolution time, resolution success number, resolution failure number, total resolution request number and resolution request ratio, wherein the resolution success ratio is obtained according to the resolution success number and the resolution request number; when analyzing the route tracking characteristic value data, judging whether a mirror image server of the root domain name server is an intra-domain mirror image server or an out-of-domain mirror image server, if the mirror image server of the root domain name server is the intra-domain mirror image server, recording the position of the mirror image server, if the mirror image server of the root domain name server is the out-of-domain mirror image server, judging whether the out-of-domain mirror image server is a main root server, if not, deleting the route tracking characteristic data, and obtaining an intra-domain mirror image server distribution table and an intra-domain mirror image server analysis data table according to the recorded position of the mirror image server, wherein the intra-domain mirror image server analysis data table comprises an internet service provider name, a root domain name server node name, an intra-domain mirror image server name, average domain name analysis time, analysis success number, analysis failure number, analysis request total number and analysis, obtaining the analysis success rate according to the analysis success rate and the total number of the analysis requests; the activity RL of the root domain name server of the Internet service provider and the mirror image server thereof for supporting IPv6 is obtained according to the following formula:
Figure FDA0002501980870000041
wherein X is the average domain name resolution time, Y is the resolution success rate, and Z is the resolution request ratio; AVG is the overall average of the influencing factors X, Y or Z; ACP is the proportion of the calculation result of the activity of the influencing factor to the total activity of the influencing factor when the average value of the influencing factors X, Y or Z is reached(ii) a K. P and L are weight influence coefficients of average domain name resolution time, resolution success rate and resolution request ratio respectively, wherein k is2、p2And l2And the default weight influence coefficients respectively represent K, P and 80% -120% of the range of the average value L, when the value of the influence factor is higher than 120% of the average value or lower than 80% of the average value, the influence coefficient is adjusted up or decreased, and each influence coefficient is divided into three sections, as follows:
Figure FDA0002501980870000042
Figure FDA0002501980870000043
5. a computer readable medium having stored thereon executable instructions which, when executed by a processor, cause the processor to perform the method of any of claims 1-2.
CN201810789999.0A 2018-07-18 2018-07-18 Method for detecting IPv6 liveness and electronic equipment Active CN108809769B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810789999.0A CN108809769B (en) 2018-07-18 2018-07-18 Method for detecting IPv6 liveness and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810789999.0A CN108809769B (en) 2018-07-18 2018-07-18 Method for detecting IPv6 liveness and electronic equipment

Publications (2)

Publication Number Publication Date
CN108809769A CN108809769A (en) 2018-11-13
CN108809769B true CN108809769B (en) 2020-09-08

Family

ID=64076893

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810789999.0A Active CN108809769B (en) 2018-07-18 2018-07-18 Method for detecting IPv6 liveness and electronic equipment

Country Status (1)

Country Link
CN (1) CN108809769B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020060539A1 (en) * 2018-09-18 2020-03-26 Hewlett-Packard Development Company, L.P. Adaptive domain name system
CN110635965B (en) * 2019-08-19 2021-10-22 北京基调网络股份有限公司 IPv6 network quality monitoring method, equipment and storage medium
CN113225225B (en) * 2021-04-27 2022-12-20 中国信息通信研究院 Root mirror image detection method, device and system, electronic equipment and storage medium
CN114039914B (en) * 2021-11-03 2023-08-08 中盈优创资讯科技有限公司 Method and device for analyzing survival IPv6 address and planning of metropolitan area network

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101778018A (en) * 2010-01-29 2010-07-14 北京天地互连信息技术有限公司 Method for comprehensive test of IPv6 websites
CN105099811A (en) * 2015-06-03 2015-11-25 北京金山安全软件有限公司 Interface testing method and device
CN105681483A (en) * 2015-12-29 2016-06-15 赛尔网络有限公司 Method and system for measuring specific IP range analysis proportion based on DNS (Domain Name System) server
CN106161667A (en) * 2015-04-27 2016-11-23 中国移动通信集团公司 A kind of domain name analytic method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100477653B1 (en) * 2002-06-22 2005-03-23 삼성전자주식회사 Apparatus and method for searching DNS server on outer net
US7450499B2 (en) * 2003-02-21 2008-11-11 Samsung Electronics Co., Ltd. Method and apparatus for interconnecting IPv4 and IPv6 networks

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101778018A (en) * 2010-01-29 2010-07-14 北京天地互连信息技术有限公司 Method for comprehensive test of IPv6 websites
CN106161667A (en) * 2015-04-27 2016-11-23 中国移动通信集团公司 A kind of domain name analytic method and device
CN105099811A (en) * 2015-06-03 2015-11-25 北京金山安全软件有限公司 Interface testing method and device
CN105681483A (en) * 2015-12-29 2016-06-15 赛尔网络有限公司 Method and system for measuring specific IP range analysis proportion based on DNS (Domain Name System) server

Also Published As

Publication number Publication date
CN108809769A (en) 2018-11-13

Similar Documents

Publication Publication Date Title
CN108809769B (en) Method for detecting IPv6 liveness and electronic equipment
US10659354B2 (en) Processing data packets using a policy based network path
CN110247784B (en) Method and device for determining network topology structure
CN107094090B (en) Physical path determination for virtual network packet flows
US9426046B2 (en) Web page download time analysis
US20160269353A1 (en) Methods and systems for processing a dns request
WO2021128977A1 (en) Fault diagnosis method and apparatus
US10284460B1 (en) Network packet tracing
US9705767B2 (en) Detecting and measuring network route reconvergence using in-band data probes
EP3484102B1 (en) Cloud computing environment system for automatically determining over-the-top applications and services
US20130042020A1 (en) Quick Network Path Discovery
EP3484101A1 (en) Automatically determining over-the-top applications and services
US11665078B1 (en) Discovery and tracing of external services
US9270687B2 (en) System and method for providing sensor overlay networks
CN106789655A (en) The sending method and device of a kind of advertising of route message
CN114520784B (en) Dynamic content acceleration access method and device
CN112242937B (en) Network speed measuring method and device, electronic equipment and computer readable medium
JP2010239392A (en) System, device and program for controlling service disabling attack
KR102442349B1 (en) System and method for network neutrality test
CN107707469A (en) Method and apparatus for test access path
Hilal et al. Yarrpbox: Detecting middleboxes at internet-scale
US20230034229A1 (en) Network monitoring agent hubs
CN112565106B (en) Traffic service identification method, device, equipment and computer storage medium
US11888719B2 (en) End-to-end distributed network tracing involving cloud edge networks
US11616731B1 (en) Determining a time-to-live budget for network traffic

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