CN114430402B - 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
CN114430402B
CN114430402B CN202011105529.1A CN202011105529A CN114430402B CN 114430402 B CN114430402 B CN 114430402B CN 202011105529 A CN202011105529 A CN 202011105529A CN 114430402 B CN114430402 B CN 114430402B
Authority
CN
China
Prior art keywords
website
byte
screen
time
average
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011105529.1A
Other languages
Chinese (zh)
Other versions
CN114430402A (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

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 network domain name traffic scheduling method, a device and computing equipment. The method comprises the following steps: executing a dialing line for a network domain name needing flow scheduling; acquiring first return data of a network domain name on an original line and second return data of the network domain name on a dial testing line; respectively calculating user experience parameters of the original line and user experience parameters of the dialing 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 of 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 dispatching the flow of the network domain name according to the quality evaluation score under the original line and the quality evaluation score under the dialing line. By the method, the embodiment of the invention realizes traffic scheduling of the network domain name according to the experience of the user 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 network domain name traffic scheduling method, a device and computing equipment.
Background
With the continuous development of internet technology, users have more and more diversified access to network resources, and meanwhile, users pay more attention to network experience. To adapt to the demands of users, traffic scheduling needs to be performed according to the difference of the access resources of the users.
In the related art, a tester evaluates the quality of the website resource under different network lines by comparing the data returned by the same website IP address under different network lines. Generally, parameters related to network quality need to be obtained according to the returned data, and the quality of different network lines is obtained by comparing the parameters related to network quality under different network lines. However, in implementing embodiments of the present invention, the inventors found that: in the related technology, a plurality of parameters related to network quality can be obtained according to the data returned by the IP address of the website, the parameters related to the network quality are not necessarily changed in the same direction, and the quality of different network lines cannot be obtained better by depending on the parameters related to the network quality, so that a better decision basis cannot be provided for flow scheduling.
Disclosure of Invention
In view of the above problems, the embodiments of the present invention provide a method, an apparatus, and a computing device for scheduling network domain name traffic, which are used to solve the problem in the prior art that quality of network lines cannot be accurately compared to perform traffic scheduling.
According to an aspect of an embodiment of the present invention, there is provided a network domain name traffic scheduling method, including:
executing a dialing line for a network domain name needing flow scheduling;
acquiring first return data of the network domain name on an original line and second return data of the network domain name on the dial testing line;
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;
respectively calculating the quality evaluation score of the network domain name under the original line and the quality evaluation score of the dial-up line according to the user experience parameters of the original line and the user experience parameters of the dial-up line;
and dispatching the flow of the network domain name according to the quality evaluation score under the original line and the quality evaluation score under the dialing line.
In an alternative manner, the user experience parameters further include: 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 alternative 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-out line includes:
acquiring a quality evaluation score with the largest numerical value in at least one quality evaluation score under the dialing line;
and if the quality evaluation score with the maximum value is larger than the quality evaluation score under the original line, dispatching the flow of the network domain name to a dial testing line corresponding to the quality evaluation score with the maximum value.
In an alternative manner, the calculation formula of the quality assessment score is: quality assessment score = a website opening time score + b website download speed score + c website opening success rate score;
the a=a first preset constant k (R (connection-first byte) +r (first byte-first screen) +r (first screen-total duration))/3,
the b=a second preset constant (1-k (R (connection-first byte) +r (first byte-first screen) +r (first screen-total duration))/3),
the c=a third preset constant;
said R (connection-first byte) = -0.5 x R (connection-first byte) +0.5,
said R (first byte-first screen) = -0.5 x R (first byte-first screen) +0.5,
said R (first screen-total duration) = -0.5 x R (first screen-total duration) +0.5,
The k=1/(R (connection-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;
the values of the first preset constant and the second preset constant are dynamically adjusted according to the values of the r (connection-first byte), the r (first byte-first screen) and the r (first screen-total duration).
In an optional manner, 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 duration is as follows:
wherein,and->Respectively the parameter d i And parameter d j Average value of d ik And d jk Respectively the parameter d i And parameter d j Is a sample value of (2);
parameter d i And parameter d j Respectively used for representing the website connection time and the initial byte time delay, and the parameter r ij A correlation value representing a correlation between the website connection time and the first byte delay; and/or the number of the groups of groups,
Parameter d i And parameter d j Respectively used for representing the first byte time delay and the first screen time, and a parameter r ij A correlation value representing a correlation between the first byte delay and the first screen time; and/or the number of the groups of groups,
parameter d i And parameter d j The parameter r is used for respectively representing the first screen time and the total website opening duration ij For representing the time between the first screen time and the total time length of the website openingCorrelation values.
In an alternative manner, the website opening time fraction=d (average website connection time contrast ratio/(1+average website connection time contrast ratio)) +e (average first byte delay contrast ratio/(1+average first byte delay contrast ratio)) +f (average first screen time contrast ratio/(1+average first screen time contrast ratio)) +g (average website opening total duration contrast ratio/(1+average website opening total duration contrast ratio));
the website download speed score = average website download speed contrast ratio/(1 + average website download speed contrast ratio);
the website opening success rate score = 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));
The d=a fourth preset constant x k x R (connection-first byte), the e=a fifth preset constant x k x R (first byte-first screen), the f=a sixth preset constant x R (first screen-total duration), the g=a seventh preset constant x (4-d-e-f);
the 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 values of the r (connection-first byte), the r (first byte-first screen) and the r (first screen-total duration);
the h=eighth preset constant;
the i=a ninth preset constant.
In an alternative manner, the average website connection time contrast ratio = (original line average website connection time-dial line average website connection time)/original line average website connection time;
the average first byte delay contrast ratio= (original line average first byte delay-line average first byte delay) per original line average first byte delay;
the average first screen time contrast ratio= (original line average first screen time-dial line average first screen time)/original line average first screen time;
the average website opening total time length contrast ratio= (original line average website opening total time length-dial line average website opening total time length)/original line average website opening total time length;
The average download speed contrast ratio = (dialing line average website download speed-original line average website download speed)/original line average website download speed;
the average website element opening success rate contrast ratio = (dialing line average website element opening success rate-original line average website element opening success rate)/original line average website element opening success rate;
the average website opening success rate contrast ratio = (dialing line average website opening success rate-original line average website opening success rate)/original line average website opening success rate.
According to another aspect of the embodiment of the present invention, there is provided a network domain name traffic scheduling apparatus, including:
the execution module is used for executing a dialing line for the domain name needing to be subjected to flow scheduling;
the acquisition module is used for acquiring first return data of the domain name in an original line and second return data of the domain name in 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 calculating the quality evaluation score of the domain name under the original line and the quality evaluation score of the dial-up line according to the user experience parameters of the original line and the user experience parameters of the dial-up line respectively;
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 dialing line.
According to another aspect of an embodiment of the present invention, there is provided a computing device including: the device comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete communication with each other through the communication bus;
the memory is configured to store at least one executable instruction, where the executable instruction causes the processor to perform the operations of the network domain name traffic scheduling method described above.
According to yet another aspect of the embodiments of the present invention, there is provided a computer readable storage medium having stored therein at least one executable instruction that, when executed on a network domain name traffic scheduling device, causes the network domain name traffic scheduling device to perform the operations of the network domain name traffic scheduling method described above.
The embodiment of the invention firstly executes a dialing line for a network domain name needing to be subjected to flow dispatching, acquires first return data of the network domain name in an original line and acquires second return data of the network domain name in the dialing line; secondly, respectively calculating user experience parameters of the original line and user experience parameters of the dialing 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 of 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, dispatching the flow of the network domain name according to the quality evaluation score under the original line and the quality evaluation score under the dialing line. It can be seen that, according to the embodiment of the invention, the flow of the network domain name can be automatically scheduled based on the quality evaluation score obtained by the user experience parameters, so that the flow 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 may be implemented according to the content of the specification, so that the technical means of the embodiments of the present invention can be more clearly understood, and the following specific embodiments of the present invention are given for clarity and understanding.
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 designate like parts throughout the figures. In the drawings:
fig. 1 shows a flow diagram of a network domain name traffic scheduling method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a network domain name traffic scheduling device according to an embodiment of the present invention;
FIG. 3 illustrates a schematic 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 present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be limited to the embodiments set forth herein.
FIG. 1 illustrates a flow chart of an embodiment of a network domain name traffic scheduling method of the present invention, which is performed by a computing device. In the embodiment of the invention, the storage space of the computing device stores executable instructions, and the executable instructions can cause the processor to execute the network domain name traffic scheduling method. As shown in fig. 1, the method comprises the steps of:
Step 110: and executing a dialing line for the network domain name needing to be subjected to flow scheduling.
The network domain name may be various types of network domain names, such as taobao. Generally, the same network domain name can correspond to a plurality of different network lines according to different resolution results, and the access experience of users in different network lines is different. For example, the user has a faster access speed on some network lines and a slower access speed on some network lines. The flow scheduling refers to scheduling the user flow accessing the domain name of the network from the network line with slower access speed to the network line with faster access speed, so as to improve the access experience of the user. The dial-up test line is a different network line accessing the same network domain name than the original line accessing the network domain name, and the dial-up test line may include at least one network line. The step of executing the dial testing line for the network domain name needing to perform flow 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 needing to be subjected to traffic scheduling may be selected according to actual needs, and a dial testing domain name library may be established to store the selected plurality of network domain names needing to be subjected to traffic scheduling. For each network domain name needing to be subjected to flow scheduling, probes can be respectively arranged on an original line and a dial-up line of the network domain name, and dial-up tasks are respectively distributed to the probes on the original line and the dial-up line, so that the probes on the original line and the dial-up line can be tested according to the obtained dial-up tasks. The probes on each line can generate log records according to the execution result of the dial testing task, and the log records can store the returned result of the network domain name.
Step 120: and acquiring first return data of the network domain name on an original line and second return data of the network domain name on the dial testing line.
The method comprises the steps that original lines are executed for network domain names, and data returned by the network domain names through the original lines, namely first returned data of the network domain names in the original lines, can be obtained; by executing the dialing line for the network domain name, the data returned by the network domain name through the dialing line, namely the second returned data of the network domain name in the dialing line, can be obtained. In general, the number of people accessing the domain name of the network in different time periods is different, and the network conditions in different time periods are not consistent, so that the first return data and the second return data acquired in different time periods are also different.
In a preferred implementation manner of the embodiment of the present invention, in order to reduce the variability of the test, the first return data and the second return data returned by the network domain name at different time points may be acquired sequentially 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 can be obtained as first return data, and multiple sets of data returned by the network domain name at different time points through the dial testing line can be obtained as second return data. For example, according to experiments, the network state may change in different time periods in the day, and the network state may be better in some time periods and worse in some time periods. In order to make the acquired return data more representative, 24 hours may be selected as a test period, 1 hour may be selected as a test time interval, and the first return data of the network domain name returned through the original line and the second return data of the network domain name returned through the dial-up line may be acquired at 1 hour intervals within 24 hours, respectively. Other test periods and test time intervals can also be selected according to different application scenes.
In a preferred implementation manner of the embodiment of the present invention, the Web driver may obtain the log record generated by the probe on the original line and the log record generated by the probe on the dial line respectively, and obtain the first return data of the network domain name on the original line according to the log record generated by the probe on the original line, and obtain the second return data of the network domain name on the dial line according to the log record generated by the probe on the dial 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 parameters are parameters related to user access experiences, and under different user access experiences, the values of the user experience parameters are different. For example, if the response time of the network domain name is taken as the user experience parameter, the larger the user experience parameter is, the longer the response time of the network domain name is, and the worse the access experience of the user is; the smaller the value of the user experience parameter is, the shorter the response time of the network domain name is, and the better the user access experience is. Generally, the user experience parameters include a plurality of user experience parameters reflecting the user's access experience from different dimensions. According to the first return data and the second return data, the user experience parameters of the original line and the user experience parameters of the dial-up test line are calculated respectively, and the user experience of a user accessing the network domain name through the original line and the user experience of a user accessing the network domain name through the dial-up test line can be obtained respectively.
If the first returned data includes a plurality of sets of data returned by the network domain name at different time points through the original line, user experience parameters of the plurality of sets of data can be calculated respectively, and an average value of the user experience parameters of the plurality of sets of data is used as the user experience parameters of the original line. If the second returned data includes a plurality of groups of data returned by the network domain name at different time points through the dial testing line, user experience parameters of the plurality of groups of data can be calculated respectively, and an average value of the user experience parameters of the plurality of groups of data is used as the user experience parameters of the dial testing 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 1 hour as a test time interval, 24 sample values of the user experience parameter of the original line can be calculated through the first return data, and then an average value of the sample values is taken as the user experience parameter of the original line; and calculating 24 sample values of the user experience parameters of the dial testing circuit through the second return data, wherein the average value of the sample values is used as the user experience parameters of the dial testing circuit.
In a preferred implementation of the embodiment of the present invention, the user experience parameters may further include: time parameters, speed parameters, and success rate parameters.
Wherein the time parameter may include: website connection time, first byte time delay, first screen time and total website opening duration. The speed parameters may include: website download speed. The success rate parameters may include: the success rate of website element opening and the success rate of website opening.
In a preferred implementation manner of the embodiment of the present invention, the data returned by the network domain name may be analyzed by the Web driver, and the domain name, IP, loading time, size and HTTP return value of the 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 = connectiend-connectistart;
first byte delay = responsesart-NavigationStart;
first screen time = DomInteractive-navigator start;
total website opening duration = loadEventEnd-NavigationStart;
website download speed = total website download amount/total website opening duration;
website opening success rate = number of successful opening of intranet station in preset time/total test number of website in preset time;
website element open success rate = number of website elements successfully opened/total number of website elements;
The number of successful opening of the website in the preset time can be defined as the number of 200 series or 300 series of HTTP return values in the preset time; the total download amount of the website can be defined as the total download amount of website elements in the process of opening the website; the website elements are basic units constituting the web page, and the website elements may be, for example, text, audio, video, animation, etc. on the website.
Step 140: and respectively calculating the quality evaluation score of the network domain name under the original line and the quality evaluation score of the dial-up line according to the user experience parameters of the original line and the user experience parameters of the dial-up line.
The quality evaluation score of the network domain name under the original line and the quality evaluation score under the dial-up line can be calculated according to the user experience parameters of the original line and the user experience parameters of the dial-up line respectively. 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. Because the original line and the dial-up line can each comprise a plurality of user experience parameters, a corresponding weight can be allocated to each user experience parameter to calculate the quality evaluation scores of the original line and the dial-up line respectively.
The method comprises the steps of respectively acquiring user experience parameters of a plurality of different types of websites by researching the websites of different types, determining correlations among the user experience parameters of different dimensions, and dynamically adjusting the weight of each user experience parameter according to the correlations among the user experience parameters of different dimensions and the characteristics of the websites of different types, so that the calculated quality evaluation scores of an original line and a dial-up test line are more accurate.
In a preferred implementation manner of the embodiment of the present invention, a preset number of class a websites and a preset number of class B websites may be selected respectively, so as to study correlation between user experience parameters. Preferably, the class A website selects websites of the types of information provision, ticketing, academic information and the like, and is characterized in that the pages of the websites are simpler, the webpage elements are mostly text information, the pictures and videos are fewer, and the webpage downloading amount is smaller; the B-class website selects websites of categories such as electronic commerce, video and games, and the like, and is characterized in that the pages of the websites are complex, the webpage elements are mostly pictures and videos, and the downloading amount of the webpages is large. According to the test, for the class A 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 duration is about 0.8, and the correlation value between the total website opening duration and the website downloading speed is about-0.4; for a B-class website, the correlation value between the website connection time and the first byte time delay is about 0.55, the correlation value between the first byte time delay and the first screen time is about 0.6, the correlation value between the first screen time and the total website opening duration is about 0.65, and the correlation value between the total website opening duration and the website downloading speed is about-0.6. It can be seen that there is a forward correlation between the time parameters, and the forward correlation is higher; negative correlation exists between the time parameter and the speed parameter, and the negative correlation is higher; as the web page download increases, the positive correlation between the time parameters decreases and the negative correlation between the time parameters and the speed parameters increases.
In a preferred implementation of the embodiment of the present invention, the calculation formula of the quality assessment score is: quality assessment score = a website opening time score + b website download speed score + c website opening success rate score;
the a=a first preset constant k (R (connection-first byte) +r (first byte-first screen) +r (first screen-total duration))/3,
the b=a second preset constant (1-k (R (connection-first byte) +r (first byte-first screen) +r (first screen-total duration))/3),
the c=a third preset constant;
said R (connection-first byte) = -0.5 x R (connection-first byte) +0.5,
said R (first byte-first screen) = -0.5 x R (first byte-first screen) +0.5,
said R (first screen-total duration) = -0.5 x R (first screen-total duration) +0.5,
the k=1/(R (connection-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.
The default values of the first preset constant, the second preset constant and the third preset constant can be set respectively, and then the 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 adjusted down according to a preset proportion, and the second preset constant is adjusted up according to a preset proportion; if the forward correlation between the time parameters is lower than the preset correlation threshold, the first preset constant is adjusted according to the preset proportion, and the second preset constant is adjusted 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 can obtain a better quality evaluation score calculation result through experimental verification, and is suitable for the network domain name traffic scheduling method in 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 duration are:
wherein,and->Respectively the parameter d i And parameter d j Average value of d ik And d jk Respectively the parameter d i And parameter d j Is a sample value of (2);
parameter d i And parameter d j Respectively used for representing the website connection time and the initial byte time delay, and the parameter r ij A correlation value representing a correlation between the website connection time and the first byte delay; and/or the number of the groups of groups,
parameter d i And parameter d j Respectively used for representing the first byte time delay and the first screen time, and a parameter r ij A correlation value representing a correlation between the first byte delay and the first screen time; and/or the number of the groups of groups,
Parameter d i And parameter d j The parameter r is used for respectively representing the first screen time and the total website opening duration ij And the correlation value is used for representing the correlation value between the first screen time and the total website opening duration.
In a preferred implementation manner of the embodiment of the present invention, the calculation formula of the website opening time score is:
website opening time fraction = d × (average website connection time contrast ratio/(1 + average website connection time contrast ratio)) + e (average first byte delay contrast ratio/(1 + average first byte delay contrast ratio)) + f (average first screen time contrast ratio/(1 + average first screen time contrast ratio)) + g (average website opening total duration contrast ratio/(1 + average website opening total duration contrast ratio));
the calculation formula of the website downloading speed score is as follows:
website download speed score = 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:
website opening success rate score = 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));
The d=a fourth preset constant x k x R (connection-first byte), the e=a fifth preset constant x k x R (first byte-first screen), the f=a sixth preset constant x R (first screen-total duration), the g=a seventh preset constant x (4-d-e-f);
the h=eighth preset constant;
the i=a ninth preset constant.
The default values of the fourth preset constant, the fifth preset constant, the sixth preset constant and the seventh preset constant can be set respectively, and then the 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 the correlation among the time parameters. Preferably, if the forward correlation between the time parameters is higher than the preset correlation threshold, the seventh preset constant is adjusted up according to the preset proportion, and the fourth preset constant, the fifth preset constant and the sixth preset constant are respectively adjusted down 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 adjusted down according to the preset proportion, and the fourth preset constant, the fifth preset constant and the sixth preset constant are respectively adjusted up according to the 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 can obtain a better quality evaluation score calculation result through experimental verification, and is suitable for network domain name traffic scheduling in the embodiment of the invention.
The difference comparison method can be used for comparing the quality of the original line and the dial testing line so as to rapidly judge whether the dial testing line is better than the original line, and the flow of the network domain name can be automatically scheduled according to the judgment result.
In a preferred implementation of the embodiment of the present invention, the average website connection time contrast ratio = (original line average website connection time-dial line average website connection time)/original line average website connection time;
the average first byte delay contrast ratio= (original line average first byte delay-line average first byte delay) per original line average first byte delay;
the average first screen time contrast ratio= (original line average first screen time-dial line average first screen time)/original line average first screen time;
the average website opening total time length contrast ratio= (original line average website opening total time length-dial line average website opening total time length)/original line average website opening total time length;
the average download speed contrast ratio = (dialing line average website download speed-original line average website download speed)/original line average website download speed;
The average website element opening success rate contrast ratio = (dialing line average website element opening success rate-original line average website element opening success rate)/original line average website element opening success rate;
the average website opening success rate contrast ratio = (dialing line average website opening success rate-original line average website opening success rate)/original line average website opening success rate.
In the embodiment of the invention, normalization models are used in calculation formulas of time parameters, downloading speed parameters and success rate parameters. The normalization model can solve the problem that the dimensions of the user experience parameters in different dimensions are inconsistent. For example, the dimension of the average website connection time is seconds or milliseconds, the dimension of the average download speed is Kb/S, and the problem of inconsistent dimension among 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, so that the scores of the user experience parameters in a certain dimension are prevented from being too large or too small, the proportion of the user experience parameters in the dimension in a quality evaluation score calculation formula is further influenced, and the quality evaluation score calculation formula is inaccurate. The contrast ratio values of the time parameter, the downloading 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, the smaller the value of the time parameter is, the better the quality of the network line is indicated, so 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 test line, and the denominator is the value of the user experience parameter of the original line, so that the contrast ratio of the time parameter is positive, and the quality of the dial test line is better than that of the original line. In the speed parameter part and the success rate parameter part, 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, so in a contrast ratio formula of the speed parameter, the numerator is the value of the user experience parameter of the dial-up test 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-up line is better than the quality of the original line; in the contrast ratio formula of the success rate parameter, the numerator is the user experience parameter value of the dial testing circuit minus the user experience parameter value of the original circuit, and the denominator is the user experience parameter value of the original circuit, so that the contrast ratio value of the success rate parameter is positive, and the quality of the dial testing circuit is better than that of the original circuit. It can be seen that the contrast ratio calculation formula numerator has positive value, which indicates that the quality of the dial-up line is better than the quality of the original line, and the denominators are user experience parameters of the original line, so that the quality evaluation of the original line and the dial-up line by the quality evaluation has practical reference significance.
Step 150: and dispatching the flow of the network domain name according to the quality evaluation score under the original line and the quality evaluation score under the dialing line.
The traffic 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 dialing 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 steps of:
step 151: and obtaining the quality evaluation score with the largest value in at least one quality evaluation score under the dialing line.
The quality evaluation scores corresponding to the plurality of dial testing lines can be obtained respectively, and the quality evaluation scores corresponding to the plurality of 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, dispatching the flow of the network domain name to a dial testing line corresponding to the quality evaluation score with the maximum value.
And comparing the quality evaluation with the maximum value of the obtained dial testing line with the quality evaluation score under the original line, and if the quality evaluation with the maximum value of the dial testing line 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, so that a user can obtain better access experience when accessing the network domain name.
The embodiment of the invention firstly executes a dialing line for a network domain name needing to be subjected to flow dispatching, acquires first return data of the network domain name in an original line and acquires second return data of the network domain name in the dialing line; secondly, respectively calculating user experience parameters of the original line and user experience parameters of the dialing 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 of 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, dispatching the flow of the network domain name according to the quality evaluation score under the original line and the quality evaluation score under the dialing line. It can be seen that, according to the embodiment of the invention, the flow of the network domain name can be automatically scheduled based on the quality evaluation score obtained by the user experience parameters, so that the flow scheduling of the network domain name is more effective.
Fig. 2 is a schematic structural diagram of an embodiment of the network domain name traffic scheduling device of the present invention. As shown in fig. 2, the apparatus 300 includes: an execution module 310, an acquisition module 320, a first calculation module 330, a second calculation module 340, and a scheduling module 350.
An execution module 310, configured to execute a dialing line for a network domain name that needs to be subjected to traffic scheduling;
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 testing line;
a first calculation module 330, configured to calculate, according to the first return data and the second return data, a user experience parameter of the original line and a user experience parameter of the dial testing line, respectively;
a second calculation module 340, configured to calculate, according to the user experience parameter of the original line and the user experience parameter of the dial-up test line, a quality evaluation score of the network domain name under the original line and a quality evaluation score of the dial-up test line, respectively;
and the scheduling module 350 is configured to 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 dialing line.
In an optional manner of the embodiment of the present invention, the user experience parameter further includes: time parameters, speed parameters and success rate parameters;
the time parameters include: website connection time, first byte time delay, first screen time and total website opening duration;
The speed parameters include: the download speed of the website;
the success rate parameters include: the success rate of website element opening and the success rate of website opening.
In an alternative manner of the embodiment of the present invention, the scheduling module 350 is further configured to:
acquiring a quality evaluation score with the largest numerical value in at least one quality evaluation score under the dialing line;
and if the quality evaluation score with the maximum value is larger than the quality evaluation score under the original line, dispatching the flow of the network domain name to a dial testing line corresponding to the quality evaluation score with the maximum value.
In an optional manner of the embodiment of the present invention, the calculation formula of the quality assessment score is: quality assessment score = a website opening time score + b website download speed score + c website opening success rate score;
the a=a first preset constant k (R (connection-first byte) +r (first byte-first screen) +r (first screen-total duration))/3,
the b=a second preset constant (1-k (R (connection-first byte) +r (first byte-first screen) +r (first screen-total duration))/3),
the c=a third preset constant;
said R (connection-first byte) = -0.5 x R (connection-first byte) +0.5,
said R (first byte-first screen) = -0.5 x R (first byte-first screen) +0.5,
Said R (first screen-total duration) = -0.5 x R (first screen-total duration) +0.5,
the k=1/(R (connection-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;
the values of the first preset constant and the second preset constant are dynamically adjusted according to the 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 duration is:
wherein,and->Respectively the parameter d i And parameter d j Average value of d ik And d jk Respectively the parameter d i And parameter d j Is a sample value of (2);
parameter d i And parameter d j Respectively used for representing the website connection time and the initial byte time delay, and the parameter r ij A correlation value representing a correlation between the website connection time and the first byte delay; and/or the number of the groups of groups,
parameter d i And parameter d j Respectively used for representing the first byte time delay and the first screen time, and a parameter r ij A correlation value representing a correlation between the first byte delay and the first screen time; and/or the number of the groups of groups,
parameter d i And parameter d j The parameter r is used for respectively representing the first screen time and the total website opening duration ij And the correlation value is used for representing the correlation value between the first screen time and the total website opening duration.
In an optional manner of the embodiment of the present invention, the website opening time score=d (average website connection time contrast ratio/(1+average website connection time contrast ratio)) +e (average first byte delay contrast ratio/(1+average first byte delay contrast ratio)) +f (average first screen time contrast ratio/(1+average first screen time contrast ratio)) +g (average website opening total duration contrast ratio/(1+average website opening total duration contrast ratio));
the website download speed score = average website download speed contrast ratio/(1 + average website download speed contrast ratio);
the website opening success rate score = 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));
The d=a fourth preset constant x k x R (connection-first byte), the e=a fifth preset constant x k x R (first byte-first screen), the f=a sixth preset constant x R (first screen-total duration), the g=a seventh preset constant x (4-d-e-f);
the 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 values of the r (connection-first byte), the r (first byte-first screen) and the r (first screen-total duration);
the h=eighth preset constant;
the i=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 line average website connection time)/original line average website connection time;
the average first byte delay contrast ratio= (original line average first byte delay-line average first byte delay) per original line average first byte delay;
the average first screen time contrast ratio= (original line average first screen time-dial line average first screen time)/original line average first screen time;
the average website opening total time length contrast ratio= (original line average website opening total time length-dial line average website opening total time length)/original line average website opening total time length;
The average download speed contrast ratio = (dialing line average website download speed-original line average website download speed)/original line average website download speed;
the average website element opening success rate contrast ratio = (dialing line average website element opening success rate-original line average website element opening success rate)/original line average website element opening success rate;
the average website opening success rate contrast ratio = (dialing line average website opening success rate-original line average website opening success rate)/original line average website opening success rate.
In the embodiment of the invention, the execution module can execute the dialing line 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 testing line; the first calculation module can 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 respectively; the second calculation module can calculate the quality evaluation score of the network domain name under the original line and the quality evaluation score of the dial-up line according to the user experience parameters of the original line and the user experience parameters of the dial-up line respectively; the scheduling module may 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 dialing line. It can be seen that, in the embodiment of the invention, the second calculation module can calculate the quality evaluation score under the original line and the quality evaluation score under the dial test 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 illustrates a schematic diagram of an embodiment of a computing device of the present invention, and the embodiments of the present invention are not limited to a particular implementation of the computing device.
As shown in fig. 3, the computing device may include: a processor 402, a communication interface (Communications Interface) 404, a memory 406, and a communication bus 408.
Wherein: processor 402, communication interface 404, and memory 406 communicate with each other via communication bus 408. A communication interface 404 for communicating with network elements of other devices, such as clients or other servers. Processor 402 is configured to execute program 410, and may specifically perform the relevant steps described above in the network domain name traffic scheduling method embodiment.
In particular, program 410 may include program code including computer-executable instructions.
The processor 402 may be a central processing unit CPU, or a specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement embodiments of the present invention. The one or more processors included by the computing device may be the same type of processor, such as one or more CPUs; but may also be different types of processors such as one or more CPUs and one or more ASICs.
Memory 406 for storing programs 410. Memory 406 may comprise high-speed RAM memory or may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
Program 410 may be specifically invoked by processor 402 to cause a computing device to:
executing a dialing line for a network domain name needing flow scheduling;
acquiring first return data of the network domain name on an original line and second return data of the network domain name on the dial testing line;
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;
respectively calculating the quality evaluation score of the network domain name under the original line and the quality evaluation score of the dial-up line according to the user experience parameters of the original line and the user experience parameters of the dial-up line;
and dispatching the flow of the network domain name according to the quality evaluation score under the original line and the quality evaluation score under the dialing line.
In an alternative manner, the user experience parameters further include: time parameters, speed parameters and success rate parameters;
The time parameters include: website connection time, first byte time delay, first screen time and total website opening duration;
the speed parameters include: the download speed of the website;
the success rate parameters include: the success rate of website element opening and the success rate of website opening.
In an alternative, program 410 may be specifically invoked by processor 402 to cause a computing device to:
acquiring a quality evaluation score with the largest numerical value in at least one quality evaluation score under the dialing line;
and if the quality evaluation score with the maximum value is larger than the quality evaluation score under the original line, dispatching the flow of the network domain name to a dial testing line corresponding to the quality evaluation score with the maximum value.
In an alternative manner, the calculation formula of the quality assessment score is: quality assessment score = a website opening time score + b website download speed score + c website opening success rate score;
the a=a first preset constant k (R (connection-first byte) +r (first byte-first screen) +r (first screen-total duration))/3,
the b=a second preset constant (1-k (R (connection-first byte) +r (first byte-first screen) +r (first screen-total duration))/3),
the c=a third preset constant;
Said R (connection-first byte) = -0.5 x R (connection-first byte) +0.5,
said R (first byte-first screen) = -0.5 x R (first byte-first screen) +0.5,
said R (first screen-total duration) = -0.5 x R (first screen-total duration) +0.5,
the k=1/(R (connection-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;
the values of the first preset constant and the second preset constant are dynamically adjusted according to the values of the r (connection-first byte), the r (first byte-first screen) and the r (first screen-total duration).
In an optional manner, 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 duration is as follows:
wherein,and->Respectively the parameter d i And parameter d j Average value of d ik And d jk Respectively the parameter d i And parameter d j Is a sample value of (2);
parameter d i And parameter d j Respectively used for representing the website connection time and the initial byte time delay, and the parameter r ij A correlation value representing a correlation between the website connection time and the first byte delay; and/or the number of the groups of groups,
parameter d i And parameter d j Respectively used for representing the first byte time delay and the first screen time, and a parameter r ij A correlation value representing a correlation between the first byte delay and the first screen time; and/or the number of the groups of groups,
parameter d i And parameter d j The parameter r is used for respectively representing the first screen time and the total website opening duration ij And the correlation value is used for representing the correlation value between the first screen time and the total website opening duration.
In an alternative manner, the website opening time fraction=d (average website connection time contrast ratio/(1+average website connection time contrast ratio)) +e (average first byte delay contrast ratio/(1+average first byte delay contrast ratio)) +f (average first screen time contrast ratio/(1+average first screen time contrast ratio)) +g (average website opening total duration contrast ratio/(1+average website opening total duration contrast ratio));
the website download speed score = average website download speed contrast ratio/(1 + average website download speed contrast ratio);
The website opening success rate score = 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));
the d=a fourth preset constant x k x R (connection-first byte), the e=a fifth preset constant x k x R (first byte-first screen), the f=a sixth preset constant x R (first screen-total duration), the g=a seventh preset constant x (4-d-e-f);
the 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 values of the r (connection-first byte), the r (first byte-first screen) and the r (first screen-total duration);
the h=eighth preset constant;
the i=a ninth preset constant.
In an alternative manner, the average website connection time contrast ratio = (original line average website connection time-dial line average website connection time)/original line average website connection time;
the average first byte delay contrast ratio= (original line average first byte delay-line average first byte delay) per original line average first byte delay;
The average first screen time contrast ratio= (original line average first screen time-dial line average first screen time)/original line average first screen time;
the average website opening total time length contrast ratio= (original line average website opening total time length-dial line average website opening total time length)/original line average website opening total time length;
the average download speed contrast ratio = (dialing line average website download speed-original line average website download speed)/original line average website download speed;
the average website element opening success rate contrast ratio = (dialing line average website element opening success rate-original line average website element opening success rate)/original line average website element opening success rate;
the average website opening success rate contrast ratio = (dialing line average website opening success rate-original line average website opening success rate)/original line average website opening success rate.
According to the embodiment of the invention, the quality evaluation score of the original line and the quality evaluation score of the dial testing line can be calculated by the processor through the program call, the quality evaluation score of the original line and the quality evaluation score of the dial testing line are compared, if the quality evaluation score of the dial testing line is larger than the quality evaluation score of the original line, the flow of the network domain name is scheduled to the dial testing line corresponding to the quality evaluation score with the largest value, and better access experience can be obtained when a user accesses the network domain name.
The embodiment of the invention provides a computer readable storage medium, which stores at least one executable instruction, and when the executable instruction runs on a network domain name traffic scheduling device, the network domain name traffic scheduling device executes the network domain name traffic scheduling method in any method embodiment.
The embodiment of the invention provides a computer program which can be called by a processor to enable network domain name traffic scheduling equipment to execute the network domain name traffic scheduling method in any of the method embodiments.
An embodiment of the present invention provides a computer program product, where the computer program product includes a computer program stored on a computer readable storage medium, where the computer program includes program instructions, when the program instructions are executed on a computer, cause the computer to perform 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 a construction of such a system is apparent from the description above. In addition, embodiments of the present invention are not directed to any particular programming language. It will be appreciated that the teachings of the present invention described herein may be implemented in a variety of programming languages, and the above description of specific languages is provided for disclosure of enablement and best mode of the present invention.
In the description provided herein, numerous specific details are set forth. However, it is understood 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 above 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 disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be construed as reflecting the intention that: i.e., the claimed invention requires more features than are expressly recited in each claim.
Those skilled in the art will appreciate that the modules in the apparatus of the embodiments may be adaptively changed and disposed in one or more apparatuses different from the embodiments. The modules or units or components of the embodiments may be combined into one module or unit or component, and they may be divided into a plurality of sub-modules or sub-units or sub-components. Any combination of all features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or units of any method or apparatus so disclosed, may be used in combination, except insofar as at least some of such features and/or processes or units 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 use of the words first, second, third, etc. do not denote any order. These words may be interpreted as names. The steps in the above embodiments should not be construed as limiting the order of execution unless specifically stated.

Claims (6)

1. A network domain name traffic scheduling method, the method comprising:
executing a dialing line for a network domain name needing flow scheduling;
Acquiring first return data of the network domain name on an original line and second return data of the network domain name on the dial testing line;
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;
respectively calculating the quality evaluation score of the network domain name under the original line and the quality evaluation score of the dial-up line according to the user experience parameters of the original line and the user experience parameters of the dial-up line;
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 dialing line, including: acquiring a quality evaluation score with the largest numerical value in at least one quality evaluation score under the dialing line; if the quality evaluation score with the largest numerical value is larger than the quality evaluation score under the original line, dispatching the flow of the network domain name to a dial testing line corresponding to the quality evaluation score with the largest numerical value; the calculation formula of the quality evaluation score is as follows: quality assessment score = a website opening time score + b website download speed score + c website opening success rate score;
The a=a first preset constant k (R (connection-first byte) +r (first byte-first screen) +r (first screen-total duration))/3,
the b=a second preset constant (1-k (R (connection-first byte) +r (first byte-first screen) +r (first screen-total duration))/3),
the c=a third preset constant;
the R connection-header byte = -0.5 x R (connection-header byte) +0.5,
the rhead byte-head screen= -0.5 x R (head byte-head screen) +0.5,
the R head-screen-total duration = -0.5 x R (head-screen-total duration) +0.5,
the k=1/(R (connection-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; the formulas 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 duration are as follows:
wherein,and->Respectively the parameter d i And parameter d j Average value of d ik And d jk Respectively the parameter d i And parameter d j Is a sample value of (2);
parameter d i And parameter d j Respectively used for representing the website connection time and the initial byte time delay, and the parameter r ij A correlation value representing a correlation between the website connection time and the first byte delay; and/or the number of the groups of groups,
parameter d i And parameter d j Respectively used for representing the first byte time delay and the first screen time, and a parameter r ij A correlation value representing a correlation between the first byte delay and the first screen time; and/or the number of the groups of groups,
parameter d i And parameter d j The parameter r is used for respectively representing the first screen time and the total website opening duration ij A correlation value representing the first screen time and the total website opening duration;
the values of the first preset constant and the second preset constant are dynamically adjusted according to the values of the r (connection-first byte), the r (first byte-first screen) and the r (first screen-total duration).
2. The method of claim 1, wherein the user experience parameters further comprise: 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 of claim 1, wherein the step of determining the position of the substrate comprises,
the website opening time score=d (average website connection time contrast ratio/(1+average website connection time contrast ratio)) +e (average first byte delay contrast ratio/(1+average first byte delay contrast ratio)) +f (average first screen time contrast ratio/(1+average first screen time contrast ratio)) +g (average website opening total time length contrast ratio/(1+average website opening total time length contrast ratio)); the average website connection time contrast ratio = (original line average website connection time-dial line average website connection time)/original line average website connection time; the average first byte delay contrast ratio= (original line average first byte delay-line average first byte delay) per original line average first byte delay; the average first screen time contrast ratio= (original line average first screen time-dial line average first screen time)/original line average first screen time; the average website opening total time length contrast ratio= (original line average website opening total time length-dial line average website opening total time length)/original line average website opening total time length;
the website download speed score = average website download speed contrast ratio/(1 + average website download speed contrast ratio); the average website download speed contrast ratio = (dialing line average website download speed-original line average website download speed)/original line average website download speed;
The website opening success rate score = 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)); the average website element opening success rate contrast ratio = (dialing line average website element opening success rate-original line average website element opening success rate)/original line average website element opening success rate; the average website opening success rate contrast ratio = (dialing line average website opening success rate-original line average website opening success rate)/original line average website opening success rate;
the d=a fourth preset constant x k x R (connection-first byte), the e=a fifth preset constant x k x R (first byte-first screen), the f=a sixth preset constant x R (first screen-total duration), the g=a seventh preset constant x (4-d-e-f);
the 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 values of the r (connection-first byte), the r (first byte-first screen) and the r (first screen-total duration);
the h=eighth preset constant;
The i=a ninth preset constant.
4. A network domain name traffic scheduling device, the device comprising:
the execution module is used for executing a dialing line for the domain name needing to be subjected to flow scheduling;
the acquisition module is used for acquiring first return data of the domain name in an original line and second return data of the domain name in 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 calculating the quality evaluation score of the domain name under the original line and the quality evaluation score of the dial-up line according to the user experience parameters of the original line and the user experience parameters of the dial-up line respectively;
the scheduling module is configured to schedule the traffic of the domain name according to the quality evaluation score under the original line and the quality evaluation score under the dialing line, and includes: acquiring a quality evaluation score with the largest numerical value in at least one quality evaluation score under the dialing line; if the quality evaluation score with the largest numerical value is larger than the quality evaluation score under the original line, dispatching the flow of the network domain name to a dial testing line corresponding to the quality evaluation score with the largest numerical value; the calculation formula of the quality evaluation score is as follows: quality assessment score = a website opening time score + b website download speed score + c website opening success rate score;
The a=a first preset constant k (R (connection-first byte) +r (first byte-first screen) +r (first screen-total duration))/3,
the b=a second preset constant (1-k (R (connection-first byte) +r (first byte-first screen) +r (first screen-total duration))/3),
the c=a third preset constant;
the R connection-header byte = -0.5 x R (connection-header byte) +0.5,
the rhead byte-head screen= -0.5 x R (head byte-head screen) +0.5,
the R head-screen-total duration = -0.5 x R (head-screen-total duration) +0.5,
the k=1/(R (connection-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; the formulas 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 duration are as follows:
wherein,and->Respectively the parameter d i And parameter d j Average value of d ik And d jk Respectively the parameter d i And parameter d j Is a sample value of (2);
parameter d i And parameter d j Respectively used for representing the website connection time and the initial byte time delay, and the parameter r ij A correlation value representing a correlation between the website connection time and the first byte delay; and/or the number of the groups of groups,
parameter d i And parameter d j Respectively used for representing the first byte time delay and the first screen time, and a parameter r ij A correlation value representing a correlation between the first byte delay and the first screen time; and/or the number of the groups of groups,
parameter d i And parameter d j The parameter r is used for respectively representing the first screen time and the total website opening duration ij A correlation value representing the first screen time and the total website opening duration;
the values of the first preset constant and the second preset constant are dynamically adjusted according to the values of the r (connection-first byte), the r (first byte-first screen) and the r (first screen-total duration).
5. A computing device, comprising: the device comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete communication with each other 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-3.
6. A computer readable storage medium having stored therein at least one executable instruction which, when run on a network domain name traffic scheduling device, causes the network domain name traffic scheduling device to perform the operations of the network domain name traffic scheduling method of any one of claims 1-3.
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 CN114430402A (en) 2022-05-03
CN114430402B true 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.2015,全文. *
一种基于DNS调度优化的域名拨测系统;张子樵,席晨,柳祝辉;信息通信;第215页 *
中国移动家宽用户感知质量评估方法研究;李宝磊;任晓华;;电信工程技术与标准化(第07期);全文 *

Also Published As

Publication number Publication date
CN114430402A (en) 2022-05-03

Similar Documents

Publication Publication Date Title
CN110275958B (en) Website information identification method and device and electronic equipment
CN109977300A (en) Enterprise's public sentiment acquisition methods, device, terminal and computer storage medium
CN102880616B (en) browser page loading method and device
CN108228463B (en) Method and device for detecting first screen time
CN106021549A (en) Page control method and device of web application program and terminal device
Jati et al. Quality evaluation of e-government website using web diagnostic tools: Asian case
US20140324842A1 (en) Information retrieval system evaluation method, device and storage medium
CN110147315A (en) Concurrency performance test method, device, computer equipment and storage medium
CN110717122B (en) Page performance acquisition method and device and electronic equipment
CN114461869B (en) Service characteristic data processing method and device, electronic equipment and storage medium
CN110677447B (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
CN111597102A (en) Page performance testing method, terminal and storage medium
Siahaan et al. Comparative Analysis Study of Front-End JavaScript Frameworks Performance Using Lighthouse Tool
CN111444447A (en) Content recommendation page display method and device
CN113641970A (en) Risk detection method and device and computing equipment
EP3082090A1 (en) Method for determining a user profile in relation to certain web content
CN112052163A (en) High-concurrency webpage pressure testing method and device, electronic equipment and storage medium
CN110363245B (en) Online classroom highlight screening method, device and system
CN112564996A (en) Pressure test flow scheduling method, pressure test flow control device and computer readable medium
CN110825976B (en) Website page detection method and device, electronic equipment and medium
CN109815083B (en) Application crash monitoring method and device, electronic equipment and medium
CN115525528A (en) Page quality detection method and device, electronic equipment and storage medium
CN113641912B (en) Information pushing method, computing device and computer storage medium
CN113723720B (en) Page browsing quality evaluation method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant