The content of the invention
In view of the above problems, it is proposed that the present invention so as to provide one kind overcome above mentioned problem or at least in part solve on
State the domain name system resolution of problem and corresponding domain name system analyzing device.
According to one aspect of the present invention, there is provided a kind of domain name system resolution, including:Network request is monitored, it is raw
Into domain name mapping storehouse;The network request in storehouse is parsed to domain name to count, and calculates each initiation address to not same area
The connection setup time of name server, and store to domain name and parse in storehouse;When new network request is initiated, to domain name
Parse and the name server most short with the initiation address connection setup time of the new network request is searched in storehouse, and by described in
New network request is connected on the name server found.
Alternatively, the content stored in domain name parsing storehouse updates with the time.
Alternatively, each initiation address is calculated to the connection setup time of different name servers, and is stored to described
In domain name mapping storehouse, including:Each initiation address is calculated to the connection setup time of different name servers;According to each connection
The duration of settling time is ranked up;Built according to ranking results for the shorter at least one connection of each initiation address choice duration
Stored between immediately.
Alternatively, entered according to ranking results for each initiation address choice duration shorter at least one connection setup time
Row storage, including:Stored according to ranking results for a most short connection setup time of each initiation address choice duration.
Alternatively, the new network request is connected on the name server found, including:If this connection is lost
Lose, according to the ranking results, the initiation address that the new network request is searched in domain name parses storehouse takes to domain name
The secondary short connection setup time of business device;The new network request is again connected on the name server of lookup;Repetition is held
The row lookup and attended operation, until the new network request successful connection.
Alternatively, domain name system analysis method also includes:If be not present in domain name parsing storehouse with it is described new
The record for initiating address matching of network request, according to the geographical location information and/or application network of the new network request
Information determines name server;The new network request is connected on the name server of determination.
Alternatively, the application network information includes the application network species divided according to operator.
According to another aspect of the present invention, a kind of domain name system analyzing device is additionally provided, including:Monitoring module, match somebody with somebody
It is set to monitoring network request, generation domain name mapping storehouse;Computing module, it is configured to enter the network request in domain name parsing storehouse
Row statistics, each initiation address is calculated to the connection setup time of different name servers;Memory module, it is configured to described
The result of calculation of the computing module is stored in domain name mapping storehouse;Searching modul, when being configured to new network request initiation, to institute
State and the name server most short with the initiation address connection setup time of the new network request is searched in domain name mapping storehouse;Even
Connection module, it is configured to the new network request being connected on the name server found.
Alternatively, the computing module is additionally configured to:Calculate connection of each initiation address to different name servers
Settling time;It is ranked up according to the duration of each connection setup time;According to ranking results address choice duration is initiated to be each
Shorter at least one connection setup time is stored.
Alternatively, it is most short one of each initiation address choice duration that the memory module, which is additionally configured to according to ranking results,
Individual connection setup time is stored.
Alternatively, the searching modul is additionally configured to:If this connection failure, according to the ranking results, in the domain
That the new network request is searched in name parsing storehouse initiates address to the secondary short connection setup time of name server;The company
Connection module is additionally configured to:The new network request is again connected on the name server of lookup;Repeat described look into
Look for and attended operation, until the new network request successful connection.
Alternatively, if the searching modul is additionally configured to be not present and the new network request in domain name parsing storehouse
The record for initiating address matching, determined according to the geographical location information of the new network request and/or application network information
Name server;The link block is additionally configured to the new network request being connected on the name server of determination.
In embodiments of the present invention, network request, generation domain name mapping storehouse are monitored, and is directed to each in domain name mapping storehouse
Network request, calculate its connection setup time to different name servers and storage.After storage, the embodiment of the present invention ensures
Same initiation address(Such as conventional IP address)New network request when initiating, can be searched according to the result of calculation of storage
To the name server most short with the network request settling time.And then new network request is quickly and efficiently connected to domain
On name server, solve exactly not being connected to network request in the prior art and establish a connection time most short domain name
The problem of on server.In addition, in embodiments of the present invention, network request is monitored, and domain is generated according to the network request of monitoring
Name parsing storehouse, strengthen the real-time in the domain name mapping storehouse of generation.Further, comprehensively the IP initiated can be asked by overlay network,
The Connection Time of user network request is reduced, and is automatically analyzed according to the change of the information such as user geographical position and is sent out with current location
The network request Connection Time most short name server risen.It can be reached network in the shortest time using the embodiment of the present invention
Request is connected to name server, saves user time, improves the beneficial effect of Consumer's Experience.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can
Become apparent, below especially exemplified by the embodiment of the present invention.
According to the accompanying drawings will be brighter to the detailed description of the specific embodiment of the invention, those skilled in the art
Above-mentioned and other purposes, the advantages and features of the present invention.
Referred in correlation technique, when network request is connected into name server, can not ensure exactly please by network
Ask to be connected to and establish a connection time most short name server, waste user time, reduce Consumer's Experience.
In order to solve the above technical problems, the embodiments of the invention provide a kind of domain name system resolution.Fig. 1 shows root
According to the process chart of the domain name system resolution of one embodiment of the invention.Referring to Fig. 1, the flow comprises at least step
S102 to step S106.
Step S102, network request, generation domain name mapping storehouse are monitored.
Step S104, counted for the network request in domain name mapping storehouse, calculate each initiation address to difference
The connection setup time of name server, and store into domain name mapping storehouse.
Step S106, when new network request is initiated, searched into domain name mapping storehouse with the initiation of new network request
Location connection setup time most short name server, and new network request is connected on the name server found.
In embodiments of the present invention, network request, generation domain name mapping storehouse are monitored, and is directed to each in domain name mapping storehouse
Network request, calculate its connection setup time to different name servers and storage.After storage, the embodiment of the present invention ensures
Same initiation address(Such as conventional IP address)New network request when initiating, can be searched according to the result of calculation of storage
To the name server most short with the network request settling time.And then new network request is quickly and efficiently connected to domain
On name server, solve exactly not being connected to network request in the prior art and establish a connection time most short domain name
The problem of on server.In addition, in embodiments of the present invention, network request is monitored, and domain is generated according to the network request of monitoring
Name parsing storehouse, strengthen the real-time in the domain name mapping storehouse of generation.Further, comprehensively the IP initiated can be asked by overlay network,
The Connection Time of user network request is reduced, and is automatically analyzed according to the change of the information such as user geographical position and is sent out with current location
The network request Connection Time most short name server risen.It can be reached network in the shortest time using the embodiment of the present invention
Request is connected to name server, saves user time, improves the beneficial effect of Consumer's Experience.
As shown in the step S102 in Fig. 1, monitoring of the embodiment of the present invention receives network request, and according to the net received
Network request generation domain name mapping storehouse., please for the network in domain name mapping storehouse according to step S104 after generating domain name mapping storehouse
Ask and counted, when the connection of initiation address to the different name servers of each network request is established in calculating domain name mapping storehouse
Between and store, can be according to the initiation address of each network request of storage to not same area when being initiated so as to new network request
The name server that the connection setup time selection of name server is suitable is attached.With calculating the initiation of each network request
Location to after the connection setup time of different server, be when new network request is initiated, can be efficiently and rapidly by network
Request is connected to corresponding to most short connection setup time on name server, when the embodiment of the present invention is established to the connection calculated
Between be ranked up.After sequence, the shorter at least one connection foundation of address choice duration is initiated to be each according to ranking results
Time is stored.In the embodiment of the present invention, the quantity of the initiation address of network request is difficult to estimate, can be up to ten thousand, can
To be up to ten million or even more than one hundred million, when analyzing the network request monitored, to improve in domain name mapping storehouse in storage
The real-time of appearance, guarantee it is efficient and rational rapidly network request is connected to establish a connection the time it is most short domain name clothes
It is engaged on device, the content stored in domain name mapping storehouse updates with the time.
The scheduled time(Such as 1 day or 12 hours)Network request interior, that collection monitoring of the embodiment of the present invention arrives, according to monitoring
To network request domain name mapping storehouse is updated.Such as, according to the record stored in current domain name mapping storehouse, with network request
To establish Connection Time most short name server be Pekinese's name server for initiation address.But in actual motion, with the net
The Connection Time most short name server for Hebei is established in the initiation address of network request.If can not be to domain name mapping library storage
Record is upgraded in time, then when the new network request of the initiation address is initiated every time, according to what is stored in domain name mapping storehouse
The network request is connected to Pekinese's name server by record, can not rapidly and efficiently carry out the connection of network request.According to this
Inventive embodiments, dns database is updated according to the network request monitored in the scheduled time.When with network request
When initiating address and establishing Connection Time most short name server and change, the embodiment of the present invention can be in time by after renewal
Data are preserved to domain name mapping storehouse.As above in example, it can upgrade in time and establish the Connection Time most with the initiation address of network request
Short name server is the name server in Hebei, is avoided when name server changes, can not upgrade in time network
The initiation address of request is established the shortest time of connection with name server and stored.After storage, the embodiment of the present invention
Step S106 as shown in fig. 1 is performed, when new network request is initiated, is searched into domain name mapping storehouse and new network request
The most short connection setup time of the name server of matching, and the new network request of the initiation address is connected to what is found
On name server.
For example, monitoring Pekinese's network request, in the domain name mapping storehouse of the embodiment of the present invention, calculating respectively should
Network request initiates address and Pekinese's name server, the name server in Hebei, the name server in Hunan and wide
The connection setup time of each different name servers such as the name server in state.Afterwards, result of calculation is ranked up, obtained
The time of the name server foundation connection for initiating address and Hebei of the network request is most short.It is then new when the initiation address
Network request initiate when, in domain name mapping storehouse search matched with the initiation address of the network request name server it is most short
Connection setup time.In this example, the time of the name server foundation connection for initiating address and Hebei of the network request is most short,
Then the network request is connected on the name server in the Hebei.
For another example monitoring the network request that a Virtual network operator is telecommunications, stored according to embodiments of the present invention
The sequence of Connection Time is established to same IP network request, it is most short to establish the Connection Time with the initiation address of the network request
Name server is that operator is mobile name server, then it is mobile the network request to be connected into the Virtual network operator
Name server, ensure that the Connection Time of network request is most short.
It should be noted that the Virtual network operator referred in this example is used only as example, can be any net in practice
Network operator, however it is not limited to Virtual network operator mentioned above.
As described above, new network request is connected to and initiates address with it and establish Connection Time most short domain name service
After device, step S106 is finished.If new network request is connected to and initiates address with it and establish Connection Time most short domain
Name server failure, according to above-mentioned ranking results, the embodiment of the present invention searches the hair of new network request in domain name mapping storehouse
Address is played to the secondary short connection setup time of name server.After finding, new network request is again connected into lookup
Name server on.The embodiment of the present invention repeats above-mentioned lookup and attended operation, until new network request connects
Success.For example, monitoring a network request, and according to calculating, obtain establishing connection with the initiation address of the network request
Time first three name server that sorts from short to long is:Name server, Pekinese's name server and the Hunan in Hebei
Name server.When the new network request of the initiation address is initiated, according to the initiation with the network request found
The shortest time of connection is established in address, and the network request is connected on the name server in Hebei.After connection failure, according to
The ranking results stored in domain name mapping storehouse, obtain corresponding with the secondary short time for initiating address foundation connection of the network request
For Pekinese's name server, then the network request is again connected to Pekinese's name server.If still connection failure,
Continue above-mentioned lookup and attended operation, until the network request and name server successful connection.
In addition, in the embodiment of the present invention, network request is monitored, and domain name mapping is generated according to the network request monitored
Storehouse.It is not present for the network request not monitored, in domain name mapping storehouse new with the initiation address identical of the network request
Network request matching record.When receiving new network request, the embodiment of the present invention is according to the ground of new network request
Reason positional information and/or application network information determine name server.Wherein, application network information includes being divided according to operator
Application network species.For example, when receiving new network request, the network request new with this is not present in domain name mapping storehouse
Initiate address matching record, then according to the geographical location information of the network request, such as the initiation address bit of the network request
In Beijing, the network request is connected to corresponding Pekinese name server.For another example when network request is in domain name mapping storehouse
In be not present it is corresponding record, the operator belonged to according to the network request(Such as movement, UNICOM or telecommunications)Please by the network
Ask and be connected on the name server of determination.
Now the domain name system resolution of the present invention is illustrated with specific embodiment.
Embodiment one
Fig. 2 shows the process chart of domain name system resolution in accordance with a preferred embodiment of the present invention, is used for
Support any one above-mentioned domain name system resolution, above-mentioned domain name system resolution is illustrated must become apparent from it is understandable.Ginseng
See Fig. 2, the preferred embodiment comprises at least step S202 to step S220.
Step S202, network request is monitored.
When user browses webpage, the IP corresponding to inquiry first at recurrence name server.Secondly, corresponding to inquiring
After IP, webpage login is carried out using the IP.Therefore, in this example, name server is utilized(Such as conventional Google
8.8.8.8 recurrence name server either Chinese 114.114.114.114 recurrence name server or other recurrence domain names
Server)Monitor network request.
Step S204, generation or renewal domain name mapping storehouse.
Specifically, domain name mapping storehouse is generated according to the network request monitored in step S202.Also, the scheduled time(Such as 1 day
Or 12 hours)Network request interior, that this preferred embodiment Statistical monitor arrives, is updated to domain name mapping storehouse, improves domain name
The real-time in storehouse is parsed, ensures, in new network request initiation, to be rapidly and efficiently connected with name server.
Step S206, calculate connection setup time and store.
Each network request in the domain name mapping storehouse that is generated in step S204 is counted, calculating each network please
That asks initiates address to the connection setup time of different name servers, and stores.
Step S208, new network request is received.
Step S210, judge in parsing database with the presence or absence of the initiation for having the network request with being received in step S208
Address records accordingly.If so, step S212 is performed, if it is not, performing step S220.
Step S212, most short connection setup time is searched, and is attached.
Specifically, the name server matched with the initiation address of new network request is searched into domain name mapping storehouse most
Short connection setup time, and new network request is connected on the name server found.
Step S214, successful connection is judged whether.If so, flow terminates.If it is not, continue executing with step S216.
Step S216, the selection shortest time in remaining connection setup time in lists.
If according to step S214, new network request is connected to the name server failure found, then is tied according to sequence
Fruit, that new network request is searched in domain name mapping storehouse initiates address to the secondary short connection setup time of name server.
Step S218, judgement server corresponding with the shortest time selected in step S216 whether successful connection.If so,
Flow terminates.Step S216 is performed if it is not, returning.
Judge the shortest time with being selected in step S216(New network request is searched in domain name mapping storehouse to domain name
The secondary short connection setup time of server)Corresponding server whether successful connection.If so, then flow terminates.If it is not, then repeat
Step S216 search operation and step S218 attended operation are performed, until new network request successful connection.
If the initiation address being not present in database with new network request step S220, is parsed according to step S210
The record matched somebody with somebody, then according to the geographical location information of new network request and/or application network information(Such as the difference of operator)Really
Determine name server, flow terminates.
It is real based on same inventive concept, the present invention based on the domain name system resolution that each preferred embodiment provides above
Apply example and a kind of domain name system analyzing device is provided, for realizing above-mentioned domain name system resolution.
Fig. 3 shows the structural representation of domain name system analyzing device according to an embodiment of the invention.Referring to Fig. 3,
The domain name system analyzing device of the embodiment of the present invention comprises at least:Monitoring module 310, computing module 220, memory module 330, look into
Look for module 340 and link block 350.
Between function and each several part of now introducing each device or composition of the domain name system analyzing device of the embodiment of the present invention
Annexation:
Monitoring module 310, it is configured to monitor network request, generation domain name mapping storehouse.
Computing module 320, it is coupled with monitoring module 310, is configured to unite to the network request in domain name mapping storehouse
Meter, each initiation address is calculated to the connection setup time of different name servers.
Memory module 330, it is coupled with computing module 320, is configured to store the meter of computing module in domain name mapping storehouse
Calculate result.
Searching modul 340, it is coupled with memory module 330, when being configured to new network request initiation, to domain name mapping storehouse
The middle lookup name server most short with the initiation address connection setup time of new network request.
Link block 350, it is coupled with searching modul 340, is configured to for new network request to be connected to the domain found
On name server.
In embodiments of the present invention, network request, generation domain name mapping storehouse are monitored, and is directed to each in domain name mapping storehouse
Network request, calculate its connection setup time to different name servers and storage.After storage, the embodiment of the present invention ensures
Same initiation address(Such as conventional IP address)New network request when initiating, can be searched according to the result of calculation of storage
To the name server most short with the network request settling time.And then new network request is quickly and efficiently connected to domain
On name server, solve exactly not being connected to network request in the prior art and establish a connection time most short domain name
The problem of on server.In addition, in embodiments of the present invention, network request is monitored, and domain is generated according to the network request of monitoring
Name parsing storehouse, strengthen the real-time in the domain name mapping storehouse of generation.Further, comprehensively the IP initiated can be asked by overlay network,
The Connection Time of user network request is reduced, and is automatically analyzed according to the change of the information such as user geographical position and is sent out with current location
The network request Connection Time most short name server risen.It can be reached network in the shortest time using the embodiment of the present invention
Request is connected to name server, saves user time, improves the beneficial effect of Consumer's Experience.
As shown in figure 3, monitoring module 310 monitors network request, and domain name mapping storehouse is generated according to network request.Monitoring
After module 310 generates domain name mapping storehouse, computing module 320 is triggered.After computing module 320 is toggled, to domain name mapping
Network request in storehouse is counted, and calculates the initiation address of each network request in domain name mapping storehouse to different name servers
Connection setup time.The memory module 330 being coupled with computing module 320 stores the calculating that computing module 320 is calculated
As a result, when being initiated so as to new network request, link block 350 can arrive according to the initiation address of each network request of storage
The name server that the connection setup time selection of different name servers is suitable is attached.
Computing module 320 calculate each network request initiate address to different server connection setup time it
Afterwards, it is when new network request is initiated, it is corresponding network request efficiently and rapidly can be connected to most short connection setup time
Name server on, computing module 320 is ranked up to the connection setup time calculated.After sequence, memory module 330
Deposited according to ranking results for the initiation address choice duration of each network request shorter at least one connection setup time
Storage.In the embodiment of the present invention, the quantity of the initiation address of network request is difficult to estimate, can be up to ten thousand, can be up to ten million
Individual or even more than one hundred million, when analyzing the network request monitored, to improve the real-time of storage content in domain name mapping storehouse,
Guarantee efficient and rational be rapidly connected to network request to establish a connection on time most short name server, this hair
In bright embodiment, the content stored in domain name mapping storehouse updates with the time.
The scheduled time(Such as 1 day or 12 hours)Network request interior, that collection monitoring of the embodiment of the present invention arrives, according to monitoring
To network request domain name mapping storehouse is updated.Such as, according to the record stored in current domain name mapping storehouse, with network request
To establish Connection Time most short name server be Pekinese's name server for initiation address.But in actual motion, with the net
The Connection Time most short name server for Hebei is established in the initiation address of network request.If can not be to domain name mapping library storage
Record is upgraded in time, then when the same new network request for initiating address is initiated every time, is stored according in domain name mapping storehouse
Record new network request is connected to Pekinese's name server, can not rapidly and efficiently carry out the connection of network request.Root
According to the embodiment of the present invention, dns database is updated according to the network request monitored in the scheduled time.Asked when with network
When the initiation address asked is established Connection Time most short name server and changed, the embodiment of the present invention can in time will renewal
Data afterwards are preserved to domain name mapping storehouse.As above in example, when can upgrade in time with the foundation connection of the initiation address of network request
Between most short name server be Hebei name server, avoid when name server changes, the nothing of memory module 330
Method upgrade in time network request initiation address and name server establish connection shortest time and stored.Store it
Afterwards, when new network request is initiated, searching modul 340 is searched and the initiation address of new network request into domain name mapping storehouse
The most short connection setup time for the name server matched somebody with somebody, and new network request is connected to what is found by link block 350
On name server.
For example, Pekinese's network request is monitored, and in the domain name mapping storehouse of the embodiment of the present invention, computing module
320 calculate the initiation address of the network request and Pekinese's name server, the name server in Hebei, the domain name in Hunan respectively
The connection setup time of each different name servers such as server and the name server in Guangzhou.Afterwards, to result of calculation
Be ranked up, obtain the network request the name server for initiating address and Hebei establish connection time it is most short, by storing
Module 330 is stored.When the new network request of same initiation address is initiated, searching modul 340 is in domain name mapping storehouse
Search the most short connection setup time of the name server matched with the initiation address.In this example, the initiation of the network request
The time that the name server in location and Hebei establishes connection is most short, then the network request is connected to the name server in the Hebei
On.
For another example monitoring the network request that a Virtual network operator is telecommunications, stored according to embodiments of the present invention
The sequence of Connection Time is established to same initiation address, Connection Time most short domain name is established with the initiation address of the network request
Server is that operator is mobile name server, then the network request is connected into the Virtual network operator for mobile domain name
Server, ensure that the Connection Time of network request is most short.
It should be noted that the Virtual network operator referred in this example is used only as example, can be any net in practice
Network operator, however it is not limited to Virtual network operator mentioned above.
As described above, new network request is connected to after establishing a connection time most short name server,
If new network request be connected to establish a connection the time it is most short name server failure, according to above-mentioned ranking results, look into
When looking for module 340 to search the secondary short connection of the initiation address of new network request to name server in domain name mapping storehouse establishing
Between.After finding, new network request is again connected into lookup with the link block 350 that searching modul 340 is coupled
On name server.Searching modul 340 and link block 350 in the embodiment of the present invention repeat above-mentioned lookup and company
Operation is connect, until new network request successful connection.For example, monitoring a network request, and according to calculating, obtain with being somebody's turn to do
Connection Time first three name server that sorts from short to long is established in the initiation address of network request:The domain name service in Hebei
The name server of device, Pekinese's name server and Hunan.When new network request is initiated, according to finding and this
The shortest time initiated address and establish connection of network request, the network request is connected on the name server in Hebei.Even
After connecing failure, according to the ranking results stored in domain name mapping storehouse, obtain establishing connection with the initiation address of the network request
The secondary short time corresponding to be Pekinese's name server, then the network request is again connected to Pekinese's name server.
If still connection failure, continue above-mentioned lookup and attended operation, until the network request and name server successful connection.
In addition, in the embodiment of the present invention, monitoring module 310 monitors network request, and is given birth to according to the network request monitored
Into domain name mapping storehouse.For the network request not monitored, it is not present with the initiation of the network request in domain name mapping storehouse
The record of location matching.When receiving the new network request of the initiation address, searching modul 340 is according to new network request
Geographical location information and/or application network information determine name server.Wherein, application network information includes being drawn according to operator
The application network species divided.For example, when receiving new network request, being not present in domain name mapping storehouse please with the new network
That asks initiates the record of address matching, then is located at Beijing according to the geographical location information of the network request, such as network request, will
The network request is connected to corresponding Pekinese name server.For another example when network request is not present in domain name mapping storehouse
Corresponding record, the operator belonged to according to the network request(Such as movement, UNICOM or telecommunications)The network request is connected to
On the name server of determination.
According to the combination of any one above-mentioned preferred embodiment or multiple preferred embodiments, the embodiment of the present invention can reach
Following beneficial effect:
In embodiments of the present invention, network request, generation domain name mapping storehouse are monitored, and is directed to each in domain name mapping storehouse
Network request, calculate its connection setup time to different name servers and storage.After storage, the embodiment of the present invention ensures
Same initiation address(Such as conventional IP address)New network request when initiating, can be searched according to the result of calculation of storage
To the name server most short with the network request settling time.And then new network request is quickly and efficiently connected to domain
On name server, solve exactly not being connected to network request in the prior art and establish a connection time most short domain name
The problem of on server.In addition, in embodiments of the present invention, network request is monitored, and domain is generated according to the network request of monitoring
Name parsing storehouse, strengthen the real-time in the domain name mapping storehouse of generation.Further, comprehensively the IP initiated can be asked by overlay network,
The Connection Time of user network request is reduced, and is automatically analyzed according to the change of the information such as user geographical position and is sent out with current location
The network request Connection Time most short name server risen.It can be reached network in the shortest time using the embodiment of the present invention
Request is connected to name server, saves user time, improves the beneficial effect of Consumer's Experience.
The embodiment of the invention also discloses A1, a kind of domain name system resolution, including:
Monitor network request, generation domain name mapping storehouse;
The network request in storehouse is parsed to domain name to count, and calculates each initiation address to different domain name service
The connection setup time of device, and store to domain name and parse in storehouse;
When new network request is initiated, the initiation address searched in storehouse with the new network request is parsed to domain name
Connection setup time most short name server, and the new network request is connected on the name server found.
A2, the method according to A1, domain name parse the content stored in storehouse and updated with the time.
A3, the method according to A1 or A2, wherein, calculate connection of each initiation address to different name servers
Settling time, and store to domain name and parse in storehouse, including:
Each initiation address is calculated to the connection setup time of different name servers;
It is ranked up according to the duration of each connection setup time;
Stored according to ranking results for each initiation address choice duration shorter at least one connection setup time.
A4, the method according to A3, wherein, it is shorter at least for each initiation address choice duration according to ranking results
One connection setup time is stored, including:
Stored according to ranking results for a most short connection setup time of each initiation address choice duration.
A5, the method according to A3 or A4, wherein, the new network request is connected to the domain name service found
On device, including:
If this connection failure, according to the ranking results, searching the new network in domain name parses storehouse please
That asks initiates address to the secondary short connection setup time of name server;
The new network request is again connected on the name server of lookup;
The lookup and attended operation are repeated, until the new network request successful connection.
A6, the method according to A1 to any one of A5, wherein, in addition to:
If the record matched with the initiation address of the new network request is not present in storehouse in domain name parsing, according to institute
The geographical location information and/or application network information for stating new network request determine name server;
The new network request is connected on the name server of determination.
A7, the method according to A6, wherein, the application network information includes the application network divided according to operator
Species.
The embodiment of the invention also discloses B8, a kind of domain name system analyzing device, including:
Monitoring module, it is configured to monitor network request, generation domain name mapping storehouse;
Computing module, it is configured to count the network request in domain name parsing storehouse, calculates each initiation ground
Connection setup time of the location to different name servers;
Memory module, it is configured to store the result of calculation of the computing module in domain name parses storehouse;
Searching modul, when being configured to new network request initiation, parse in storehouse and search and the new net to domain name
Address connection setup time most short name server is initiated in network request;
Link block, it is configured to the new network request being connected on the name server found.
B9, the equipment according to B8, wherein, the computing module is additionally configured to:
Each initiation address is calculated to the connection setup time of different name servers;
It is ranked up according to the duration of each connection setup time;
Stored according to ranking results for each initiation address choice duration shorter at least one connection setup time.
B10, the equipment according to B9, wherein, the memory module is additionally configured to be initiated to be each according to ranking results
A most short connection setup time of address choice duration is stored.
B11, the equipment according to B9 or B10, wherein,
The searching modul is additionally configured to:
If this connection failure, according to the ranking results, searching the new network in domain name parses storehouse please
That asks initiates address to the secondary short connection setup time of name server;
The link block is additionally configured to:
The new network request is again connected on the name server of lookup;
The lookup and attended operation are repeated, until the new network request successful connection.
B12, the equipment according to B8 to any one of B11, wherein, if the searching modul is additionally configured to domain name solution
The record matched with the initiation address of the new network request is not present in storehouse in analysis, according to the geography of the new network request
Positional information and/or application network information determine name server;
The link block is additionally configured to the new network request being connected on the name server of determination.
In the specification that this place provides, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention
Example can be put into practice in the case of these no details.In some instances, known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help to understand one or more of each inventive aspect,
Above in the description to the exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor
The application claims of shield features more more than the feature being expressly recited in each claim.It is more precisely, such as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following embodiment are expressly incorporated in the embodiment, wherein each claim is in itself
Separate embodiments all as the present invention.
Those skilled in the art, which are appreciated that, to be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment
Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or
Sub-component.In addition at least some in such feature and/or process or unit exclude each other, it can use any
Combination is to this specification(Including adjoint claim, summary and accompanying drawing)Disclosed in all features and so disclosed appoint
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification(Including adjoint power
Profit requirement, summary and accompanying drawing)Disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation
Replace.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included some features rather than further feature, but the combination of the feature of different embodiments means in of the invention
Within the scope of and form different embodiments.For example, in detail in the claims, embodiment claimed it is one of any
Mode it can use in any combination.
The all parts embodiment of the present invention can be realized with hardware, or to be run on one or more processor
Software module realize, or realized with combinations thereof.It will be understood by those of skill in the art that it can use in practice
Microprocessor or digital signal processor(DSP)To realize one in domain name system analyzing device according to embodiments of the present invention
The some or all functions of a little or whole parts.The present invention is also implemented as performing method as described herein
Some or all equipment or program of device(For example, computer program and computer program product).Such realization
The program of the present invention can store on a computer-readable medium, or can have the form of one or more signal.This
The signal of sample can be downloaded from internet website and obtained, and either provided on carrier signal or carried in the form of any other
For.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of some different elements and being come by means of properly programmed computer real
It is existing.In if the unit claim of equipment for drying is listed, several in these devices can be by same hardware branch
To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame
Claim.
So far, although those skilled in the art will appreciate that detailed herein have shown and described multiple showing for the present invention
Example property embodiment, still, still can be direct according to present disclosure without departing from the spirit and scope of the present invention
It is determined that or derive many other variations or modifications for meeting the principle of the invention.Therefore, the scope of the present invention is understood that and recognized
It is set to and covers other all these variations or modifications.