CN109474459A - Domain name configuring management method, device, computer equipment and storage medium - Google Patents
Domain name configuring management method, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN109474459A CN109474459A CN201811201479.XA CN201811201479A CN109474459A CN 109474459 A CN109474459 A CN 109474459A CN 201811201479 A CN201811201479 A CN 201811201479A CN 109474459 A CN109474459 A CN 109474459A
- Authority
- CN
- China
- Prior art keywords
- domain name
- server
- access
- interviewed
- access domain
- 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.)
- Pending
Links
- 238000007726 management method Methods 0.000 title claims abstract description 49
- 230000004044 response Effects 0.000 claims abstract description 84
- 238000004590 computer program Methods 0.000 claims description 16
- 238000001514 detection method Methods 0.000 claims description 15
- 230000002159 abnormal effect Effects 0.000 claims description 14
- 238000000034 method Methods 0.000 description 10
- 230000000977 initiatory effect Effects 0.000 description 6
- 238000009434 installation Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000003993 interaction Effects 0.000 description 3
- 230000001360 synchronised effect Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 210000004209 hair Anatomy 0.000 description 2
- 238000007689 inspection Methods 0.000 description 2
- 239000000203 mixture Substances 0.000 description 2
- 230000008439 repair process Effects 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000010485 coping Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 230000007717 exclusion Effects 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4505—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
- H04L61/4511—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0823—Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
-
- 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/4552—Lookup mechanisms between a plurality of directories; Synchronisation of directories, e.g. metadirectories
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of domain name configuring management method, device, computer equipment and storage mediums, which comprises obtains the access instruction comprising preset access domain list of file names, contains at least one access domain name in access domain list of file names;Network request is initiated according to each access domain name in access domain list of file names, while to interviewed server;And the corresponding access domain name of each network request;Interviewed server is detected to the response speed of each network request, and obtains the corresponding access domain name of the most fast network request of response speed;Using the corresponding access domain name of the most fast network request of response speed as the current accessed domain name for accessing interviewed server.The present invention can from preset access domain list of file names the optimal access domain name of quick obtaining Network status, and server is interviewed with the optimal access domain name access, reduce network delay and promotes the efficiency for accessing interviewed server, enhance user experience.
Description
Technical field
The present invention relates to cloud parsing field more particularly to a kind of domain name configuring management method, device, computer equipment and deposit
Storage media.
Background technique
User initiates network request to server by preset access domain name, if institute when starting application program now
It states request not responding to, then reuses the access domain name and initiate network request again, or pass through other access domain name hairs
Network request is played, until server responds the request, for the method for user access server, efficiency is lower, therefore needs
The efficiency of user access server can be promoted in the method for optimal selection domain name by wanting a kind of, enhance user experience.
Summary of the invention
Based on this, the present invention provides a kind of domain name configuring management method, device, computer equipment and storage medium, is used for
The optimal access domain name of quick obtaining Network status from preset access domain list of file names, and visited with the optimal access domain name
It asks interviewed server, reduce network delay and promotes the efficiency for accessing interviewed server, enhance user experience.
A kind of domain name configuring management method, comprising:
The access instruction comprising preset access domain list of file names is obtained, contains at least one visit in the access domain list of file names
Ask domain name;
Network request is initiated according to each access domain name in the access domain list of file names, while to interviewed server;
And the corresponding access domain name of each described network request;
The interviewed server is detected to the response speed of each network request, and obtains most fast described of response speed
The corresponding access domain name of network request;
Using the corresponding access domain name of the most fast network request of response speed as the access interviewed server
Current accessed domain name.
A kind of domain name configuration management device, comprising:
Module is obtained, for obtaining the access instruction comprising preset access domain list of file names, in the access domain list of file names
Contain at least one access domain name;
Access modules, for according to each access domain name in the access domain list of file names, while to interviewed server
Initiate network request;And the corresponding access domain name of each described network request;
Detection module is responded, for detecting the interviewed server to the response speed of each network request, and is obtained
The corresponding access domain name of the most fast network request of response speed;
Preferentially module, for using the corresponding access domain name of the most fast network request of response speed as access institute
State the current accessed domain name of interviewed server.
A kind of computer equipment, including memory, processor and storage are in the memory and can be in the processing
The computer program run on device, the processor realize above-mentioned domain name configuring management method when executing the computer program
Step.
A kind of computer readable storage medium, the computer-readable recording medium storage have computer program, the meter
The step of calculation machine program realizes above-mentioned domain name configuring management method when being executed by processor.
Above-mentioned domain name configuring management method, device, computer equipment and storage medium can be ranked from preset access domain
The optimal access domain name of quick obtaining Network status in table, and server is interviewed with the optimal access domain name access, it reduces
Network delay and the efficiency for promoting the interviewed server of access, enhance user experience.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention
Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings
Obtain other attached drawings.
Fig. 1 is the application environment schematic diagram of domain name configuring management method in one embodiment of the invention;
Fig. 2 is the flow chart of domain name configuring management method in one embodiment of the invention;
Fig. 3 is the flow chart of domain name configuring management method in another embodiment of the present invention;
Fig. 4 is the flow chart of domain name configuring management method in another embodiment of the present invention;
Fig. 5 is the flow chart of domain name configuring management method in another embodiment of the present invention;
Fig. 6 is the flow chart of domain name configuring management method in another embodiment of the present invention;
Fig. 7 is the schematic diagram of domain name configuration management device in one embodiment of the invention;
Fig. 8 is the schematic diagram of domain name configuration management device in another embodiment of the present invention;
Fig. 9 is the schematic diagram of domain name configuration management device in another embodiment of the present invention;
Figure 10 is a schematic diagram of computer equipment in one embodiment of the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
Domain name configuring management method provided by the present application, can be applicable in the application environment such as Fig. 1, wherein client (meter
Calculate machine equipment/terminal device) it is communicated by network with server (server-side).Server is obtained first comprising preset visit
The access instruction of domain name list is asked, further, according to each access domain name in the access domain list of file names simultaneously to interviewed clothes
Business device initiates network request, at this point, response speed of the detection interviewed server to each network request, and will respond fast
The most fast corresponding access domain name of the network request is spent as the current accessed domain name for accessing the interviewed server.Its
In, client (computer equipment/terminal device) can be, but not limited to various personal computers, laptop, smart phone,
Tablet computer and portable wearable device.Server can use the service of the either multiple server compositions of independent server
Device cluster is realized.
In one embodiment, it as shown in Fig. 2, providing a kind of domain name configuring management method, applies in Fig. 1 in this way
It is illustrated, includes the following steps: for server
S10: the access instruction comprising preset access domain list of file names is obtained, includes at least one in the access domain list of file names
A access domain name.
The access instruction is sent to background server by clicking pre-set button in client by user, for example, when using
When client clicks the start button by the application program for being interviewed server operation and management, the access instruction is sent at family
To the background server.Understandably, the interviewed server is different from the background server, the background server with
It is connected between the interviewed server by network.Therefore, it when user needs to access the interviewed server, needs to pass through
Access domain name in preset access domain list of file names initiates network request, and (network request refers to background server according to one
It accesses and is interviewed server described in domain name access).The access domain list of file names receives network request according to the interviewed server
Rule is preset, and with the application program associated storage in the database of background server;The access domain list of file names
In contain at least one access domain name, the access domain name is to access the domain name of the interviewed server.
In the present embodiment, the access instruction and access domain list of file names therein are obtained, in step S20
Network request is initiated to interviewed server according to each access domain name in the access domain list of file names is synchronous.
S20: according to each access domain name in the access domain list of file names, while network is initiated to interviewed server and is asked
It asks;And the corresponding access domain name of each described network request.
Wherein, the interviewed server can be a server, but the also server set of multiple child servers combinations
Group, when the interviewed server is the server cluster of multiple child servers combination, the interviewed server include two with
On child servers, the child servers are to form a server of the server cluster.Understandably, when the quilt
When visit server is server cluster, according to multiple access domain names in the same access domain list of file names, the accessible quilt
The same child servers for visiting server also may have access to the difference child servers of the interviewed server.For example, working as
There are three (three access domain names are respectively the first domain name, the second domain when the access domain name in the access domain list of file names
Name and third domain name), first domain name, the second domain name and third domain name access can be the same of the interviewed server
A child servers also can be three different child servers of the interviewed server, can also be first domain name access
First child servers of the interviewed server, second domain name and third domain name access the of the interviewed server simultaneously
Two child servers.
Understandably, in the present embodiment, it when the background server initiates network request to the interviewed server, asks
It is synchronous to pass through multiple ports to the quilt according to each access domain name in the access domain list of file names when asking progress data interaction
It visits server and initiates network request, that is, simultaneously by the access domain name all in the access domain list of file names to described
Interviewed server initiates network request, each network request corresponds to an access domain name.Understandably, the backstage
Server initiates multiple network requests, the number of the network request and the access domain to the interviewed server simultaneously
Access domain name number in list of file names is equal.At this point, even if the access domain name in the preset access domain list of file names is more, and
When wherein most access domain names can not obtain normal response because of the load excessive of the interviewed server, it can also pass through inspection
The interviewed server is surveyed to the response speed of each network request, to obtain the wherein most fast network of response speed
Request the corresponding access domain name.
S30: the interviewed server is detected to the response speed of each network request, and it is most fast to obtain response speed
The corresponding access domain name of the network request.
The response speed refers to the interviewed server to the length of each network request response time.It is appreciated that
Ground, the access domain name is equivalent to a path for accessing the interviewed server, namely initiates network to interviewed server and ask
Asking equal data interactions is completed by this path, therefore when network blockage, namely passes through the user that network request is initiated in this path
Excessively when leading to load excessive, it is interviewed server to the response speed of the background server for initiating network request by the path just
Can be slack-off, even without response.
In the present embodiment, the interviewed server is detected to the response speed of each network request, by will test
To the interviewed server response speed of each network request is compared, determine that interviewed server response is most fast
Network request, at this point, the corresponding access domain name of the most fast network request of the response speed is obtained, in step s 40 will
The corresponding access domain name of the most fast network request of response speed is as the current accessed domain name for accessing interviewed server.
In one embodiment, the detection interviewed server refers to inspection to the response speed of each network request
The interviewed server is surveyed whether to be less than preset time threshold to the response time of the network request (time threshold can
To preset according to demand, it is preferable that the time threshold is 0.05S), and when being less than the time threshold, that is, determine
The interviewed server is most fast to the response speed of the network request, asks at this point, stopping the interviewed server of detection to the network
The response speed asked, and obtain the network request corresponding access domain of the response time less than the time threshold
Name;At this point, network delay is i.e. negligible when being less than the time threshold to the response time of network request due to being interviewed server
Disregard, therefore in this embodiment, be conducive to promote the most fast corresponding access domain of the network request of acquisition response speed
The efficiency of name.
In another embodiment, the detection interviewed server also may be used to the response speed of each network request
To refer to whether the detection interviewed server is less than the preset time threshold (speed to the response time of the network request
Degree threshold value can be preset according to demand, it is preferable that the time threshold is 0.05S), and it is being less than the time threshold
When, the minimum value in all response times less than the time threshold is obtained, while obtaining the minimum value of the response time
Corresponding access domain name is recorded as the corresponding access domain name of the most fast network request of response speed.
S40: using the corresponding access domain name of the most fast network request of response speed as the access interviewed clothes
The current accessed domain name of business device.
The current accessed domain name refers to that the background server is current and subsequent (to be returned not receiving interviewed server
Before the specified access domain name returned) to the interviewed server initiate network request to access the interviewed server when institute
The domain name used.Understandably, the corresponding access domain name of the most fast network request of response speed is currently in institute
There is Network status in the access domain name best, the most fast domain name of access speed, therefore, in the present embodiment, by response speed
The corresponding access domain name of the most fast network request accesses the current accessed domain name of the interviewed server as this,
Cancel other network requests simultaneously.Using the current accessed domain name, namely use current all access domain names
In optimal domain name (i.e. response speed is most fast, the best domain name of Network status), it can in the process for accessing interviewed server
In, best network condition and minimum network delay are obtained, the efficiency for accessing interviewed server is improved, enhances user's body
It tests.
The present embodiment is sent out to interviewed server by all access domain names in preset access domain list of file names simultaneously first
Network request is played, further, detects interviewed server to the response speed of all network requests, and most by response speed
The fast network requests corresponding access domain name as the current accessed domain name for accessing the interviewed server, can quickly obtain
The access domain name that Network status is optimal is taken, to reduce network delay, the efficiency for accessing interviewed server is promoted, enhances user's body
It tests.
In one embodiment, as shown in figure 3, being further comprised the steps of: after the step S20
S50 adds the access frequency of failure when all network requests do not obtain the response of the interviewed server
One, new root of laying equal stress on initiates network request according to each access domain name in the access domain list of file names, while to interviewed server.
When all network requests do not obtain the response of the interviewed server, the access domain name at this time is represented
All access domain names in list can not access the interviewed server, at this point, there are the following two kinds situations, first, as above
Described, the access domain name is equivalent to a path for accessing the interviewed server, at this point, all paths (namely access domain
Name) load be more than to be interviewed the maximum value that can carry of server namely network Severe blockage, lead to the interviewed service
Device can not return response to the network request initiated by the access domain name;Second, initiating the backstage clothes of network request
The network state of business device itself is abnormal, normal network communication can not be established with interviewed server, namely can not take with third party
Business device (interviewed server) carries out data interaction.At this point, recording this background server accesses interviewed server failure, and will visit
Ask that the frequency of failure adds one, further, according to each access domain name in the access domain list of file names, re-synchronization is to interviewed service
Device initiates network request, to judge that this background server can not be to interviewed clothes according to the frequency of failure in the next steps
Business device accesses, and is the network abnormal problem of background server itself, also or all paths (namely access domain name) it is negative
Carrying has been more than to be interviewed the maximum value that can carry of server, can not be to passing through the access so as to cause the interviewed server
The network request that domain name is initiated returns response.
S60 prompts current network state abnormal when the access frequency of failure is greater than preset failure threshold value.
The failure threshold value can be preset according to demand, preferably, the failure threshold value is 3.It is such as above-mentioned, work as institute
When the response for having the network request not obtain the interviewed server namely this accesses the interviewed server failure
When, it is possible to be caused due to load excessive the interviewed server can not returning response, also may be to initiate the network to ask
The Network Abnormal of the background server asked itself leads to not establish normal network communication with the interviewed server, can manage
Xie Di, when the access frequency of failure be greater than it is described failure threshold value when, that is, represent background server for a long time and repeatedly fail with
The interviewed server establishes normal network communication, at this point, due to the equal load excessive of all access domain names so as to cause
All network requests cannot obtain a possibility that interviewed server response very little, therefore can be determined that be described
The network state of background server itself is abnormal, causes the background server that can not establish with the interviewed server normal
Network communication prompts user's current network state abnormal at this point, " network state is abnormal " is shown in current display interface,
It avoids user from falling into a long wait because being considered the reasons such as network delay or Caton, promotes user experience.
In another embodiment, as shown in figure 4, being further comprised the steps of: after the step S60
S70, detects the reason of network state exception, and will test as the result is shown on current display interface.
When the network state exception of the background server, the reason of detection network state exception is specifically examined first
Survey whether the network state as caused by hardware reason is abnormal namely whether the port of the server connection router is normal, net
Whether the connection status of line is normal or whether wireless network connection is normal etc.;When the network state as caused by hardware reason of exclusion is different
Chang Shi further detects whether the abnormal state as caused by software reason, specifically includes, if installation wired network adapter and wireless
The driving of network, router setting whether mistake, the algorithm logic of router itself whether there is defect, and whether network protocol
Installation etc..After the reason detection of the network state exception, it will test and above mentioned in current display interface as the result is shown
Wake up user, so that user can quickly find the corresponding position for causing network abnormal state and safeguard, enhances user
Experience.
In one embodiment, after the completion of causing the reason of network state exception to detect, draw if it is due to software
(if do not installed trawl performance, not installing Internet protocol etc. the) network state risen is abnormal, then pops up on current display interface
Request installation or repair corresponding software box, when agreeing to when the user clicks, i.e., automatically installation or repair corresponding software, installation or
The kit or installation kit for repairing the corresponding software can be stored in advance in the database of the background server.
In one embodiment, as shown in figure 5, being further comprised the steps of: after the step S20
S80, detects whether the interviewed server returns to specified access domain name.
Understandably, server is interviewed after receiving the network request initiated by background server, it can automatic analyser
It calculates information, the decision such as the load balancing of each child servers and network throughput size in the interviewed server and goes out Xiang Qifa
The background server for playing network request should access some server cluster being made of more than two child servers, or connect
Enter some specific child servers, to achieve the effect that low and to network request the fast response time of network delay, at this point, described
Interviewed its opposite background server for initiating network request of server meeting returns to specified domain name list, and (i.e. decision goes out the backstage
Server should access some by the formed cluster of more than two child servers, and the specified access domain list of file names includes two
Above access domain name may have access in the cluster according to each access domain name in the specified access domain list of file names
Child servers), or return to a specified access domain name (i.e. decision go out the background server should to access some specific sub
Server can access the child servers according to the specified access domain name).Specifically, detecting the interviewed server is
It is no to return to specified access domain name, to be interviewed service for the specified access domain name as current accessed in step S90
The designated domain name of device.
S90, when the interviewed server returns to specified access domain name, using the specified access domain name as access
The current accessed domain name of the interviewed server.
Understandably, when the interviewed server returns to specified access domain name, represent the interviewed server according to
The information such as the load balancing and network throughput size of its each child servers, decision, which goes out to it, initiates the background service that network is requested
Device should access some specific child servers, to achieve the effect that network delay is low and fast response time to network request,
Namely all access domain names in the preset access domain list of file names, network load has been more than normal standard
Value initiates network request to interviewed server if continuing to use the access domain name, it is slow to will lead to response speed, or even can not obtain
It must respond, at this point, using the specified access domain name as the current accessed domain name for being interviewed server described in current accessed, simultaneously
Cancel the with good grounds access domain name of institute to the network request of the interviewed server initiation, network delay can be reduced and mentioned
The response speed to the network request of initiation is risen, user experience is enhanced.
In another embodiment, as shown in fig. 6, being further comprised the steps of: after the step S20
S100, detects whether the interviewed server returns to specified access domain list of file names.
As above-mentioned, when interviewed server receives the network request initiated by background server, it is interviewed to automatically analyze calculating
The information such as the load balancing of each child servers and network throughput size in server, decision, which goes out to it, initiates network request
Background server should access some cluster (child servers group) being made of more than two child servers, at this point, institute
It states interviewed server and returns to specified access domain list of file names, the specified access domain list of file names packet to the background server
Containing more than two access domain names, may have access to one according to each access domain name in the specified access domain list of file names should
Child servers in cluster.Specifically, detect whether the interviewed server returns to specified access domain list of file names, so as in step
The preset access domain list of file names is updated according to the specified access domain list of file names in rapid S110.
S110, when the interviewed server returns to specified access domain list of file names, according to the specified access domain name
The preset access domain list of file names of list update.
As above-mentioned, when the interviewed server returns to specified access domain list of file names, the interviewed server root is represented
Going out according to the information decisions such as load balancing and network throughput size to its background server for initiating network request should connect
Enter all access domain names in some described child servers group namely the preset access domain list of file names, network is negative
Load has been more than normal standard value, if the access domain name continued to use in the access domain list of file names is initiated to interviewed server
It is slow to will lead to response speed, or even can not be responded for network request, at this point, according to the specified access domain list of file names, more
The new preset access domain list of file names, while cancelling all network requests, in order to which background server is according to the finger
The child servers group of the preferably described interviewed server of access domain name access network load condition in fixed access domain list of file names,
It reduces network delay and promotes the response speed for the network request initiated the background server.In one embodiment, into one
Step ground, after updating the preset access domain list of file names according to the specified access domain list of file names, return step S20 and thereafter
Continuous step initiates net according to all access domain names in the specified access domain list of file names, while to interviewed server
It is interviewed server described in network request and subsequent detection to the response speed of each network request, obtains the specified visit
(namely network delay is minimum and response speed is most fast) access domain name optimal in domain name list is asked, to obtain best network
Condition and minimum network delay improve the efficiency for accessing interviewed server, enhance user experience.
The present invention is initiated to interviewed server by all access domain names in preset access domain list of file names simultaneously first
Network request further detects the response speed that interviewed server requests all networks, and response speed is most fast
The network request corresponding access domain name as the current accessed domain name for accessing the interviewed server, can be with quick obtaining
The optimal access domain name of Network status, and can also be updated when the interviewed server returns to specified access domain list of file names pre-
If the access domain list of file names, when the interviewed server returns to specified access domain name by the specified access domain name
The efficiency for accessing interviewed server is promoted to reduce network delay as the current accessed domain name for accessing the interviewed server,
Enhance user experience.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process
Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit
It is fixed.
In one embodiment, a kind of domain name configuration management device is provided, the domain name configuration management device and above-described embodiment
Middle domain name configuring management method corresponds.As shown in fig. 7, the domain name configuration management device includes obtaining module 11, access mould
Block 12 responds detection module 13 and preferentially module 14.Detailed description are as follows for each functional module:
The acquisition module 11, for obtaining the access instruction comprising preset access domain list of file names, the access domain name
Access domain name is contained at least one in list;
The access modules 12, for according to each access domain name in the access domain list of file names, while to interviewed
Server initiates network request;And the corresponding access domain name of each described network request;
The response detection module 13, for detecting the interviewed server to the response speed of each network request,
And obtain the corresponding access domain name of the most fast network request of response speed;
Preferentially module 14, for using the corresponding access domain name of the most fast network request of response speed as
Access the current accessed domain name of the interviewed server.
Domain name configuration management device of the invention is same by all access domain names in preset access domain list of file names first
When to interviewed server initiate network request, further, detect interviewed server to the response speed of all networks requests
Degree, and request corresponding access domain name as the current visit for accessing the interviewed server at the most fast network of response speed
Ask domain name, access domain name that can be optimal with quick obtaining Network status is promoted to reduce network delay and accesses interviewed server
Efficiency enhances user experience.
In one embodiment, as shown in figure 8, domain name configuration management device further include:
Logging modle 15 will visit when for not obtaining the response of the interviewed server when all network requests
Ask that the frequency of failure adds one, new root of laying equal stress on is initiated according to each access domain name in the access domain list of file names, while to interviewed server
Network request;
Cue module 16, for prompting current network shape when the access frequency of failure is greater than preset failure threshold value
State is abnormal.
In one embodiment, as shown in figure 9, domain name configuration management device further include:
Domain name detection module 17, for detecting whether the interviewed server returns to specified access domain name;
Domain name configuration management module 18, for when the interviewed server returns to specified access domain name, by the finger
Fixed access domain name is as the current accessed domain name for accessing the interviewed server.
In another embodiment, domain name configuration management device further include:
Display module for detecting the reason of network state exception, and will test as the result is shown in current display interface
On.
In another embodiment, domain name configuration management device further include:
List detection module, for detecting whether the interviewed server returns to specified access domain list of file names;
List update module, for when the interviewed server returns to specified access domain list of file names, according to the finger
Fixed access domain list of file names updates the preset access domain list of file names.
Specific about domain name configuration management device limits the limit that may refer to above for domain name configuring management method
Fixed, details are not described herein.Modules in above-mentioned domain name configuration management device can fully or partially through software, hardware and its
Combination is to realize.Above-mentioned each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also be with
It is stored in the memory in computer equipment in a software form, in order to which processor calls the above modules of execution corresponding
Operation.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction
Composition can be as shown in Figure 10.The computer equipment include by system bus connect processor, memory, network interface and
Database.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory packet of the computer equipment
Include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and data
Library.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating
The network interface of machine equipment is used to communicate with external terminal by network connection.When the computer program is executed by processor with
Realize a kind of domain name configuring management method.
In one embodiment, a kind of computer equipment is provided, including memory, processor and storage are on a memory
And the computer program that can be run on a processor, processor perform the steps of when executing computer program
The access instruction comprising preset access domain list of file names is obtained, contains at least one visit in the access domain list of file names
Ask domain name;
Network request is initiated according to each access domain name in the access domain list of file names, while to interviewed server;
And the corresponding access domain name of each described network request;
The interviewed server is detected to the response speed of each network request, and obtains most fast described of response speed
The corresponding access domain name of network request;
Using the corresponding access domain name of the most fast network request of response speed as the access interviewed server
Current accessed domain name.
Computer equipment of the invention is first by all access domain names in preset access domain list of file names simultaneously to quilt
It visits server and initiates network request, further, detect interviewed server to the response speed of all network requests, and will
The most fast network of response speed requests corresponding access domain name as the current accessed domain name for accessing the interviewed server,
Access domain name that can be optimal with quick obtaining Network status promotes the efficiency for accessing interviewed server to reduce network delay, increases
Strong user experience.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
Machine program performs the steps of when being executed by processor
The access instruction comprising preset access domain list of file names is obtained, contains at least one visit in the access domain list of file names
Ask domain name;
Network request is initiated according to each access domain name in the access domain list of file names, while to interviewed server;
And the corresponding access domain name of each described network request;
The interviewed server is detected to the response speed of each network request, and obtains most fast described of response speed
The corresponding access domain name of network request;
Using the corresponding access domain name of the most fast network request of response speed as the access interviewed server
Current accessed domain name.
Computer readable storage medium of the invention passes through all access domain names in preset access domain list of file names first
Network request is initiated to interviewed server simultaneously, further, detects response of the interviewed server to all network requests
Speed, and request corresponding access domain name as the current of the access interviewed server at the most fast network of response speed
Domain name is accessed, access domain name that can be optimal with quick obtaining Network status is promoted to reduce network delay and accesses interviewed server
Efficiency, enhance user experience.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer
In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein,
To any reference of memory, storage, database or other media used in each embodiment provided herein,
Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,
Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing
Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function
Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing
The all or part of function of description.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality
Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.
Claims (10)
1. a kind of domain name configuring management method characterized by comprising
The access instruction comprising preset access domain list of file names is obtained, contains at least one access domain in the access domain list of file names
Name;
Network request is initiated according to each access domain name in the access domain list of file names, while to interviewed server;And it is every
The corresponding access domain name of one network request;
The interviewed server is detected to the response speed of each network request, and obtains the most fast network of response speed
Request the corresponding access domain name;
Using the corresponding access domain name of the most fast network request of response speed working as the access interviewed server
Preceding access domain name.
2. domain name configuring management method as described in claim 1, which is characterized in that described according in the access domain list of file names
Each access domain name, while to interviewed server initiate network request;And the corresponding institute of each described network request
It states after accessing domain name, further includes:
When all network requests do not obtain the response of the interviewed server, the access frequency of failure is added one, is laid equal stress on
New root initiates network request according to each access domain name in the access domain list of file names, while to interviewed server;
When the access frequency of failure is greater than preset failure threshold value, prompt current network state abnormal.
3. domain name configuring management method as claimed in claim 2, which is characterized in that described when the access frequency of failure is greater than
When preset failure threshold value, after prompt current network state exception, further includes:
The reason of network state exception is detected, and will test as the result is shown on current display interface.
4. domain name configuring management method as described in claim 1, which is characterized in that described according in the access domain list of file names
Each access domain name, while to interviewed server initiate network request;And the corresponding institute of each described network request
It states after accessing domain name, further includes:
Detect whether the interviewed server returns to specified access domain name;
It is when the interviewed server returns to specified access domain name, the specified access domain name is described interviewed as accessing
The current accessed domain name of server.
5. domain name configuring management method as described in claim 1, which is characterized in that described according in the access domain list of file names
Each access domain name, while to interviewed server initiate network request;And the corresponding institute of each described network request
It states after accessing domain name, further includes:
Detect whether the interviewed server returns to specified access domain list of file names;
When the interviewed server returns to specified access domain list of file names, updated according to the specified access domain list of file names pre-
If the access domain list of file names.
6. a kind of domain name configuration management device characterized by comprising
Module is obtained, for obtaining the access instruction comprising preset access domain list of file names, in the access domain list of file names at least
Include an access domain name;
Access modules, for being initiated according to each access domain name in the access domain list of file names, while to interviewed server
Network request;And the corresponding access domain name of each described network request;
Detection module is responded, for detecting the interviewed server to the response speed of each network request, and obtains response
The corresponding access domain name of the fastest network request;
Preferentially module, for using the corresponding access domain name of the most fast network request of response speed as the access quilt
Visit the current accessed domain name of server.
7. domain name configuration management device as claimed in claim 6, which is characterized in that domain name configuration management device also wraps
It includes:
When for not obtaining the response of the interviewed server when all network requests, access is failed for logging modle
Number adds one, and new root of laying equal stress on is initiated network to interviewed server and asked according to each access domain name in the access domain list of file names
It asks;
Cue module, for prompting current network state abnormal when the access frequency of failure is greater than preset failure threshold value.
8. domain name configuration management device as claimed in claim 6, which is characterized in that domain name configuration management device also wraps
It includes:
Domain name detection module, for detecting whether the interviewed server returns to specified access domain name;
Domain name configuration management module, for when the interviewed server returns to specified access domain name, by the specified visit
Ask domain name as the current accessed domain name for accessing the interviewed server.
9. a kind of computer equipment, including memory, processor and storage are in the memory and can be in the processor
The computer program of upper operation, which is characterized in that the processor realized when executing the computer program as claim 1 to
The step of any one of 5 domain name configuring management method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In realization is such as any one of claim 1 to 5 domain name configuring management method when the computer program is executed by processor
Step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811201479.XA CN109474459A (en) | 2018-10-16 | 2018-10-16 | Domain name configuring management method, device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811201479.XA CN109474459A (en) | 2018-10-16 | 2018-10-16 | Domain name configuring management method, device, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109474459A true CN109474459A (en) | 2019-03-15 |
Family
ID=65665147
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811201479.XA Pending CN109474459A (en) | 2018-10-16 | 2018-10-16 | Domain name configuring management method, device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109474459A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109951579A (en) * | 2019-03-20 | 2019-06-28 | 腾讯科技(深圳)有限公司 | Domain name processing method, device, computer readable storage medium and computer equipment |
CN110048896A (en) * | 2019-04-29 | 2019-07-23 | 广州华多网络科技有限公司 | A kind of company-data acquisition methods, device and equipment |
CN110519409A (en) * | 2019-08-28 | 2019-11-29 | 北京思维造物信息科技股份有限公司 | Domain name Dynamic Configuration, device, equipment and storage medium |
CN110753113A (en) * | 2019-10-21 | 2020-02-04 | 深圳市酷开网络科技有限公司 | Network interface request method, device and storage medium |
CN113992627A (en) * | 2021-10-26 | 2022-01-28 | 北京字节跳动网络技术有限公司 | Domain name resolution method, device, equipment and medium |
CN115842865A (en) * | 2022-11-23 | 2023-03-24 | 紫光云技术有限公司 | Method for mobile terminal to dynamically control network request |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104092787A (en) * | 2014-06-24 | 2014-10-08 | 腾讯科技(深圳)有限公司 | Network access method and system based on DNS |
CN106921699A (en) * | 2015-12-25 | 2017-07-04 | 北京奇虎科技有限公司 | A kind of Network Access Method, device and system |
CN107896241A (en) * | 2017-10-23 | 2018-04-10 | 东软集团股份有限公司 | Detection method, device, storage medium and the electronic equipment of network access speed |
-
2018
- 2018-10-16 CN CN201811201479.XA patent/CN109474459A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104092787A (en) * | 2014-06-24 | 2014-10-08 | 腾讯科技(深圳)有限公司 | Network access method and system based on DNS |
CN106921699A (en) * | 2015-12-25 | 2017-07-04 | 北京奇虎科技有限公司 | A kind of Network Access Method, device and system |
CN107896241A (en) * | 2017-10-23 | 2018-04-10 | 东软集团股份有限公司 | Detection method, device, storage medium and the electronic equipment of network access speed |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109951579A (en) * | 2019-03-20 | 2019-06-28 | 腾讯科技(深圳)有限公司 | Domain name processing method, device, computer readable storage medium and computer equipment |
CN109951579B (en) * | 2019-03-20 | 2021-05-11 | 腾讯科技(深圳)有限公司 | Domain name processing method and device, computer readable storage medium and computer equipment |
CN110048896A (en) * | 2019-04-29 | 2019-07-23 | 广州华多网络科技有限公司 | A kind of company-data acquisition methods, device and equipment |
CN110519409A (en) * | 2019-08-28 | 2019-11-29 | 北京思维造物信息科技股份有限公司 | Domain name Dynamic Configuration, device, equipment and storage medium |
CN110753113A (en) * | 2019-10-21 | 2020-02-04 | 深圳市酷开网络科技有限公司 | Network interface request method, device and storage medium |
CN113992627A (en) * | 2021-10-26 | 2022-01-28 | 北京字节跳动网络技术有限公司 | Domain name resolution method, device, equipment and medium |
CN115842865A (en) * | 2022-11-23 | 2023-03-24 | 紫光云技术有限公司 | Method for mobile terminal to dynamically control network request |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109474459A (en) | Domain name configuring management method, device, computer equipment and storage medium | |
CN107247619B (en) | Live migration of virtual machine method, apparatus, system, storage medium and equipment | |
US20150309922A1 (en) | On-demand software test environment generation | |
EP3905589A1 (en) | Slice resource deployment method and apparatus, and slice manager and computer storage medium | |
CN105099988A (en) | Method used for supporting gray releasing, access method, devices and system | |
US20080177948A1 (en) | Method and apparatus for managing placement of data in a tiered storage system | |
CN109684228B (en) | Performance test method, device, system and storage medium | |
JP2005196601A (en) | Policy simulator for autonomous management system | |
WO2019128299A1 (en) | Test system and test method | |
CN110275775A (en) | Resource allocation method, system and the storage medium of container application | |
CN109120709A (en) | A kind of caching method, device, equipment and medium | |
CN107181636B (en) | Health check method and device in load balancing system | |
CN103685351A (en) | Method and device for scheduling cache service nodes based on cloud computing platform | |
CN112291365A (en) | Access balance processing method and device, computer equipment and storage medium | |
CN115422048A (en) | Link stability testing method and device, computer equipment and storage medium | |
CN108427635A (en) | Quickly method, server and the computer readable storage medium of test web page | |
CN115470303B (en) | Database access method, device, system, equipment and readable storage medium | |
CN112199176A (en) | Service processing method, device and related equipment | |
CN116974874A (en) | Database testing method and device, electronic equipment and readable storage medium | |
CN112181762A (en) | Software project application basic environment deployment and three-remote visualization processing method | |
CN110502238A (en) | A kind of method and device of front and back end joint debugging | |
CN115509812A (en) | Data backup method and server based on Keepalive dual-computer hot standby | |
US20210099342A1 (en) | Deploying a server stack having a cross-server dependency | |
US10389617B1 (en) | Web-based computing system with continuous burn-in testing | |
CN110928860B (en) | Data migration method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20190315 |
|
WD01 | Invention patent application deemed withdrawn after publication |