CN114430402A - Network domain name traffic scheduling method and device and computing equipment - Google Patents

Network domain name traffic scheduling method and device and computing equipment Download PDF

Info

Publication number
CN114430402A
CN114430402A CN202011105529.1A CN202011105529A CN114430402A CN 114430402 A CN114430402 A CN 114430402A CN 202011105529 A CN202011105529 A CN 202011105529A CN 114430402 A CN114430402 A CN 114430402A
Authority
CN
China
Prior art keywords
website
average
time
screen
byte
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011105529.1A
Other languages
Chinese (zh)
Other versions
CN114430402B (en
Inventor
许昊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Group Zhejiang Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Zhejiang Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Group Zhejiang Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202011105529.1A priority Critical patent/CN114430402B/en
Publication of CN114430402A publication Critical patent/CN114430402A/en
Application granted granted Critical
Publication of CN114430402B publication Critical patent/CN114430402B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • H04L47/801Real time traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0894Packet rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • H04L47/805QOS or priority aware

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention relates to the technical field of internet, and discloses a method and a device for scheduling network domain name traffic and computing equipment. The method comprises the following steps: executing a dial testing circuit for the network domain name needing flow scheduling; acquiring first return data of a network domain name on an original line and acquiring second return data of the network domain name on a dial-up test line; respectively calculating user experience parameters of the original line and user experience parameters of the dial-up test line according to the first return data and the second return data; respectively calculating the quality evaluation score of the network domain name under the original line and the quality evaluation score under the dial testing line according to the user experience parameters of the original line and the user experience parameters of the dial testing line; and scheduling the flow of the network domain name according to the quality evaluation score under the original line and the quality evaluation score under the dial testing line. Through the mode, the embodiment of the invention realizes the traffic scheduling of the network domain name according to the experience of the user for accessing the network domain name.

Description

Network domain name traffic scheduling method and device and computing equipment
Technical Field
The embodiment of the invention relates to the technical field of internet, in particular to a method and a device for scheduling network domain name traffic and computing equipment.
Background
With the continuous development of internet technology, users access network resources more and more diversified, and meanwhile, users pay more attention to network experience. In order to meet the requirements of users, traffic scheduling needs to be performed according to different access resources of the users.
In the related technology, a tester evaluates the quality of the website resource under different network lines by comparing data returned by the same website IP address under different network lines. Generally, parameters related to network quality need to be acquired according to returned data, and quality of different network lines is obtained by comparing the parameters related to network quality under different network lines. However, in implementing the embodiments of the present invention, the inventors found that: in the related technology, a plurality of network quality related parameters can be obtained according to data returned by a website IP address, the network quality related parameters are not necessarily changed in the same direction, and the quality of different network lines cannot be obtained better depending on the network quality related parameters, so that a better decision basis cannot be provided for flow scheduling.
Disclosure of Invention
In view of the foregoing problems, embodiments of the present invention provide a method, an apparatus, and a computing device for network domain name traffic scheduling, so as to solve the problem in the prior art that quality of a network line cannot be accurately compared to perform traffic scheduling.
According to an aspect of an embodiment of the present invention, a method for scheduling network domain name traffic is provided, where the method includes:
executing a dial testing circuit for the network domain name needing flow scheduling;
acquiring first return data of the network domain name on an original line and acquiring second return data of the network domain name on the dial testing line;
respectively calculating user experience parameters of the original line and user experience parameters of the dial testing line according to the first return data and the second return data;
respectively calculating the quality evaluation score of the network domain name under the original line and the quality evaluation score under the dial testing line according to the user experience parameters of the original line and the user experience parameters of the dial testing line;
and scheduling the flow of the network domain name according to the quality evaluation score under the original line and the quality evaluation score under the dial testing line.
In an optional manner, the user experience parameters further include: the method comprises the following steps of website connection time, first byte time delay, first screen time, total website opening time, website downloading speed, website element opening success rate and website opening success rate.
In an optional manner, the scheduling the traffic of the network domain name according to the quality assessment score under the original line and the quality assessment score under the dial-up test line includes:
obtaining a quality evaluation score with the largest value in at least one quality evaluation score under the dial testing line;
and if the quality evaluation score with the maximum value is larger than the quality evaluation score under the original line, scheduling the flow of the network domain name to the dial testing line corresponding to the quality evaluation score with the maximum value.
In an alternative mode, the formula for calculating the quality assessment score is: the quality evaluation score is a website opening time score + b website downloading speed score + c website opening success rate score;
a is a first preset constant k (R (connection-first byte) + R (first byte-first screen) + R (first screen-total duration))/3,
b is a second predetermined constant (1-k (R (connection-first byte) + R (first byte-first screen) + R (first screen-total duration))/3),
c is a third preset constant;
the R (concatenate-first byte) — 0.5 × R (concatenate-first byte) +0.5,
the R (first byte-first screen) — 0.5 × R (first byte-first screen) +0.5,
the R (first screen-total duration) — 0.5 × R (first screen-total duration) +0.5,
the k is 1/(R (concatenated-first byte) + R (first byte-first screen) + R (first screen-total duration));
the r (connection-first byte) is a correlation value between the website connection time and the first byte time delay, the r (first byte-first screen) is a correlation value between the first byte time delay and the first screen time, and the r (first screen-total duration) is a correlation value between the first screen time and the website opening total duration;
and the numerical values of the first preset constant and the second preset constant are dynamically adjusted according to the numerical values of the r (connection-first byte), the r (first byte-first screen) and the r (first screen-total duration).
In an optional manner, the formula for calculating the correlation value between the website connection time and the first byte time delay, the correlation value between the first byte time delay and the first screen time, and the correlation value between the first screen time and the total website opening time is as follows:
Figure BDA0002726825220000031
wherein,
Figure BDA0002726825220000032
and
Figure BDA0002726825220000033
are respectively a parameter diAnd parameter djAverage value of dikAnd djkAre respectively a parameter diAnd parameter djThe sample value of (2);
parameter diAnd parameter djRespectively used for representing the website connection time, the first byte time delay and the parameter rijThe correlation value is used for representing the correlation value between the website connection time and the first byte time delay; and/or the presence of a gas in the gas,
parameter diAnd parameter djRespectively used for representing the first byte time delay, the first screen time and a parameter rijFor representing the first byteA correlation value between the time delay and the first screen time; and/or the presence of a gas in the gas,
parameter diAnd parameter djRespectively used for expressing the first screen time and the total website opening time and a parameter rijThe method is used for representing a correlation value between the initial screen time and the total website opening time.
In an alternative approach, the website open time fraction ═ d (average website connection time contrast ratio/(1 + average website connection time contrast ratio)) + e (average first-word time delay contrast ratio/(1 + average first-word time delay contrast ratio)) + f (average first-screen time contrast ratio/(1 + average first-screen time contrast ratio)) + g (average website open total duration contrast ratio/(1 + average website open total duration contrast ratio));
the website download speed score is equal to the average website download speed contrast ratio/(1 + average website download speed contrast ratio);
the website opening success rate score is h (average website element opening success rate contrast ratio/(1 + average website element opening success rate contrast ratio)) + i (average website opening success rate contrast ratio/(1 + average website opening success rate contrast ratio));
d is a fourth preset constant k R (connection-first byte), e is a fifth preset constant k R (first byte-first screen), f is a sixth preset constant k R (first screen-total duration), and g is a seventh preset constant (4-d-e-f);
the numerical values of the fourth preset constant, the fifth preset constant, the sixth preset constant and the seventh preset constant are dynamically adjusted according to the numerical values of r (connection-first byte), r (first byte-first screen) and r (first screen-total duration);
h is an eighth preset constant;
and i is a ninth preset constant.
In an alternative mode, the average website connection time contrast ratio (original line average website connection time-dial-test line average website connection time)/original line average website connection time;
the average first byte time delay contrast ratio is (average first byte time delay of the original line-average first byte time delay of the dial testing line)/average first byte time delay of the original line;
the average first screen time contrast ratio is (the average first screen time of the original line-the average first screen time of the dial-testing line)/the average first screen time of the original line;
the contrast ratio of the average website opening total time length is (the average website opening total time length of the original line-the average website opening total time length of the dial testing line)/the average website opening total time length of the original line;
the average download speed contrast ratio is (average download speed of the website on the dial-testing line-average download speed of the website on the original line)/average download speed of the website on the original line;
the average website element opening success rate contrast ratio is (average website element opening success rate of dial-test line-average website element opening success rate of original line)/average website element opening success rate of original line;
and the contrast ratio of the average website opening success rate is (average website opening success rate of dial testing lines-average website opening success rate of original lines)/average website opening success rate of original lines.
According to another aspect of the embodiments of the present invention, there is provided a network domain name traffic scheduling apparatus, including:
the execution module is used for executing dial testing lines for the domain names needing flow scheduling;
the acquisition module is used for acquiring first return data of the domain name on an original line and acquiring second return data of the domain name on the dial testing line;
the first calculation module is used for calculating the user experience parameters of the original line and the user experience parameters of the dial testing line according to the first return data and the second return data respectively;
the second calculation module is used for respectively calculating the quality evaluation score of the domain name under the original line and the quality evaluation score under the dial testing line according to the user experience parameters of the original line and the user experience parameters of the dial testing line;
and the scheduling module is used for scheduling the flow of the domain name according to the quality evaluation score under the original line and the quality evaluation score under the dial testing line.
According to another aspect of embodiments of the present invention, there is provided a computing device including: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the operation of the network domain name traffic scheduling method.
According to another aspect of the embodiments of the present invention, there is provided a computer-readable storage medium, where at least one executable instruction is stored, and when the executable instruction is executed on a network domain name traffic scheduling apparatus, the network domain name traffic scheduling apparatus executes the operations of the network domain name traffic scheduling method.
The method comprises the steps of firstly executing a dial testing line for the network domain name needing flow scheduling, acquiring first return data of the network domain name on an original line and acquiring second return data of the network domain name on the dial testing line; secondly, respectively calculating user experience parameters of the original line and user experience parameters of the dial-up test line according to the first return data and the second return data; respectively calculating the quality evaluation score of the network domain name under the original line and the quality evaluation score under the dial testing line according to the user experience parameters of the original line and the user experience parameters of the dial testing line; and finally, the flow of the network domain name can be scheduled according to the quality evaluation scores under the original line and the quality evaluation scores under the dial testing line. Therefore, the embodiment of the invention can automatically schedule the traffic of the network domain name based on the quality evaluation score obtained by the user experience parameter, so that the traffic scheduling of the network domain name is more effective.
The foregoing description is only an overview of the technical solutions of the embodiments of the present invention, and the embodiments of the present invention can be implemented according to the content of the description in order to make the technical means of the embodiments of the present invention more clearly understood, and the detailed description of the present invention is provided below in order to make the foregoing and other objects, features, and advantages of the embodiments of the present invention more clearly understandable.
Drawings
The drawings are only for purposes of illustrating embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a schematic flowchart illustrating a method for scheduling network domain name traffic according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram illustrating a network domain name traffic scheduling apparatus according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a computing device provided by an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein.
Fig. 1 shows a flow diagram of an embodiment of a network domain name traffic scheduling method of the present invention, which is performed by a computing device. In an embodiment of the present invention, the storage space of the computing device stores executable instructions, and the executable instructions can make the processor execute the network domain name traffic scheduling method. As shown in fig. 1, the method comprises the steps of:
step 110: and executing a dial testing line for the network domain name needing flow scheduling.
The network domain name may be various types of network domain names, such as a taobao.com domain name of a naobao network and a sina.com domain name of a surf network. Generally, the same network domain name may correspond to a plurality of different network lines according to different resolution results, and the access experience of the user may be different under different network lines. For example, in some network lines, the access speed of the user is high, and in some network lines, the access speed of the user is low. The traffic scheduling refers to scheduling the traffic of the user accessing the network domain name from a network line with a slower access speed to a network line with a faster access speed, so as to improve the access experience of the user. The dial-up test line is relative to an original line accessing a network domain name, the original line and the dial-up test line are different network lines accessing the same network domain name, and the dial-up test line can comprise at least one network line. Executing the dial testing line for the network domain name requiring traffic scheduling refers to switching the network line of the user accessing the network domain name to the dial testing line.
In a preferred implementation manner of the embodiment of the present invention, a plurality of network domain names requiring traffic scheduling may be selected according to actual needs, and a dial-up domain name library is established to store the selected plurality of network domain names requiring traffic scheduling. For each network domain name needing flow scheduling, probes can be respectively arranged on an original line and a dial testing line of the network domain name, and dial testing tasks are respectively distributed to the probes on the original line and the dial testing line, so that the probes on the original line and the dial testing line can be tested according to the obtained dial testing tasks. The probe on each line can generate a log record according to the execution result of the dial testing task, and the return result of the network domain name can be stored in the log record.
Step 120: and acquiring first return data of the network domain name on an original line and acquiring second return data of the network domain name on the dial testing line.
The method comprises the steps that an original line is executed for a network domain name, and data returned by the network domain name through the original line, namely first returned data of the network domain name on the original line, can be obtained; by executing the dial testing line for the network domain name, the data returned by the network domain name through the dial testing line, namely the second returned data of the network domain name in the dial testing line, can be acquired. Generally, the number of people accessing the network domain name at different time periods is different, and the network conditions at different time periods are not consistent, so that the first return data and the second return data acquired at different time periods are also different.
In a preferred implementation manner of the embodiment of the present invention, in order to reduce the volatility of the test, the first return data and the second return data that are returned by the network domain name at different time points may be sequentially acquired at predetermined time intervals. In one embodiment, multiple sets of data returned by the network domain name at different time points through the original line may be acquired as first return data, and multiple sets of data returned by the network domain name at different time points through the dial-up line may be acquired as second return data. For example, according to experiments, the network status may change at different time periods within a day, and some time periods have a better network status and some time periods have a worse network status. In order to make the obtained return data more representative, 24 hours can be selected as a test period, 1 hour is selected as a test time interval, and first return data returned by the network domain name through the original line and second return data returned by the network domain name through the dial test line are respectively obtained every 1 hour within 24 hours. Other test periods and test time intervals can be selected according to different application scenarios.
In a preferred implementation manner of the embodiment of the present invention, a Web driver may respectively obtain a log record generated by a probe on an original line and a log record generated by a probe on a dial-up test line, obtain first return data of a network domain name on the original line according to the log record generated by the probe on the original line, and obtain second return data of the network domain name on the dial-up test line according to the log record generated by the probe on the dial-up test line.
Step 130: and respectively calculating the user experience parameters of the original line and the user experience parameters of the dial testing line according to the first return data and the second return data.
The user experience parameter is a parameter related to user access experience, and values of the user experience parameter are different under different user access experiences. For example, if the response time of the network domain name is taken as the user experience parameter, the larger the value of the user experience parameter is, which indicates that the longer the response time of the network domain name is, the worse the access experience of the user is; the smaller the user experience parameter value is, the shorter the response time of the network domain name is, and the better the access experience of the user is. Generally, the user experience parameters include a plurality of user experience parameters reflecting the user's access experience from different dimensions. And respectively calculating the user experience parameters of the original line and the user experience parameters of the dial testing line according to the first return data and the second return data, so that the user experience of the user accessing the network domain name through the original line and the user experience of the user accessing the network domain name through the dial testing line can be respectively obtained.
If the first returned data includes multiple groups of data returned by the network domain name at different time points through the original line, the user experience parameters of the multiple groups of data can be respectively calculated, and the average value of the user experience parameters of the multiple groups of data is used as the user experience parameter of the original line. If the second returned data includes multiple groups of data returned by the network domain name at different time points through the dial-up test line, the user experience parameters of the multiple groups of data can be respectively calculated, and the average value of the user experience parameters of the multiple groups of data is used as the user experience parameter of the dial-up test line. For example, if the first return data and the second return data are both obtained by taking 24 hours as a test period and taking 1 hour as a test time interval, then 24 sample values of the user experience parameter of the original line can be calculated through the first return data, and then the average value of the sample values is sampled to be used as the user experience parameter of the original line; and calculating 24 sample values of the user experience parameters of the dial testing line through the second returned data, and taking the average value of the sample values as the user experience parameters of the dial testing line.
In a preferred implementation manner of the embodiment of the present invention, the user experience parameters may further include: a time parameter, a speed parameter, and a success rate parameter.
Wherein, the time parameter may include: the method comprises the following steps of website connection time, first byte time delay, first screen time and total website opening time. The speed parameters may include: the speed of downloading the web site. The success rate parameters may include: a website element opening success rate and a website opening success rate.
In a preferred implementation manner of the embodiment of the present invention, data returned by a network domain name may be analyzed by a Web driver, and a domain name, an IP, a loading time, a size, and an HTTP return value of a loading element are obtained according to the data returned by the network domain name.
According to the time sequence of the first return data and the second return data acquired by the Web driver, the following user experience parameters can be defined:
website connection time ═ ConnectEnd-ConnectStart;
first byte delay-payload start;
the first screen time is DomInteractive-NavigationStart;
the total website opening time is loadEventEnd-NavigationStart;
the website downloading speed is equal to the total downloading amount of the website/the total website opening time;
the website opening success rate is equal to the successful opening times of the website in the preset time/the total testing times of the website in the preset time;
the website element opening success rate is the number of successfully opened website elements/the total number of the website elements;
the number of times of successfully opening the website within the preset time may be defined as the number of times of HTTP return values of 200 series or 300 series within the preset time, for example; the total download amount of the website can be defined as the size of the total download amount of website elements in the process of opening the website, for example; website elements are basic units constituting a web page, and the website elements may be, for example, characters, audio, video, animation, and the like on a website.
Step 140: and respectively calculating the quality evaluation score of the network domain name under the original line and the quality evaluation score under the dial testing line according to the user experience parameters of the original line and the user experience parameters of the dial testing line.
The quality evaluation score of the network domain name under the original line and the quality evaluation score under the dial testing line can be respectively calculated according to the user experience parameters of the original line and the user experience parameters of the dial testing line. The quality evaluation score is an index for evaluating the network experience quality of the original line and the dial-up test line, and can be used for quantifying the user experience of different lines, and the higher the quality evaluation score is, the better the user experience is. Since both the original line and the dial-up test line may include a plurality of user experience parameters, a corresponding weight may be assigned to each user experience parameter to calculate the quality assessment score of the original line and the dial-up test line, respectively.
The user experience parameters of the websites of the different types can be respectively obtained by researching the websites of the different types, the correlation among the user experience parameters of the different dimensions is determined, and the weight of each user experience parameter is dynamically adjusted according to the correlation among the user experience parameters of the different dimensions and the characteristics of the websites of the different types, so that the calculated quality evaluation scores of the original line and the dial-up test line are more accurate.
In a preferred implementation manner of the embodiment of the present invention, a preset number of a-class websites and a preset number of B-class websites may be respectively selected, so as to study the correlation between user experience parameters. Preferably, the A-type website selects other websites such as information providing websites, ticketing websites, academic information websites and the like, and is characterized in that the website page is simple, most webpage elements are text information, pictures and videos are few, and the webpage download amount is small; the B-type website selects websites of categories such as e-commerce type, video type and game type, and is characterized in that website pages are complex, most webpage elements are pictures and videos, and the webpage download amount is large. According to the test, for the A-type website, the correlation value between the website connection time and the first byte time delay is about 0.6, the correlation value between the first byte time delay and the first screen time is about 0.7, the correlation value between the first screen time and the total website opening time is about 0.8, and the correlation value between the total website opening time and the website downloading speed is about-0.4; for the B-type website, the correlation value between the website connection time and the first byte delay is about 0.55, the correlation value between the first byte delay and the first screen time is about 0.6, the correlation value between the first screen time and the total website opening time is about 0.65, and the correlation value between the total website opening time and the website downloading speed is about-0.6. It can be seen that forward correlation exists between the time parameters, and the forward correlation is high; negative correlation exists between the time parameter and the speed parameter, and the negative correlation is high; when the webpage downloading amount is increased, the positive correlation between the time parameters is reduced, and the negative correlation between the time parameters and the speed parameters is increased.
In a preferred implementation manner of the embodiment of the present invention, a calculation formula of the quality assessment score is: the quality evaluation score is a website opening time score + b website downloading speed score + c website opening success rate score;
a is a first preset constant k (R (connection-first byte) + R (first byte-first screen) + R (first screen-total duration))/3,
b is a second predetermined constant (1-k (R (connection-first byte) + R (first byte-first screen) + R (first screen-total duration))/3),
c is a third preset constant;
the R (concatenate-first byte) — 0.5 × R (concatenate-first byte) +0.5,
the R (first byte-first screen) — 0.5 × R (first byte-first screen) +0.5,
the R (first screen-total duration) — 0.5 × R (first screen-total duration) +0.5,
the k is 1/(R (concatenated-first byte) + R (first byte-first screen) + R (first screen-total duration));
the r (connection-first byte) is a correlation value between the website connection time and the first byte time delay, the r (first byte-first screen) is a correlation value between the first byte time delay and the first screen time, and the r (first screen-total duration) is a correlation value between the first screen time and the website opening total duration.
Default values can be set for the first preset constant, the second preset constant and the third preset constant respectively, and values of the first preset constant, the second preset constant and the third preset constant are dynamically adjusted on the basis of the default values according to the correlation among the time parameters. Preferably, if the forward correlation between the time parameters is higher than a preset correlation threshold, the first preset constant is decreased according to a preset proportion, and the second preset constant is increased according to a preset proportion; if the forward correlation between the time parameters is lower than a preset correlation threshold value, the first preset constant is increased according to a preset proportion, and the second preset constant is decreased according to the preset proportion.
Preferably, the default value of the first preset constant may be set to 0.4, the default value of the second preset constant may be set to 0.3, and the default value of the third preset constant may be set to 0.3. The default value setting is verified by experiments to obtain a better quality evaluation score calculation result, and the method is suitable for the network domain name traffic scheduling method provided by the embodiment of the invention.
In a preferred implementation manner of the embodiment of the present invention, a formula for calculating a correlation value between the website connection time and the first byte time delay, a correlation value between the first byte time delay and the first screen time, and a correlation value between the first screen time and the total website opening time is as follows:
Figure BDA0002726825220000111
wherein,
Figure BDA0002726825220000112
and
Figure BDA0002726825220000113
are respectively a parameter diAnd parameter djAverage value of dikAnd djkAre respectively a parameter diAnd parameter djThe sample value of (2);
parameter diAnd parameter djRespectively used for representing the website connection time, the first byte time delay and the parameter rijThe correlation value is used for representing the correlation value between the website connection time and the first byte time delay; and/or the presence of a gas in the gas,
parameter diAnd parameter djRespectively used for representing the first byte time delay, the first screen time and a parameter rijThe correlation value is used for representing the correlation value between the first byte time delay and the first screen time; and/or the presence of a gas in the gas,
parameter diAnd parameter djRespectively used for expressing the first screen time and the total website opening time and a parameter rijThe method is used for representing a correlation value between the initial screen time and the total website opening time.
In a preferred implementation manner of the embodiment of the present invention, the calculation formula of the website open time score is as follows:
the website open time fraction ═ d (average website connection time contrast ratio/(1 + average website connection time contrast ratio)) + e (average first-word time delay contrast ratio/(1 + average first-word time delay contrast ratio)) + f (average first-screen time contrast ratio/(1 + average first-screen time contrast ratio)) + g (average website open total duration contrast ratio/(1 + average website open total duration contrast ratio));
the calculation formula of the website downloading speed score is as follows:
the website download speed score is equal to the average website download speed contrast ratio/(1 + average website download speed contrast ratio);
the calculation formula of the website opening success rate score is as follows:
the website opening success rate score is h (average website element opening success rate contrast ratio/(1 + average website element opening success rate contrast ratio)) + i (average website opening success rate contrast ratio/(1 + average website opening success rate contrast ratio));
d is a fourth preset constant k R (connection-first byte), e is a fifth preset constant k R (first byte-first screen), f is a sixth preset constant k R (first screen-total duration), and g is a seventh preset constant (4-d-e-f);
h is an eighth preset constant;
and i is a ninth preset constant.
Default values can be set for the fourth preset constant, the fifth preset constant, the sixth preset constant and the seventh preset constant respectively, and values of the fourth preset constant, the fifth preset constant, the sixth preset constant and the seventh preset constant are dynamically adjusted on the basis of the default values according to correlation among time parameters. Preferably, if the forward correlation between the time parameters is higher than a preset correlation threshold, increasing a seventh preset constant according to a preset proportion, and decreasing a fourth preset constant, a fifth preset constant and a sixth preset constant according to the preset proportion; if the forward correlation between the time parameters is lower than the preset correlation threshold, the seventh preset constant is decreased according to a preset proportion, and the fourth preset constant, the fifth preset constant and the sixth preset constant are respectively increased according to a preset proportion.
Preferably, the default value of the fourth preset constant may be set to 0.2, the default value of the fifth preset constant may be set to 0.2, the default value of the sixth preset constant may be set to 0.3, the default value of the seventh preset constant may be set to 0.3, the default value of the eighth preset constant may be set to 1, and the default value of the ninth preset constant may be set to 1. The default value is set, and the experiment verifies that a better quality evaluation score calculation result can be obtained, so that the method is suitable for the network domain name flow scheduling of the embodiment of the invention.
The advantages and disadvantages of the original line and the dial testing line can be compared through a difference comparison method so as to quickly judge whether the dial testing line is superior to the original line or not, and the flow of the network domain name can be automatically scheduled according to the judgment result.
In a preferred implementation manner of the embodiment of the present invention, the average website connection time contrast ratio is (original line average website connection time-dial-test line average website connection time)/original line average website connection time;
the average first byte time delay contrast ratio is (average first byte time delay of the original line-average first byte time delay of the dial testing line)/average first byte time delay of the original line;
the average first screen time contrast ratio is (the average first screen time of the original line-the average first screen time of the dial-testing line)/the average first screen time of the original line;
the contrast ratio of the average website opening total time length is (the average website opening total time length of the original line-the average website opening total time length of the dial testing line)/the average website opening total time length of the original line;
the average download speed contrast ratio is (average download speed of the website on the dial-testing line-average download speed of the website on the original line)/average download speed of the website on the original line;
the average website element opening success rate contrast ratio is (average website element opening success rate of dial-test line-average website element opening success rate of original line)/average website element opening success rate of original line;
and the contrast ratio of the average website opening success rate is (average website opening success rate of dial testing lines-average website opening success rate of original lines)/average website opening success rate of original lines.
In the embodiment of the invention, the calculation formulas of the time parameter, the download speed parameter and the success rate parameter all use a normalization model. The normalization model can solve the problem that the dimensions of the user experience parameters of different dimensions are not consistent. For example, the average website connection time is measured in seconds or milliseconds, the average download speed is measured in Kb/S, and the problem of dimension inconsistency between different user experience parameters can be eliminated by using the contrast ratio of the user experience parameters. The normalization model can flatten the scores of the user experience parameters in different dimensions, and prevent the scores of the user experience parameters in a certain dimension from being too large or too small, so that the proportion of the user experience parameters in the dimension in the calculation formula of the quality assessment score is influenced, and the calculation formula of the quality assessment score is not accurate. The contrast ratio value of the time parameter, the download speed parameter and the success rate parameter can be in the interval range of [0,1] by selecting the normalization model.
Further, in the time parameter part, since the smaller the value of the time parameter is, the better the quality of the network line is, in the contrast ratio formula of the time parameter, the numerator is the value of the user experience parameter of the original line minus the value of the user experience parameter of the dial-up test line, and the denominator is the value of the user experience parameter of the original line, so that the contrast ratio value of the time parameter is positive, and the quality of the dial-up test line is superior to the quality of the original line. In the speed parameter part and the success rate parameter part, as the larger the value of the speed parameter is, the larger the value of the success rate parameter is, the better the quality of the network line is, therefore, in the contrast ratio formula of the speed parameter, the numerator is the value of the user experience parameter of the dial testing line minus the value of the user experience parameter of the original line, and the denominator is the value of the user experience parameter of the original line, so that the contrast ratio of the speed parameter is positive, and the quality of the dial testing line is superior to the quality of the original line; in the contrast ratio formula of the success rate parameter, the numerator is the value of the user experience parameter of the dial testing line minus the value of the user experience parameter of the original line, the denominator is the value of the user experience parameter of the original line, and the contrast ratio value of the success rate parameter can be made positive, which indicates that the quality of the dial testing line is superior to that of the original line. It can be seen that, if the numerator value of the above contrast ratio calculation formula is positive, it indicates that the quality of the dial-up test line is superior to the quality of the original line, and the denominator is the user experience parameter of the original line, so that it has practical reference significance to evaluate the quality of the original line and the dial-up test line through the quality evaluation score.
Step 150: and scheduling the flow of the network domain name according to the quality evaluation score under the original line and the quality evaluation score under the dial testing line.
The flow of the network domain name can be scheduled according to the quality evaluation score under the original line and the quality evaluation score under the dial testing line, so that better access experience can be obtained when a user accesses the network domain name after scheduling.
In a preferred implementation of the embodiment of the present invention, step 150 may further include the following steps:
step 151: and obtaining the quality evaluation score with the maximum value in at least one quality evaluation score under the dial testing line.
The quality evaluation scores corresponding to the dial testing lines can be obtained respectively, and the quality evaluation scores corresponding to the dial testing lines are compared to determine the maximum quality evaluation score and the dial testing line corresponding to the maximum quality evaluation score.
Step 152: and if the quality evaluation score with the maximum value is larger than the quality evaluation score under the original line, scheduling the flow of the network domain name to the dial testing line corresponding to the quality evaluation score with the maximum value.
And if the quality evaluation score with the maximum numerical value of the dial testing line is greater than the quality evaluation score under the original line, scheduling the flow of the network domain name to the dial testing line corresponding to the quality evaluation score with the maximum numerical value, so that a user can obtain better access experience when accessing the network domain name.
The method comprises the steps of firstly executing a dial testing line for the network domain name needing flow scheduling, acquiring first return data of the network domain name on an original line and acquiring second return data of the network domain name on the dial testing line; secondly, respectively calculating user experience parameters of the original line and user experience parameters of the dial-up test line according to the first return data and the second return data; respectively calculating the quality evaluation score of the network domain name under the original line and the quality evaluation score under the dial testing line according to the user experience parameters of the original line and the user experience parameters of the dial testing line; and finally, the flow of the network domain name can be scheduled according to the quality evaluation scores under the original line and the quality evaluation scores under the dial testing line. Therefore, the embodiment of the invention can automatically schedule the traffic of the network domain name based on the quality evaluation score obtained by the user experience parameter, so that the traffic scheduling of the network domain name is more effective.
Fig. 2 is a schematic structural diagram illustrating an embodiment of a network domain name traffic scheduling apparatus according to the present invention. As shown in fig. 2, the apparatus 300 includes: an execution module 310, an acquisition module 320, a first computation module 330, a second computation module 340, and a scheduling module 350.
The execution module 310 is configured to execute a dial-up test line for a network domain name for which traffic scheduling is required;
an obtaining module 320, configured to obtain first return data of the network domain name on an original line and obtain second return data of the network domain name on the dial-up test line;
a first calculating module 330, configured to calculate, according to the first returned data and the second returned data, a user experience parameter of the original line and a user experience parameter of the dial-up test line respectively;
a second calculating module 340, configured to calculate a quality assessment score of the network domain name under the original line and a quality assessment score of the dial-up test line according to the user experience parameter of the original line and the user experience parameter of the dial-up test line, respectively;
and a scheduling module 350, configured to schedule the traffic of the network domain name according to the quality assessment score under the original line and the quality assessment score under the dial-up test line.
In an optional manner of the embodiment of the present invention, the user experience parameter further includes: time parameter, speed parameter and success rate parameter;
the time parameters include: website connection time, first byte time delay, first screen time and total website opening time;
the speed parameters include: the downloading speed of the website;
the success rate parameters include: a website element opening success rate and a website opening success rate.
In an optional manner of the embodiment of the present invention, the scheduling module 350 is further configured to:
obtaining a quality evaluation score with the largest value in at least one quality evaluation score under the dial testing line;
and if the quality evaluation score with the maximum value is larger than the quality evaluation score under the original line, scheduling the flow of the network domain name to the dial testing line corresponding to the quality evaluation score with the maximum value.
In an optional manner of the embodiment of the present invention, a calculation formula of the quality assessment score is: the quality evaluation score is a website opening time score + b website downloading speed score + c website opening success rate score;
a is a first preset constant k (R (connection-first byte) + R (first byte-first screen) + R (first screen-total duration))/3,
b is a second predetermined constant (1-k (R (connection-first byte) + R (first byte-first screen) + R (first screen-total duration))/3),
c is a third preset constant;
the R (concatenate-first byte) — 0.5 × R (concatenate-first byte) +0.5,
the R (first byte-first screen) — 0.5 × R (first byte-first screen) +0.5,
the R (first screen-total duration) — 0.5 × R (first screen-total duration) +0.5,
the k is 1/(R (concatenated-first byte) + R (first byte-first screen) + R (first screen-total duration));
the r (connection-first byte) is a correlation value between the website connection time and the first byte time delay, the r (first byte-first screen) is a correlation value between the first byte time delay and the first screen time, and the r (first screen-total duration) is a correlation value between the first screen time and the website opening total duration;
and the numerical values of the first preset constant and the second preset constant are dynamically adjusted according to the numerical values of the r (connection-first byte), the r (first byte-first screen) and the r (first screen-total duration).
In an optional manner of the embodiment of the present invention, a formula for calculating a correlation value between the website connection time and the first byte time delay, a correlation value between the first byte time delay and the first screen time, and a correlation value between the first screen time and the total website opening time is as follows:
Figure BDA0002726825220000161
wherein,
Figure BDA0002726825220000162
and
Figure BDA0002726825220000163
are respectively a parameter diAnd parameter djAverage value of dikAnd djkAre respectively a parameter diAnd parameter djThe sample value of (2);
parameter diAnd parameter djRespectively used for representing the website connection time, the first byte time delay and the parameter rijThe correlation value is used for representing the correlation value between the website connection time and the first byte time delay; and/or the presence of a gas in the gas,
parameter diAnd parameter djRespectively used for representing the first byte time delay, the first screen time and a parameter rijFor representing the phase between the first byte time delay and the first screen timeA relevance value; and/or the presence of a gas in the gas,
parameter diAnd parameter djRespectively used for expressing the first screen time and the total website opening time and a parameter rijThe method is used for representing a correlation value between the initial screen time and the total website opening time.
In an optional manner of the embodiment of the present invention, the website open time fraction ═ d (average website connection time contrast ratio/(1 + average website connection time contrast ratio)) + e (average first-word time delay contrast ratio/(1 + average first-word time delay contrast ratio)) + f (average first-screen time contrast ratio/(1 + average first-screen time contrast ratio)) + g (average website open total duration contrast ratio/(1 + average website open total duration contrast ratio));
the website download speed score is equal to the average website download speed contrast ratio/(1 + average website download speed contrast ratio);
the website opening success rate score is h (average website element opening success rate contrast ratio/(1 + average website element opening success rate contrast ratio)) + i (average website opening success rate contrast ratio/(1 + average website opening success rate contrast ratio));
d is a fourth preset constant k R (connection-first byte), e is a fifth preset constant k R (first byte-first screen), f is a sixth preset constant k R (first screen-total duration), and g is a seventh preset constant (4-d-e-f);
the numerical values of the fourth preset constant, the fifth preset constant, the sixth preset constant and the seventh preset constant are dynamically adjusted according to the numerical values of r (connection-first byte), r (first byte-first screen) and r (first screen-total duration);
h is an eighth preset constant;
and i is a ninth preset constant.
In an optional manner of the embodiment of the present invention, the average website connection time contrast ratio (original line average website connection time-dial-test line average website connection time)/original line average website connection time;
the average first byte time delay contrast ratio is (average first byte time delay of the original line-average first byte time delay of the dial testing line)/average first byte time delay of the original line;
the average first screen time contrast ratio is (the average first screen time of the original line-the average first screen time of the dial-testing line)/the average first screen time of the original line;
the contrast ratio of the average website opening total time length is (the average website opening total time length of the original line-the average website opening total time length of the dial testing line)/the average website opening total time length of the original line;
the average download speed contrast ratio is (average download speed of the website on the dial-testing line-average download speed of the website on the original line)/average download speed of the website on the original line;
the average website element opening success rate contrast ratio is (average website element opening success rate of dial-test line-average website element opening success rate of original line)/average website element opening success rate of original line;
and the contrast ratio of the average website opening success rate is (average website opening success rate of dial testing lines-average website opening success rate of original lines)/average website opening success rate of original lines.
In the embodiment of the invention, the execution module can execute the dial testing circuit for the network domain name needing to be subjected to flow scheduling; the acquisition module can acquire first return data of the network domain name on an original line and second return data of the network domain name on a dial-up test line; the first calculation module can respectively calculate the user experience parameters of the original line and the user experience parameters of the dial testing line according to the first return data and the second return data; the second calculation module may calculate the quality assessment score of the network domain name under the original line and the quality assessment score under the dial testing line according to the user experience parameter of the original line and the user experience parameter of the dial testing line, respectively; the scheduling module may schedule the traffic of the network domain name according to the quality evaluation score under the original line and the quality evaluation score under the dial-up test line. It can be seen that, in the embodiment of the present invention, the second calculation module can calculate the quality assessment score under the original line and the quality assessment score under the dial testing line, and the scheduling module can perform scheduling on the traffic of the network domain name according to the calculation result of the second calculation module, so that the user can access the network domain name more efficiently, and the user experience can be improved.
Fig. 3 is a schematic structural diagram of an embodiment of the computing device of the present invention, and the specific embodiment of the present invention does not limit the specific implementation of the computing device.
As shown in fig. 3, the computing device may include: a processor (processor)402, a Communications Interface 404, a memory 406, and a Communications bus 408.
Wherein: the processor 402, communication interface 404, and memory 406 communicate with each other via a communication bus 408. A communication interface 404 for communicating with network elements of other devices, such as clients or other servers. The processor 402 is configured to execute the program 410, and may specifically execute the relevant steps in the foregoing embodiments of the method for scheduling network domain name traffic.
In particular, program 410 may include program code comprising computer-executable instructions.
The processor 402 may be a central processing unit CPU, or an Application Specific Integrated Circuit ASIC (Application Specific Integrated Circuit), or one or more Integrated circuits configured to implement an embodiment of the present invention. The computing device includes one or more processors, which may be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
And a memory 406 for storing a program 410. Memory 406 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 410 may be specifically invoked by the processor 402 to cause the computing device to perform the following operations:
executing a dial testing circuit for the network domain name needing flow scheduling;
acquiring first return data of the network domain name on an original line and acquiring second return data of the network domain name on the dial testing line;
respectively calculating user experience parameters of the original line and user experience parameters of the dial testing line according to the first return data and the second return data;
respectively calculating the quality evaluation score of the network domain name under the original line and the quality evaluation score under the dial testing line according to the user experience parameters of the original line and the user experience parameters of the dial testing line;
and scheduling the flow of the network domain name according to the quality evaluation score under the original line and the quality evaluation score under the dial testing line.
In an optional manner, the user experience parameters further include: time parameter, speed parameter and success rate parameter;
the time parameters include: website connection time, first byte time delay, first screen time and total website opening time;
the speed parameters include: the downloading speed of the website;
the success rate parameters include: a website element opening success rate and a website opening success rate.
In an alternative, the program 410 may be specifically invoked by the processor 402 to cause the computing device to perform the following operations:
obtaining a quality evaluation score with the largest value in at least one quality evaluation score under the dial testing line;
and if the quality evaluation score with the maximum value is larger than the quality evaluation score under the original line, scheduling the flow of the network domain name to the dial testing line corresponding to the quality evaluation score with the maximum value.
In an alternative mode, the formula for calculating the quality assessment score is: the quality evaluation score is a website opening time score + b website downloading speed score + c website opening success rate score;
a is a first preset constant k (R (connection-first byte) + R (first byte-first screen) + R (first screen-total duration))/3,
b is a second predetermined constant (1-k (R (connection-first byte) + R (first byte-first screen) + R (first screen-total duration))/3),
c is a third preset constant;
the R (concatenate-first byte) — 0.5 × R (concatenate-first byte) +0.5,
the R (first byte-first screen) — 0.5 × R (first byte-first screen) +0.5,
the R (first screen-total duration) — 0.5 × R (first screen-total duration) +0.5,
the k is 1/(R (concatenated-first byte) + R (first byte-first screen) + R (first screen-total duration));
the r (connection-first byte) is a correlation value between the website connection time and the first byte time delay, the r (first byte-first screen) is a correlation value between the first byte time delay and the first screen time, and the r (first screen-total duration) is a correlation value between the first screen time and the website opening total duration;
and the numerical values of the first preset constant and the second preset constant are dynamically adjusted according to the numerical values of the r (connection-first byte), the r (first byte-first screen) and the r (first screen-total duration).
In an optional manner, the formula for calculating the correlation value between the website connection time and the first byte time delay, the correlation value between the first byte time delay and the first screen time, and the correlation value between the first screen time and the total website opening time is as follows:
Figure BDA0002726825220000201
wherein,
Figure BDA0002726825220000202
and
Figure BDA0002726825220000203
are respectively a parameter diAnd parameter djAverage value of dikAnd djkAre respectively a parameter diAnd parameter djThe sample value of (2);
parameter diAnd parameter djRespectively used for representing the website connection time, the first byte time delay and the parameter rijThe correlation value is used for representing the correlation value between the website connection time and the first byte time delay; and/or the presence of a gas in the gas,
parameter diAnd parameter djRespectively used for representing the first byte time delay, the first screen time and a parameter rijThe correlation value is used for representing the correlation value between the first byte time delay and the first screen time; and/or the presence of a gas in the gas,
parameter diAnd parameter djRespectively used for expressing the first screen time and the total website opening time and a parameter rijThe method is used for representing a correlation value between the initial screen time and the total website opening time.
In an alternative approach, the website open time fraction ═ d (average website connection time contrast ratio/(1 + average website connection time contrast ratio)) + e (average first-word time delay contrast ratio/(1 + average first-word time delay contrast ratio)) + f (average first-screen time contrast ratio/(1 + average first-screen time contrast ratio)) + g (average website open total duration contrast ratio/(1 + average website open total duration contrast ratio));
the website download speed score is equal to the average website download speed contrast ratio/(1 + average website download speed contrast ratio);
the website opening success rate score is h (average website element opening success rate contrast ratio/(1 + average website element opening success rate contrast ratio)) + i (average website opening success rate contrast ratio/(1 + average website opening success rate contrast ratio));
d is a fourth preset constant k R (connection-first byte), e is a fifth preset constant k R (first byte-first screen), f is a sixth preset constant k R (first screen-total duration), and g is a seventh preset constant (4-d-e-f);
the numerical values of the fourth preset constant, the fifth preset constant, the sixth preset constant and the seventh preset constant are dynamically adjusted according to the numerical values of r (connection-first byte), r (first byte-first screen) and r (first screen-total duration);
h is an eighth preset constant;
and i is a ninth preset constant.
In an alternative mode, the average website connection time contrast ratio (original line average website connection time-dial-test line average website connection time)/original line average website connection time;
the average first byte time delay contrast ratio is (average first byte time delay of the original line-average first byte time delay of the dial testing line)/average first byte time delay of the original line;
the average first screen time contrast ratio is (the average first screen time of the original line-the average first screen time of the dial-testing line)/the average first screen time of the original line;
the contrast ratio of the average website opening total time length is (the average website opening total time length of the original line-the average website opening total time length of the dial testing line)/the average website opening total time length of the original line;
the average download speed contrast ratio is (average download speed of the website on the dial-testing line-average download speed of the website on the original line)/average download speed of the website on the original line;
the average website element opening success rate contrast ratio is (average website element opening success rate of dial-test line-average website element opening success rate of original line)/average website element opening success rate of original line;
and the contrast ratio of the average website opening success rate is (average website opening success rate of dial testing lines-average website opening success rate of original lines)/average website opening success rate of original lines.
The embodiment of the invention can calculate the quality evaluation score of the original line and the quality evaluation score of the dial-up test line by calling the program by the processor, compares the quality evaluation score of the original line and the quality evaluation score of the dial-up test line, and schedules the flow of the network domain name to the dial-up test line corresponding to the quality evaluation score with the maximum value if the quality evaluation score of the dial-up test line is greater than the quality evaluation score of the original line, so that a user can obtain better access experience when accessing the network domain name.
An embodiment of the present invention provides a computer-readable storage medium, where the storage medium stores at least one executable instruction, and when the executable instruction runs on a network domain name traffic scheduling apparatus, the network domain name traffic scheduling apparatus is enabled to execute a network domain name traffic scheduling method in any method embodiment described above.
Embodiments of the present invention provide a computer program, where the computer program can be called by a processor to enable a network domain name traffic scheduling device to execute a network domain name traffic scheduling method in any of the above method embodiments.
Embodiments of the present invention provide a computer program product, which includes a computer program stored on a computer-readable storage medium, where the computer program includes program instructions, and when the program instructions are run on a computer, the computer is caused to execute the network domain name traffic scheduling method in any of the above method embodiments.
The algorithms or displays presented herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. In addition, embodiments of the present invention are not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the embodiments of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the invention and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names. The steps in the above embodiments should not be construed as limiting the order of execution unless specified otherwise.

Claims (10)

1. A network domain name traffic scheduling method is characterized by comprising the following steps:
executing a dial testing circuit for the network domain name needing flow scheduling;
acquiring first return data of the network domain name on an original line and acquiring second return data of the network domain name on the dial testing line;
respectively calculating user experience parameters of the original line and user experience parameters of the dial testing line according to the first return data and the second return data;
respectively calculating the quality evaluation score of the network domain name under the original line and the quality evaluation score under the dial testing line according to the user experience parameters of the original line and the user experience parameters of the dial testing line;
and scheduling the flow of the network domain name according to the quality evaluation score under the original line and the quality evaluation score under the dial testing line.
2. The method of claim 1, wherein the user experience parameters further comprise: the method comprises the following steps of website connection time, first byte time delay, first screen time, total website opening time, website downloading speed, website element opening success rate and website opening success rate.
3. The method according to claim 1 or 2, wherein the scheduling the traffic of the network domain name according to the quality assessment score under the original line and the quality assessment score under the dial-up test line comprises:
obtaining a quality evaluation score with the largest value in at least one quality evaluation score under the dial testing line;
and if the quality evaluation score with the maximum value is larger than the quality evaluation score under the original line, scheduling the flow of the network domain name to the dial testing line corresponding to the quality evaluation score with the maximum value.
4. The method of claim 3, wherein the quality assessment score is calculated by the formula: the quality evaluation score is a website opening time score + b website downloading speed score + c website opening success rate score;
a is a first preset constant k (R (connection-first byte) + R (first byte-first screen) + R (first screen-total duration))/3,
b is a second predetermined constant (1-k (R (connection-first byte) + R (first byte-first screen) + R (first screen-total duration))/3),
c is a third preset constant;
the R concatenated-first byte ═ -0.5 x R (concatenated-first byte) +0.5,
the first byte-first screen-0.5R (first byte-first screen) +0.5,
the R first screen-total duration is-0.5 x R (first screen-total duration) +0.5,
the k is 1/(R (concatenated-first byte) + R (first byte-first screen) + R (first screen-total duration));
the r (connection-first byte) is a correlation value between the website connection time and the first byte time delay, the r (first byte-first screen) is a correlation value between the first byte time delay and the first screen time, and the r (first screen-total duration) is a correlation value between the first screen time and the website opening total duration;
and the numerical values of the first preset constant and the second preset constant are dynamically adjusted according to the numerical values of the r (connection-first byte), the r (first byte-first screen) and the r (first screen-total duration).
5. The method according to claim 4, wherein the formula for calculating the correlation value between the website connection time and the first byte time delay, the correlation value between the first byte time delay and the first screen time, and the correlation value between the first screen time and the total website opening time is as follows:
Figure FDA0002726825210000021
wherein,
Figure FDA0002726825210000022
and
Figure FDA0002726825210000023
are respectively a parameter diAnd parameter djAverage value of dikAnd djkAre respectively a parameter diAnd parameter djThe sample value of (2);
parameter diAnd parameter djRespectively used for representing the website connection time, the first byte time delay and the parameter rijThe correlation value is used for representing the correlation value between the website connection time and the first byte time delay; and/or the presence of a gas in the gas,
parameter diAnd parameter djRespectively used for representing the first byte time delay, the first screen time and a parameter rijThe correlation value is used for representing the correlation value between the first byte time delay and the first screen time; and/or the presence of a gas in the gas,
parameter diAnd parameter djRespectively used for expressing the first screen time and the total website opening time and a parameter rijThe method is used for representing a correlation value between the initial screen time and the total website opening time.
6. The method of claim 4,
the website open time fraction ═ d (average website connection time contrast ratio/(1 + average website connection time contrast ratio)) + e (average first-character time delay contrast ratio/(1 + average first-character time delay contrast ratio)) + f (average first-screen time contrast ratio/(1 + average first-screen time contrast ratio)) + g (average website open total duration contrast ratio/(1 + average website open total duration contrast ratio));
the website download speed score is equal to the average website download speed contrast ratio/(1 + average website download speed contrast ratio);
the website opening success rate score is h (average website element opening success rate contrast ratio/(1 + average website element opening success rate contrast ratio)) + i (average website opening success rate contrast ratio/(1 + average website opening success rate contrast ratio));
d is a fourth preset constant k R (connection-first byte), e is a fifth preset constant k R (first byte-first screen), f is a sixth preset constant k R (first screen-total duration), and g is a seventh preset constant (4-d-e-f);
the numerical values of the fourth preset constant, the fifth preset constant, the sixth preset constant and the seventh preset constant are dynamically adjusted according to the numerical values of r (connection-first byte), r (first byte-first screen) and r (first screen-total duration);
h is an eighth preset constant;
and i is a ninth preset constant.
7. The method of claim 6,
the average website connection time contrast ratio is (original line average website connection time-dial testing line average website connection time)/original line average website connection time;
the average first byte time delay contrast ratio is (average first byte time delay of the original line-average first byte time delay of the dial testing line)/average first byte time delay of the original line;
the average first screen time contrast ratio is (the average first screen time of the original line-the average first screen time of the dial-testing line)/the average first screen time of the original line;
the contrast ratio of the average website opening total time length is (the average website opening total time length of the original line-the average website opening total time length of the dial testing line)/the average website opening total time length of the original line;
the average download speed contrast ratio is (average download speed of the website on the dial-testing line-average download speed of the website on the original line)/average download speed of the website on the original line;
the average website element opening success rate contrast ratio is (average website element opening success rate of dial-test line-average website element opening success rate of original line)/average website element opening success rate of original line;
and the contrast ratio of the average website opening success rate is (average website opening success rate of dial testing lines-average website opening success rate of original lines)/average website opening success rate of original lines.
8. A network domain name traffic scheduling apparatus, the apparatus comprising:
the execution module is used for executing dial testing lines for the domain names needing flow scheduling;
the acquisition module is used for acquiring first return data of the domain name on an original line and acquiring second return data of the domain name on the dial testing line;
the first calculation module is used for calculating the user experience parameters of the original line and the user experience parameters of the dial testing line according to the first return data and the second return data respectively;
the second calculation module is used for respectively calculating the quality evaluation score of the domain name under the original line and the quality evaluation score under the dial testing line according to the user experience parameters of the original line and the user experience parameters of the dial testing line;
and the scheduling module is used for scheduling the flow of the domain name according to the quality evaluation score under the original line and the quality evaluation score under the dial testing line.
9. A computing device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is configured to store at least one executable instruction that causes the processor to perform the operations of the network domain name traffic scheduling method according to any one of claims 1 to 7.
10. A computer-readable storage medium, wherein the storage medium has stored therein at least one executable instruction, which when executed on a network domain name traffic scheduling apparatus, causes the network domain name traffic scheduling apparatus to perform the operations of the network domain name traffic scheduling method according to any one of claims 1 to 7.
CN202011105529.1A 2020-10-15 2020-10-15 Network domain name traffic scheduling method and device and computing equipment Active CN114430402B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011105529.1A CN114430402B (en) 2020-10-15 2020-10-15 Network domain name traffic scheduling method and device and computing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011105529.1A CN114430402B (en) 2020-10-15 2020-10-15 Network domain name traffic scheduling method and device and computing equipment

Publications (2)

Publication Number Publication Date
CN114430402A true CN114430402A (en) 2022-05-03
CN114430402B CN114430402B (en) 2023-11-10

Family

ID=81309294

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011105529.1A Active CN114430402B (en) 2020-10-15 2020-10-15 Network domain name traffic scheduling method and device and computing equipment

Country Status (1)

Country Link
CN (1) CN114430402B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103116708A (en) * 2013-03-05 2013-05-22 星云融创(北京)信息技术有限公司 Device and method for evaluating website experience
CN103530347A (en) * 2013-10-09 2014-01-22 北京东方网信科技股份有限公司 Internet resource quality assessment method and system based on big data mining
WO2014059895A1 (en) * 2012-10-17 2014-04-24 北京奇虎科技有限公司 System, network terminal, browser and method for displaying the relevant information of accessed website
CN104539605A (en) * 2014-12-23 2015-04-22 北京奇虎科技有限公司 Website XSS vulnerability detection method and equipment
CN106533762A (en) * 2016-11-17 2017-03-22 贵州白山云科技有限公司 Device switching method and device switching device
CN109194706A (en) * 2018-07-20 2019-01-11 网宿科技股份有限公司 Internet resources dial testing method and terminal
CN110635965A (en) * 2019-08-19 2019-12-31 北京基调网络股份有限公司 IPv6 network quality monitoring method, equipment and storage medium
WO2020019472A1 (en) * 2018-07-24 2020-01-30 网宿科技股份有限公司 Rating method for service node, domain name system (dns) scheduling method and server
CN111314174A (en) * 2020-02-11 2020-06-19 广州智乐物联网技术有限公司 Network dial testing method and device based on block chain and SDN edge computing network system
CN111343003A (en) * 2020-02-11 2020-06-26 广州智乐物联网技术有限公司 Data analysis method and device based on block chain and SDN edge computing network system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014059895A1 (en) * 2012-10-17 2014-04-24 北京奇虎科技有限公司 System, network terminal, browser and method for displaying the relevant information of accessed website
CN103116708A (en) * 2013-03-05 2013-05-22 星云融创(北京)信息技术有限公司 Device and method for evaluating website experience
CN103530347A (en) * 2013-10-09 2014-01-22 北京东方网信科技股份有限公司 Internet resource quality assessment method and system based on big data mining
CN104539605A (en) * 2014-12-23 2015-04-22 北京奇虎科技有限公司 Website XSS vulnerability detection method and equipment
CN106533762A (en) * 2016-11-17 2017-03-22 贵州白山云科技有限公司 Device switching method and device switching device
CN109194706A (en) * 2018-07-20 2019-01-11 网宿科技股份有限公司 Internet resources dial testing method and terminal
WO2020019472A1 (en) * 2018-07-24 2020-01-30 网宿科技股份有限公司 Rating method for service node, domain name system (dns) scheduling method and server
CN110635965A (en) * 2019-08-19 2019-12-31 北京基调网络股份有限公司 IPv6 network quality monitoring method, equipment and storage medium
CN111314174A (en) * 2020-02-11 2020-06-19 广州智乐物联网技术有限公司 Network dial testing method and device based on block chain and SDN edge computing network system
CN111343003A (en) * 2020-02-11 2020-06-26 广州智乐物联网技术有限公司 Data analysis method and device based on block chain and SDN edge computing network system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
M. DANILO ABRIGNANI; LORENZA GIUPPONI; ANDREA LODI; ROBERTO VERDONE: "Scheduling M2M traffic over LTE uplink of a dense small cells network", IEEE *
张子樵,席晨,柳祝辉: "一种基于DNS调度优化的域名拨测系统", 信息通信, pages 215 *
李宝磊;任晓华;: "中国移动家宽用户感知质量评估方法研究", 电信工程技术与标准化, no. 07 *

Also Published As

Publication number Publication date
CN114430402B (en) 2023-11-10

Similar Documents

Publication Publication Date Title
CN108121795B (en) User behavior prediction method and device
CN102855318A (en) Method and system for preloading of webpages
CN113515837B (en) Method and device for establishing simulation test platform and electronic equipment
CN105512199B (en) Search method, search device and search server
US9436729B2 (en) Information retrieval system evaluation method, device and storage medium
Jati et al. Quality evaluation of e-government website using web diagnostic tools: Asian case
CN111444447A (en) Content recommendation page display method and device
Siahaan et al. Comparative Analysis Study of Front-End JavaScript Frameworks Performance Using Lighthouse Tool
CN109815083B (en) Application crash monitoring method and device, electronic equipment and medium
CN111597102A (en) Page performance testing method, terminal and storage medium
CN110717122A (en) Page performance acquisition method and device and electronic equipment
CN111859077A (en) Data processing method, device, system and computer readable storage medium
CN109697164A (en) Test method, device, storage medium and the terminal of App have been adjusted in browser
CN110677447A (en) User stay time length determining method, device, equipment and storage medium
CN114430402B (en) Network domain name traffic scheduling method and device and computing equipment
CN110245313B (en) Request sending method, device and terminal based on data analysis
CN114491342B (en) Training method of personalized model, information display method and equipment
JP7014928B1 (en) Context-adaptive scan
CN111338928A (en) Chrome-based browser testing method and device
CN113449212B (en) Quality evaluation and optimization method, device and equipment for search results
CN108848183B (en) Login method and device for simulation user
CN110825976B (en) Website page detection method and device, electronic equipment and medium
EP2953029B1 (en) Performance testing methods and systems with configurable rate
RU2778392C2 (en) Method and system for ranking web resource
US11714871B2 (en) Method and system for ranking a web resource

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