CN108809769A - A kind of method and electronic equipment of detection IPv6 liveness - Google Patents
A kind of method and electronic equipment of detection IPv6 liveness Download PDFInfo
- Publication number
- CN108809769A CN108809769A CN201810789999.0A CN201810789999A CN108809769A CN 108809769 A CN108809769 A CN 108809769A CN 201810789999 A CN201810789999 A CN 201810789999A CN 108809769 A CN108809769 A CN 108809769A
- Authority
- CN
- China
- Prior art keywords
- server
- mirror image
- dns resolution
- ipv6
- root name
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/10—Active monitoring, e.g. heartbeat, ping or trace-route
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4505—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
- H04L61/4511—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/618—Details of network addresses
- H04L2101/659—Internet protocol version 6 [IPv6] addresses
Abstract
The present invention provides a kind of method and electronic equipment of detection IPv6 liveness, method includes:S1 sends dns resolution request by user terminal to the root name server or its mirror image server;S2 asks the dns resolution to carry out route tracking, obtains root name server route tracking characteristic value data when sending the dns resolution request;S3, the root name server array or the response dns resolution request of its mirror image server, obtain dns resolution characteristic value data;S4 parses the dns resolution characteristic value data and root name server route tracking characteristic value data, obtains the root name server of Internet Service Provider and its liveness of mirror image server support IPv6.
Description
Technical field
The present invention relates to the methods and electronics of technical field of the computer network more particularly to a kind of detection IPv6 liveness to set
It is standby.
Background technology
Computer network underwent the growth of blowout in the more than ten years in past, with the fast development of Internet technology, though
The resources such as right network bandwidth are also being continuously increased, but the Internet usage degree increased increasingly will certainly cause network congestion.
With the rapid development of internet technology, networking speed becomes more and more important test.For most basic
Rhizosphere name is parsed into influence first of outpost of the tax office of network speed, obviously can not only according to 13 current root name servers
Meet the online demand of user, therefore more and more network operators start the deployment access root mirror image server in internet
To improve the performance of network analysis.
IPv6 is the abbreviation of Internet Protocol Version 6, and wherein Internet Protocol are translated into " mutually
Networking protocol ", IPv6 are what IETF (Internet Engineering Task group, Internet Engineering Task Force) was designed
IP next generation protocol for substituting current edition IP agreement (IPv4), it can be that global every A Grain of Sand is numbered with one to be known as
A network address.Due to IPv4 the biggest problems are that network address resources are limited, the application and development of internet are seriously constrained.
The use of IPv6 can not only solve the problems, such as network address resources quantity, and solve a variety of access devices and be connected into interconnection
The obstacle of net.Although IPv6 is also only in conceptual phase in the world, many technical problems need further to solve
Certainly, and support the equipment of IPv6 very limited, but on the whole, the development of global IPv 6 technology constantly carries out, and with
It is depleted IPv4, many countries have had appreciated that advantage caused by IPv6 technologies, especially Chinese, pass through some states
The project of family's grade has pushed IPv6 Next Generation Internets to make the overall arrangement for and extensive commercialization.With IPv6 every technology increasingly
Perfection, IPv6 costs are excessively high, develop slowly, the problems such as support is inadequate is by the visual field for people of fading out quickly.
Root name server and its mirror image server ask degree of support and response to the dns resolution under IPV4 agreements at present
Speed relative maturity, performance measurement method is also very perfect, and still there is dns resolution request degree of support under emerging IPv6 agreements
To be strengthened, how efficiently to dispose root mirror image server also becomes one step of key for pushing IPv6 development.
Invention content
In view of problem above, a kind of method and electronic equipment of detection IPv6 liveness are provided, can effectively be obtained at present
The root name server and its mirror image server of Internet Service Provider support the degree of IPv6.
The invention discloses a kind of methods of detection IPv6 liveness, including:
S1 sends dns resolution request by user terminal to root name server or its mirror image server;
S2 asks dns resolution to carry out route tracking, obtains root name server routing when sending dns resolution request
Tracking feature Value Data;
S3, root name server array or the response dns resolution request of its mirror image server, obtain dns resolution characteristic value number
According to;
S4 parses dns resolution characteristic value data and root name server route tracking characteristic value data, obtains mutually
The root name server and its mirror image server of the Internet services provider support the liveness of IPv6.
Optionally, in step S2, dns resolution is asked to carry out route tracking, including:
Utilize the router between ICMP agreements positioning user terminal and root name server, wherein according to ICMP agreements
In ttl value, obtain dns resolution request pass through router and gateway quantity.
Optionally, wherein root name server route tracking characteristic value data includes the IP address of user terminal, rhizosphere name
The addresses IPv6 of server, route tracking detailed data, time-out information, route tracking time;
Dns resolution characteristic value data includes the IPv6 of user terminal IP address, dns server address, root name server
Address, parsing time, internet operators, successfully resolved information.
Optionally, in step S4, when being parsed to dns resolution characteristic value data, there are the dns resolution of successfully resolved spies
The dns resolution characteristic value data of value indicative data and parsing failure, wherein be directed to the dns resolution characteristic value data of successfully resolved, meter
Calculating averagely parses the time, for the dns resolution characteristic value data of parsing failure, calculates the parsing frequency of failure, by average solution
It analyses in time and parsing frequency of failure deposit tables of data, the IPv6 as root name server response dns resolution request parses number
According to table.
Optionally, in step S4, when being parsed to routing tracking feature Value Data, judge the mirror image of root name server
Server is mirror image server or overseas mirror image server in domain, if the mirror image server of root name server is mirror image clothes in domain
Business device, records the position of mirror image server, if the mirror image server of root name server is overseas mirror image server, judges overseas
Whether mirror image server is primary root server, if not this route tracking characteristic is then deleted, according to the mirroring service of record
The position of device obtains in domain mirror image server parsing tables of data in mirror image server distribution table and domain.
Optionally, wherein:The IPv6 parsing tables of data that root name server responds dns resolution request includes Internet service
Unsuccessfully number, parsing are asked for provider's title, root name server nodename, average domain name mapping time, successfully resolved number, parsing
Ask sum and analysis request accounting, wherein obtain according to successfully resolved number and analysis request sum and be parsed into power.
Mirror image server parsing tables of data includes Internet Service Provider's title, root name server node name in domain
Claim, mirror image server name, average domain name mapping time, successfully resolved number, parsing unsuccessfully number, the reconciliation of analysis request sum in domain
Analysis request accounting, wherein obtain according to successfully resolved number and analysis request sum and be parsed into power.
Optionally, the root name server and its mirror image server branch of Internet Service Provider are obtained according to following formula
Hold the liveness RL of IPv6:
Wherein, X is the average domain name mapping time, and Y is to be parsed into power, and Z is analysis request accounting;AVG be the influence because
The ensemble average value of element;ACP be the influence factor when reaching its average value, the factor liveness result of calculation account for the factor work
The accounting situation of jerk totality;K, P and L be respectively averagely the domain name mapping time, be parsed into power and parsing request accounting power
Ghost image rings coefficient, wherein k2、p2And l2, for default-weight influence coefficient, respectively indicate K, P and L average value ranges 80%~
120%, when influence factor numerical value is higher than 120% or sub-average the 80% of average value, up-regulation or decline influence coefficient,
Each coefficient that influences is divided into three-stage, as follows:
On the other hand the disclosure additionally provides a kind of electronic equipment of detection IPv6 liveness, including processor;Memory,
It is stored with computer executable program, and the program is when being executed by processor so that processor executes above-mentioned detection IPv6 and lives
The method of jerk.
On the other hand the disclosure additionally provides a kind of system of detection IPv6 liveness, detection IPv6 liveness is
System includes:Resource request module is asked for passing through user terminal to root name server or the transmission dns resolution of its mirror image server
It asks;Route tracking module carries out route tracking for when sending dns resolution request, asking dns resolution, obtains rhizosphere name
Server route tracking characteristic value data;Acquisition module, root name server array or the response dns resolution of its mirror image server are asked
It asks, obtains dns resolution characteristic value data;Parsing module, for being chased after to dns resolution characteristic value data and root name server routing
Track characteristic value data is parsed, and the root name server and its mirror image server for obtaining Internet Service Provider support IPv6
Liveness.
On the other hand the disclosure additionally provides a kind of computer readable storage medium, be stored thereon with computer program, should
The method that above-mentioned detection IPv6 liveness is realized when program is executed by processor.
It can intuitively show that single Internet Service Provider or multiple Internet Service Providers exist through the invention
The distribution situation of root name server and its mirror image server under IPv6 agreements;Provide root name server and its root mirror image in real time
Server obtains root name server and its mirror image to the degree of support of dns resolution under IPv6 patterns according to its influence factor
The liveness ranking of server.
Description of the drawings
In order to which the disclosure and its advantage is more fully understood, referring now to being described below in conjunction with attached drawing, wherein:
Fig. 1 diagrammatically illustrates the method schematic diagram of the detection IPv6 liveness of embodiment of the present disclosure offer.
Fig. 2 diagrammatically illustrates the flow chart of the method for the detection IPv6 liveness of embodiment of the present disclosure offer.
Fig. 3 diagrammatically illustrates the initial data of the root name server parsing DNS request of the embodiment of the present disclosure.
Fig. 4 diagrammatically illustrates the method flow diagram of embodiment of the present disclosure parsing dns resolution characteristic value data.
Fig. 5 diagrammatically illustrates the method flow diagram of embodiment of the present disclosure parsing route tracking characteristic value data.
Fig. 6 diagrammatically illustrates the single root name server of embodiment of the present disclosure single network operator and its mirroring service
Device detects the result schematic diagram of IPv6 liveness.
Fig. 7 diagrammatically illustrates the electronic device block diagram of the detection IPv6 liveness of embodiment of the present disclosure offer.
Fig. 8 diagrammatically illustrates the system block diagram of the detection IPv6 liveness of embodiment of the present disclosure offer.
Specific implementation mode
Hereinafter, will be described with reference to the accompanying drawings embodiment of the disclosure.However, it should be understood that these descriptions are only exemplary
, and it is not intended to limit the scope of the present disclosure.In the following detailed description, it for ease of explaining, elaborates many specific thin
Section is to provide the comprehensive understanding to the embodiment of the present disclosure.It may be evident, however, that one or more embodiments are not having these specific thin
It can also be carried out in the case of section.In addition, in the following description, descriptions of well-known structures and technologies are omitted, to avoid
Unnecessarily obscure the concept of the disclosure.
Term as used herein is not intended to limit the disclosure just for the sake of description specific embodiment.It uses herein
The terms "include", "comprise" etc. show the presence of the feature, step, operation and/or component, but it is not excluded that in the presence of
Or other one or more features of addition, step, operation or component.
It, in general should be according to this using " in A, B or C etc. at least one " such statement is similar to
Field technology personnel are generally understood the meaning of the statement to make an explanation (for example, " with system at least one in A, B or C "
Should include but not limited to individually with A, individually with B, individually with C, with A and B, with A and C, with B and C, and/or
System etc. with A, B, C).It should also be understood by those skilled in the art that substantially arbitrarily indicating two or more optional projects
Adversative conjunction and/or phrase, either in specification, claims or attached drawing, shall be construed as giving including
The possibility of one of these projects, these projects either one or two projects.For example, phrase " A or B " should be understood as packet
Include the possibility of " A " or " B " or " A and B ".
Shown in the drawings of some block diagrams and/or flow chart.It should be understood that some sides in block diagram and/or flow chart
Frame or combinations thereof can be realized by computer program instructions.These computer program instructions can be supplied to all-purpose computer,
The processor of special purpose computer or other programmable data processing units, to which these instructions can be with when being executed by the processor
Create the device for realizing function/operation illustrated in these block diagrams and/or flow chart.
Therefore, the technology of the disclosure can be realized in the form of hardware and/or software (including firmware, microcode etc.).Separately
Outside, the technology of the disclosure can take the form of the computer program product on the computer-readable medium for being stored with instruction, should
Computer program product uses for instruction execution system or instruction execution system is combined to use.In the context of the disclosure
In, computer-readable medium can be the arbitrary medium can include, store, transmitting, propagating or transmitting instruction.For example, calculating
Machine readable medium can include but is not limited to electricity, magnetic, optical, electromagnetic, infrared or semiconductor system, device, device or propagation medium.
The specific example of computer-readable medium includes:Magnetic memory apparatus, such as tape or hard disk (HDD);Light storage device, such as CD
(CD-ROM);Memory, such as random access memory (RAM) or flash memory;And/or wire/wireless communication link.
Fig. 1 diagrammatically illustrates the structural schematic diagram of the detection IPv6 liveness methods of embodiment of the present disclosure offer.
As shown in Figure 1, during detecting IPv6 liveness, first terminal user according to its domain name to root name server
Dns resolution is asked, route tracking is carried out to the forward-path of router in the process of request analysis, obtains dns resolution characteristic value
Data and route tracking characteristic value data, and be deposited into data storage server, the storage server is by dns resolution feature
Value Data and root server route tracking characteristic value data are deposited into dns resolution characteristic table and root server route tracking
In characteristic table, data processing server is for statistical analysis to the data in storage server, obtains single or multiple mutual
Support situation of the root name server and its mirror image server of the Internet services provider to the liveness of IPv6.
Fig. 2 diagrammatically illustrates the flow chart of the method for the detection IPv6 liveness of embodiment of the present disclosure offer.
As shown in Fig. 2, method includes following operation:
S1 sends dns resolution request by user terminal to the root name server or its mirror image server.
In a wide range of interior multiple user terminals of deployment, wherein the user terminal is that the terminal under internet operators is used
Family, terminal user's type can be counted individually and also a variety of can together be counted, and acquiescence is with education network for single internet operators.
The domain name progress dns resolution that user terminal carries out domain name array according to the server address in root server array is asked
Ask transmission, wherein root server array is the addresses IPv6 of global 13 root servers.
S2 asks the dns resolution to carry out route tracking, obtains rhizosphere name clothes when sending the dns resolution request
Business device route tracking characteristic value data, as shown in table 1.
Table 1
For each user terminal, route tracking is carried out to the addresses server ip v6 of root server array, wherein described
Route tracking is to utilize the all-router between the computer and object-computer of ICMP agreement positioning terminals.Ttl value can be with
The quantity for reflecting the router or gateway that data packet is passed through, by manipulating the ttl value of independent ICMP callings message and observing the report
The abandoned return information of text routing forwarding information will generate root name server route tracking characteristic value data each time, and
Send it to data storage server.Wherein, each records in the list of root name server route tracking characteristic value data
Including:User terminal IP address, the addresses root server IPv6, the detailed data of route tracking, if time-out, route tracking time
Etc. critical informations, design parameter refer to table 1.
S3, the root name server array or the response dns resolution request of its mirror image server, obtain dns resolution feature
Value Data.
It counts different root servers and dns resolution characteristic value data is generated for the domain name mapping time in domain name array, and
The dns resolution characteristic value data of generation is sent to data storage server afterwards, dns resolution characteristic value data includes user terminal
Network attribute, such as IP address, dns server address accesses rhizosphere name, parses the time, Internet Service Provider is
The critical informations such as no successfully resolved, design parameter refer to table 2, and dns resolution initial data is as shown in Figure 3.Data storage service
Dns resolution characteristic value data is stored in dns resolution characteristic table and root name server characteristic table by device.
Table 2
S4 parses the dns resolution characteristic value data and root name server route tracking characteristic value data, obtains
The liveness of IPv6 is supported to the root name server and its mirror image server of Internet Service Provider.
Data processing server is to the dns resolution characteristic value data and root name server route tracking characteristic value that are stored
Data are for statistical analysis, obtain root name server and its mirroring service of single network operator and multiple network operators
Device supports the liveness of IPv6.
By counting data all in dns resolution characteristic table, the data acquisition system of dns resolution is obtained, is then parsed
Dns resolution characteristic value data set, specific steps include:
S41 carries out data parsing to root name server.
Whether root name server data acquisition system is successfully divided into two parts according to parsing, the wherein part of successfully resolved will
The parsing time finds out the average parsing time in the form of average;The number of unsuccessful part statistics parsing failure, Fig. 4 are
The method flow diagram of dns resolution characteristic value data parsing, table 3 are that the root name server after being parsed supports IPv6 parsings total
Tables of data, as can be seen from Table 3 root name server IPv6 parse support overview, mainly with the domain name mapping time, be parsed into
Work(is characterized with unsuccessfully number.The DNS that data in table 3 are handled to obtain root name server to Internet Service Provider
Analysis request supports situation, mainly with average domain name mapping time, successfully resolved and unsuccessfully number, total number of request, analysis request
Accounting is characterized value, referring specifically to table 4.
Table 3
Table 4
S42 carries out data parsing to the mirror image server of root name server.
Terminal in route tracking characteristic value data set is traversed to be walked according to routing to root name server routing resolution data
To whether leaving the domain of terminal and filtering mirror image server and overseas mirror image server in domain, moves towards last three according to routing and jump
Specific trend analyze the specific location of mirror image server, the position of the mirror image server is then recorded if mirror image server in domain
It sets, then determines whether primary root server if overseas server, if not primary root server then deletes this data, Fig. 5 is solution
The flow chart of analysis routing data, table 5 are mirror image server distribution table in domain, and table 6 is that terminal node is route with root name server
Tables of data is handled to obtain mirror image server analysis feature and support in Internet Service Provider domain to the data in table 6
Degree, referring specifically to table 7, that reflects the mirror image server deployment scenario of Internet Service Provider, each service provider's flag
Under to the specific performance parameter of each mirror image server under each root name server, mainly with average domain name mapping when
Between, successfully resolved be characterized value with unsuccessfully number, total number of requests, analysis request accounting.
Table 5
Table 6
Table 7
S43 calculates separately the support situation of root name server and its mirror image server to IPv6 liveness.
Root name server support IPv6 liveness (RL) by average domain name mapping time (X), be parsed into power (Y) and
Three factors of analysis request accounting determine that, it is possible thereby to provide the calculation formula of liveness, according to table 4 and table 7, formula can according to this
Support the liveness of IPv6, liveness calculation formula as follows to calculate root name server and its mirror image server:
Wherein, in formula K, P, L be respectively averagely the domain name mapping time, be parsed into power, dissection process accounting weight
Coefficient is influenced, the weight proportion of three influence factors is indicated, is indicated with constant, is given tacit consent to the average value ranges of each influence factor
80%~120% ranging from default-weight influence coefficient (i.e. k2, p2, l2), when influence factor numerical value is better than average value
When 120% or sub-average 80%, up-regulation or decline appropriate influence coefficient, therefore each coefficient that influences is divided into three sections
Formula.
In formula X, Y, Z be respectively influence factor be averaged the domain name mapping time, be parsed into power, dissection process accounting;AVG
For the ensemble average value of the influence factor;ACP be the influence factor when reaching its average value, the factor liveness result of calculation
Account for the accounting situation (50% can be defaulted as) of the factor liveness totality.
Fig. 6 is that the mirror image server for the root name server being calculated according to above-mentioned formula and primary root server are supported
IPv6 liveness analysis result schematic diagrames, as from the foregoing influence IPv6 liveness because be known as the average domain name mapping time, parsing
Success rate and analysis request accounting not only can be seen that the mirror image server and primary root server of root name server by Fig. 6
Support IPv6 liveness situations, can also obtain influences its support for the mirror image server positioned at Beijing, Shanghai and Xi'an
The superior items of IPv6 are analysis request accounting, its advantage for supporting IPv6 is influenced for the mirror image server positioned at Guangzhou
Factor is the average domain name mapping time, and it is successfully resolved that the superior items that it supports IPv6 are influenced for primary root server
Rate, wherein superior items determine that method is the ratio of real data and average value.
As shown in fig. 7, electronic equipment 700 includes processor 710, computer readable storage medium 720.The electronic equipment
700 can execute the method described above with reference to Fig. 2, to carry out Message Processing.
Specifically, processor 710 for example may include general purpose microprocessor, instruction set processor and/or related chip group
And/or special microprocessor (for example, application-specific integrated circuit (ASIC)), etc..Processor 710 can also include being used for caching
The onboard storage device on way.Processor 710 can be performed for the method flow according to the embodiment of the present disclosure described with reference to figure 2
Different actions single treatment units either multiple processing units.
Computer readable storage medium 720, such as can include, store, transmitting, propagating or transmitting appointing for instruction
Meaning medium.For example, readable storage medium storing program for executing can include but is not limited to electricity, magnetic, optical, electromagnetic, infrared or semiconductor system, device,
Device or propagation medium.The specific example of readable storage medium storing program for executing includes:Magnetic memory apparatus, such as tape or hard disk (HDD);Optical storage
Device, such as CD (CD-ROM);Memory, such as random access memory (RAM) or flash memory;And/or wire/wireless communication chain
Road.
Computer readable storage medium 720 may include computer program 721, which may include generation
Code/computer executable instructions make that the execution of processor 710 is for example retouched above in conjunction with Fig. 2 when being executed by processor 710
The method flow stated and its any deformation.
Computer program 721 can be configured with such as computer program code including computer program module.Example
Such as, in the exemplary embodiment, the code in computer program 721 may include one or more program modules, such as including
721A, module 721B ....It should be noted that the dividing mode and number of module are not fixed, those skilled in the art can
To be combined using suitable program module or program module according to actual conditions, when these program modules are combined by processor 210
When execution so that processor 710 can execute for example above in conjunction with method flow described in Fig. 2 and its any deformation.
In accordance with an embodiment of the present disclosure, computer-readable medium can be that computer-readable signal media or computer can
Storage medium either the two is read arbitrarily to combine.Computer readable storage medium for example can be --- but it is unlimited
In --- electricity, system, device or the device of magnetic, optical, electromagnetic, infrared ray or semiconductor, or the arbitrary above combination.It calculates
The more specific example of machine readable storage medium storing program for executing can include but is not limited to:Being electrically connected, be portable with one or more conducting wires
Formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable programmable read only memory
(EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device or
The above-mentioned any appropriate combination of person.In the disclosure, can be any include computer readable storage medium or storage program
Tangible medium, the program can be commanded execution system, device either device use or it is in connection.And in this public affairs
In opening, computer-readable signal media may include in a base band or as the data-signal that a carrier wave part is propagated,
In carry computer-readable program code.Diversified forms may be used in the data-signal of this propagation, including but not limited to
Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable
Any computer-readable medium other than storage medium, the computer-readable medium can send, propagate or transmit for by
Instruction execution system, device either device use or program in connection.The journey for including on computer-readable medium
Sequence code can transmit with any suitable medium, including but not limited to:Wirelessly, wired, optical cable, radiofrequency signal etc., or
Above-mentioned any appropriate combination.
Fig. 8 diagrammatically illustrates the block diagram of the system of the detection IPv6 liveness according to the embodiment of the present disclosure.
As shown in figure 8, detection IPv6 liveness system 800 include resource request module 810, route tracking module 820,
Acquisition module 830, parsing module 840.
Resource request module 810, for sending DNS solutions to root name server or its mirror image server by user terminal
Analysis request;
Route tracking module 820 carries out route tracking for when sending dns resolution request, asking dns resolution, obtains
To root name server route tracking characteristic value data;
Acquisition module 830, root name server array or the response dns resolution request of its mirror image server, obtain dns resolution
Characteristic value data;
Parsing module 840, for dns resolution characteristic value data and root name server route tracking characteristic value data into
Row parsing obtains the root name server of Internet Service Provider and its liveness of mirror image server support IPv6.
It is understood that resource request module 810, route tracking module 820, acquisition module 830, parsing module 840
It may be incorporated in a module and realize or any one module therein can be split into multiple modules.Alternatively, these
At least partly function of one or more of module module can be combined at least partly function of other modules, and one
It is realized in a module.According to an embodiment of the invention, resource request module 810, route tracking module 820, acquisition module 830,
At least one of parsing module 840 can at least be implemented partly as hardware circuit, such as field programmable gate array
(FPGA), programmable logic array (PLA), system on chip, the system on substrate, the system in encapsulation, application-specific integrated circuit
(ASIC), it or can be realized with carrying out the hardware such as any other rational method that is integrated or encapsulating or firmware to circuit, or
It is realized with software, the appropriately combined of hardware and firmware three kinds of realization methods.Alternatively, resource request module 810, route tracking
At least one of module 820, acquisition module 830, parsing module 840 can at least be implemented partly as computer program mould
Block can execute the function of corresponding module when the program is run by computer.
Flow chart in attached drawing and block diagram, it is illustrated that according to the system of the various embodiments of the disclosure, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part for a part for one module, program segment, or code of table, above-mentioned module, program segment, or code includes one or more
Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box
The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical
On can be basically executed in parallel, they can also be executed in the opposite order sometimes, this is depended on the functions involved.Also it wants
It is noted that the combination of each box in block diagram or flow chart and the box in block diagram or flow chart, can use and execute rule
The dedicated hardware based systems of fixed functions or operations is realized, or can use the group of specialized hardware and computer instruction
It closes to realize.
It will be understood by those skilled in the art that the feature described in each embodiment and/or claim of the disclosure can
To carry out multiple combinations or/or combination, even if such combination or combination are not expressly recited in the disclosure.Particularly, exist
In the case of not departing from disclosure spirit or teaching, the feature described in each embodiment and/or claim of the disclosure can
To carry out multiple combinations and/or combination.All these combinations and/or combination each fall within the scope of the present disclosure.
Although the disclosure, art technology has shown and described with reference to the certain exemplary embodiments of the disclosure
Personnel it should be understood that in the case of the spirit and scope of the present disclosure limited without departing substantially from the following claims and their equivalents,
A variety of changes in form and details can be carried out to the disclosure.Therefore, the scope of the present disclosure should not necessarily be limited by above-described embodiment,
But should be not only determined by appended claims, also it is defined by the equivalent of appended claims.
Particular embodiments described above has carried out further in detail the purpose of the present invention, technical solution and advantageous effect
It describes in detail bright, it should be understood that the above is only a specific embodiment of the present invention, is not intended to restrict the invention, it is all
Within the spirit and principles in the present invention, any modification, equivalent substitution, improvement and etc. done should be included in the guarantor of the present invention
Within the scope of shield.
Claims (10)
1. a kind of method of detection IPv6 liveness, including:
S1 sends dns resolution request by user terminal to the root name server or its mirror image server;
S2 asks the dns resolution to carry out route tracking, obtains root name server when sending the dns resolution request
Route tracking characteristic value data;
S3, the root name server array or the response dns resolution request of its mirror image server, obtain dns resolution characteristic value number
According to;
S4 parses the dns resolution characteristic value data and root name server route tracking characteristic value data, obtains mutually
The root name server and its mirror image server of the Internet services provider support the liveness of IPv6.
2. detection method according to claim 1, in the step S2, the dns resolution is asked to carry out route tracking,
Including:
The router between the user terminal and root name server is positioned using ICMP agreements, wherein according to the ICMP
Ttl value in agreement obtains the quantity of router and gateway that dns resolution request is passed through.
3. detection method according to claim 1, wherein the root name server route tracking characteristic value data includes
When the IP address of user terminal, the addresses IPv6 of root name server, route tracking detailed data, time-out information, route tracking
Between;
The dns resolution characteristic value data includes the IPv6 of user terminal IP address, dns server address, root name server
Address, parsing time, internet operators, successfully resolved information.
4. detection method according to claim 1, in step S4, when being parsed to dns resolution characteristic value data, exist
The dns resolution characteristic value data of the dns resolution characteristic value data and parsing failure of successfully resolved, wherein for successfully resolved
Dns resolution characteristic value data calculates the average parsing time, for the dns resolution characteristic value data of parsing failure, calculates solution
The frequency of failure is analysed, by the averagely parsing time and parsing frequency of failure deposit tables of data, is responded as root name server
The IPv6 of dns resolution request parses tables of data.
5. wanting the detection method described in 4 according to right, in step S4, when being parsed to routing tracking feature Value Data, judge
The mirror image server of the root name server is mirror image server or overseas mirror image server in domain, if described domain name service
The mirror image server of device is mirror image server in domain, records the position of the mirror image server, if the root name server
Mirror image server is overseas mirror image server, judges whether the overseas mirror image server is primary root server, if not then deleting
Except this route tracking characteristic, according to the position of the mirror image server of record obtain in domain mirror image server distribution table and
Mirror image server parses tables of data in domain.
6. the detection method described in 5 is wanted according to right, wherein:
The IPv6 parsings tables of data of root name server response dns resolution request include Internet Service Provider's title,
Root name server nodename, average domain name mapping time, successfully resolved number, parsing unsuccessfully number, the reconciliation of analysis request sum
Analysis request accounting, wherein obtain according to successfully resolved number and analysis request sum and be parsed into power;
Mirror image server parsing tables of data includes Internet Service Provider's title, root name server node name in the domain
Claim, mirror image server name, average domain name mapping time, successfully resolved number, parsing unsuccessfully number, the reconciliation of analysis request sum in domain
Analysis request accounting, wherein obtain according to successfully resolved number and analysis request sum and be parsed into power.
7. detection method according to claim 6 show that the rhizosphere name of Internet Service Provider takes according to following formula
Be engaged in device and its liveness RL of mirror image server support IPv6:
Wherein, X is the average domain name mapping time, and Y is parsed into power to be described, and Z is the analysis request accounting;AVG is
The ensemble average value of the influence factor;ACP be the influence factor when reaching its average value, which accounts for
The accounting situation of the factor liveness totality;K, P and L be respectively averagely the domain name mapping time, be parsed into power and parsing request
The weights influence coefficient of accounting, wherein k2、p2And l2, coefficient is influenced for default-weight, indicates K, P and L average value ranges respectively
80%~120%, when influence factor numerical value be higher than average value 120% or sub-average 80% when, up-regulation or decline
Coefficient is influenced, each coefficient that influences is divided into three-stage, as follows:
8. a kind of electronic equipment of detection IPv6 liveness, including:
Processor;
Memory is stored with computer executable program, and the program by the processor when being executed so that the processor
The method for executing the detection IPv6 liveness as described in claim 1~7.
9. a kind of system of detection IPv6 liveness, including:
Resource request module, for sending dns resolution to the root name server or its mirror image server by user terminal
Request;
Route tracking module carries out route tracking for when sending the dns resolution request, asking the dns resolution, obtains
To root name server route tracking characteristic value data;
Acquisition module, the root name server array or the response dns resolution request of its mirror image server, obtain dns resolution spy
Value indicative data;
Parsing module, for being carried out to the dns resolution characteristic value data and root name server route tracking characteristic value data
Parsing obtains the root name server of Internet Service Provider and its liveness of mirror image server support IPv6.
10. a kind of computer-readable medium is stored thereon with executable instruction, processor is made when described instruction is executed by processor
The method that perform claim requires 1~7 any one.
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 true CN108809769A (en) | 2018-11-13 |
CN108809769B 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) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110635965A (en) * | 2019-08-19 | 2019-12-31 | 北京基调网络股份有限公司 | IPv6 network quality monitoring method, equipment and storage medium |
US20210203671A1 (en) * | 2018-09-18 | 2021-07-01 | Hewlett-Packard Development Company, L.P. | Adaptive domain name system |
CN113225225A (en) * | 2021-04-27 | 2021-08-06 | 中国信息通信研究院 | Root mirror image detection method, device and system, electronic equipment and storage medium |
CN114039914A (en) * | 2021-11-03 | 2022-02-11 | 中盈优创资讯科技有限公司 | Method and device for analyzing survival IPv6 address and planning of metropolitan area network |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030236779A1 (en) * | 2002-06-22 | 2003-12-25 | Samsung Electronics Co., Ltd. | Apparatus and method of searching for DNS server in outernet |
US20040165602A1 (en) * | 2003-02-21 | 2004-08-26 | Samsung Electronics Co., Ltd. | Method and apparatus for interconnecting IPv4 and IPv6 networks |
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 |
-
2018
- 2018-07-18 CN CN201810789999.0A patent/CN108809769B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030236779A1 (en) * | 2002-06-22 | 2003-12-25 | Samsung Electronics Co., Ltd. | Apparatus and method of searching for DNS server in outernet |
US20040165602A1 (en) * | 2003-02-21 | 2004-08-26 | Samsung Electronics Co., Ltd. | Method and apparatus for interconnecting IPv4 and IPv6 networks |
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 |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20210203671A1 (en) * | 2018-09-18 | 2021-07-01 | Hewlett-Packard Development Company, L.P. | Adaptive domain name system |
CN110635965A (en) * | 2019-08-19 | 2019-12-31 | 北京基调网络股份有限公司 | IPv6 network quality monitoring method, equipment and storage medium |
CN113225225A (en) * | 2021-04-27 | 2021-08-06 | 中国信息通信研究院 | Root mirror image detection method, device and system, electronic equipment and storage medium |
CN114039914A (en) * | 2021-11-03 | 2022-02-11 | 中盈优创资讯科技有限公司 | Method and device for analyzing survival IPv6 address and planning of metropolitan area network |
CN114039914B (en) * | 2021-11-03 | 2023-08-08 | 中盈优创资讯科技有限公司 | Method and device for analyzing survival IPv6 address and planning of metropolitan area network |
Also Published As
Publication number | Publication date |
---|---|
CN108809769B (en) | 2020-09-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10015243B2 (en) | Optimized content distribution based on metrics derived from the end user | |
CN108809769A (en) | A kind of method and electronic equipment of detection IPv6 liveness | |
Anwar et al. | Investigating interdomain routing policies in the wild | |
US9172632B2 (en) | Optimized content distribution based on metrics derived from the end user | |
US9729414B1 (en) | Monitoring service availability using distributed BGP routing feeds | |
JP6820320B2 (en) | Methods and devices for real-time traffic guidance using real-time user monitoring data | |
Fanou et al. | On the diversity of interdomain routing in africa | |
KR101086545B1 (en) | Method for determining network proximity for global traffic load balancing using passive tcp performance instrumentation | |
JP4341413B2 (en) | PACKET TRANSFER APPARATUS HAVING STATISTICS COLLECTION APPARATUS AND STATISTICS COLLECTION METHOD | |
JP2004508743A (en) | Internet Route Disassembly and Route Selection Reference | |
JP2011520168A (en) | How to collect and analyze network performance data | |
CN107733950A (en) | Method and apparatus for accessing website | |
CN105794175B (en) | Convey the performance metric of the system of WEB content | |
Choffnes et al. | CDNs meet CN an empirical study of CDN deployments in China | |
Gamero-Garrido et al. | Quantifying nations’ exposure to traffic observation and selective tampering | |
Shavitt et al. | Geographical internet pop level maps | |
Giotsas et al. | Detecting and assessing the hybrid IPv4/IPv6 as relationships | |
US20230300066A1 (en) | Method And System To Reduce A Number Of Border Gateway Protocol Neighbors Crossed To Reach Target Autonomous Systems | |
WO2023065848A1 (en) | Service scheduling method and apparatus, device and computer readable storage medium | |
CN112242937B (en) | Network speed measuring method and device, electronic equipment and computer readable medium | |
CN104079681A (en) | Alias analysis method | |
CN114520784A (en) | Dynamic content accelerated access method and device | |
CN107707469A (en) | Method and apparatus for test access path | |
CN111371826A (en) | CDN node performance detection method, device and system | |
CN115622900B (en) | Data processing method, device, equipment and storage medium |
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 |