CN115361357B - Network scheduling system, method and device, electronic equipment and storage medium - Google Patents
Network scheduling system, method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN115361357B CN115361357B CN202210870924.1A CN202210870924A CN115361357B CN 115361357 B CN115361357 B CN 115361357B CN 202210870924 A CN202210870924 A CN 202210870924A CN 115361357 B CN115361357 B CN 115361357B
- Authority
- CN
- China
- Prior art keywords
- domain name
- forced
- address
- analyzed
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 55
- 238000003860 storage Methods 0.000 title claims abstract description 14
- 238000012360 testing method Methods 0.000 claims abstract description 154
- 238000004458 analytical method Methods 0.000 claims abstract description 87
- 230000004083 survival effect Effects 0.000 claims abstract description 53
- 238000005457 optimization Methods 0.000 claims abstract description 19
- 238000012163 sequencing technique Methods 0.000 claims description 32
- 230000004044 response Effects 0.000 claims description 29
- 238000004590 computer program Methods 0.000 claims description 12
- 230000000903 blocking effect Effects 0.000 claims 1
- 230000008447 perception Effects 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 17
- 238000005259 measurement Methods 0.000 description 10
- 239000000523 sample Substances 0.000 description 8
- 238000013441 quality evaluation Methods 0.000 description 5
- 230000009471 action Effects 0.000 description 4
- 238000001914 filtration Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000001360 synchronised effect Effects 0.000 description 4
- 230000003139 buffering effect Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000015556 catabolic process Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000006731 degradation reaction Methods 0.000 description 2
- 230000008030 elimination Effects 0.000 description 2
- 238000003379 elimination reaction Methods 0.000 description 2
- 238000011156 evaluation Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000002035 prolonged effect Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 238000013475 authorization Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000001303 quality assessment method Methods 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The application provides a network scheduling system, a method, a device, electronic equipment and a storage medium, comprising the following steps: the analysis server obtains a domain name to be analyzed according to a preset period; performing dial testing on the IP addresses corresponding to the domain name to be analyzed to obtain first dial testing data, and determining the connection quality score and dial testing survival time value of each IP address; determining a forced resolution address from the IP addresses corresponding to each domain name to be analyzed according to the connection quality scores; the forced analysis address and the dial testing survival time value corresponding to each domain name to be analyzed are sent to a cache server; the cache server determines the cache life time value of the forced resolution address according to the dial test life time value and a preset optimization rule; the user terminal sends an access request aiming at a target domain name to a cache server; and the cache server returns a target forced resolving address corresponding to the target domain name, wherein the target forced resolving address is a forced resolving address with any cache duration smaller than the corresponding cache life time value, so that the use perception is improved.
Description
Technical Field
The present application relates to the field of data communications technologies, and in particular, to a network scheduling system, a method, an apparatus, an electronic device, and a storage medium.
Background
DNS (Domain NAME SYSTEM) is a service of the internet, and according to a distributed database that maps Domain names and IP (Internet Protocol ) addresses to each other, the DNS system can resolve readable Domain names input by a user terminal into digital IP addresses, and the user terminal can access the digital IP addresses.
In the prior art, the DNS system may determine an IP address corresponding to each domain name through recursive learning, and feed back the IP address to the user terminal, where each domain name may correspond to a plurality of IP addresses, and then the DNS system is required to schedule, determine one of the plurality of IP addresses, and feed back the one of the plurality of IP addresses to the user terminal, where a scheduling principle of the DNS system may be completely random scheduling, for example, if the domain name corresponds to 5 IP addresses, then the probability that each IP address is allocated to the user terminal for access is 20%. Or the DNS system can forcedly set the corresponding relation between the domain name and the IP address according to the requirement, and does not acquire the record of the domain name and the IP conversion through recursive learning.
However, in some scenarios, due to the problems of long transmission distance between the user terminal and the server, overload or failure of the website content server, failure of the website domain name authorization server, etc., problems of prolonged access of the user terminal internet content, unavailable internet content resources, prolonged recursion of the internet content domain name, failure of resolution, etc. may occur. Moreover, if the correspondence between the domain name and the IP address is forcibly set, it is likely that the specific IP is always fixed at the first position, so that the access probability is infinitely close to 100%, and overload failure of a single server is caused by excessive access. Therefore, the DNS scheduling methods may cause the user terminal to perceive degradation or even unavailability, so that the network cannot be accessed normally.
Disclosure of Invention
In order to solve the technical problems, the application discloses a network scheduling system, a method, a device, electronic equipment and a storage medium, which are used for at least solving the problem that a user terminal perceives degradation or even is not available in the related art, so that a network cannot be normally accessed. The technical scheme of the present disclosure is as follows: .
In a first aspect, the present application shows a network scheduling system comprising:
The analysis server is used for acquiring the domain name to be analyzed according to a preset period; performing dial testing on the IP addresses corresponding to the domain name to be analyzed to obtain first dial testing data, and determining a connection quality score and a dial testing survival time value of each IP address according to the first dial testing data; determining a forced resolution address from the IP addresses corresponding to each domain name to be analyzed according to the connection quality scores; transmitting a forced resolution address corresponding to each domain name to be analyzed and a dial testing survival time value of the forced resolution address to a cache server;
the cache server is used for determining the cache survival time value of the forced resolution address according to the dial test survival time value and a preset optimization rule;
The user terminal is used for sending an access request for the target domain name to the cache server;
the cache server is further configured to determine and return a target forced resolution address corresponding to the target domain name in response to the access request, where the target forced resolution address is a forced resolution address with any cache duration smaller than a corresponding cache lifetime value;
The user terminal is also used for accessing the target forced resolution address.
Optionally, the analysis server is configured to collect second dial testing data according to a preset period, where the second dial testing data is obtained by simulating an access operation of the user terminal; analyzing the second dial testing data to obtain a domain name to be analyzed, wherein the domain name to be analyzed comprises a domain name and/or a preset domain name, the access times of which in the second dial testing data meet preset conditions.
Optionally, the analysis server is specifically configured to send an analysis request for the domain name to be analyzed to a recursion server;
And the recursion server is used for responding to the analysis request, inquiring the IP address corresponding to the domain name to be analyzed and returning the IP address corresponding to the domain name to be analyzed to the analysis server.
Optionally, the analysis server is specifically configured to reject IP addresses with connection quality scores corresponding to each domain name to be analyzed lower than a preset threshold value, so as to obtain candidate resolved addresses; sequencing the candidate resolved addresses corresponding to each domain name to be analyzed respectively to obtain a sequencing result; and determining the forced resolution address corresponding to each domain name to be analyzed according to the sequencing result.
Optionally, the first dial-up measurement data includes, but is not limited to, DNS resolution delay, TCP connection delay, SSL connection delay, first byte delay, element content download delay, katon rate, and loading success rate.
Optionally, the cache server is configured to update the forced resolution address corresponding to the domain name to be analyzed in the local cache according to the received forced resolution address corresponding to each domain name to be analyzed.
Optionally, the cache server is further configured to, in response to the access request, send an resolution request for the target domain name to a recursive server when the target domain name does not have a corresponding target forced resolution address;
And the recursion server is used for responding to the resolution request, inquiring the IP address corresponding to the target domain name and returning the IP address corresponding to the target domain name to the cache server.
According to a second aspect of embodiments of the present disclosure, there is provided a network scheduling method, applied to an analysis server, including:
acquiring a domain name to be analyzed according to a preset period;
performing dial testing on the IP address corresponding to the domain name to be analyzed to obtain first dial testing data;
determining a connection quality score and a dial testing survival time value of each IP address according to the first dial testing data;
Determining a forced resolution address from the IP addresses corresponding to each domain name to be analyzed according to the connection quality scores;
And transmitting a forced resolution address corresponding to each domain name to be analyzed and a dial testing survival time value of the forced resolution address to a cache server, so that the cache server determines the cache survival time value of the forced resolution address according to the dial testing survival time value and a preset optimization rule, and the cache server determines and returns a target forced resolution address corresponding to a target domain name in response to an access request for the target domain name transmitted by a user terminal, wherein the target forced resolution address is a forced resolution address with any cache duration smaller than the corresponding cache survival time value, so that the user terminal accesses the target forced resolution address.
Optionally, the obtaining the domain name to be analyzed according to the preset period includes:
Collecting second dial testing data according to a preset period, wherein the second dial testing data is obtained by simulating access operation of the user terminal;
analyzing the second dial testing data to obtain a domain name to be analyzed, wherein the domain name to be analyzed comprises a domain name and/or a preset domain name, the access times of which in the second dial testing data meet preset conditions.
Optionally, before the dialing and testing the IP address corresponding to the domain name to be analyzed to obtain the first dialing and testing data, the method further includes:
And sending an analysis request for the domain name to be analyzed to a recursion server, so that the recursion server responds to the analysis request, and inquiring and returning an IP address corresponding to the domain name to be analyzed.
Optionally, the determining, according to the connection quality score, a forced resolution address from the IP addresses corresponding to each domain name to be analyzed includes:
removing IP addresses with connection quality scores lower than a preset threshold value corresponding to each domain name to be analyzed to obtain candidate resolved addresses;
Sequencing the candidate resolved addresses corresponding to each domain name to be analyzed respectively to obtain a sequencing result; and determining the forced resolution address corresponding to each domain name to be analyzed according to the sequencing result.
Optionally, the first dial-up measurement data includes, but is not limited to, DNS resolution delay, TCP connection delay, SSL connection delay, first byte delay, element content download delay, katon rate, and loading success rate.
According to a third aspect of the embodiments of the present disclosure, there is provided a network scheduling method, applied to a cache server, including:
Receiving a forced resolution address corresponding to each domain name to be analyzed sent by an analysis server, and dialing a measured lifetime value of the forced resolution address;
Determining the cache survival time value of the forced resolution address according to the dial testing survival time value and a preset optimization rule;
And responding to an access request for a target domain name sent by a user terminal, determining and returning a target forced resolving address corresponding to the target domain name, wherein the target forced resolving address is a forced resolving address with any cache duration smaller than a corresponding cache survival time value, so as to realize that the user terminal accesses the target forced resolving address.
Optionally, before determining and returning the target mandatory resolved address corresponding to the target domain name in response to the access request for the target domain name sent by the user terminal, the method further includes:
and updating the locally cached forced resolving address corresponding to the domain name to be analyzed according to the received forced resolving address corresponding to each domain name to be analyzed.
Optionally, the method further comprises:
And under the condition that the target domain name does not have a corresponding target forced resolution address, responding to the access request, and sending a resolution request aiming at the target domain name to a recursion server so that the recursion server inquires and returns an IP address corresponding to the target domain name.
According to a fourth aspect of embodiments of the present disclosure, there is provided a network scheduling apparatus applied to an analysis server, including:
The acquisition unit is configured to acquire the domain name to be analyzed according to a preset period;
The dial testing unit is configured to perform dial testing on the IP address corresponding to the domain name to be analyzed to obtain first dial testing data;
a scoring unit configured to determine a connection quality score and a dial test lifetime value for each IP address according to the first dial test data;
A determining unit configured to determine a forced resolution address from IP addresses corresponding to each domain name to be analyzed according to the connection quality score;
The sending unit is configured to send a forced resolving address corresponding to each domain name to be analyzed and a dial testing survival time value of the forced resolving address to the cache server, so that the cache server determines the cache survival time value of the forced resolving address according to the dial testing survival time value and a preset optimizing rule, and the cache server determines and returns a target forced resolving address corresponding to a target domain name in response to an access request for the target domain name sent by a user terminal, wherein the target forced resolving address is a forced resolving address with any cache time length smaller than the corresponding cache survival time value, so that the user terminal accesses the target forced resolving address.
Optionally, the acquiring unit is configured to acquire second dial testing data according to a preset period, where the second dial testing data is obtained by simulating an access operation of the user terminal; analyzing the second dial testing data to obtain a domain name to be analyzed, wherein the domain name to be analyzed comprises a domain name and/or a preset domain name, the access times of which in the second dial testing data meet preset conditions.
Optionally, the dial testing unit is further configured to send an analysis request for the domain name to be analyzed to a recursion server, so that the recursion server responds to the analysis request to query and return an IP address corresponding to the domain name to be analyzed.
Optionally, the determining unit is configured to perform removing the IP address with the connection quality score corresponding to each domain name to be analyzed lower than a preset threshold value to obtain a candidate resolution address; sequencing the candidate resolved addresses corresponding to each domain name to be analyzed respectively to obtain a sequencing result; and determining the forced resolution address corresponding to each domain name to be analyzed according to the sequencing result.
Optionally, the first dial-up measurement data includes, but is not limited to, DNS resolution delay, TCP connection delay, SSL connection delay, first byte delay, element content download delay, katon rate, and loading success rate.
According to a fifth aspect of embodiments of the present disclosure, there is provided a network scheduling apparatus applied to a public network server, including:
The receiving unit is configured to execute the forced analysis address corresponding to each domain name to be analyzed and sent by the analysis server, and the dial testing survival time value of the forced analysis address;
The optimizing unit is configured to execute the method and the system for determining the cache survival time value of the forced resolution address according to the dial testing survival time value and a preset optimizing rule;
The response unit is configured to execute the request of access to the target domain name sent by the user terminal, determine and return a target forced resolution address corresponding to the target domain name, wherein the target forced resolution address is a forced resolution address with any cache duration smaller than a corresponding cache life time value, so as to realize the access of the user terminal to the target forced resolution address.
Optionally, the receiving unit is further configured to perform:
and updating the locally cached forced resolving address corresponding to the domain name to be analyzed according to the received forced resolving address corresponding to each domain name to be analyzed.
Optionally, the apparatus further includes:
and the resolution unit is configured to send a resolution request for the target domain name to a recursion server in response to the access request under the condition that the target domain name does not have a corresponding target forced resolution address, so that the recursion server queries and returns an IP address corresponding to the target domain name.
According to a sixth aspect of embodiments of the present disclosure, there is provided an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the network scheduling method as described in any one of the preceding claims when the program is executed.
According to a seventh aspect of embodiments of the present disclosure, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the network scheduling method of any one of the above.
Compared with the prior art, the application has the following advantages:
The analysis server obtains a domain name to be analyzed according to a preset period; performing dial testing on the IP addresses corresponding to the domain name to be analyzed to obtain first dial testing data, and determining a connection quality score and a dial testing survival time value of each IP address according to the first dial testing data; determining a forced resolution address from the IP addresses corresponding to each domain name to be analyzed according to the connection quality scores; transmitting a forced resolution address and a dial testing survival time value of the forced resolution address corresponding to each domain name to be analyzed to a cache server; the cache server determines the cache life time value of the forced resolution address according to the dial test life time value and a preset optimization rule; the user terminal sends an access request aiming at a target domain name to a cache server; the cache server responds to the access request, determines and returns a target forced resolution address corresponding to the target domain name, wherein the target forced resolution address is a forced resolution address with any cache duration smaller than a corresponding cache survival time value; the user terminal accesses the target forced resolving address.
In this way, the connection quality score of the IP address corresponding to each domain name to be analyzed is determined through comparison analysis, then the superior IP address is used as the forced analysis address of the domain name to be analyzed according to the connection quality score and is dynamically synchronized to the cache server, when the user terminal initiates an access request to the cache server, the cache server can return the superior forced analysis address to the user, and when the user accesses, the content corresponding to the superior IP can be accessed preferentially, so that the use perception of the user terminal is improved.
Drawings
FIG. 1 is an interactive schematic diagram of a network scheduling system of the present application;
FIG. 2 is a schematic diagram of a measurement data collection principle of the present application;
FIG. 3 is a logical schematic of a network scheduling scheme of the present application;
FIG. 4 is a flow chart of steps of a network scheduling method of the present application;
FIG. 5 is a flow chart of steps of a network scheduling method of the present application;
FIG. 6 is a block diagram of a network scheduler of the present application;
FIG. 7 is a block diagram of a network scheduler of the present application;
Fig. 8 is a schematic diagram of an electronic device of the present application.
Detailed Description
In order that the above-recited objects, features and advantages of the present application will become more readily apparent, a more particular description of the application will be rendered by reference to the appended drawings and appended detailed description.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the disclosure described herein may be capable of operation in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
Referring to fig. 1, an interaction diagram of a network scheduling system according to the present application is shown, where the system includes an analysis server, a cache server, and a user terminal. The method specifically comprises the following steps:
In step S11, the analysis server obtains a domain name to be analyzed according to a preset period; performing dial testing on the IP addresses corresponding to the domain name to be analyzed to obtain first dial testing data, and determining a connection quality score and a dial testing survival time value of each IP address according to the first dial testing data; determining a forced resolution address from the IP addresses corresponding to each domain name to be analyzed according to the connection quality scores; and transmitting the forced resolution address and the dial testing survival time value of the forced resolution address corresponding to each domain name to be analyzed to the cache server.
DNS is a service of the internet, and can resolve a readable domain name input by a user terminal into a digital IP address according to a distributed database that maps domain names and IP addresses to each other, and further, the user terminal can access the digital IP address. In some scenarios, the DNS system may set the correspondence between the domain name and the IP address forcibly according to the requirement, without obtaining the record of the domain name and the IP conversion through recursive learning, which may be referred to as DNS forcible resolution.
In the disclosure, an analysis server may be used to dial and measure a domain name to be analyzed, score connection quality of an IP address corresponding to the domain name to be analyzed according to a dial and measure result, and further determine a forced resolution address corresponding to the domain name to be analyzed, so as to implement DNS forced resolution of the domain name to be analyzed.
The domain name to be analyzed may be all domain names in the area, or may also be a partial domain name with higher access in the area, or may also be a domain name with higher preset importance, etc., which may be set according to requirements, and is not specifically limited.
In one implementation, the analysis server may collect the second dial testing data according to a preset period; analyzing the second dial testing data to obtain a domain name to be analyzed, wherein the domain name to be analyzed comprises a domain name and/or a preset domain name, the access times of which in the second dial testing data meet preset conditions. The second dial testing data is obtained through simulating the access operation of the user terminal.
That is, the analysis server collects the second dial testing data in each preset period by simulating the access operation of the user terminal, and further analyzes the second dial testing data to determine the domain name with the access times of the user terminal meeting the preset condition in the second dial testing data as the domain name to be analyzed. It can be understood that the access heat of the domain names to be analyzed determined in this way is higher, and the forced resolution addresses are set for the domain names to be analyzed, so that the access efficiency of the user terminal can be improved to a greater extent.
The analysis server can collect the second dial testing data through the probe, the preset period can be 5 minutes, and the preset period can also be set according to the service requirement, that is, the analysis server can dynamically simulate the access operation of the user terminal through the probe periodically, apply the N Internet applications with the largest access times in the second dial testing data, and then take the total domain names of all contents including frames, sub-elements and the like included in the Internet applications as domain names to be analyzed, wherein N is a natural number, and can be optionally taken as a value, such as a value of 100, which means that the total domain names included in the hottest 100 Internet applications in the preset period are taken as the domain names to be analyzed.
In addition, the domain name to be analyzed may further include a preset domain name, where the preset domain name may be a total number of domain names included in a specific internet application, may be a domain name of a preset web page, and the like, and may be set according to a service requirement, which is not limited in the disclosure.
In this step, after obtaining the domain name to be analyzed, the analysis server may dial-measure the IP address corresponding to the domain name to be analyzed to obtain first dial-measure data, and determine the connection quality score and dial-measure lifetime value of each IP address according to the first dial-measure data.
Fig. 2 is a schematic diagram of the principle of collection of dial testing data. Firstly, an analysis server needs to initiate a DNS request to a recursion server to acquire an IP address corresponding to a domain name to be analyzed, then, a TCP (Transmission Control Protocol ) connection with the IP address is established, further, based on the established TCP connection, a data request is sent to the IP address, an obtained data request result and response information are used as dial test data, and after the first dial test data is obtained, connection with the IP address can be ended. Where the IP address corresponds to video content, the data request may be a play request for video content, and the result of the data request may be a video stream.
In one implementation manner, the step of the analysis server initiating a DNS request to the recursive server to obtain an IP address corresponding to the domain name to be analyzed may include: the analysis server sends an analysis request aiming at the domain name to be analyzed to the recursion server; and responding to the analysis request by the recursion server, inquiring the IP address corresponding to the domain name to be analyzed, and returning the IP address corresponding to the domain name to be analyzed to the analysis server.
That is, if the local DNS recursion server does not have a domain name a/AAAA record, learning to obtain the domain name a/AAAA record by recursion query step by step; if the local DNS recursion server has the domain name A/AAAA record, all IP addresses corresponding to each domain name are directly returned to the analysis server.
In one implementation manner, the analysis server may reject IP addresses with connection quality scores lower than a preset threshold value corresponding to each domain name to be analyzed, so as to obtain candidate resolved addresses; sequencing the candidate resolved addresses corresponding to each domain name to be analyzed respectively to obtain a sequencing result; and determining the forced resolution address corresponding to each domain name to be analyzed according to the sequencing result.
The first dial-up measurement data includes, but is not limited to, DNS resolution delay, TCP connection delay, SSL connection delay, first byte delay, and element content download delay, and for web resources and video resources, the collected dial-up measurement data is different, and if the IP address corresponds to the video content, the first dial-up measurement data may further include a video playing katana rate, a loading success rate, and the like, which is not specifically limited.
That is, according to different indexes in the first dial test data, a connection quality score of each IP address may be calculated, and the connection quality score is used to evaluate the connection quality of each IP address, so that an IP address with higher connection quality may be determined from a plurality of IP addresses of the domain name to be analyzed as a forced resolution address.
In one implementation, after the analysis server dials and tests the domain name to be analyzed, first dial and test data including the quality conditions of all IP addresses under the domain name to be analyzed are obtained, and further, different IPs can be sorted according to service perception comprehensive quality according to the first dial and test data, different quality intervals are divided, special quality difference IPs are removed according to service redundancy rules, and a binding relation between the suggested domain name to be analyzed and a quality optimal IP sequence is obtained according to the random rules of the same quality interval; when the next dialing is carried out, the corresponding relation between the domain name to be analyzed and the IP is not synchronously updated if the domain name to be analyzed has no analysis record or the quality and the quality IP ordering is not changed. The IP corresponds to the service perception comprehensive quality evaluation, and recommends that the Internet application is adopted to collect the main domain name of the framework and the sub domain name of the content sub element to carry out full-quantity domain name dial testing, and comprehensively considers the network performance and the service performance.
In the present disclosure, each forced resolved address can have its corresponding dial test lifetime value, which is obtained from the recursive server, and when the current time exceeds the dial test lifetime value corresponding to a certain forced resolved address, the forced resolved address may fail.
In step S12, the cache server determines a cache lifetime value of the forced resolution address according to the dial test lifetime value and a preset optimization rule.
According to the above, each forced resolving address can have a corresponding dial testing survival time value, based on which, after obtaining the forced resolving address and the dial testing survival time value of the forced resolving address corresponding to each domain name to be resolved, the cache server can determine the cache survival time value of the forced resolving address according to a preset optimization rule. In the preset optimization rule, the main domain name and the subdomain name are consistent.
In one implementation manner, the cache server may update the forced resolution address corresponding to the domain name to be analyzed in the local cache according to the received forced resolution address corresponding to each domain name to be analyzed. That is, when the current time exceeds the cache lifetime value of the forced resolved address, then the forced resolved address may have failed and need to be updated.
For example, P represents a dial test lifetime value, X represents a cache lifetime value, and the preset optimization rule may be:
P≦100,X=P+400;
100<P≦200,X=P+300;
200<P≦300,X=P+200;
300<P≦400,X=P+100;
400<P≦600,X=P;
P > 600, directly synchronized with 600.
The optimization updating of the dial test life time value can realize the security guarantee of the service, when the optimization server fails and is not issued to the cache server, according to the logic set by the DNS cache server, the IP resource of the DNS cache server directly accesses the original DNS recursive server after the cache life time value is expired, so that the normal access of the resource is guaranteed.
In step S13, the user terminal transmits an access request for the target domain name to the cache server.
The user terminal can interact with the user, and execute corresponding access operation in response to an operation instruction of the user, and it can be understood that the user generally inputs a target domain name, and then the user terminal sends an access request for the target domain name to the cache server, so as to obtain an IP address corresponding to the target domain name from the cache server, and then access the IP address.
In step S14, the cache server determines and returns, in response to the access request, a target mandatory resolution address corresponding to the target domain name, where the target mandatory resolution address is a mandatory resolution address with any cache duration less than the corresponding cache lifetime value.
In the present disclosure, the forced resolution address of the domain name to be analyzed and the corresponding cache lifetime value are stored in the cache server, so that when the target domain name is the domain name to be analyzed, the target forced resolution address corresponding to the target domain name can be determined and returned in response to the access request.
In one implementation, the cache server responds to the access request and sends an resolution request for the target domain name to the recursion server under the condition that the corresponding target forced resolution address does not exist in the target domain name; and responding to the resolution request by the recursion server, inquiring the IP address corresponding to the target domain name, and returning the IP address corresponding to the target domain name to the cache server.
That is, if the buffering time of the forced resolving address exceeds the corresponding buffering lifetime value, the forced resolving address may be considered to be invalid, and the buffering server may query the IP address corresponding to the target domain name from the recursive server to maintain the normal operation of the DNS system.
In step S15, the user terminal accesses the target mandatory resolution address.
That is, the user obtains the forced resolving addresses corresponding to all frames and sub-elements of the internet application, initiates an internet application access request to the forced resolving address, and enters the dynamic updating countdown of the domain name to be analyzed and the forced resolving address according to the cache lifetime value updated by forced resolving, and re-determines the forced resolving address of the domain name to be analyzed after the cache lifetime value expires.
Fig. 3 is a schematic logic diagram of the present embodiment. The analysis system operates in an analysis server, a user dials and tests Internet application through a short period of a probe, a frame of the Internet application and domain names corresponding to all element contents are returned to the analysis system, a domain name resolution request for the domain name to be analyzed is initiated, the probe queries a local DNS recursion server, the local DNS server initiates domain name recursion queries to all levels of domain name servers of the Internet, all IP addresses corresponding to the domain name to be analyzed are returned, the analysis system determines the domain name to be analyzed from the domain name recursion server, further dials and tests URLs of the IP addresses corresponding to the domain name to be analyzed, and according to dial and test quality of the IP addresses, the IP addresses with special quality differences are ordered and removed according to rules, the left IP addresses are used as forced resolution addresses to be sent to the local DNS cache server, and reasonable cache TTL (time to live value) is set for each forced resolution address according to preset optimization rules.
The following describes the present scheme by means of specific embodiments:
First, the probe dials the URL of a website by simulating the user. Then, the analysis system collects dial testing data of the website, analyzes and obtains the full-quantity domain names and URLs with contents such as the main domain name, all the webpage element sub domain names and the like. The probe initiates a website frame primary domain name and element subdomain name resolution request to a local DNS recursion server. If the local DNS recursion server does not have the domain name A/AAAA record, respectively obtaining the domain name A/AAAA record through stepwise recursion inquiry and learning; if the local DNS recursion server has a domain name A/AAAA record, all IP addresses corresponding to each domain name are directly returned to the probe. Then, the analysis system dials and measures the URL of each IP address of each domain name, obtains the quality condition of all IP addresses under the domain name after the dial and measures, sorts different IP according to quality, divides the different IP into different sections, eliminates special quality difference IP according to service redundancy rules, and obtains the binding relation between the suggested domain name and the quality good IP sequence according to the random rules of the same section; when the next dialing is carried out, the corresponding relation between the domain name and the IP is not synchronously updated if the domain name has no resolution record or the quality and the quality IP ordering is not changed.
The IP comprehensive quality evaluation method can adopt the front page loading time delay and calculate the IP comprehensive quality evaluation score, then perform quality-improving IP sequencing, and divide the IP quality interval according to the set threshold. The sub-element domain name may be the same as or different from the main domain name IP, and the index values are divided into quality spaces according to different main domain names and sub-domain names. In one implementation, the IP comprehensive quality assessment score is a top page load latency score.
The first page loading time delay testing method can be divided into single threads and multiple threads, wherein the single threads are the time spent from the analysis of the first page element to the loading of the last page element, namely the sum of the total time of all sub-items is counted; multithreading is the difference in time from parsing the first page element to completion of all page element downloads in the additional item.
The calculation formula can be expressed as:
Front page loading delay (ms) of each URL dial measurement=DNS resolution delay+TCP connection delay+SSL connection delay+front byte delay+page element downloading delay
The DNS analysis time delay is the DNS analysis time delay of a first non-jump page or a page frame, the TCP connection time delay is the TCP connection time delay of the first non-jump page, the SSL connection time delay is the SSL connection time delay of the first non-jump page, the SSL connection time delay is calculated only if the test adopts https protocol, the first byte time delay is the first byte time delay of the first non-jump page, the page element downloading time delay is the downloading time delay of each page element, and the DNS time delay of a single test record is the time delay of the first page element of the single test record.
Because the URL page depth corresponding to the main domain name of the page and the subdomain name of the element are different, the element downloading time delay is different, so the time delay threshold of the subdomain name evaluation is lower than that of the main domain name of the page; according to different deployment positions of the probes, the delay evaluation standard is correspondingly changed.
Then, sorting is carried out according to the IP comprehensive quality evaluation, and a plurality of IPs in the same quality interval are randomly sorted. The rules for different interval IP ordering, culling and synchronizing to DNS cache servers may include:
Synchronization logic, that is, the frame main domain name and the element subdomain name are kept consistent and are filtered and matched according to rules; this logic is unchanged within a certain period of time, for example, 5 minutes, and instead of a value resolved a certain time, a set of all resolution results corresponding to the same domain name within a period of time is adopted.
The IP eliminating and filtering ordering rules, namely that the number of the analyzed IP is lower than 5, IP filtering elimination is not performed, the IP is ordered from high to low according to scores in different quality intervals, and the IP in the same quality interval is randomly ordered and issued; calculating all IP home page response time delay scores of a domain name, and not performing IP filtering and eliminating when the response time delay scores are all more than or equal to 95%, and all the IP home page response time delay scores are synchronous; calculating that the top page response delay in all the IPs of a domain name has a score lower than 95 points, and for quality optimization sequencing, for example, synchronizing all the IPs in the quality interval when the number of the IPs positioned in the [95,100] points is more than or equal to 5; when the number of the IP positioned in the [95,100] points is less than 5, the top 5 are given by the quality-optimized sorting according to the IP scores; the number of IP syncs per domain name to DNS cache servers is limited to a maximum of 10.
Furthermore, the DNS cache server configures and screens the forced analysis data of the synchronous domain name and IP corresponding relation, reasonable TTL is set according to rules, and the forced analysis result is validated and refreshed. The method comprises the steps of carrying out forced analysis on IP address sequencing and TTL (transistor-transistor logic) of a main domain name and one sub domain name of a webpage in a dialing test period, carrying out dialing test on a frame and content element sub domain name score, carrying out IP sequencing and eliminating and the like of the webpage every 5 minutes in the mode, continuously and circularly carrying out the dialing test, and each period initiates an analysis request to a DNS domain name recursion server, so that a plurality of IP and comprehensive perception quality evaluation scores corresponding to access resource content are obtained in one period, and carrying out IP filtering elimination and sequencing according to the rules.
If the real user initiates the real Internet application access, the DNS cache server returns the high-quality IP and updated TTL of all domain names corresponding to the frames and the sub-element contents corresponding to the Internet according to the forced analysis result. The real user obtains the forced analysis results of all frames and sub-elements of the Internet application, initiates an Internet application access request to the high-quality IP, dynamically updates the countdown according to the correspondence between the TTL which is forced to analyze and update and the IP, and initiates a new analysis request when the Internet application access is performed after the countdown is finished.
As can be seen from the above, the present solution determines, by comparison and analysis, a connection quality score of an IP address corresponding to each domain name to be analyzed, and then uses the IP address with high quality as a forced resolution address of the domain name to be analyzed according to the connection quality score, and dynamically synchronizes the forced resolution address to the cache server.
Referring to fig. 4, a flowchart illustrating steps of a network scheduling method of the present application, applied to an analysis server, may specifically include the following steps:
in step S21, obtaining a domain name to be analyzed according to a preset period; and performing dial testing on the IP address corresponding to the domain name to be analyzed to obtain first dial testing data.
In step S22, a connection quality score and a dial testing lifetime value of each IP address are determined according to the first dial testing data.
In step S23, determining a forced resolution address from the IP addresses corresponding to each domain name to be analyzed according to the connection quality score; and transmitting the forced resolved address corresponding to each domain name to be analyzed and the dial testing survival time value of the forced resolved address to a cache server.
In this way, the cache server can determine the cache lifetime value of the forced resolution address according to the dial test lifetime value and a preset optimization rule, and the cache server determines and returns a target forced resolution address corresponding to the target domain name in response to an access request for the target domain name sent by the user terminal, wherein the target forced resolution address is a forced resolution address with any cache duration smaller than the corresponding cache lifetime value, so as to realize that the user terminal accesses the target forced resolution address.
In one implementation manner, the obtaining the domain name to be analyzed according to the preset period includes:
Collecting second dial testing data according to a preset period, wherein the second dial testing data is obtained by simulating access operation of the user terminal;
analyzing the second dial testing data to obtain a domain name to be analyzed, wherein the domain name to be analyzed comprises a domain name and/or a preset domain name, the access times of which in the second dial testing data meet preset conditions.
In one implementation manner, before the dialing and testing the IP address corresponding to the domain name to be analyzed to obtain the first dialing and testing data, the method further includes:
And sending an analysis request for the domain name to be analyzed to a recursion server, so that the recursion server responds to the analysis request, and inquiring and returning an IP address corresponding to the domain name to be analyzed.
In an implementation manner, the determining, according to the connection quality score, a forced resolution address from IP addresses corresponding to each domain name to be analyzed includes:
removing IP addresses with connection quality scores lower than a preset threshold value corresponding to each domain name to be analyzed to obtain candidate resolved addresses;
Sequencing the candidate resolved addresses corresponding to each domain name to be analyzed respectively to obtain a sequencing result; and determining the forced resolution address corresponding to each domain name to be analyzed according to the sequencing result.
In one implementation, the first dial-up measurement data includes, but is not limited to, DNS resolution latency, TCP connection latency, SSL connection latency, first byte latency, element content download latency, katana rate, and loading success rate.
As can be seen from the above, the present solution determines, by comparison and analysis, a connection quality score of an IP address corresponding to each domain name to be analyzed, and then uses the IP address with high quality as a forced resolution address of the domain name to be analyzed according to the connection quality score, and dynamically synchronizes the forced resolution address to the cache server.
Referring to fig. 5, a flowchart illustrating steps of a network scheduling method of the present application, applied to a cache server, may specifically include the following steps:
In step S31, a forced resolution address corresponding to each domain name to be analyzed and a dial testing survival time value of the forced resolution address sent by an analysis server are received; and determining the cache survival time value of the forced resolution address according to the dial testing survival time value and a preset optimization rule.
In step S32, in response to an access request for a target domain name sent by the user terminal, a target mandatory resolution address corresponding to the target domain name is determined and returned.
The target forced resolving address is a forced resolving address with any buffer time less than the corresponding buffer life time value, so as to enable the user terminal to access the target forced resolving address.
In an implementation manner, before the determining and returning the target mandatory resolved address corresponding to the target domain name in response to the access request for the target domain name sent by the user terminal, the method further includes:
and updating the locally cached forced resolving address corresponding to the domain name to be analyzed according to the received forced resolving address corresponding to each domain name to be analyzed.
In one implementation, the method further comprises:
And under the condition that the target domain name does not have a corresponding target forced resolution address, responding to the access request, and sending a resolution request aiming at the target domain name to a recursion server so that the recursion server inquires and returns an IP address corresponding to the target domain name.
As can be seen from the above, the present solution determines, by comparison and analysis, a connection quality score of an IP address corresponding to each domain name to be analyzed, and then uses the IP address with high quality as a forced resolution address of the domain name to be analyzed according to the connection quality score, and dynamically synchronizes the forced resolution address to the cache server.
It should be noted that, for simplicity of explanation, the method embodiments are shown as a series of acts, but it should be understood by those skilled in the art that the present application is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the application. Further, those skilled in the art will appreciate that the embodiments described in the specification are all alternative embodiments and that the actions involved are not necessarily required for the present application.
Referring to fig. 6, there is shown a block diagram of a network scheduling apparatus of the present application, applied to an analysis server, which may specifically include the following modules:
an obtaining unit 401 configured to obtain a domain name to be analyzed according to a preset period;
a dial testing unit 402, configured to perform dial testing on the IP address corresponding to the domain name to be analyzed, so as to obtain first dial testing data;
A scoring unit 403 configured to determine a connection quality score and a dial test lifetime value for each IP address according to the first dial test data;
a determining unit 404 configured to determine a forced resolution address from the IP addresses corresponding to each domain name to be analyzed according to the connection quality score;
and the sending unit 405 is configured to send the forced resolved address corresponding to each domain name to be analyzed and the dial testing survival time value of the forced resolved address to the cache server.
And determining a cache life time value of the forced resolution address by the cache server according to the dial test life time value and a preset optimization rule, and determining and returning a target forced resolution address corresponding to the target domain name by the cache server in response to an access request for the target domain name sent by the user terminal, wherein the target forced resolution address is a forced resolution address with any cache duration smaller than the corresponding cache life time value, so that the user terminal accesses the target forced resolution address.
In one implementation manner, the obtaining unit 401 is configured to perform collecting second dial testing data according to a preset period, where the second dial testing data is obtained by simulating an access operation of the user terminal; analyzing the second dial testing data to obtain a domain name to be analyzed, wherein the domain name to be analyzed comprises a domain name and/or a preset domain name, the access times of which in the second dial testing data meet preset conditions.
In an implementation manner, the dial testing unit 402 is further configured to send an resolution request for the domain name to be analyzed to a recursive server, so that the recursive server queries and returns an IP address corresponding to the domain name to be analyzed in response to the resolution request.
In an implementation manner, the determining unit 404 is configured to perform removing IP addresses with connection quality scores lower than a preset threshold value corresponding to each domain name to be analyzed, so as to obtain candidate resolved addresses; sequencing the candidate resolved addresses corresponding to each domain name to be analyzed respectively to obtain a sequencing result; and determining the forced resolution address corresponding to each domain name to be analyzed according to the sequencing result.
In one implementation, the first dial-up measurement data includes, but is not limited to, DNS resolution latency, TCP connection latency, SSL connection latency, first byte latency, element content download latency, katana rate, and loading success rate.
As can be seen from the above, the present solution determines, by comparison and analysis, a connection quality score of an IP address corresponding to each domain name to be analyzed, and then uses the IP address with high quality as a forced resolution address of the domain name to be analyzed according to the connection quality score, and dynamically synchronizes the forced resolution address to the cache server.
Referring to fig. 7, a block diagram of a network scheduling apparatus of the present application is shown, and the apparatus is applied to a cache server, and may specifically include the following modules:
a receiving unit 501 configured to perform receiving a forced resolution address corresponding to each domain name to be analyzed and a dial test lifetime value of the forced resolution address, where the forced resolution address is sent by an analysis server;
The optimizing unit 502 is configured to execute determining a cache lifetime value of the forced resolution address according to the dial testing lifetime value and a preset optimizing rule;
And the response unit 503 is configured to execute a request for accessing a target domain name sent by the user terminal, determine and return a target forced resolution address corresponding to the target domain name, where the target forced resolution address is a forced resolution address with any buffer duration smaller than a corresponding buffer lifetime value, so as to realize that the user terminal accesses the target forced resolution address.
In an implementation, the receiving unit 501 is further configured to perform:
and updating the locally cached forced resolving address corresponding to the domain name to be analyzed according to the received forced resolving address corresponding to each domain name to be analyzed.
In one implementation, the apparatus further comprises:
and the resolution unit is configured to send a resolution request for the target domain name to a recursion server in response to the access request under the condition that the target domain name does not have a corresponding target forced resolution address, so that the recursion server queries and returns an IP address corresponding to the target domain name.
As can be seen from the above, the present solution determines, by comparison and analysis, a connection quality score of an IP address corresponding to each domain name to be analyzed, and then uses the IP address with high quality as a forced resolution address of the domain name to be analyzed according to the connection quality score, and dynamically synchronizes the forced resolution address to the cache server.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points.
Fig. 8 is a block diagram of an electronic device, according to an example embodiment.
In an exemplary embodiment, a computer-readable storage medium is also provided, such as a memory, comprising instructions executable by a processor of an electronic device to perform the above-described method. Alternatively, the computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical audio playback device, etc.
In an exemplary embodiment, a computer program product is also provided which, when run on a computer, causes the computer to implement the method of network scheduling described above.
As can be seen from the above, the present solution determines, by comparison and analysis, a connection quality score of an IP address corresponding to each domain name to be analyzed, and then uses the IP address with high quality as a forced resolution address of the domain name to be analyzed according to the connection quality score, and dynamically synchronizes the forced resolution address to the cache server.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
It will be apparent to those skilled in the art that embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the application.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or terminal device that comprises the element.
The network scheduling method, device, electronic equipment and storage medium provided by the application are described in detail, and specific examples are applied to illustrate the principle and implementation of the application, and the description of the above examples is only used for helping to understand the method and core idea of the application; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.
Claims (25)
1. A network scheduling system, comprising:
The analysis server is used for acquiring the domain name to be analyzed according to a preset period; performing dial testing on the IP addresses corresponding to the domain name to be analyzed to obtain first dial testing data, and determining a connection quality score and a dial testing survival time value of each IP address according to the first dial testing data; determining a forced resolution address from the IP addresses corresponding to each domain name to be analyzed according to the connection quality scores; transmitting a forced resolution address corresponding to each domain name to be analyzed and a dial testing survival time value of the forced resolution address to a cache server;
the cache server is used for determining the cache survival time value of the forced resolution address according to the dial test survival time value and a preset optimization rule;
The user terminal is used for sending an access request for the target domain name to the cache server;
the cache server is further configured to determine and return a target forced resolution address corresponding to the target domain name in response to the access request, where the target forced resolution address is a forced resolution address with any cache duration smaller than a corresponding cache lifetime value;
The user terminal is also used for accessing the target forced resolution address.
2. The system of claim 1, wherein the system further comprises a controller configured to control the controller,
The analysis server is used for collecting second dial testing data according to a preset period, and the second dial testing data is obtained by simulating the access operation of the user terminal; analyzing the second dial testing data to obtain a domain name to be analyzed, wherein the domain name to be analyzed comprises a domain name and/or a preset domain name, the access times of which in the second dial testing data meet preset conditions.
3. The system of claim 1, wherein the system further comprises a controller configured to control the controller,
The analysis server is specifically configured to send an analysis request for the domain name to be analyzed to a recursion server;
And the recursion server is used for responding to the analysis request, inquiring the IP address corresponding to the domain name to be analyzed and returning the IP address corresponding to the domain name to be analyzed to the analysis server.
4. The system of claim 1, wherein the system further comprises a controller configured to control the controller,
The analysis server is specifically configured to reject IP addresses with connection quality scores lower than a preset threshold value corresponding to each domain name to be analyzed, and obtain candidate resolved addresses; sequencing the candidate resolved addresses corresponding to each domain name to be analyzed respectively to obtain a sequencing result; and determining the forced resolution address corresponding to each domain name to be analyzed according to the sequencing result.
5. The system of any of claims 1-4, wherein the first dial-up data includes, but is not limited to, DNS resolution latency, TCP connection latency, SSL connection latency, first byte latency, element content download latency, click-through rate, and loading success rate.
6. The system of claim 1, wherein the system further comprises a controller configured to control the controller,
And the cache server is used for updating the forced resolving address corresponding to the domain name to be analyzed of the local cache according to the received forced resolving address corresponding to each domain name to be analyzed.
7. The system of claim 1, wherein the system further comprises a controller configured to control the controller,
The cache server is further configured to, in response to the access request, send an resolution request for the target domain name to a recursive server when the target domain name does not have a corresponding target forced resolution address;
And the recursion server is used for responding to the resolution request, inquiring the IP address corresponding to the target domain name and returning the IP address corresponding to the target domain name to the cache server.
8. A network scheduling method, applied to an analysis server, comprising:
acquiring a domain name to be analyzed according to a preset period;
performing dial testing on the IP address corresponding to the domain name to be analyzed to obtain first dial testing data;
determining a connection quality score and a dial testing survival time value of each IP address according to the first dial testing data;
Determining a forced resolution address from the IP addresses corresponding to each domain name to be analyzed according to the connection quality scores;
And transmitting a forced resolution address corresponding to each domain name to be analyzed and a dial testing survival time value of the forced resolution address to a cache server, so that the cache server determines the cache survival time value of the forced resolution address according to the dial testing survival time value and a preset optimization rule, and the cache server determines and returns a target forced resolution address corresponding to a target domain name in response to an access request for the target domain name transmitted by a user terminal, wherein the target forced resolution address is a forced resolution address with any cache duration smaller than the corresponding cache survival time value, so that the user terminal accesses the target forced resolution address.
9. The method according to claim 8, wherein the obtaining the domain name to be analyzed according to the preset period includes:
Collecting second dial testing data according to a preset period, wherein the second dial testing data is obtained by simulating access operation of the user terminal;
analyzing the second dial testing data to obtain a domain name to be analyzed, wherein the domain name to be analyzed comprises a domain name and/or a preset domain name, the access times of which in the second dial testing data meet preset conditions.
10. The method of claim 8, wherein before the performing dial testing on the IP address corresponding to the domain name to be analyzed to obtain the first dial testing data, the method further comprises:
And sending an analysis request for the domain name to be analyzed to a recursion server, so that the recursion server responds to the analysis request, and inquiring and returning an IP address corresponding to the domain name to be analyzed.
11. The method according to claim 8, wherein determining a forced resolution address from the IP addresses corresponding to each domain name to be analyzed according to the connection quality score comprises:
removing IP addresses with connection quality scores lower than a preset threshold value corresponding to each domain name to be analyzed to obtain candidate resolved addresses;
Sequencing the candidate resolved addresses corresponding to each domain name to be analyzed respectively to obtain a sequencing result; and determining the forced resolution address corresponding to each domain name to be analyzed according to the sequencing result.
12. The method according to any one of claims 8 to 11, wherein the first dial-up data includes DNS resolution latency, TCP connection latency, SSL connection latency, first byte latency, element content download latency, click-through rate, and loading success rate.
13. The network scheduling method is characterized by being applied to a cache server and comprising the following steps of:
Receiving a forced resolution address corresponding to each domain name to be analyzed sent by an analysis server, and dialing a measured lifetime value of the forced resolution address;
Determining the cache survival time value of the forced resolution address according to the dial testing survival time value and a preset optimization rule;
And responding to an access request for a target domain name sent by a user terminal, determining and returning a target forced resolving address corresponding to the target domain name, wherein the target forced resolving address is a forced resolving address with any cache duration smaller than a corresponding cache survival time value, so as to realize that the user terminal accesses the target forced resolving address.
14. The method according to claim 13, wherein before determining and returning the target mandatory resolved address corresponding to the target domain name in response to the access request for the target domain name sent by the user terminal, the method further comprises:
and updating the locally cached forced resolving address corresponding to the domain name to be analyzed according to the received forced resolving address corresponding to each domain name to be analyzed.
15. The method of claim 13, wherein the method further comprises:
And under the condition that the target domain name does not have a corresponding target forced resolution address, responding to the access request, and sending a resolution request aiming at the target domain name to a recursion server so that the recursion server inquires and returns an IP address corresponding to the target domain name.
16. A network scheduling apparatus, applied to an analysis server, comprising:
The acquisition unit is configured to acquire the domain name to be analyzed according to a preset period;
The dial testing unit is configured to perform dial testing on the IP address corresponding to the domain name to be analyzed to obtain first dial testing data;
a scoring unit configured to determine a connection quality score and a dial test lifetime value for each IP address according to the first dial test data;
A determining unit configured to determine a forced resolution address from IP addresses corresponding to each domain name to be analyzed according to the connection quality score;
The sending unit is configured to send a forced resolving address corresponding to each domain name to be analyzed and a dial testing survival time value of the forced resolving address to the cache server, so that the cache server determines the cache survival time value of the forced resolving address according to the dial testing survival time value and a preset optimizing rule, and the cache server determines and returns a target forced resolving address corresponding to a target domain name in response to an access request for the target domain name sent by a user terminal, wherein the target forced resolving address is a forced resolving address with any cache time length smaller than the corresponding cache survival time value, so that the user terminal accesses the target forced resolving address.
17. The apparatus of claim 16, wherein the device comprises a plurality of sensors,
The acquisition unit is configured to acquire second dial testing data according to a preset period, wherein the second dial testing data is obtained by simulating the access operation of the user terminal; analyzing the second dial testing data to obtain a domain name to be analyzed, wherein the domain name to be analyzed comprises a domain name and/or a preset domain name, the access times of which in the second dial testing data meet preset conditions.
18. The apparatus of claim 16, wherein the device comprises a plurality of sensors,
The dial testing unit is further configured to send an analysis request for the domain name to be analyzed to a recursion server, so that the recursion server responds to the analysis request to inquire and return an IP address corresponding to the domain name to be analyzed.
19. The apparatus of claim 16, wherein the device comprises a plurality of sensors,
The determining unit is configured to perform removing the IP addresses with the connection quality scores lower than a preset threshold value corresponding to each domain name to be analyzed to obtain candidate resolved addresses; sequencing the candidate resolved addresses corresponding to each domain name to be analyzed respectively to obtain a sequencing result; and determining the forced resolution address corresponding to each domain name to be analyzed according to the sequencing result.
20. The device according to any one of claims 16 to 19, wherein,
The first dial testing data comprises DNS analysis time delay, TCP connection time delay, SSL connection time delay, first byte time delay, element content downloading time delay, a blocking ratio and a loading success rate.
21. A network scheduling apparatus, applied to a cache server, comprising:
The receiving unit is configured to execute the forced analysis address corresponding to each domain name to be analyzed and sent by the analysis server, and the dial testing survival time value of the forced analysis address;
The optimizing unit is configured to execute the method and the system for determining the cache survival time value of the forced resolution address according to the dial testing survival time value and a preset optimizing rule;
The response unit is configured to execute the request of access to the target domain name sent by the user terminal, determine and return a target forced resolution address corresponding to the target domain name, wherein the target forced resolution address is a forced resolution address with any cache duration smaller than a corresponding cache life time value, so as to realize the access of the user terminal to the target forced resolution address.
22. The apparatus of claim 21, wherein the receiving unit is further configured to perform:
and updating the locally cached forced resolving address corresponding to the domain name to be analyzed according to the received forced resolving address corresponding to each domain name to be analyzed.
23. The apparatus of claim 21, wherein the apparatus further comprises:
and the resolution unit is configured to send a resolution request for the target domain name to a recursion server in response to the access request under the condition that the target domain name does not have a corresponding target forced resolution address, so that the recursion server queries and returns an IP address corresponding to the target domain name.
24. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the network scheduling method of any one of claims 8-12 or 13-15 when the program is executed by the processor.
25. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the network scheduling method according to any one of claims 8-12 or 13-15.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210870924.1A CN115361357B (en) | 2022-07-22 | 2022-07-22 | Network scheduling system, method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210870924.1A CN115361357B (en) | 2022-07-22 | 2022-07-22 | Network scheduling system, method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115361357A CN115361357A (en) | 2022-11-18 |
CN115361357B true CN115361357B (en) | 2024-05-14 |
Family
ID=84032219
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210870924.1A Active CN115361357B (en) | 2022-07-22 | 2022-07-22 | Network scheduling system, method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115361357B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116074281A (en) * | 2023-02-02 | 2023-05-05 | 互联网域名系统北京市工程研究中心有限公司 | Method, device, computer equipment and storage medium for obtaining response result based on domain name system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103167044A (en) * | 2011-12-08 | 2013-06-19 | 中国移动通信集团浙江有限公司 | Intelligent analysis method of domain name system (DNS) and poking measurement device and system |
WO2017177437A1 (en) * | 2016-04-15 | 2017-10-19 | 深圳前海达闼云端智能科技有限公司 | Domain name resolution method, device, and system |
CN109586937A (en) * | 2017-09-28 | 2019-04-05 | 中兴通讯股份有限公司 | A kind of O&M method, equipment and the storage medium of caching system |
CN113037680A (en) * | 2019-12-09 | 2021-06-25 | 中盈优创资讯科技有限公司 | Application server access method and device based on domain name resolution result |
CN113542040A (en) * | 2021-09-16 | 2021-10-22 | 中国信息通信研究院 | Duration indication method and device and electronic equipment |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10708226B2 (en) * | 2016-01-29 | 2020-07-07 | Verisign, Inc. | Domain name resolution |
-
2022
- 2022-07-22 CN CN202210870924.1A patent/CN115361357B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103167044A (en) * | 2011-12-08 | 2013-06-19 | 中国移动通信集团浙江有限公司 | Intelligent analysis method of domain name system (DNS) and poking measurement device and system |
WO2017177437A1 (en) * | 2016-04-15 | 2017-10-19 | 深圳前海达闼云端智能科技有限公司 | Domain name resolution method, device, and system |
CN109586937A (en) * | 2017-09-28 | 2019-04-05 | 中兴通讯股份有限公司 | A kind of O&M method, equipment and the storage medium of caching system |
CN113037680A (en) * | 2019-12-09 | 2021-06-25 | 中盈优创资讯科技有限公司 | Application server access method and device based on domain name resolution result |
CN113542040A (en) * | 2021-09-16 | 2021-10-22 | 中国信息通信研究院 | Duration indication method and device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN115361357A (en) | 2022-11-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109981805B (en) | Domain name resolution method and device | |
US10027773B2 (en) | Methods and apparatus to share online media impressions data | |
US20160020964A1 (en) | System and method for management of cloud-based systems | |
CN115361357B (en) | Network scheduling system, method and device, electronic equipment and storage medium | |
CN104158919A (en) | Webpage access implementation method, server and client | |
CN112769976B (en) | Domain name resolution method and system | |
CN103685590B (en) | Obtain the method and system of IP address | |
US8838732B2 (en) | Data transfer for network interaction fraudulence detection | |
CN107135236A (en) | A kind of detection method and system of target Domain Hijacking | |
CN105610993B (en) | A kind of domain name analytic method, apparatus and system | |
Zhang et al. | Identifying, analyzing, and modeling flashcrowds in bittorrent | |
CN105224691B (en) | A kind of information processing method and device | |
CN108206769B (en) | Method, apparatus, device and medium for filtering network quality alarms | |
JP2006525603A (en) | Detect inappropriate search queries submitted to wide area network search engines | |
CN111277451B (en) | Service evaluation method, device, terminal equipment and medium | |
EP3754998A1 (en) | Streaming media quality monitoring method and system | |
CN112491719A (en) | Network node selection method, equipment and storage medium | |
CN106027673B (en) | The control and training method, device that resource pushes in advance | |
JP2015532048A (en) | Automatic scanning action determination method and apparatus | |
CN110401552A (en) | A kind of CDN business automated tuning method and device | |
CN111371914A (en) | IP library generation method, domain name resolution method, electronic device and readable storage medium | |
CN111064821A (en) | Method and device for determining IP address of edge node | |
CN114500456B (en) | DNS (Domain name System) scheduling optimization method and device based on whole network sniffing and computing equipment | |
CN112532765B (en) | Network access method and system thereof | |
CN105791043B (en) | A kind of business network service experience automatic Evaluation of Quality method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |