CN106533762A - Device switching method and device switching device - Google Patents
Device switching method and device switching device Download PDFInfo
- Publication number
- CN106533762A CN106533762A CN201611012716.9A CN201611012716A CN106533762A CN 106533762 A CN106533762 A CN 106533762A CN 201611012716 A CN201611012716 A CN 201611012716A CN 106533762 A CN106533762 A CN 106533762A
- Authority
- CN
- China
- Prior art keywords
- dns
- testing
- service quality
- local
- standby
- 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/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/50—Network service management, e.g. ensuring proper service fulfilment according to agreements
- H04L41/5003—Managing SLA; Interaction between SLA and QoS
- H04L41/5009—Determining service level performance parameters or violations of service level contracts, e.g. violations of agreed response time or mean time between failures [MTBF]
-
- 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/16—Threshold monitoring
-
- 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]
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Telephonic Communication Services (AREA)
Abstract
The embodiment of the invention discloses a device switching method for automatic switching of a DNS with a low service quality score in a distributed DNS coverage scheme, thereby guaranteeing normal communication. The method comprises: according to an obtained updating device list and a domain name server (DNS) and preset grading dial testing regions, dial testing data are obtained; according to the dial testing data and a service quality evaluation standard, current service quality scores of the DNS at different dial testing regions are determined; on the basis of the current service quality scores and a distributed DNS coverage scheme, a first DNS and a second DNS are determined, wherein the first DNS belongs to the distributed DNSs and the second DNS belongs to standby DNSs, and the service quality score of the first DNS in a target grading dial testing region is lower than that of the second DNS in the target grading dial testing region; and switching from the first DNS to the second DNS is carried out.
Description
Technical field
A kind of the present invention relates to communications field, more particularly to the method and equipment switching device of equipment switching.
Background technology
With the development of the Internet, name server (Domain Name Server, DNS) is used as the primary of network access
The basis of link and intelligent scheduling, its stability, service quality and safety become important all the more.In order to ensure authoritative DNS's
Stable and service quality, realizes that automation services quality evaluation and adjust automatically system are required.But currently for DNS systems
The guarantee of system overall quality of service is in the state of availability detection and complete manual setting.
Prior art is the availability for detecting dns server using call-testing system, then manual according to result of detection
The configuration of adjustment resolution system, ensures service availability.But prior art only does testing monitoring to service availability, it is impossible to feel
Know and assess the situation of DNS service quality;So as to not accurate enough according to the configuration that service availability adjusts resolution system.Therefore,
How evaluation services quality to switch DNS according to service quality be a problem demanding prompt solution.
The content of the invention
A kind of method of equipment switching and equipment switching device is embodiments provided, for determining each equipment
Current service quality score, and according to current service quality score, service quality in allocated DNS coverings scheme is scored
Low DNS automatically switched, it is ensured that communication is normally carried out.
Embodiment of the present invention first aspect provides a kind of method of equipment switching, can include:According to the domain name clothes for obtaining
The renewal list of devices of business device DNS and default classification testing region, obtain testing data;According to the testing data and Service Quality
Amount standards of grading, determine current service quality scores of the DNS in different classification testing regions;According to the current service quality scoring
Scheme is covered with allocated DNS, determines that a DNS and the 2nd DNS, a DNS belong to the allocated DNS, this second
DNS belongs to standby DNS, and a DNS is less than the 2nd DNS in the target in the service quality scoring that target is classified testing region
The service quality scoring in classification testing region;First DNS is switched to into the 2nd DNS.
It should be understood that switching to the mode of the 2nd DNS can be a DNS here:By change DNS main frames automatically
First DNS is switched to the 2nd DNS by the other modes such as name correspondence IP address.
Optionally, in some embodiments of the invention, the default classification testing region include local testing, it is local because
Special net service provider's saves testing, the great Qu testings of local ISP, local ISP group
Survey at least one with the whole network testing;
This obtains testing according to renewal list of devices and the default classification testing region of the domain name server (DNS) for obtaining
Data, can include:According to obtain domain name server (DNS) renewal list of devices, each DNS is carried out the local testing,
The local ISP's saves testing, the great Qu testings of the local ISP, the local the Internet
Service provider's testing and at least one of the whole network testing, correspondence obtain the classification testing data of each DNS.
Optionally, in some embodiments of the invention, this is according to the testing data and services quality score standard, it is determined that
The current service quality score of DNS, can include:
When the usable probability of the testing data is more than the first preset threshold value, according to the testing data and service quality score
Standard, determines current service quality scores of the DNS in different classification testing regions;
Or,
According to the classification testing data of each DNS and the service quality standard, by ranking operation, determine this each
Current service quality scores of the DNS in different classification testing regions.
Optionally, in some embodiments of the invention, the standby DNS from high to low according to priority, including local standby
DNS, the standby DNS of province of local ISP, the standby DNS of great Qu of local ISP, it is local because
The standby DNS and the standby DNS of the whole network of special net service provider.
Optionally, in some embodiments of the invention, this is covered according to the current service quality scoring and allocated DNS
Lid scheme, determines a DNS and the 2nd DNS, can include:
Scheme is covered according to the allocated DNS, the province DNS of non-local ISP is determined, or, it is determined that
Current Quality scoring is less than the DNS of the second preset threshold value as a DNS;
According to the current service quality scoring and the priority of the standby DNS, the 2nd DNS is determined, the 2nd DNS's is excellent
First level highest or current service quality score highest.
Embodiment of the present invention second aspect provides a kind of equipment switching device, can include:
Acquisition module, for the renewal list of devices according to the domain name server (DNS) for obtaining and default classification testing area
Domain, obtains testing data;
First determining module, for according to the testing data and service quality score standard, determining that DNS is dialled in different classifications
Survey the current service quality score in region;
Second determining module, for covering scheme according to the current service quality scoring and allocated DNS, determines first
DNS and the 2nd DNS, a DNS belong to the allocated DNS, and the 2nd DNS belongs to standby DNS, and a DNS is in target
Service quality of the service quality scoring in classification testing region less than the 2nd DNS in the target classification testing region scores;
Handover module, for switching to the 2nd DNS by a DNS.
Optionally, in some embodiments of the invention, the default classification testing region include local testing, it is local because
Special net service provider's saves testing, the great Qu testings of local ISP, local ISP group
Survey at least one with the whole network testing;
The acquisition module, specifically for the renewal list of devices according to the domain name server (DNS) for obtaining, enters to each DNS
Row the local testing, the local ISP save testing, the great Qu testings of the local ISP,
Local ISP's testing and at least one of the whole network testing, correspondence obtain the classification testing number of each DNS
According to.
Optionally, in some embodiments of the invention,
First determining module, specifically for when the testing data usable probability be more than the first preset threshold value when, according to
The testing data and service quality score standard, determine current service quality scores of the DNS in different classification testing regions;
Or,
First determining module, specifically for the classification testing data according to each DNS and the service quality standard, leads to
Ranking operation is crossed, current service quality scores of each DNS in different classification testing regions is determined.
Optionally, in some embodiments of the invention,
The standby DNS is from high to low according to priority, standby including the province of local standby DNS, local ISP
It is standby with the standby DNS of the great Qu of DNS, local ISP, the standby DNS of local ISP and the whole network
Use DNS.
Optionally, in some embodiments of the invention,
Second determining module, specifically for covering scheme according to the allocated DNS, determines non-local Internet service
The province DNS of provider, or, determine DNS of the current Quality scoring less than the second preset threshold value as a DNS;According to this
The priority of current service quality score and the standby DNS, determines the 2nd DNS, the highest priority of the 2nd DNS or works as
Front service quality scoring highest.
As can be seen from the above technical solutions, the embodiment of the present invention has advantages below:
In embodiments of the present invention, renewal list of devices and the default classification group according to the domain name server (DNS) for obtaining
Region is surveyed, testing data are obtained;According to the testing data and service quality score standard, determine DNS in different classification testing areas
The current service quality score in domain;Scheme is covered according to the current service quality scoring and allocated DNS, a DNS is determined
With the 2nd DNS, a DNS belongs to the allocated DNS, and the 2nd DNS belongs to standby DNS, and a DNS is classified in target
Service quality of the service quality scoring in testing region less than the 2nd DNS in the target classification testing region scores;By this
One DNS switches to the 2nd DNS.As the service quality scoring of the 2nd DNS is obtained according to service quality, further accurately
The service quality for determining each DNS, so, the scoring of the service quality of the 2nd DNS is commented higher than the service quality of a DNS
Point, then, a DNS is switched to into the 2nd DNS, it is ensured that communication is preferably carried out.
Description of the drawings
In order to be illustrated more clearly that embodiment of the present invention technical scheme, below will be to institute in embodiment and description of the prior art
The accompanying drawing that needs are used is briefly described, it should be apparent that, drawings in the following description are only some enforcements of the present invention
Example, for those of ordinary skill in the art, on the premise of not paying creative work, can be being obtained according to these accompanying drawings
Obtain other accompanying drawings.
Fig. 1 is a server application logical schematic provided in an embodiment of the present invention;
Fig. 2 is one embodiment schematic diagram of equipment switching method provided in an embodiment of the present invention;
Fig. 3 is a structural representation of DNS configuration management systems provided in an embodiment of the present invention;
Fig. 4 is a structural representation of testing management module provided in an embodiment of the present invention;
Fig. 5 is the structural representation that testing explorer provided in an embodiment of the present invention detects dns server;
Fig. 6 is a structural representation of testing data base provided in an embodiment of the present invention;
Fig. 7 is a structural representation of Quality Calculation Module provided in an embodiment of the present invention;
Fig. 8 is a structural representation for covering computation schemes module provided in an embodiment of the present invention;
Fig. 9 is a structural representation of GLUE resolution systems provided in an embodiment of the present invention;
Figure 10 is one embodiment schematic diagram of equipment switching device provided in an embodiment of the present invention.
Specific embodiment
A kind of method of equipment switching and equipment switching device is embodiments provided, for determining each equipment
Current service quality score, and according to current service quality score, service quality in allocated DNS coverings scheme is scored
Low DNS switches over, it is ensured that communication is normally carried out.
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention
Accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only
The embodiment of a part of the invention, rather than the embodiment of whole.Based on the embodiment in the present invention, ordinary skill people
The every other embodiment obtained under the premise of creative work is not made by member, should all belong to the model of present invention protection
Enclose.
Prior art is the availability for detecting dns server using call-testing system, then manual according to result of detection
The configuration of adjustment resolution system, ensures the proper communication of equipment.But prior art only does testing monitoring to service availability,
Can not perceive and assess the situation of DNS service quality;So as to not accurate enough according to the configuration that service availability adjusts resolution system
Really.Therefore, how evaluation services quality to switch DNS according to service quality be a problem demanding prompt solution.
In technical solution of the present invention, by the DNS service performance rating scheme based on testing, by describing DNS service
Device covers the ability of a certain network area, determines standby DNS and needs the DNS for switching off.The present invention combines DNS marginalisations
System, by host name correspondence IP (Internet protocol address, Internet Protocol) the Reference Services quality detection of DNS
Adjust automatically, realize automatic security mechanism based on DNS service quality.
The executive agent of the embodiment of the present invention can be terminal or server, following to be illustrated with server.Eventually
End can include mobile phone, panel computer, personal digital assistant (English full name:Personal Digital Assistant, English
Abbreviation:PDA), point-of-sale terminal (English full name:Point of Sales, english abbreviation:POS), the arbitrarily terminal such as vehicle-mounted computer sets
It is standby.
The logical construction schematic diagram of server is as shown in Figure 1, it may include DNS configuration management systems, testing management module, dial
Survey explorer, testing data base, Quality Calculation Module, monitoring system, covering computation schemes module and GLUE (DNS host name intelligence
Can) resolution system.
By way of example technical solution of the present invention is specifically described below, as shown in Fig. 2 implementing for the present invention
One embodiment schematic diagram of equipment switching method in example, including:
201st, obtain the renewal list of devices of domain name server (DNS);
In embodiments of the present invention, server obtains the renewal list of devices of domain name server (DNS).In actual applications,
As shown in figure 3, for a structural representation of DNS configuration management systems, it may include resource management system, DNS configuration managements system
System, DNS original devices pond, DNS cold standby equipment ponds and DNS faulty equipments pond.DNS configuration management systems are every week time
Phase, obtained by the application programming interfaces (Application Program Interface, API) of resource management system and marked
The list of devices of " DNS applications " is designated as, list of devices includes but is not limited to DNS implementor names, IP, device network region, wherein, if
Standby network area can be expressed as:ISP (ISP, Internet Server Provider)-province.DNS matches somebody with somebody
Role of the management system according to the health degree report and O&M configuration of the DNS equipment for obtaining is put, DNS equipment is divided into " DNS is original
Equipment pond ", " DNS cold standby equipment pond ", " DNS faulty equipments pond " three configuration lists.
If the device IP list in DNS original devices pond changes, then DNS Configuration Manager is in next communication
In the cycle, send whole DNS list of devices and give testing management module;If be not changed in, send out every time by communication for DNS Configuration Manager
" 0 " is sent to testing management module, using the DNS list of devices operation for having preserved, that " 0 " here represents is exactly DNS to server
List of devices does not change, it is also possible to substitute " 0 " with other marks.
202nd, renewal list of devices and the default classification testing region according to the domain name server (DNS) for obtaining, obtains and dials
Survey data;
In embodiments of the present invention, server is according to the renewal list of devices of domain name server (DNS) for obtaining and default
Classification testing region, obtains testing data.Default classification testing region includes local testing, local ISP
Province testing, the great Qu testings of local ISP, local ISP's testing and the whole network testing
It is at least one;
So, renewal list of devices and the default classification testing region according to the domain name server (DNS) for obtaining, obtains and dials
Data are surveyed, including:According to the renewal list of devices of the domain name server (DNS) for obtaining, local testing, local is carried out to each DNS
ISP's saves testing, the great Qu testings of local ISP, local ISP
Testing and at least one of the whole network testing, correspondence obtain the classification testing data of each DNS.
In actual applications, 1, as shown in figure 4, for a structural representation of testing management module, it may include testing mesh
Mark analysis program, testing task assembly program, classification testing strategy and testing task issue program.Testing target analysis procedure is every
The individual cycle obtains the DNS device IP lists for updating, and testing target is updated, and directly update row if updating the data to issue
Table, uses existing local data if being not changed in.After list update by target analysis procedure output " testing Target IP-
Network area " mapping table.
Testing task assembly program combines classification testing strategy, testing explorer list, testing target and network area and closes
It is table, assembles testing task, the form of testing task can be " testing explorer IP- testings detect target-network area ".
Exemplary:Classification testing region can divide 5 ranks to carry out testing;
(1) local testing:Testing is carried out with machine room with 1 equipment;
(2) this ISP- saves testing:Same province's difference node carries out testing with 2 equipment;
(3) this ISP- great Qu testings:Each same ISP, Tong great Qu, different province carry out testing with 2 equipment;
(4) this ISP testings:Same ISP, difference great Qu, all provinces respectively carry out testing with 2 equipment;
(5) the whole network testing:All ISP respectively carry out testing with 2 equipment;
Task issues program and testing task is sent to according to the form of above-mentioned example the testing explorer specified.
2nd, as shown in figure 5, detecting the structural representation of dns server for testing explorer;Each time cycle of explorer
Obtain the IP of detection target DNS;Explorer inquires about designated domain name by dig orders, and continuous-query 10 times records each inquiry
Time, if inquiry is unsuccessfully designated as 0.Here inquiry times are not limited, and in general, inquiry times are more, and data are more accurate,
But also compare accordingly and lose time and Internet resources;Inquiry times are fewer, and data are more inaccurate, so, generally learn from else's experience and test
Value, takes here 10 times, in practical application, can adjust according to the actual requirements and accordingly.Each time cycle of explorer will collect
Data is activation to data storage server, i.e. testing data base, data form can for " when m- detection Target IP-network area
Domain-inquiry time delay ", specific data form is not limited herein.
3rd, as shown in fig. 6, for the structural representation of testing data base, it may include data cached and data base;Testing data
Storehouse receives the data that explorer is reported, and a newest secondary data is stored in the machine caching, and provides query interface;Last data
Data base is stored according to time serieses.
203rd, according to testing data and service quality score standard, current clothes of the DNS in different classification testing regions are determined
Business quality score;
In embodiments of the present invention, server determines DNS at different points according to testing data and service quality score standard
The current service quality score in level testing region;Specifically, according to testing data and service quality score standard, determine DNS's
Current service quality score, including:When the usable probability of testing data is more than the first preset threshold value, according to testing data kimonos
Business quality score standard, determines current service quality scores of the DNS in different classification testing regions;Or, according to each DNS's
Classification testing data and service quality standard, by ranking operation, determine current clothes of each DNS in different classification testing regions
Business quality score.
In actual applications, as shown in fig. 7, for the structural representation of Quality Calculation Module, it may include testing data grabber
Program, DNS service amount calculation routine, service quality standards of grading and dns server grade form.The testing of Quality Calculation Module
Data grabber program, captures testing data in each cycle, and the DNS device IP for not having a newest secondary data continues to use what is preserved before
Service quality, when counting is added to 3, is reduced to 0 point by data, and counting+1 every time.DNS service amount calculation routine is according to service
Quality score standard and the testing data for obtaining, by way of ranking operation, the hundred-mark system for providing service quality is calculated.Percentage
Postpone meansigma methodss in system and can account for fraction 80%, data variance can account for fraction 20%, provide the clothes of above-mentioned 5 grade network area respectively
Business quality score.Quality Calculation Module complete dns server grade form exist it is local, form can for " service IP- network areas-
Score value ".
It should be understood that in hundred-mark system here, in general, postponing the ratio shared by meansigma methodss higher than shared by data variance
Ratio, dns server scoring tableau format include but is not limited to above-mentioned shown.
204th, scheme is covered according to current service quality score and allocated DNS, determines a DNS and the 2nd DNS, the
One DNS belongs to allocated DNS, and the 2nd DNS belongs to standby DNS, and a DNS is commented in the service quality that target is classified testing region
Divide the service quality scoring for being classified testing region less than the 2nd DNS in target;
In embodiments of the present invention, server covers scheme according to current service quality score and allocated DNS, it is determined that
First DNS and the 2nd DNS, a DNS belong to allocated DNS, and the 2nd DNS belongs to standby DNS, and a DNS is classified in target
The service quality scoring in testing region is classified the service quality scoring in testing region less than the 2nd DNS in target.Wherein, it is standby
DNS from high to low according to priority, including local standby DNS, the standby DNS of province of local ISP, local because of spy
The standby DNS of great Qu, the standby DNS of local ISP and the standby DNS of the whole network of net service provider.
Scheme is covered according to current service quality score and allocated DNS, a DNS and the 2nd DNS is determined, including:
Scheme is covered according to allocated DNS, the province DNS of non-local ISP is determined, or, determine that current Quality is commented
Divide the DNS for being less than the second preset threshold value as a DNS;According to current service quality score and the priority of standby DNS, it is determined that
The highest priority or current service quality score highest of the 2nd DNS, the 2nd DNS.
In actual applications, as shown in figure 8, for cover computation schemes module structural representation, it may include dns server
Grade form crawl, region overlay judgement, cover scheme evaluation on service quality graded standard, line, dns server covering side on line
Case and overlay device replacement policy.
(1) cover computation schemes module and dns server grade form is captured by API from Quality Calculation Module;
(2) cover computation schemes module and combine service quality graded standard and dns server grade form, calculate 5 grades
Alternate device pond;
Service quality graded standard can be specifically:100 points can carry out equivalencing, and 80 points can carry out failure replacement, and 80
Divide following equipment unavailable in this network area;It should be understood that service quality graded standard provided here is not limited to above-mentioned carrying
For this optional scheme.
5 grades of alternate device ponds can be including but not limited to:Local backup device pond, this ISP- save alternate device pond, this
ISP- great Qu alternate devices pond, this ISP alternate devices pond, the whole network alternate device pond.
(3) scheme and dns server grade form are covered according to dns server on line, carries out overlay strategy calculating;
The situation for covering the offline replacement of scheme equipment whether in need on existing line is calculated, if it has, then from response
Equipment pond in obtain replacement equipment, form new covering scheme and equipment replacement policy;
The overlay area that non-ISP- is saved is calculated, checks that this ISP- saves alternate device pond and sees if there is available devices, if
There are available devices that equipment is supplemented to this ISP- and save covering, form new covering scheme and equipment replacement policy;
(4) overlay strategy change task is generated according to new covering scheme and the assembling of equipment replacement policy, and is handed down to
GLUE resolution systems.
205th, a DNS is switched to into the 2nd DNS.
In embodiments of the present invention, a DNS is switched to the 2nd DNS by server.It should be understood that here a DNS is cut
The mode for being changed to the 2nd DNS can be:By the other modes such as change DNS host name correspondence IP address automatically, a DNS is cut
It is changed to the 2nd DNS.In actual applications, as shown in figure 9, for a structural representation of GLUE resolution systems, GLUE parsings system
System may include to receive overlay device replacement policy, perform replacement operation and verify confirmation replacement policy to come into force.Specifically, GLUE solutions
Analysis system task reception each time cycle of program receives overlay device and replaces task;Perform replacement operation loading procedure and increase newly
Task;Server is locally carrying out whether parsing verification replacement policy comes into force.
In the present embodiment, renewal list of devices and default classification of the server according to the domain name server (DNS) for obtaining
Testing region, obtains testing data;According to testing data and service quality score standard, determine DNS in different classification testing areas
The current service quality score in domain;Scheme is covered according to current service quality score and allocated DNS, determine a DNS and
2nd DNS, a DNS belong to allocated DNS, and the 2nd DNS belongs to standby DNS, and a DNS is classified testing region in target
Service quality scoring is classified the service quality scoring in testing region less than the 2nd DNS in target;First DNS is switched to into second
DNS.By prior art just for the monitoring of dns server availability, the monitoring of the whole network service quality is promoted to;And provide multistage
Testing system, by the sane level testing of a dimension three-dimensional chemical conversion multiple dimensions, further accurately evaluates separate unit dns server most
The coverage of optimization, determines the service quality scoring of DNS, ensures for automatic service quality and provide basic data.
Above the method for the equipment switching in the embodiment of the present invention is described, below in the embodiment of the present invention
Equipment switching device is described.As shown in Figure 10, it is that the enforcement of the equipment switching device provided in the embodiment of the present invention is illustrated
It is intended to, including:
Acquisition module 1001, dials for the renewal list of devices according to the domain name server (DNS) for obtaining and default classification
Region is surveyed, testing data are obtained;
First determining module 1002, for according to testing data and service quality score standard, determining DNS in different classifications
The current service quality score in testing region;
Second determining module 1003, for covering scheme according to current service quality score and allocated DNS, determines the
One DNS and the 2nd DNS, a DNS belong to allocated DNS, and the 2nd DNS belongs to standby DNS, and a DNS is dialled in target classification
The service quality scoring for surveying region is classified the service quality scoring in testing region less than the 2nd DNS in target;
Handover module 1004, for switching to the 2nd DNS by a DNS.
Optionally, in some embodiments of the invention, default classification testing region include local testing, it is local because of spy
Net service provider's saves testing, the great Qu testings of local ISP, local ISP's testing
With at least one of the whole network testing;
Acquisition module 1001, specifically for the renewal list of devices according to the domain name server (DNS) for obtaining, to each DNS
Carry out local testing, local ISP and save testing, the great Qu testings of local ISP, local
ISP's testing and at least one of the whole network testing, correspondence obtain the classification testing data of each DNS.
Optionally, in some embodiments of the invention, the first determining module 1002, specifically for when testing data can
When being more than the first preset threshold value with probability, according to testing data and service quality score standard, determine DNS in different classification testings
The current service quality score in region;
Optionally, in some embodiments of the invention, the first determining module 1002, specifically for according to each DNS's
Classification testing data and service quality standard, by ranking operation, determine current clothes of each DNS in different classification testing regions
Business quality score.
Optionally, in some embodiments of the invention, standby DNS from high to low according to priority, including local standby
DNS, the standby DNS of province of local ISP, the standby DNS of great Qu of local ISP, it is local because
The standby DNS and the standby DNS of the whole network of special net service provider.
Optionally, in some embodiments of the invention, the second determining module 1003, specifically for according to allocated
DNS covers scheme, determines the province DNS of non-local ISP, or, determine that current Quality scoring is pre- less than second
The DNS of threshold value is put as a DNS;According to current service quality score and the priority of standby DNS, the 2nd DNS is determined, second
The highest priority or current service quality score highest of DNS.
Those skilled in the art can be understood that, for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with
Realize by another way.For example, device embodiment described above is only schematic, for example, the unit
Divide, only a kind of division of logic function can have other dividing mode, such as multiple units or component when actually realizing
Can with reference to or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or
The coupling each other for discussing or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit
Close or communicate to connect, can be electrical, mechanical or other forms.
The unit as separating component explanation can be or may not be it is physically separate, it is aobvious as unit
The part for showing can be or may not be physical location, you can local to be located at one, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list
Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized and as independent production marketing or use using in the form of SFU software functional unit
When, can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part for contributing to prior art in other words or all or part of the technical scheme can be in the form of software products
Embody, the computer software product is stored in a storage medium, use so that a computer including some instructions
Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the invention
Portion or part steps.And aforesaid storage medium includes:USB flash disk, portable hard drive, read only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
The above, above example only to illustrate technical scheme, rather than a limitation;Although with reference to front
State embodiment to be described in detail the present invention, it will be understood by those within the art that:Which still can be to front
State the technical scheme described in each embodiment to modify, or equivalent is carried out to which part technical characteristic;And these
Modification is replaced, and does not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (10)
1. a kind of method that equipment switches, it is characterised in that include:
According to renewal list of devices and the default classification testing region of the domain name server (DNS) for obtaining, testing data are obtained;
According to the testing data and service quality score standard, current service matter of the DNS in different classification testing regions is determined
Amount scoring;
Scheme is covered according to the current service quality score and allocated DNS, a DNS and the 2nd DNS is determined, described the
One DNS belongs to the allocated DNS, and the 2nd DNS belongs to standby DNS, and a DNS is in target classification testing region
Service quality scoring the service quality scoring in testing region is classified less than the 2nd DNS in the target;
First DNS is switched to into the 2nd DNS.
2. method according to claim 1, it is characterised in that the default classification testing region include local testing,
Province's testing of local ISP, the great Qu testings of local ISP, local Internet service are carried
For business's testing and at least one of the whole network testing;
Renewal list of devices and the default classification testing region according to the domain name server (DNS) for obtaining, obtains testing number
According to, including:
According to the renewal list of devices of the domain name server (DNS) for obtaining, the local testing, described local is carried out to each DNS
ISP's saves testing, the great Qu testings of the local ISP, the local the Internet clothes
Business provider's testing and at least one of the whole network testing, correspondence obtain the classification testing data of each DNS.
3. method according to claim 1 and 2, it is characterised in that described to be commented according to the testing data and service quality
Minute mark is accurate, determines current service quality scores of the DNS in different classification testing regions, including:
When the usable probability of the testing data is more than the first preset threshold value, according to the testing data and service quality score
Standard, determines current service quality scores of the DNS in different classification testing regions;
Or,
According to classification testing data and the service quality standard of each DNS, by ranking operation, it is determined that it is described each
Current service quality scores of the DNS in different classification testing regions.
4. method according to claim 1 and 2, it is characterised in that the standby DNS from high to low according to priority, including
Local standby DNS, the standby DNS of province of local ISP, local ISP great Qu it is standby
DNS, the standby DNS of local ISP and the standby DNS of the whole network.
5. method according to claim 4, it is characterised in that described to have distributed according to the current service quality score and
DNS cover scheme, determine a DNS and the 2nd DNS, including:
Scheme is covered according to the allocated DNS, the province DNS of non-local ISP is determined, or, it is determined that working as
Front quality score is less than the DNS of the second preset threshold value as a DNS;
According to the current service quality score and the priority of the standby DNS, the 2nd DNS, the 2nd DNS is determined
Highest priority or current service quality score highest.
6. a kind of equipment switching device, it is characterised in that include:
Acquisition module, for the renewal list of devices according to the domain name server (DNS) for obtaining and default classification testing region, obtains
Take testing data;
First determining module, for according to the testing data and service quality score standard, determining DNS in different classification testings
The current service quality score in region;
Second determining module, for covering scheme according to the current service quality score and allocated DNS, determines first
DNS and the 2nd DNS, a DNS belong to the allocated DNS, and the 2nd DNS belongs to standby DNS, and described first
DNS is classified the clothes in testing region in the service quality scoring that target is classified testing region less than the 2nd DNS in the target
Business quality score;
Handover module, for switching to the 2nd DNS by a DNS.
7. device according to claim 6, it is characterised in that the default classification testing region include local testing,
Province's testing of local ISP, the great Qu testings of local ISP, local Internet service are carried
For business's testing and at least one of the whole network testing;
The acquisition module, specifically for the renewal list of devices according to the domain name server (DNS) for obtaining, is carried out to each DNS
The local testing, province's testing of the local ISP, the great Qu of the local ISP
At least one of testing, local ISP's testing and the whole network testing, correspondence obtain dividing for each DNS
Level testing data.
8. the device according to claim 6 or 7, it is characterised in that
First determining module, specifically for when the testing data usable probability be more than the first preset threshold value when, according to
The testing data and service quality score standard, determine current service quality scores of the DNS in different classification testing regions;
Or,
First determining module, specifically for the classification testing data according to each DNS and the service quality standard,
By ranking operation, it is determined that current service quality scores of described each DNS in different classification testing regions.
9. the device according to claim 6 or 7, it is characterised in that the standby DNS from high to low according to priority, including
Local standby DNS, the standby DNS of province of local ISP, local ISP great Qu it is standby
DNS, the standby DNS of local ISP and the standby DNS of the whole network.
10. device according to claim 9, it is characterised in that
Second determining module, specifically for covering scheme according to the allocated DNS, determines non-local Internet service
The province DNS of provider, or, determine DNS of the current Quality scoring less than the second preset threshold value as a DNS;According to
The priority of the current service quality score and the standby DNS, determines the 2nd DNS, the priority of the 2nd DNS
Highest or current service quality score highest.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010959915.0A CN112104498B (en) | 2016-11-17 | 2016-11-17 | DNS service quality evaluation method, device, medium and equipment |
CN201611012716.9A CN106533762B (en) | 2016-11-17 | 2016-11-17 | Equipment switching method and equipment switching device |
PCT/CN2017/111655 WO2018090977A1 (en) | 2016-11-17 | 2017-11-17 | Device switching method and device switching apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611012716.9A CN106533762B (en) | 2016-11-17 | 2016-11-17 | Equipment switching method and equipment switching device |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010959915.0A Division CN112104498B (en) | 2016-11-17 | 2016-11-17 | DNS service quality evaluation method, device, medium and equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106533762A true CN106533762A (en) | 2017-03-22 |
CN106533762B CN106533762B (en) | 2020-09-08 |
Family
ID=58353400
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611012716.9A Active CN106533762B (en) | 2016-11-17 | 2016-11-17 | Equipment switching method and equipment switching device |
CN202010959915.0A Active CN112104498B (en) | 2016-11-17 | 2016-11-17 | DNS service quality evaluation method, device, medium and equipment |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010959915.0A Active CN112104498B (en) | 2016-11-17 | 2016-11-17 | DNS service quality evaluation method, device, medium and equipment |
Country Status (2)
Country | Link |
---|---|
CN (2) | CN106533762B (en) |
WO (1) | WO2018090977A1 (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107204873A (en) * | 2017-05-04 | 2017-09-26 | 网宿科技股份有限公司 | A kind of method and relevant device for switching target domain name resolution server |
CN107370624A (en) * | 2017-07-20 | 2017-11-21 | 北京奇艺世纪科技有限公司 | A kind of address switching method, device, domain name system and electronic equipment |
WO2018090977A1 (en) * | 2016-11-17 | 2018-05-24 | 贵州白山云科技有限公司 | Device switching method and device switching apparatus |
WO2018176874A1 (en) * | 2017-04-01 | 2018-10-04 | 北京神州绿盟信息安全科技股份有限公司 | Dns evaluation method and apparatus |
WO2019001514A1 (en) * | 2017-06-29 | 2019-01-03 | 贵州白山云科技股份有限公司 | Method and device for generating cdn coverage scheme, and computer-readable storage medium and computer device thereof |
CN110134553A (en) * | 2019-05-13 | 2019-08-16 | 重庆八戒电子商务有限公司 | A kind of system and method automatically switched based on dual-active data center flow |
CN110177140A (en) * | 2019-05-27 | 2019-08-27 | 湖南快乐阳光互动娱乐传媒有限公司 | A kind of IP scheduling system and method for client data downloading |
WO2020088170A1 (en) * | 2018-11-01 | 2020-05-07 | Oppo广东移动通信有限公司 | Domain name system configuration method and related apparatus |
CN114430402A (en) * | 2020-10-15 | 2022-05-03 | ***通信集团浙江有限公司 | Network domain name traffic scheduling method and device and computing equipment |
CN114978945A (en) * | 2022-05-13 | 2022-08-30 | 北京有竹居网络技术有限公司 | Network dial testing method, device, system, electronic equipment and storage medium |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110336687B (en) * | 2019-05-09 | 2022-04-19 | 上海缤游网络科技有限公司 | Domain name switching method, device and system |
CN112202638B (en) * | 2020-09-29 | 2022-03-01 | 北京百度网讯科技有限公司 | Data processing method, device, equipment and computer storage medium |
CN114615696A (en) * | 2020-12-08 | 2022-06-10 | 中国联合网络通信集团有限公司 | Automatic dial testing method, device, system, server and storage medium |
CN113190425B (en) * | 2021-04-28 | 2023-09-22 | 北京京东振世信息技术有限公司 | Resource switching method and device |
CN113347286A (en) * | 2021-06-17 | 2021-09-03 | 深圳前海微众银行股份有限公司 | Method, device and equipment for determining domain name server and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103167044A (en) * | 2011-12-08 | 2013-06-19 | ***通信集团浙江有限公司 | Intelligent analysis method of domain name system (DNS) and poking measurement device and system |
US8514847B2 (en) * | 2003-06-25 | 2013-08-20 | At&T Intellectual Property I, L.P. | Methods and apparatus for maintaining connectivity with an internet protocol phone operating behind a firewall |
US8706864B1 (en) * | 2010-11-30 | 2014-04-22 | Amazon Technologies, Inc. | Behavior monitoring and compliance for multi-tenant resources |
CN104301171A (en) * | 2014-09-11 | 2015-01-21 | 赛尔网络有限公司 | Network performance measuring method and system based on DNS authoritative server |
CN105516391A (en) * | 2015-12-25 | 2016-04-20 | 互联网域名***北京市工程研究中心有限公司 | CNAME-based DNS (domain name system) domain name resolution method |
CN105959433A (en) * | 2016-07-22 | 2016-09-21 | 无锡华云数据技术服务有限公司 | Domain name resolution method and domain name resolution system |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7653700B1 (en) * | 2000-11-16 | 2010-01-26 | Microsoft Corporation | System and method for performing client-centric load balancing of multiple globally-dispersed servers |
KR100864137B1 (en) * | 2002-12-24 | 2008-10-16 | 엘지노텔 주식회사 | Using Method of Domain Name Service Server |
CN101841575B (en) * | 2010-04-30 | 2012-10-17 | 中国科学院计算机网络信息中心 | Domain name resolution usability evaluation method, server and system |
EP2723116B1 (en) * | 2011-06-14 | 2017-08-16 | Nec Corporation | Mobile communication system, control method for same and non-transitory computer-readable medium in which control program is stored |
CN102572014B (en) * | 2012-03-07 | 2015-12-02 | 华为终端有限公司 | Message treatment method, device and system |
CN103929330B (en) * | 2014-04-22 | 2017-11-03 | 中国科学院计算技术研究所 | Domain name service method for evaluating quality and system |
CN104092791B (en) * | 2014-07-11 | 2017-07-28 | 中国科学院声学研究所 | The Internet content sources dispatching method and system of a kind of comprehensive quality and cost |
CN105337786B (en) * | 2014-07-23 | 2019-07-19 | 华为技术有限公司 | A kind of server performance detection method, device and equipment |
CN104639388B (en) * | 2014-12-30 | 2018-03-16 | 中国科学院计算机网络信息中心 | A kind of dns server method for detecting availability perceived based on user |
CN104954507B (en) * | 2015-06-23 | 2018-09-18 | 中国互联网络信息中心 | The preferred domain name analytic method of data and system |
CN106533762B (en) * | 2016-11-17 | 2020-09-08 | 贵州白山云科技股份有限公司 | Equipment switching method and equipment switching device |
-
2016
- 2016-11-17 CN CN201611012716.9A patent/CN106533762B/en active Active
- 2016-11-17 CN CN202010959915.0A patent/CN112104498B/en active Active
-
2017
- 2017-11-17 WO PCT/CN2017/111655 patent/WO2018090977A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8514847B2 (en) * | 2003-06-25 | 2013-08-20 | At&T Intellectual Property I, L.P. | Methods and apparatus for maintaining connectivity with an internet protocol phone operating behind a firewall |
US8706864B1 (en) * | 2010-11-30 | 2014-04-22 | Amazon Technologies, Inc. | Behavior monitoring and compliance for multi-tenant resources |
CN103167044A (en) * | 2011-12-08 | 2013-06-19 | ***通信集团浙江有限公司 | Intelligent analysis method of domain name system (DNS) and poking measurement device and system |
CN104301171A (en) * | 2014-09-11 | 2015-01-21 | 赛尔网络有限公司 | Network performance measuring method and system based on DNS authoritative server |
CN105516391A (en) * | 2015-12-25 | 2016-04-20 | 互联网域名***北京市工程研究中心有限公司 | CNAME-based DNS (domain name system) domain name resolution method |
CN105959433A (en) * | 2016-07-22 | 2016-09-21 | 无锡华云数据技术服务有限公司 | Domain name resolution method and domain name resolution system |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018090977A1 (en) * | 2016-11-17 | 2018-05-24 | 贵州白山云科技有限公司 | Device switching method and device switching apparatus |
WO2018176874A1 (en) * | 2017-04-01 | 2018-10-04 | 北京神州绿盟信息安全科技股份有限公司 | Dns evaluation method and apparatus |
US11431742B2 (en) | 2017-04-01 | 2022-08-30 | NSFOCUS Information Technology Co., Ltd. | DNS evaluation method and apparatus |
CN107204873B (en) * | 2017-05-04 | 2020-07-10 | 网宿科技股份有限公司 | Method for switching target domain name resolution server and related equipment |
CN107204873A (en) * | 2017-05-04 | 2017-09-26 | 网宿科技股份有限公司 | A kind of method and relevant device for switching target domain name resolution server |
WO2019001514A1 (en) * | 2017-06-29 | 2019-01-03 | 贵州白山云科技股份有限公司 | Method and device for generating cdn coverage scheme, and computer-readable storage medium and computer device thereof |
US11121939B2 (en) | 2017-06-29 | 2021-09-14 | Guizhou Baishancloud Technology Co., Ltd. | Method and device for generating CDN coverage scheme, and computer-readable storage medium and computer device thereof |
CN107370624A (en) * | 2017-07-20 | 2017-11-21 | 北京奇艺世纪科技有限公司 | A kind of address switching method, device, domain name system and electronic equipment |
WO2020088170A1 (en) * | 2018-11-01 | 2020-05-07 | Oppo广东移动通信有限公司 | Domain name system configuration method and related apparatus |
CN110134553A (en) * | 2019-05-13 | 2019-08-16 | 重庆八戒电子商务有限公司 | A kind of system and method automatically switched based on dual-active data center flow |
CN110177140A (en) * | 2019-05-27 | 2019-08-27 | 湖南快乐阳光互动娱乐传媒有限公司 | A kind of IP scheduling system and method for client data downloading |
CN110177140B (en) * | 2019-05-27 | 2022-06-07 | 湖南快乐阳光互动娱乐传媒有限公司 | IP scheduling system and method for client data downloading |
CN114430402A (en) * | 2020-10-15 | 2022-05-03 | ***通信集团浙江有限公司 | Network domain name traffic scheduling method and device and computing equipment |
CN114430402B (en) * | 2020-10-15 | 2023-11-10 | ***通信集团浙江有限公司 | Network domain name traffic scheduling method and device and computing equipment |
CN114978945A (en) * | 2022-05-13 | 2022-08-30 | 北京有竹居网络技术有限公司 | Network dial testing method, device, system, electronic equipment and storage medium |
CN114978945B (en) * | 2022-05-13 | 2024-05-28 | 北京有竹居网络技术有限公司 | Network dial testing method based on edge node, server cluster and related equipment |
Also Published As
Publication number | Publication date |
---|---|
CN106533762B (en) | 2020-09-08 |
CN112104498A (en) | 2020-12-18 |
WO2018090977A1 (en) | 2018-05-24 |
CN112104498B (en) | 2023-04-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106533762A (en) | Device switching method and device switching device | |
US7007144B2 (en) | Method, apparatus, and computer readable medium for managing back-up | |
CN104486673A (en) | Fault handling platform system and fault handling method | |
US11394683B2 (en) | Domain name resolution method and apparatus based on a plurality of availability zones AZ | |
CN104639366A (en) | DNS (domain name server) disaster tolerance system islanding response automatic switching method and device | |
CN103763149A (en) | Real-time statistical method for network user number | |
CN105872127A (en) | IP (Internet protocol) address management system | |
US20130173959A1 (en) | Home/building fault analysis system using resource connection map log and method thereof | |
CN108388433B (en) | Management platform deployment method of super-fusion system | |
CN104468207A (en) | Terminal management method, device and system | |
CN112491719A (en) | Network node selection method, equipment and storage medium | |
CN106897162A (en) | The communication mode system of selection of component, communication system and mobile terminal in a kind of application | |
CN102870447A (en) | Method and apparatus microwave network planning | |
CN106874423B (en) | Search control method and system | |
CN1625109A (en) | Method and apparatus for virtualizing network resources | |
CN110149352A (en) | A kind of service request processing method, device, computer equipment and storage medium | |
CN101873232A (en) | Judgment method of equipment uniqueness and IP network discovery server | |
CN106413001A (en) | Flow control method and device of wireless network connection | |
CN103118156A (en) | Alarm clock setting method and corresponding device | |
CN110045404A (en) | Dustbin localization method and Related product based on Internet of Things | |
US20200274803A1 (en) | A method and server for determining a mapping address of a data stream | |
CN110471897A (en) | File management method and device | |
CN109582829A (en) | A kind of processing method, device, equipment and readable storage medium storing program for executing | |
CN103178997A (en) | Same MAC (Media Access Control) address detection method and device based on LLDP (Link Layer Discovery Protocol) | |
CN105847978A (en) | Intelligent television-based information collection method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 550001 Gui'an New Area High-end Equipment Industry Park in the Southern Park Applicant after: Guizhou Baishan cloud Polytron Technologies Inc Address before: 100015 5 floor, block E, 201 IT tower, electronic city, 10 Jiuxianqiao Road, Chaoyang District, Beijing. Applicant before: Guizhou white cloud Technology Co., Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |