CN113542044A - Network quality monitoring method and device and computing equipment - Google Patents

Network quality monitoring method and device and computing equipment Download PDF

Info

Publication number
CN113542044A
CN113542044A CN202010294621.0A CN202010294621A CN113542044A CN 113542044 A CN113542044 A CN 113542044A CN 202010294621 A CN202010294621 A CN 202010294621A CN 113542044 A CN113542044 A CN 113542044A
Authority
CN
China
Prior art keywords
time
network
quality
monitoring
user access
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010294621.0A
Other languages
Chinese (zh)
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 Hebei Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Hebei 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 Hebei Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202010294621.0A priority Critical patent/CN113542044A/en
Publication of CN113542044A publication Critical patent/CN113542044A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]

Landscapes

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

Abstract

The embodiment of the invention relates to the technical field of networks, and discloses a network quality monitoring method, a network quality monitoring device and computing equipment. The method comprises the following steps: acquiring user access data of a network; calculating a one-way quality index based on a TCP connection and an HTTP connection according to the user access data; and monitoring the quality of the network according to the one-way quality index. Through the mode, the embodiment of the invention can monitor the network quality based on the full quality index and can reflect the actual network condition.

Description

Network quality monitoring method and device and computing equipment
Technical Field
The embodiment of the invention relates to the technical field of networks, in particular to a network quality monitoring method, a network quality monitoring device and computing equipment.
Background
At present, the quality of the internet network is mainly detected by deploying a dial-up test probe through a network quality dial-up test system, simulating a data packet of a user internet behavior, and analyzing the network quality from a probe node to an internet destination address. In such a sampling manner, a situation that the quality result of the dial-up test is good but the user experience is not good may occur, and continuous, comprehensive, historical or real-time data cannot be formed, so that the real situation cannot be reflected.
Disclosure of Invention
In view of the foregoing, embodiments of the present invention provide a network quality monitoring method, apparatus and computing device, which overcome the foregoing problems or at least partially solve the foregoing problems.
According to an aspect of an embodiment of the present invention, there is provided a network quality monitoring method, including: acquiring user access data of a network; calculating a one-way quality index based on a TCP connection and an HTTP connection according to the user access data; and monitoring the quality of the network according to the one-way quality index.
In an optional manner, the one-way quality indicator includes a link setup delay; then, said calculating a one-way quality indicator based on a TCP connection and an HTTP connection according to said user access data further comprises: determining first handshake time and third handshake time according to the user access data; and calculating to obtain the link establishment time delay according to the first handshake time and the third handshake time.
In an optional manner, the one-way quality indicator further includes a first event delay; then, said calculating a one-way quality indicator based on a TCP connection and an HTTP connection according to said user access data further comprises: determining third handshake time and first transaction request time according to the user access data; and calculating the first event time delay according to the first transaction request time and the third handshake time.
In an optional manner, the one-way quality indicator further includes an acknowledgement delay; then, said calculating a one-way quality indicator based on a TCP connection and an HTTP connection according to said user access data further comprises: determining a first transaction request time and a first response packet time according to the user access data; and calculating the response confirmation time delay according to the first response packet time and the first transaction request time.
In an optional manner, the one-way quality indicator further includes a download rate; then, said calculating a one-way quality indicator based on a TCP connection and an HTTP connection according to said user access data further comprises: determining the time of a first transaction request and the time of a last response packet according to the user access data; and calculating the downloading rate according to the time of the last response packet and the time of the first transaction request.
In an optional manner, the one-way quality indicator further includes an uplink retransmission rate and a downlink retransmission rate; then, said calculating a one-way quality indicator based on a TCP connection and an HTTP connection according to said user access data further comprises: respectively determining the number of the retransmitted messages in the uplink direction and the number of the retransmitted messages in the downlink direction according to the user access data; and respectively calculating the uplink retransmission rate and the downlink retransmission rate according to the number of the retransmitted messages in the uplink direction and the number of the retransmitted messages in the downlink direction.
In an optional manner, the quality monitoring the network according to the unidirectional quality indicator further includes: acquiring a monitoring service of the network; establishing a monitoring model according to the one-way quality index and the monitoring service; and monitoring the quality of the network according to the monitoring model.
According to another aspect of the embodiments of the present invention, there is provided a network quality monitoring apparatus, including: the acquisition module is used for acquiring user access data of a network; the calculation module is used for calculating a one-way quality index based on the TCP connection and the HTTP connection according to the user access data; and the monitoring module is used for monitoring the quality of the network according to the unidirectional quality index.
According to still another aspect of an embodiment of the present invention, there is provided a computing device including: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus; the memory is configured to store at least one executable instruction that causes the processor to perform the operations of the network quality monitoring method as described above.
According to another aspect of the embodiments of the present invention, there is provided a computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to execute the network quality monitoring method as described above.
According to the embodiment of the invention, the quality of the network is monitored by acquiring the user access data of the network, calculating the unidirectional quality index based on the TCP connection and the HTTP connection according to the user access data, not only can the actual network condition be reflected by monitoring the network quality based on the full quality index, but also the network quality can be monitored based on the unidirectional quality index, and the method can be directly applied to the network environment of 'asymmetric routing' without modifying the homologous and homoclinic network or associating the data.
The foregoing description is only an overview of the technical solutions of the embodiments of the present invention, and the embodiments of the present invention can be implemented according to the content of the description in order to make the technical means of the embodiments of the present invention more clearly understood, and the detailed description of the present invention is provided below in order to make the foregoing and other objects, features, and advantages of the embodiments of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating a network system monitoring method according to an embodiment of the present invention;
FIG. 2 is a TCP connection and HTTP connection process;
FIG. 3 shows a flow chart of step 130 of FIG. 1;
fig. 4 is a schematic structural diagram of a network system monitoring device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a computing device provided by an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
Fig. 1 shows a flowchart of a network quality monitoring method according to an embodiment of the present invention. The method is applied in a computing device, such as a server in a communication network. As shown in fig. 1, the method comprises the steps of:
step 110, obtaining user access data of the network.
The user access data is data for recording network access behaviors of the users, and the user access data is full user data. In this embodiment, the user range data may be Deep Packet Inspection (DPI) data, which can reflect an actual network condition.
The DPI data is collected through DPI equipment, the DPI equipment can filter and control the detection flow according to a predefined strategy by detecting and analyzing the flow and the message content at a key point of a network, so that one or more functions of finely identifying the service of a link where the DPI equipment is located, analyzing the flow direction of the service flow, counting the proportion of the service flow, shaping the proportion of the service flow, rejecting service attack on an application layer, filtering viruses and trojans, abusing P2P and the like can be completed. Through combing and classifying fields in DPI data, one or more of basic flow information, service information, flow indexes, quality indexes and the like can be obtained, and therefore the method can be used for monitoring network quality.
Step 120, calculating a one-way quality indicator based on the TCP connection and the HTTP connection according to the user access data.
In an actual network, in order to ensure stability and continuity of network services, a large number of load balancing or backup links exist in the network, and traffic in and out of two directions appears on different links, namely, a routing asymmetry problem. The problem of the asymmetry of the route can cause that a large amount of unilateral telephone bills exist in data generated by the DPI, namely, only unidirectional request or response data of network flow exists. In this case, the bidirectional quality index (e.g., request-response delay, server-side delay, client-side delay, request-response success rate, etc.) cannot be accurately obtained. Therefore, the embodiment of the invention provides a method for calculating the one-way quality index.
The unidirectional quality index is a quality index that can be obtained from unidirectional traffic in the process of TCP connection and HTTP connection. That is, when calculating one unidirectional quality indicator, the calculation is performed based on only data of a single direction, for example, the quality indicator is calculated based on data of the transmitting side, and/or the quality indicator is calculated based on data of the transmitting side. Calculating a two-way quality index requires performing calculation based on data in two directions at the same time, for example, calculating a quality index (such as TCP link establishment response delay) based on data of the transmitting side and data of the transmitting side.
The one-way quality index may include one or more of a link establishment delay, a first event delay, a response acknowledgement delay, a download rate, an uplink retransmission rate, and a downlink retransmission rate.
The link establishment delay is three-way handshake delay of a link of the TCP, and since the SYN and ACK messages both occur in a request direction (i.e., a client side), the link establishment delay can be calculated from one-way traffic. Alternatively, the link establishment delays of a plurality of TCP links may be calculated, and the average value may be taken as the link establishment delay.
In this embodiment, when calculating the delay time when building the link, step 120 specifically includes: step 121, determining a first handshake time and a third handshake time according to the user access data; and step 122, calculating to obtain the link establishment time delay according to the first handshake time and the third handshake time. The first handshake time is the time when the client sends the SYN packet, and the third handshake time is the time when the client sends the ACK packet to the server after receiving the SYN + ACK packet of the server. And subtracting the first handshake time from the third handshake time to obtain the link establishment delay.
The first event time delay is the time delay from the successful establishment of the TCP link to the first transaction request, and both the successful transmission of the ACK packet by establishing the link and the first transaction request occur in the request direction, so the first event time delay can be calculated from the unidirectional flow. Alternatively, the first event delays of a plurality of links may be calculated and averaged as the first event delay.
In this embodiment, when calculating the first event time delay, step 120 specifically includes: step 123, determining a third handshake time and a first transaction request time according to the user access data; and step 124, calculating to obtain the first event time delay according to the first transaction request time and the third handshake time. When the three-way handshake is completed, the client and the server begin to transfer data. The first transaction request time is the time when the client sends a request for the first time after the three-way handshake is completed. And subtracting the third handshake time from the first transaction request time to obtain the first event delay.
In the bidirectional traffic calculation, the response confirmation delay is a delay from the client sending the first transaction request to the server sending the first response packet, and in this embodiment, the time from the server sending the first response packet may be approximate to the time from the client sending the first response packet, so the response confirmation delay is a delay from the first transaction request to the first response packet, and since all the delays occur in the request direction, the response confirmation delay may be calculated from the unidirectional traffic. Optionally, the response confirmation delays of multiple call tickets may be calculated, and the average value may be taken as the response confirmation delay.
In this embodiment, when calculating the time delay for acknowledgement, step 120 specifically includes: step 125, determining a first transaction request time and a first response packet time according to the user access data; and step 126, calculating to obtain the response confirmation time delay according to the first response packet time and the first transaction request time. After the server receives the first transaction request sent by the client, the server sends a first response packet, and after the client receives the response packet, the client sends a first response packet, so that the time for the client to send the first response packet is the time of the first response packet. And subtracting the first transaction request time from the first response packet time to obtain response confirmation time delay.
In the bidirectional traffic calculation, the download rate should be the time delay from the client sending the first transaction request to the server sending the last response packet, and in this embodiment, the time of the last response packet sent by the server may be approximate to the time of the client sending the last response packet, so that the download rate is the time delay from the first transaction request to the last response packet, and since all the time delay occurs in the request direction, the download rate can be calculated from the unidirectional traffic. Alternatively, the download rates of multiple tickets may be calculated, and the average value may be taken as the download rate.
In this embodiment, when calculating the download rate, step 120 specifically includes: step 127, determining the time of a first transaction request and the time of a last response packet according to the user access data; step 128, calculating the download rate according to the time of the last response packet and the time of the first transaction request. And after the client receives the last response packet sent by the server, the client sends the last response packet, and the time for sending the last response packet by the client is the time of the last response packet. And subtracting the first transaction request time from the last response packet time to obtain the downloading rate.
Optionally, in some other embodiments, the download rate may also be calculated from the server side. The download rate may be the time the server sends the last response packet minus the time the server sends the first response packet, or the download rate may be the time the server sends the last response packet minus the time the server sends the first ACK packet.
In this embodiment, when calculating the uplink retransmission rate and the downlink retransmission rate, step 120 specifically includes: 129, respectively determining the number of the retransmitted messages in the uplink direction and the number of the retransmitted messages in the downlink direction according to the user access data; and step 130, respectively calculating an uplink retransmission rate and a downlink retransmission rate according to the number of the retransmitted messages in the uplink direction and the number of the retransmitted messages in the downlink direction. The number of uplink retransmission messages is the number of uplink retransmission messages in one TCP connection, and is an uplink one-way indicator that reflects the network quality of the uplink that passes through. And calculating the total number of the retransmitted messages in the uplink direction to obtain the uplink retransmission rate. The number of retransmission messages in the downlink direction is the number of retransmission messages in the downlink direction in one TCP connection, and is a downlink one-way indicator, which reflects the network quality of the downlink. And calculating the total message number of the retransmission messages in the downlink direction, so as to obtain the downlink retransmission rate.
Specifically, as shown in fig. 2, fig. 2 is a TCP connection and HTTP connection process. Then there are:
the link establishing time delay delta 1 is the third handshake time T3-the first handshake time T1;
the first event delay Δ 2 is the first transaction request time T4-the third handshake time T3;
response acknowledgement delay Δ 3 — first response packet time T7 — first transaction request time T4;
download rate Δ 4 — last response packet time T9 — first transaction request time T4;
or, the download rate Δ 4 is the last response packet time T8-the first response packet time T6;
alternatively, the download rate Δ 4 is the last response packet time T8-the first ACK packet time T5.
And step 130, monitoring the quality of the network according to the one-way quality index.
The one-way quality index may be equivalent to a dial testing system index, for example, the link establishment delay may be equivalent to a TCP connection delay in the dial testing system index, the first event delay may be equivalent to a first time delay in the dial testing system index, the download rate may be equivalent to a download rate in the dial testing system index, and the uplink retransmission rate and the downlink retransmission rate may be equivalent to a packet loss rate in the dial testing system index. Therefore, the unidirectional quality index can be used for replacing the index of the dial testing system to monitor the quality of the network.
The link establishment delay and the uplink retransmission rate can be used as key indexes, and the download rate, the first event delay, the response confirmation delay and the downlink retransmission rate can be used as reference indexes.
Specifically, as shown in fig. 3, step 130 includes:
step 131, acquiring a monitoring service of a network;
step 132, establishing a monitoring model according to the one-way quality index and the monitoring service;
and step 133, monitoring the quality of the network according to the monitoring model.
The monitoring service may include one or more of a browsing service, a video service, and a game service. The monitoring service can be input by the user according to the actual monitoring requirement.
The monitoring model is a monitoring model established according to a monitoring task, for example, a monitoring model for browsing business is established according to browsing business, a monitoring model for video business is established according to video business, and a monitoring model for game business is established according to game business. Wherein different monitoring models comprise different quality indicators. For example, the quality indexes of the monitoring models are shown in table 1, wherein, for browsing service, video service, and game service, the monitoring models are usually established by combining the general quality indexes and the service quality indexes.
TABLE 1
Figure BDA0002451703910000081
In step 132, a monitoring model is established according to the one-way quality index and the monitoring service, which may specifically be: establishing a monitoring model for monitoring services only according to corresponding one-way quality indexes in the monitoring services; or, replacing part of two-way quality indexes in the monitoring task with one-way quality indexes, thereby establishing a monitoring model aiming at the monitoring service.
According to the embodiment of the invention, the quality of the network is monitored by acquiring the user access data of the network, calculating the unidirectional quality index based on the TCP connection and the HTTP connection according to the user access data, not only can the actual network condition be reflected by monitoring the network quality based on the full quality index, but also the network quality can be monitored based on the unidirectional quality index, and the method can be directly applied to the network environment of 'asymmetric routing' without modifying the homologous and homoclinic network or associating the data.
In some embodiments, the network quality monitoring method according to the embodiments of the present invention may be implemented by an edge computing technique. The specific implementation mode can be as follows: a network quality monitoring method is deployed on the existing acquisition server without changing the structure and the function of each existing system. The acquisition server comprises an access module, a data module, an analysis module, a statistic module and an acquisition module. The access module is used for accessing a browser, a game application, a video application and the like; the data module is used for storing quality index data through a PostgreSQL database management system; the analysis module is used for performing operations such as quality overview, provincial statistics, TOP IP analysis, historical trend, report form export and the like; the statistic module is used for carrying out analysis and statistics based on user access data and calculating a one-way quality index based on TCP connection and HTTP connection; the acquisition module is used for converting the one-way quality index into a ticket record with a specified format.
The embodiment of the invention not only can be used for monitoring the network quality based on the full quality index to reflect the actual network condition, but also can be used for monitoring the network quality based on the unidirectional quality index, can be directly applied to the network environment of 'asymmetric routing', does not need to carry out homologous and homoclinic network transformation or data post-association, and can be simple, effective and easy to implement by the edge computing technology without increasing hardware or influencing the existing system.
In order to verify that the unidirectional quality index can replace the index of a dial testing system, the link establishment delay, the first event delay, the uplink retransmission rate and the downlink retransmission rate in the unidirectional quality index are respectively compared with the TCP connection delay, the first byte delay and the packet loss rate in the index of the dial testing system, and the method comprises the following steps:
acquiring unidirectional quality indexes and dial testing system indexes of a plurality of samples, and respectively calculating the mean value and sample standard deviation of the unidirectional quality indexes and the dial testing system indexes;
the comparison between the link-establishing delay of the one-way quality index and the TCP connection delay of the dial-up measurement system index is shown in table 2.
TABLE 2
Figure BDA0002451703910000091
Figure BDA0002451703910000101
As can be seen from table 2, the mean value and the fluctuation range of the link establishment delay of the unidirectional quality index and the TCP connection delay of the dial-up measurement system index are very similar, so that the TCP connection delay of the dial-up measurement system index can be replaced by the link establishment delay of the unidirectional quality index.
The comparison between the first event delay of the one-way quality index and the first delay of the dial testing system index is shown in table 3.
TABLE 3
First event delay (ms) First byte time delay (ms) Difference (ms)
Mean value 48.69594 54.68359 -5.99
Sample standard deviation 3.28445 4.59538 4.76
As can be seen from table 3, the mean value and the fluctuation range of the first event time delay of the unidirectional quality index and the first time delay of the dial testing system index are very similar, so the first event time delay of the unidirectional quality index can be used to replace the first time delay of the dial testing system index.
Table 4 shows a ratio of the uplink retransmission rate of the one-way quality indicator to the packet loss rate of the dial-up measurement system indicator.
TABLE 4
Uplink retransmission Rate (%) Packet loss ratio (%) Difference (%)
Mean value 0.0381 0.0333 0.0048
Sample standard deviation 0.3107 0.1802 0.1305
As can be seen from table 4, the average value and the fluctuation range of the uplink retransmission rate of the one-way quality indicator and the packet loss rate of the dial-up measurement system indicator are very similar, so that the uplink retransmission rate of the one-way quality indicator can be used to replace the packet loss rate of the dial-up measurement system indicator.
The comparison between the downlink retransmission rate of the one-way quality index and the packet loss rate of the dial-up measurement system index is shown in table 5.
TABLE 5
Figure BDA0002451703910000102
Figure BDA0002451703910000111
As can be seen from table 5, the downlink retransmission rate of the one-way quality indicator is different from the packet loss rate of the dial-up measurement system indicator, but the downlink retransmission rate of the one-way quality indicator can still be used as the reference indicator.
Therefore, the link establishment delay and the uplink retransmission rate can be used as key indexes, and the download rate, the first event delay, the response confirmation delay and the downlink retransmission rate can be used as reference indexes.
Fig. 4 shows a schematic structural diagram of a network quality monitoring device according to an embodiment of the present invention. As shown in fig. 4, the apparatus 200 includes: an acquisition module 210, a calculation module 220, and a monitoring module 230.
The obtaining module 210 is configured to obtain user access data of a network; the calculation module 220 is configured to calculate a one-way quality indicator based on a TCP connection and an HTTP connection according to the user access data; the monitoring module 230 is configured to perform quality monitoring on the network according to the unidirectional quality indicator.
In an optional manner, the one-way quality indicator includes a link setup delay; the calculation module 220 is specifically configured to: determining first handshake time and third handshake time according to the user access data; and calculating to obtain the link establishment time delay according to the first handshake time and the third handshake time.
In an optional manner, the one-way quality indicator further includes a first event delay; the calculation module 220 is specifically configured to: determining third handshake time and first transaction request time according to the user access data; and calculating the first event time delay according to the first transaction request time and the third handshake time.
In an optional manner, the one-way quality indicator further includes an acknowledgement delay; the calculation module 220 is specifically configured to: determining a first transaction request time and a first response packet time according to the user access data; and calculating the response confirmation time delay according to the first response packet time and the first transaction request time.
In an optional manner, the one-way quality indicator further includes a download rate; the calculation module 220 is specifically configured to: determining the time of a first transaction request and the time of a last response packet according to the user access data; and calculating the downloading rate according to the time of the last response packet and the time of the first transaction request.
In an optional manner, the one-way quality indicator further includes an uplink retransmission rate and a downlink retransmission rate; the calculation module 220 is specifically configured to: respectively determining the number of the retransmitted messages in the uplink direction and the number of the retransmitted messages in the downlink direction according to the user access data; and respectively calculating the uplink retransmission rate and the downlink retransmission rate according to the number of the retransmitted messages in the uplink direction and the number of the retransmitted messages in the downlink direction.
In an optional manner, the monitoring module 230 is specifically configured to: acquiring a monitoring service of the network; establishing a monitoring model according to the one-way quality index and the monitoring service; and monitoring the quality of the network according to the monitoring model.
It should be noted that the network quality monitoring apparatus provided in the embodiments of the present invention is an apparatus capable of executing the network quality monitoring method, and all embodiments of the network quality monitoring method are applicable to the apparatus and can achieve the same or similar beneficial effects.
According to the embodiment of the invention, the quality of the network is monitored by acquiring the user access data of the network, calculating the unidirectional quality index based on the TCP connection and the HTTP connection according to the user access data, not only can the actual network condition be reflected by monitoring the network quality based on the full quality index, but also the network quality can be monitored based on the unidirectional quality index, and the method can be directly applied to the network environment of 'asymmetric routing' without modifying the homologous and homoclinic network or associating the data.
An embodiment of the present invention provides a computer storage medium, where at least one executable instruction is stored in the storage medium, and the executable instruction enables a processor to execute the network quality monitoring method in any of the above method embodiments.
According to the embodiment of the invention, the quality of the network is monitored by acquiring the user access data of the network, calculating the unidirectional quality index based on the TCP connection and the HTTP connection according to the user access data, not only can the actual network condition be reflected by monitoring the network quality based on the full quality index, but also the network quality can be monitored based on the unidirectional quality index, and the method can be directly applied to the network environment of 'asymmetric routing' without modifying the homologous and homoclinic network or associating the data.
An embodiment of the present invention provides a computer program product comprising a computer program stored on a computer storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to perform the network quality monitoring method in any of the above-mentioned method embodiments.
According to the embodiment of the invention, the quality of the network is monitored by acquiring the user access data of the network, calculating the unidirectional quality index based on the TCP connection and the HTTP connection according to the user access data, not only can the actual network condition be reflected by monitoring the network quality based on the full quality index, but also the network quality can be monitored based on the unidirectional quality index, and the method can be directly applied to the network environment of 'asymmetric routing' without modifying the homologous and homoclinic network or associating the data.
Fig. 5 is a schematic structural diagram of a computing device according to an embodiment of the present invention, and the specific embodiment of the present invention does not limit the specific implementation of the computing device.
As shown in fig. 5, the computing device may include: a processor (processor)302, a communication Interface 304, a memory 306, and a communication bus 308.
Wherein: the processor 302, communication interface 304, and memory 306 communicate with each other via a communication bus 308. A communication interface 304 for communicating with network elements of other devices, such as clients or other servers. The processor 302 is configured to execute the program 310, and may specifically execute the network quality monitoring method in any of the method embodiments described above.
In particular, program 310 may include program code comprising computer operating instructions.
The processor 302 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement an embodiment of the present invention. The computing device includes one or more processors, which may be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
And a memory 306 for storing a program 310. Memory 306 may comprise high-speed RAM memory and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
According to the embodiment of the invention, the quality of the network is monitored by acquiring the user access data of the network, calculating the unidirectional quality index based on the TCP connection and the HTTP connection according to the user access data, not only can the actual network condition be reflected by monitoring the network quality based on the full quality index, but also the network quality can be monitored based on the unidirectional quality index, and the method can be directly applied to the network environment of 'asymmetric routing' without modifying the homologous and homoclinic network or associating the data.
The algorithms or displays presented herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. In addition, embodiments of the present invention are not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the embodiments of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the invention and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names. The steps in the above embodiments should not be construed as limiting the order of execution unless specified otherwise.

Claims (10)

1. A method for monitoring network quality, the method comprising:
acquiring user access data of a network;
calculating a one-way quality index based on a TCP connection and an HTTP connection according to the user access data;
and monitoring the quality of the network according to the one-way quality index.
2. The method of claim 1, wherein the one-way quality indicator comprises a link setup delay;
then, said calculating a one-way quality indicator based on a TCP connection and an HTTP connection according to said user access data further comprises:
determining first handshake time and third handshake time according to the user access data;
and calculating to obtain the link establishment time delay according to the first handshake time and the third handshake time.
3. The method of claim 1, wherein the one-way quality indicator further comprises a first event latency;
then, said calculating a one-way quality indicator based on a TCP connection and an HTTP connection according to said user access data further comprises:
determining third handshake time and first transaction request time according to the user access data;
and calculating the first event time delay according to the first transaction request time and the third handshake time.
4. The method of claim 1, wherein the one-way quality indicator further comprises an acknowledgement delay;
then, said calculating a one-way quality indicator based on a TCP connection and an HTTP connection according to said user access data further comprises:
determining a first transaction request time and a first response packet time according to the user access data;
and calculating the response confirmation time delay according to the first response packet time and the first transaction request time.
5. The method of claim 1, wherein the one-way quality indicator further comprises a download rate;
then, said calculating a one-way quality indicator based on a TCP connection and an HTTP connection according to said user access data further comprises:
determining the time of a first transaction request and the time of a last response packet according to the user access data;
and calculating the downloading rate according to the time of the last response packet and the time of the first transaction request.
6. The method of claim 1, wherein the one-way quality indicator further comprises an uplink retransmission rate and a downlink retransmission rate;
then, said calculating a one-way quality indicator based on a TCP connection and an HTTP connection according to said user access data further comprises:
respectively determining the number of the retransmitted messages in the uplink direction and the number of the retransmitted messages in the downlink direction according to the user access data;
and respectively calculating the uplink retransmission rate and the downlink retransmission rate according to the number of the retransmitted messages in the uplink direction and the number of the retransmitted messages in the downlink direction.
7. The method according to any of claims 1-6, wherein said quality monitoring of said network based on said one-way quality indicator further comprises:
acquiring a monitoring service of the network;
establishing a monitoring model according to the one-way quality index and the monitoring service;
and monitoring the quality of the network according to the monitoring model.
8. A network quality monitoring apparatus, the apparatus comprising:
the acquisition module is used for acquiring user access data of a network;
the calculation module is used for calculating a one-way quality index based on the TCP connection and the HTTP connection according to the user access data;
and the monitoring module is used for monitoring the quality of the network according to the unidirectional quality index.
9. A computing device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is configured to store at least one executable instruction that causes the processor to perform the operations of the network quality monitoring method of any one of claims 1-7.
10. A computer storage medium having stored therein at least one executable instruction for causing a processor to perform a method of network quality monitoring as claimed in any one of claims 1 to 7.
CN202010294621.0A 2020-04-15 2020-04-15 Network quality monitoring method and device and computing equipment Pending CN113542044A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010294621.0A CN113542044A (en) 2020-04-15 2020-04-15 Network quality monitoring method and device and computing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010294621.0A CN113542044A (en) 2020-04-15 2020-04-15 Network quality monitoring method and device and computing equipment

Publications (1)

Publication Number Publication Date
CN113542044A true CN113542044A (en) 2021-10-22

Family

ID=78088255

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010294621.0A Pending CN113542044A (en) 2020-04-15 2020-04-15 Network quality monitoring method and device and computing equipment

Country Status (1)

Country Link
CN (1) CN113542044A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114745303A (en) * 2022-03-31 2022-07-12 Oppo广东移动通信有限公司 Method and device for determining network quality, terminal equipment, storage medium and product

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102752792A (en) * 2011-12-26 2012-10-24 华为技术有限公司 Method, device and system for monitoring internet service quality of mobile terminal
US20160344606A1 (en) * 2015-05-19 2016-11-24 Empirix Inc. Method and apparatus to determine network quality
CN106330607A (en) * 2016-08-25 2017-01-11 北京润通丰华科技有限公司 Method and system for estimating TCP connection application quality based on one-way monitoring log
CN106850351A (en) * 2017-02-10 2017-06-13 北京浩瀚深度信息技术股份有限公司 The approximate delay statistics method and device of http business under a kind of asymmetric link environment
CN110365528A (en) * 2019-07-10 2019-10-22 广州瀚信通信科技股份有限公司 A kind of processing complaint analysis method based on home broadband big data
CN110650042A (en) * 2019-09-18 2020-01-03 国网河北省电力有限公司邢台供电分公司 Electric power communication network health degree evaluation method and terminal equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102752792A (en) * 2011-12-26 2012-10-24 华为技术有限公司 Method, device and system for monitoring internet service quality of mobile terminal
US20160344606A1 (en) * 2015-05-19 2016-11-24 Empirix Inc. Method and apparatus to determine network quality
CN106330607A (en) * 2016-08-25 2017-01-11 北京润通丰华科技有限公司 Method and system for estimating TCP connection application quality based on one-way monitoring log
CN106850351A (en) * 2017-02-10 2017-06-13 北京浩瀚深度信息技术股份有限公司 The approximate delay statistics method and device of http business under a kind of asymmetric link environment
CN110365528A (en) * 2019-07-10 2019-10-22 广州瀚信通信科技股份有限公司 A kind of processing complaint analysis method based on home broadband big data
CN110650042A (en) * 2019-09-18 2020-01-03 国网河北省电力有限公司邢台供电分公司 Electric power communication network health degree evaluation method and terminal equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114745303A (en) * 2022-03-31 2022-07-12 Oppo广东移动通信有限公司 Method and device for determining network quality, terminal equipment, storage medium and product

Similar Documents

Publication Publication Date Title
US20210352090A1 (en) Network security monitoring method, network security monitoring device, and system
US9112808B2 (en) Devices, systems, and methods for providing data
KR102076862B1 (en) Network performance indicator visualization method and apparatus, and system
CN100356733C (en) Recording medium, fault analysis device and fault analysis method
CN107624233B (en) VPN transmission tunnel scheduling method and device and VPN client server
US10193908B2 (en) Data transfer for network interaction fraudulence detection
CN109714209B (en) Method and system for diagnosing website access fault
KR20070083389A (en) Interferring server state in a stateless communication protocol
US7171464B1 (en) Method of tracing data traffic on a network
WO2021164261A1 (en) Method for testing cloud network device, and storage medium and computer device
CN111294849B (en) LTE user Internet surfing quality difference judging method and device
CN107992416B (en) Method and device for determining webpage time delay
Luo et al. Design and Implementation of TCP Data Probes for Reliable and Metric-Rich Network Path Monitoring.
CN101764720A (en) Method and system for testing filtration performance
WO2002082727A1 (en) Method for collecting a network performance information, computer readable medium storing the same, and an analysis system and method for network performance
CN103139014B (en) Network quality evaluating method based on bypass and device
CN112118151A (en) Network speed measuring method, device, system, electronic equipment and storage medium
CN113542044A (en) Network quality monitoring method and device and computing equipment
KR20110057529A (en) A system of measuring server's response time by using a dummy request tag and the method thereof
EP2560322A1 (en) Method and apparatus for monitoring network traffic and determining the timing associated with an application
CN112637055B (en) Multi-link aggregation method, system and storage medium based on VPN tunnel
KR102423038B1 (en) Real-time packet data collection method and apparatus for mass network monitoring
CN115987858A (en) Pressure testing method of block chain network and related equipment
KR102027759B1 (en) Network-related new device registration method and apparatus
Toll et al. IoTreeplay: Synchronous Distributed Traffic Replay in IoT Environments

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20211022