CN106850337B - Network quality detection method and device - Google Patents

Network quality detection method and device Download PDF

Info

Publication number
CN106850337B
CN106850337B CN201611247185.1A CN201611247185A CN106850337B CN 106850337 B CN106850337 B CN 106850337B CN 201611247185 A CN201611247185 A CN 201611247185A CN 106850337 B CN106850337 B CN 106850337B
Authority
CN
China
Prior art keywords
network
parameter
terminal
cdn node
service
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
CN201611247185.1A
Other languages
Chinese (zh)
Other versions
CN106850337A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201611247185.1A priority Critical patent/CN106850337B/en
Publication of CN106850337A publication Critical patent/CN106850337A/en
Priority to PCT/CN2017/115561 priority patent/WO2018121237A1/en
Application granted granted Critical
Publication of CN106850337B publication Critical patent/CN106850337B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • 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
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • H04L45/123Evaluation of link metrics

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 invention discloses a network quality detection method, which comprises the following steps: sending a detection task, wherein the detection task is used for instructing acquisition equipment to acquire a parameter set of a first network in a segmented manner, and the parameter set represents transmission parameters of the first network; the first network is an end-to-end network; receiving a parameter set acquired by the acquisition equipment; and analyzing the network quality of the first network by using the parameter set to obtain a network quality detection result of the first network. The invention also discloses a network quality detection device.

Description

Network quality detection method and device
Technical Field
The present invention relates to the field of communications, and in particular, to a method and an apparatus for detecting network quality.
Background
In the end-to-end video service system, there are two main factors affecting the user playing experience: 1. delay and damage of code stream transmission; 2. and (5) interaction delay. These two factors contribute to video quality of service.
The traditional way of measuring the video service quality from a Content Delivery Network (CDN) to a terminal has certain drawbacks: some methods have poor accuracy, some methods have high implementation difficulty and poor flexibility.
In addition, there is no effective measurement scheme for the quality of the network service path from the CDN to the terminal.
Disclosure of Invention
In order to solve the existing technical problem, embodiments of the present invention provide a method and an apparatus for detecting network quality.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides a network quality detection method, which is applied to a server and comprises the following steps:
sending a detection task, wherein the detection task is used for instructing acquisition equipment to acquire a parameter set of a first network in a segmented manner, and the parameter set represents transmission parameters of the first network; the first network is an end-to-end network;
receiving a parameter set acquired by the acquisition equipment;
and analyzing the network quality of the first network by using the parameter set to obtain a network quality detection result of the first network.
In the above scheme, the acquiring device is a terminal, and the receiving the parameter set acquired by the acquiring device includes:
receiving a first parameter and a second parameter sent by a terminal; the first parameter characterizes an end-to-end signaling response delay in the first network; the second parameter characterizes end-to-end data packet transmission delay in the first network; wherein the signaling response delay is obtained according to real-time streaming protocol (RTSP) delay and route tracking (traceroute) delay;
correspondingly, the first parameter and the second parameter are analyzed to obtain a network quality detection result of the first network.
In the above scheme, the method further comprises:
determining network topology path information of the first network corresponding to the terminal according to the network topology structure of the first network and the route gateway information of each hop in the traceroute information;
when the network topology path information represents that at least two end-to-end routing paths exist, the IP address is used as a dimension, the first parameters which are acquired by the terminal and aim at each routing path are converged and analyzed, and the routing points with the maximum and minimum transmission delay in the at least two routing paths are determined;
converging and analyzing second parameters which are acquired by the terminal and aim at each routing path, and determining a network segment with the maximum and minimum transmission time delay between the routes in at least two routing paths;
and determining the routing information of the optimal service path and the worst service path of the terminal based on the determined network segment and the routing point and in combination with the routing service information of the first network.
In the above scheme, the method further comprises:
determining network topology path information of the first network corresponding to the terminal according to the network topology structure of the first network and the route gateway information of each hop in the traceroute information;
when the network topology path information represents that one end-to-end routing path exists, establishing a time-sharing dynamic baseline model according to a first parameter and a second parameter acquired in a preset time period of a terminal; the model embodies the network segment quality of different service time;
and determining the problem point and time when the first network is abnormal in quality on the model.
In the above scheme, the acquisition device includes a first CDN node, a second CDN node, and a terminal; a network between the first CDN node and the terminal is a first network; the second CDN node is a superior node of the first CDN node;
the receiving the parameter set acquired by the acquisition device includes:
receiving a third parameter sent by a second CDN node;
receiving a fourth parameter and a fifth parameter sent by the first CDN node;
receiving a sixth parameter sent by the terminal; the third parameter and the fourth parameter represent service quality indexes of a second CDN node facing a first CDN node link; the fifth parameter and the sixth parameter represent service quality indexes of the first CDN node facing the terminal link;
correspondingly, the third parameter, the fourth parameter, the fifth parameter and the sixth parameter are analyzed to obtain a network quality detection result of the first network.
In the foregoing scheme, the analyzing the third parameter, the fourth parameter, the fifth parameter, and the sixth parameter to obtain the network quality detection result of the first network includes:
and obtaining a network quality detection result of the first network by using the third parameter, the fourth parameter, the fifth parameter and the sixth parameter and combining a set threshold value and a historical trend of a network service link.
In the above scheme, the sending the detection task includes:
and when the playing record of the terminal is abnormal, sending a detection task.
The embodiment of the invention also provides a network quality detection method, which is applied to a terminal and comprises the following steps:
receiving a detection task; the detection task is used for indicating a terminal to acquire a parameter set of a first network in a segmented mode, and the parameter set represents transmission parameters of the first network; the first network is an end-to-end network where the terminal is located;
responding to the detection task, and collecting a first parameter and a second parameter; the first parameter characterizes an end-to-end signaling response delay in the first network; the second parameter characterizes end-to-end data packet transmission delay in the first network; wherein, the signaling response time delay is obtained according to the RTSP time delay and the traceroute time delay;
and sending the first parameter and the second parameter.
In the foregoing scheme, the acquiring the first parameter includes:
sending an RTSP request to a first CDN node; the first CDN node is an opposite end of the terminal;
sending a traceroute request to the first CDN node;
determining RTSP time delay according to the transmitted RTSP request and the receiving state of RTSP response; determining traceroute delay according to the sent traceroute request and the receiving state of the traceroute response;
and obtaining the first parameter by utilizing RTSP time delay and traceroute time delay.
In the foregoing solution, the obtaining the first parameter by using the RTSP time delay and the traceroute time delay includes:
and obtaining the first parameter by calculating the difference between the RTSP time delay and the traceroute time delay.
In the foregoing scheme, the acquiring the second parameter includes:
and acquiring the time delay of the IP packet from the first CDN node to the terminal to obtain the second parameter.
The embodiment of the invention also provides a network quality detection method, which is applied to acquisition equipment, and the method comprises the following steps:
receiving a detection task; the detection task is used for instructing the acquisition equipment to acquire a parameter set of a first network in a segmented mode, and the parameter set characterizes transmission parameters of the first network;
responding to the detection task, and acquiring a service quality index of a corresponding link according to the position of the detection task in the first network and the end-to-end network service link direction;
and sending the collected service quality index.
In the above scheme, the acquiring the service quality indicator of the corresponding link includes:
acquiring an IP address and a port of the service link;
capturing a data packet by using an IP address and a port;
and analyzing the captured data packet to obtain the service quality index of the corresponding link.
In the above scheme, when the collection device is a terminal, the capturing a data packet by using an IP address and a port includes:
capturing a data packet in the incoming direction of the terminal by using an IP address and a port; wherein the content of the first and second substances,
the first network is an end-to-end network where the terminal is located; the obtained service quality index is a sixth parameter.
In the foregoing solution, when the acquisition device is a first CDN node, capturing a data packet by using an IP address and a port includes:
capturing data packets in the incoming direction and the outgoing direction of the first CDN node by using an IP address and a port; wherein the content of the first and second substances,
the network between the first CDN node and the terminal is a first network, and the obtained service quality indexes are a fourth parameter and a fifth parameter; and the fifth parameter and the sixth parameter represent the service quality index of the first CDN node facing the terminal link.
In the foregoing solution, when the acquisition device is a second CDN node, capturing a data packet by using an IP address and a port includes:
capturing a data packet in the outgoing direction of the second CDN node by using an IP address and a port; wherein the content of the first and second substances,
the second CDN node is a superior node of the first CDN node, and the obtained service quality index is a third parameter; and the third parameter and the fourth parameter represent the service quality index of the second CDN node facing the first CDN node link.
The embodiment of the invention also provides a network quality detection device, which comprises:
the device comprises a first sending unit and a second sending unit, wherein the first sending unit is used for sending a detection task, and the detection task is used for indicating acquisition equipment to acquire parameter sets of a first network in a segmented mode, and the parameter sets represent transmission parameters of the first network; the first network is an end-to-end network;
the first receiving unit is used for receiving the parameter set acquired by the acquisition equipment;
and the analysis unit is used for analyzing the network quality of the first network by using the parameter set to obtain a network quality detection result of the first network.
In the foregoing solution, the first receiving unit is specifically configured to:
receiving a first parameter and a second parameter sent by a terminal; the first parameter characterizes an end-to-end signaling response delay in the first network; the second parameter characterizes end-to-end data packet transmission delay in the first network; the signaling response time delay is obtained according to a real-time streaming protocol (RTSP) time delay and a route tracking time delay;
and the analysis unit is used for analyzing the first parameter and the second parameter to obtain a network quality detection result of the first network.
In the foregoing solution, the analysis unit is further configured to:
determining network topology path information of the first network corresponding to the terminal according to the network topology structure of the first network and the route gateway information of each hop in the traceroute information;
when the network topology path information represents that at least two end-to-end routing paths exist, according to the network topology structure of the first network, taking an IP address as a dimension, converging and analyzing a first parameter which is acquired by a terminal and aims at each routing path, and determining routing points with the maximum and minimum transmission delay in the at least two routing paths;
converging and analyzing second parameters which are acquired by the terminal and aim at each routing path, and determining a network segment with the maximum and minimum transmission time delay between the routes in at least two routing paths; and
and determining the routing information of the optimal service path and the worst service path of the terminal based on the determined network segment and the routing point and in combination with the routing service information of the first network.
In the foregoing solution, the analysis unit is further configured to:
determining network topology path information of the first network corresponding to the terminal according to the network topology structure of the first network and the route gateway information of each hop in the traceroute information;
when the network topology path information represents that one end-to-end routing path exists, establishing a time-sharing dynamic baseline model according to a first parameter and a second parameter acquired in a preset time period of a terminal; the model embodies the network segment quality of different service time;
and determining the problem point and time when the first network is abnormal in quality on the model.
In the above scheme, the acquisition device includes a first CDN node, a second CDN node, and a terminal; a network between the first CDN node and the terminal is a first network; the second CDN node is a superior node of the first CDN node; the first receiving unit is specifically configured to:
receiving a third parameter sent by a second CDN node;
receiving a fourth parameter and a fifth parameter sent by the first CDN node;
receiving a sixth parameter sent by the terminal; the third parameter and the fourth parameter represent service quality indexes of a second CDN node facing a first CDN node link; the fifth parameter and the sixth parameter represent service quality indexes of the first CDN node facing the terminal link;
the analysis unit is specifically configured to: and analyzing the third parameter, the fourth parameter, the fifth parameter and the sixth parameter to obtain a network quality detection result of the first network.
An embodiment of the present invention further provides a network quality detection apparatus, including:
a second receiving unit, configured to receive a detection task; the detection task is used for indicating a terminal to acquire a parameter set of a first network in a segmented mode, and the parameter set represents transmission parameters of the first network; the first network is an end-to-end network where the terminal is located;
the first acquisition unit is used for responding to the detection task and acquiring a first parameter and a second parameter; the first parameter characterizes an end-to-end signaling response delay in the first network; the second parameter characterizes end-to-end data packet transmission delay in the first network; wherein, the signaling response time delay is obtained according to the RTSP time delay and the traceroute time delay;
and the second sending unit is used for sending the first parameter and the second parameter.
In the foregoing scheme, the first acquisition unit is specifically configured to:
sending an RTSP request to a first CDN node; the first CDN node is an opposite end of the terminal;
sending a traceroute request to the first CDN node;
determining RTSP time delay according to the transmitted RTSP request and the receiving state of RTSP response; determining traceroute delay according to the sent traceroute request and the receiving state of the traceroute response;
and obtaining the first parameter by utilizing RTSP time delay and traceroute time delay.
In the foregoing scheme, the first acquisition unit is specifically configured to:
and acquiring the time delay of the IP packet from the first CDN node to the terminal to obtain the second parameter.
The embodiment of the invention also provides a network quality detection device, which comprises:
a third receiving unit, configured to receive a detection task; the detection task is used for instructing the acquisition equipment to acquire a parameter set of a first network in a segmented mode, and the parameter set characterizes transmission parameters of the first network;
the second acquisition unit is used for responding to the detection task and acquiring the service quality index of the corresponding link according to the position of the second acquisition unit in the first network and the end-to-end network service link direction;
and the third sending unit is used for sending the collected service quality indexes.
In the foregoing scheme, the second acquisition unit is specifically configured to:
acquiring an IP address and a port of the service link;
capturing a data packet by using an IP address and a port;
and analyzing the captured data packet to obtain the service quality index of the corresponding link.
The network quality detection method and device provided by the embodiment of the invention send a detection task, wherein the detection task is used for indicating acquisition equipment to acquire parameter sets of a first network in a segmented manner, and the parameter sets represent transmission parameters of the first network; the first network is an end-to-end network; receiving a parameter set acquired by the acquisition equipment; and analyzing the network quality of the first network by using the parameter set to obtain a network quality detection result of the first network, and detecting the network segments, so that the network quality can be accurately and quickly detected.
Drawings
In the drawings, which are not necessarily drawn to scale, like reference numerals may describe similar components in different views. Like reference numerals having different letter suffixes may represent different examples of similar components. The drawings illustrate generally, by way of example, but not by way of limitation, various embodiments discussed herein.
FIG. 1 is a flow chart of a method for network quality detection according to an embodiment of the present invention;
FIG. 2 is a flow chart of another method for network quality detection according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for network quality detection according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a network quality detection apparatus according to a second embodiment of the present invention;
FIG. 5 is a schematic diagram of another network quality detection apparatus according to another embodiment of the present invention;
FIG. 6 is a schematic diagram of a second network quality detection apparatus according to another embodiment of the present invention;
FIG. 7 is a schematic diagram of a three-system architecture according to an embodiment of the present invention;
fig. 8 is a schematic diagram illustrating a process of acquiring request routing information and a time delay from a terminal to an access network of a CDN system according to an embodiment of the present invention;
fig. 9 is a schematic flow chart of a transmission delay detection and analysis method from a three-CDN system to a terminal according to an embodiment of the present invention;
fig. 10 is a schematic diagram illustrating a process of acquiring a service quality indicator of a unicast service link from a CDN system to a terminal according to an embodiment of the present invention;
fig. 11 is a schematic diagram of three unicast service links according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples.
The traditional methods for measuring the video service quality from the CDN to the terminal mainly include the following two methods:
the first mode is as follows: and counting, summarizing and calculating the service quality of the CDN and the access network based on the reported terminal indexes.
This approach starts from the statistics and summary results of the data, and gives the reason for the possibility, and the processing method has certain defects: firstly, analysis based on large-scale set-top box data volume is needed, because the larger the set-top box data volume is, the higher the reliability of the analysis result is; secondly, since the analyzed data is only the data of the set-top box itself and does not relate to the data of the network, when the possible reasons are more, the more the user has difficulty in analyzing, the more accurate positioning cannot be performed.
The second mode is as follows: and capturing packets on the intermediate transmission network and then performing code stream matching analysis to obtain service quality.
The method has complex operation difficulty, and the independent code stream from the CDN to the set-top box is difficult to match, so the flexibility is poor.
From the above description, it can be seen that the current measures all have certain drawbacks: some measuring methods have poor accuracy, and some measuring methods have high implementation difficulty and poor flexibility.
In addition, at present, the quality of a network service path from the CDN to the terminal cannot be measured effectively.
Based on this, in various embodiments of the invention: sending a detection task, wherein the detection task is used for instructing acquisition equipment to acquire a parameter set of a first network in a segmented manner, and the parameter set represents transmission parameters of the first network; the first network is an end-to-end network; receiving a parameter set acquired by the acquisition equipment; and analyzing the network quality of the first network by using the parameter set to obtain a network quality detection result of the first network.
Example one
An embodiment of the present invention provides a network quality detection method, which is applied to a server, and as shown in fig. 1, the method includes:
step 101: sending a detection task;
here, the detection task is used for instructing the acquisition device to acquire a parameter set of a first network in a segmented mode, wherein the parameter set characterizes transmission parameters of the first network; the first network is an end-to-end network.
In practical application, the first network may be a video service network from a CDN node to a terminal.
Step 102: receiving a parameter set acquired by the acquisition equipment;
step 103: and analyzing the network quality of the first network by using the parameter set to obtain a network quality detection result of the first network.
In practical application, one expression form of network quality is interaction delay (transmission delay), so that the interaction delay of the network needs to be acquired in a segmented manner, so as to analyze the network quality.
Based on this, in an embodiment, when the acquisition device is a terminal, the specific implementation of step 102 includes:
the server receives a first parameter and a second parameter sent by the terminal; the first parameter characterizes an end-to-end signaling response delay in the first network; the second parameter characterizes end-to-end data packet transmission delay in the first network; wherein, the signaling response time delay is obtained according to the RTSP time delay and the traceroute time delay.
Correspondingly, in step 103, the server analyzes the first parameter and the second parameter to obtain a network quality detection result of the first network.
In this embodiment, when there are at least two end-to-end routing paths, the routing paths may also be presented based on the collected parameter set.
Based on this, the method may further comprise:
the server determines network topology path information of the first network corresponding to the terminal according to the network topology structure of the first network and the routing gateway information of each hop in the traceroute information;
when the network topology path information represents that at least two end-to-end routing paths exist, the server uses the IP address as a dimension to converge and analyze first parameters, collected by the terminal, for each routing path, and determines routing points with the maximum and minimum transmission delay in the at least two routing paths;
converging and analyzing second parameters which are acquired by the terminal and aim at each routing path, and determining a network segment with the maximum and minimum transmission time delay between the routes in at least two routing paths;
and determining the routing information of the optimal service path and the worst service path of the terminal based on the determined network segment and the routing point and in combination with the routing service information of the first network.
Certainly, when the network topology path information represents that one end-to-end routing path exists, the server may establish a time-sharing dynamic baseline model according to a first parameter and a second parameter acquired within a preset time period of the terminal; the model embodies the network segment quality of different service time;
and determining the problem point and time when the first network is abnormal in quality on the model.
Another expression of the network quality is the transmission quality of the codestream (network service path quality), so the transmission quality of the network needs to be acquired in sections so as to analyze the network quality.
Based on this, in an embodiment, the acquisition device includes a first CDN node, a second CDN node, and a terminal; a network between the first CDN node and the terminal is a first network; the second CDN node is a superior node of the first CDN node; the specific implementation of step 102 may include:
the server receives a third parameter sent by the second CDN node;
the server receives a fourth parameter and a fifth parameter sent by the first CDN node;
the server receives a sixth parameter sent by the terminal; the third parameter and the fourth parameter represent service quality indexes of a second CDN node facing a first CDN node link; and the fifth parameter and the sixth parameter represent the service quality index of the first CDN node facing the terminal link.
Correspondingly, in step 103, the server analyzes the third parameter, the fourth parameter, the fifth parameter and the sixth parameter to obtain a network quality detection result of the first network.
Wherein, the analyzing the third parameter, the fourth parameter, the fifth parameter and the sixth parameter to obtain the network quality detection result of the first network includes:
and obtaining a network quality detection result of the first network by using the third parameter, the fourth parameter, the fifth parameter and the sixth parameter and combining a set threshold value and a historical trend of a network service link.
For the detection of the transmission quality, the sending down of the detection task can be triggered according to the playing record of the terminal.
Based on this, in an embodiment, the specific implementation of step 101 includes:
and when the playing record of the terminal is abnormal, the server sends a detection task.
Correspondingly, in order to implement the network quality detection method of the embodiment of the present invention, the acquisition device is required to acquire corresponding parameters.
Therefore, an embodiment of the present invention further provides a network quality detection method, which is applied to a terminal, and as shown in fig. 2, the method includes:
step 201: receiving a detection task;
here, the detection task is used for instructing the terminal to acquire a parameter set of the first network in a segmented manner, wherein the parameter set characterizes transmission parameters of the first network; the first network is an end-to-end network where the terminal is located.
Step 202: responding to the detection task, and collecting a first parameter and a second parameter;
here, the first parameter characterizes an end-to-end signaling response delay in the first network; the second parameter characterizes an end-to-end data packet transmission delay in the first network.
Wherein, the signaling response time delay is obtained according to the RTSP time delay and the traceroute time delay.
The acquiring of the first parameter comprises:
sending an RTSP request to a first CDN node; the first CDN node is an opposite end of the terminal;
sending a traceroute request to the first CDN node;
determining RTSP time delay according to the transmitted RTSP request and the receiving state of RTSP response; determining traceroute delay according to the sent traceroute request and the receiving state of the traceroute response;
and obtaining the first parameter by utilizing RTSP time delay and traceroute time delay.
Wherein, the obtaining the first parameter by using the RTSP time delay and the traceroute time delay includes:
and obtaining the first parameter by calculating the difference between the RTSP time delay and the traceroute time delay.
The acquiring of the second parameter comprises:
and acquiring the time delay of the IP packet from the first CDN node to the terminal to obtain the second parameter.
Step 203: and sending the first parameter and the second parameter.
An embodiment of the present invention further provides a network quality detection method, which is applied to an acquisition device, and as shown in fig. 3, the method further includes:
step 301: receiving a detection task;
here, the detection task is configured to instruct the acquisition device to acquire a set of parameters of a first network segment, the set of parameters characterizing transmission parameters of the first network.
Step 302: responding to the detection task, and acquiring a service quality index of a corresponding link according to the position of the detection task in the first network and the end-to-end network service link direction;
specifically, an IP address and a port of the service link are obtained;
capturing a data packet by using an IP address and a port;
and analyzing the captured data packet to obtain the service quality index of the corresponding link.
Here, when the acquiring device is a terminal, the capturing a data packet by using an IP address and a port includes:
capturing a data packet in the incoming direction of the terminal by using an IP address and a port; wherein the content of the first and second substances,
the first network is an end-to-end network where the terminal is located; the obtained service quality index is a sixth parameter.
When the acquisition device is a first CDN node, capturing a data packet using an IP address and a port includes:
capturing data packets in the incoming direction and the outgoing direction of the first CDN node by using an IP address and a port; wherein the content of the first and second substances,
a network between the first CDN node and the terminal is a first network; the obtained service quality indexes are the fourth parameter and the fifth parameter.
When the acquisition device is a second CDN node, capturing a data packet using the IP address and the port includes:
capturing a data packet in the outgoing direction of the second CDN node by using an IP address and a port; wherein the content of the first and second substances,
the second CDN node is a superior node of the first CDN node; the obtained service quality index is a third parameter.
That is, the second CDN node is a dependent node of the first CDN node.
The fifth parameter and the sixth parameter represent service quality indexes of the first CDN node facing the terminal link; and the third parameter and the fourth parameter represent the service quality index of the second CDN node facing the first CDN node link.
Step 303: and sending the collected service quality index.
The network quality detection method provided by the embodiment of the invention comprises the steps of sending a detection task, wherein the detection task is used for indicating acquisition equipment to acquire parameter sets of a first network in a segmented manner, and the parameter sets represent transmission parameters of the first network; the first network is an end-to-end network; receiving a parameter set acquired by the acquisition equipment; and analyzing the network quality of the first network by using the parameter set to obtain a network quality detection result of the first network, and detecting the network segments, so that the network quality can be accurately and quickly detected.
In addition, a third parameter sent by a second CDN node is received; receiving a fourth parameter and a fifth parameter sent by the first CDN node; receiving a sixth parameter sent by the terminal; the third parameter and the fourth parameter represent service quality indexes of a second CDN node facing a first CDN node link; the fifth parameter and the sixth parameter represent service quality indexes of the first CDN node facing the terminal link; correspondingly, the third parameter, the fourth parameter, the fifth parameter and the sixth parameter are analyzed to obtain a network quality detection result of the first network, and a service link segment is detected, so that the end-to-end network service path quality can be detected accurately and quickly.
Example two
To implement the method of the embodiment of the present invention, the embodiment provides a network quality detection apparatus, which is disposed in a server, and as shown in fig. 4, the apparatus includes:
a first sending unit 41, configured to send a detection task, where the detection task is used to instruct a collection device to collect a parameter set of a first network in a segmented manner, where the parameter set represents a transmission parameter of the first network; the first network is an end-to-end network;
a first receiving unit 42, configured to receive the parameter set acquired by the acquisition device;
an analyzing unit 43, configured to analyze the network quality of the first network by using the parameter set, so as to obtain a network quality detection result of the first network.
In practical application, the first network may be a video service network from a CDN node to a terminal.
In practical application, one expression of network quality is interaction delay (transmission delay), so that the interaction delay of the network needs to be acquired in a segmented manner, so as to analyze the network quality.
Based on this, in an embodiment, the first receiving unit 42 is specifically configured to:
when the acquisition equipment is a terminal, receiving a first parameter and a second parameter sent by the terminal; the first parameter characterizes an end-to-end signaling response delay in the first network; the second parameter characterizes end-to-end data packet transmission delay in the first network; wherein, the signaling response time delay is obtained according to the RTSP time delay and the traceroute time delay;
the analysis unit 43 is configured to analyze the first parameter and the second parameter to obtain a network quality detection result of the first network.
In this embodiment, when there are at least two end-to-end routing paths, the routing paths may be further presented based on the collected parameter set, and the analysis unit 43 is further configured to:
determining network topology path information of the first network corresponding to the terminal according to the network topology structure of the first network and the route gateway information of each hop in the traceroute information;
when the network topology path information represents that at least two end-to-end routing paths exist, according to the network topology structure of the first network, taking an IP address as a dimension, converging and analyzing a first parameter which is acquired by a terminal and aims at each routing path, and determining routing points with the maximum and minimum transmission delay in the at least two routing paths;
converging and analyzing second parameters which are acquired by the terminal and aim at each routing path, and determining a network segment with the maximum and minimum transmission time delay between the routes in at least two routing paths; and
and determining the routing information of the optimal service path and the worst service path of the terminal based on the determined network segment and the routing point and in combination with the routing service information of the first network.
Of course, when the network topology path information represents that there is one end-to-end routing path, the analysis unit 43 may establish a time-sharing dynamic baseline model according to the first parameter and the second parameter acquired within the preset time period of the terminal; the model embodies the network segment quality of different service time;
and determining the problem point and time when the first network is abnormal in quality on the model.
Another expression of the network quality is the transmission quality of the codestream (network service path quality), so the transmission quality of the network needs to be acquired in sections so as to analyze the network quality.
Based on this, in an embodiment, the acquisition device includes a first CDN node, a second CDN node, and a terminal; a network between the first CDN node and the terminal is a first network; the second CDN node is a superior node of the first CDN node; the first receiving unit 42 is specifically configured to:
the server receives a third parameter sent by the second CDN node;
the server receives a fourth parameter and a fifth parameter sent by the first CDN node;
the server receives a sixth parameter sent by the terminal; the third parameter and the fourth parameter represent service quality indexes of a second CDN node facing a first CDN node link; the fifth parameter and the sixth parameter represent service quality indexes of the first CDN node facing the terminal link;
the analysis unit 43 is specifically configured to: and analyzing the third parameter, the fourth parameter, the fifth parameter and the sixth parameter to obtain a network quality detection result of the first network.
Wherein, the analyzing the third parameter, the fourth parameter, the fifth parameter and the sixth parameter to obtain the network quality detection result of the first network includes:
the analysis unit 43 obtains a network quality detection result of the first network by using the third parameter, the fourth parameter, the fifth parameter, and the sixth parameter, and by combining the set threshold and the historical trend of the network service link.
For the detection of the transmission quality, the sending down of the detection task can be triggered according to the playing record of the terminal.
Based on this, in an embodiment, when the play record of the terminal is abnormal, the first sending unit 41 sends the detection task.
In practical applications, the first sending unit 41 and the first receiving unit 42 may be implemented by a processor in the network quality detection apparatus in combination with a transceiver; the analysis unit 43 may be implemented by a processor in the network quality detection apparatus.
In order to implement the method according to the embodiment of the present invention, this embodiment further provides a network quality detection apparatus, which is disposed at a terminal, and as shown in fig. 5, the apparatus includes:
a second receiving unit 51 for receiving a detection task; the detection task is used for indicating a terminal to acquire a parameter set of a first network in a segmented mode, and the parameter set represents transmission parameters of the first network; the first network is an end-to-end network where the terminal is located;
a first collecting unit 52, configured to collect a first parameter and a second parameter in response to the detection task; the first parameter characterizes an end-to-end signaling response delay in the first network; the second parameter characterizes end-to-end data packet transmission delay in the first network; wherein, the signaling response time delay is obtained according to the RTSP time delay and the traceroute time delay;
a second sending unit 53, configured to send the first parameter and the second parameter.
The first acquisition unit 52 is specifically configured to:
sending an RTSP request to a first CDN node; the first CDN node is an opposite end of the terminal;
sending a traceroute request to the first CDN node;
determining RTSP time delay according to the transmitted RTSP request and the receiving state of RTSP response; determining traceroute delay according to the sent traceroute request and the receiving state of the traceroute response;
and obtaining the first parameter by utilizing RTSP time delay and traceroute time delay.
Wherein, the obtaining the first parameter by using the RTSP time delay and the traceroute time delay includes:
the first acquiring unit 52 calculates a difference between the RTSP delay and the traceroute delay to obtain the first parameter.
The first collecting unit 52 is specifically configured to:
and acquiring the time delay of the IP packet from the first CDN node to the terminal to obtain the second parameter.
In practical applications, the second receiving unit 51 and the second sending unit 53 may be implemented by a transceiver in a network quality detection device; the first acquisition unit 52 may be implemented by a processor in conjunction with a transceiver in a network quality detection device.
This embodiment also provides a network quality detection device, set up at the collection equipment, as shown in fig. 6, the device includes:
a third receiving unit 61 for receiving a detection task; the detection task is used for instructing the acquisition equipment to acquire a parameter set of a first network in a segmented mode, and the parameter set characterizes transmission parameters of the first network;
a second collecting unit 62, configured to respond to the detection task, and collect a service quality indicator of a corresponding link according to a position of the second collecting unit in the first network and an end-to-end network service link direction;
and a third sending unit 63, configured to send the collected qos indicator.
Wherein, the second acquisition unit is specifically configured to:
acquiring an IP address and a port of the service link;
capturing a data packet by using an IP address and a port;
and analyzing the captured data packet to obtain the service quality index of the corresponding link.
When the acquisition device is a terminal, the capturing of the data packet by using the IP address and the port includes:
the second acquisition unit 62 captures a data packet in the incoming direction of the terminal by using an IP address and a port; wherein the content of the first and second substances,
the first network is an end-to-end network where the terminal is located; the obtained service quality index is a sixth parameter.
When the acquisition device is a first CDN node, capturing a data packet using an IP address and a port includes:
the second acquisition unit 62 captures data packets in the ingress and egress directions of the first CDN node by using an IP address and a port; wherein the content of the first and second substances,
a network between the first CDN node and the terminal is a first network; the obtained service quality indexes are the fourth parameter and the fifth parameter.
When the acquisition device is a second CDN node, capturing a data packet using the IP address and the port includes:
the second acquisition unit 62 captures a data packet in the egress direction of the second CDN node by using an IP address and a port; wherein the content of the first and second substances,
the second CDN node is a superior node of the first CDN node; the obtained service quality index is a third parameter.
That is, the second CDN node is a dependent node of the first CDN node.
The fifth parameter and the sixth parameter represent service quality indexes of the first CDN node facing the terminal link; and the third parameter and the fourth parameter represent the service quality index of the second CDN node facing the first CDN node link.
In practical applications, the third receiving unit 61 and the third transmitting unit 63 may be implemented by a transceiver in a network quality detection device; the second acquisition unit 62 may be implemented by a processor in the network quality detection device.
EXAMPLE III
On the basis of the first and second embodiments, the present embodiment describes in detail the network quality detection process according to the embodiment of the present invention.
In this embodiment, the end-to-end network is a CDN node-to-terminal network.
From the view of the whole networking process of the terminal video service, the related network elements and devices comprise: the system comprises CDN nodes, a bearer network, an access network and terminal equipment; based on the networking architecture, in the embodiment of the invention, a video network service quality index system from a CDN system to a terminal is established from two aspects, and specifically, the network service quality is detected from two aspects of code stream transmission and interaction delay. Wherein, the interaction time delay means: the transmission delay from the CDN system to the terminal; the code stream transmission refers to: and transmitting the code stream in the CDN system and comparing and analyzing the transmission quality of the code stream from the CDN system to the terminal.
Fig. 7 is a schematic diagram of the system architecture according to the present embodiment. As can be seen in fig. 7, the core component comprises eight parts, respectively: the system comprises a system task management module, a data issuing and receiving module, a data analysis module, a bearer network data acquisition module, an access network data acquisition module, a CDN node data acquisition module and a terminal data acquisition module. Wherein the content of the first and second substances,
the system task management module, the data issuing and receiving module and the data analysis module are deployed on a server, namely are deployed locally, and the bearer network data acquisition module, the access network data acquisition module, the CDN node data acquisition module and the terminal data acquisition module are deployed remotely.
The system task management module is responsible for managing and scheduling the acquisition tasks of the data acquisition modules; that is, the management system is synchronous with the task management and task of each data acquisition module;
the data issuing and receiving module is used for issuing acquisition tasks, receiving data acquired by each data acquisition module and analyzing the received acquired data so as to enable the data analysis module to analyze the data;
the data analysis module is mainly used for analyzing the network quality based on the data acquired by each data acquisition module;
the bearer network data acquisition module is mainly used for acquiring resources of the bearer network, including resource grouping, routing information and the like, so that the topological structure of the bearer network can be obtained;
the access network data acquisition module is mainly used for acquiring resources of the access network, including resource grouping, routing information and the like, so that the topological structure of the access network can be obtained.
In practical application, a http + json (the format of the reported collected data is json format) mode can be adopted for task issuing and data reporting, a synchronous message interface can be adopted for starting and stopping the collection task, and an asynchronous message interface can be adopted for reporting the collected data.
Based on the system structure shown in fig. 7, a method for detecting and analyzing the transmission delay from the CDN system to the terminal is described below.
First, a process of collecting request routing information and time delay from a terminal to an access network of a CDN system is described.
As shown in fig. 8, the process mainly includes:
step 801: the system task management module issues a time delay analysis task to the terminal;
step 802: after receiving the task, a terminal data acquisition module of the terminal initiates an RTSP request to the CDN system and acquires the time delay of RTSP response;
here, the collected RTSP response delay may be referred to as RTSP delay, and may be considered as a kind of protocol signaling type information.
Step 803: the terminal data acquisition module initiates a traceroute request to the CDN system and acquires traceroute information and corresponding time delay;
here, the collected traceroute information includes related information such as gateway hop.
Step 804: and the terminal data acquisition module initiates an IP packet transmission delay analysis task, and specifically records the IP packet delay from the CDN node to the terminal.
And after the task is finished, the acquired data result is reported to the data analysis module through the data issuing and receiving module so as to analyze the data.
As can be seen from the above description, in the process of acquiring request routing information and time delay from a terminal to an access network of a CDN system, first, a terminal data acquisition module initiates a test request and performs basic data acquisition; and then, analyzing RTSP time delay, traceroute time delay and IP packet time delay from the CDN node to the terminal based on the acquired basic data, and finally reporting the time delay analysis result to a data analysis module.
And after the data analysis module obtains the parameters of RTSP time delay, traceroute time delay and IP packet time delay from the CDN node to the terminal reported by the terminal data acquisition module, analyzing the parameters and analyzing the network quality detection result from the CDN system to the network of the terminal.
Specifically, first, the data analysis module calculates a signaling response (request response of the CDN node to the terminal) delay of the CDN system according to the traceroute delay and the RTSP delay, and calculates a data packet transmission delay from the CDN node to the terminal using the delay of the IP packet.
The method comprises the steps that data packet transmission delay from a CDN node to a terminal is equal to Transmission Control Protocol (TCP) link establishment delay + IP packet transmission delay;
the signaling response delay of the CDN system is RTSP delay-total delay of the traceroute.
Then, analyzing a network quality detection result of a network from the CDN system to the terminal according to the calculated result;
specifically, for the signaling response delay of the CDN system, when the signaling response delay of the CDN system exhibits a degradation trend (through a set threshold and a transverse time comparison, it can be known whether the signaling response delay of the CDN system exhibits the degradation trend), whether the degradation is due to the influence of the CDN system itself or due to an intermediate network is analyzed, and when the RTSP delay exhibits the degradation trend (through a set threshold and a transverse time comparison, it can be known whether the RTSP delay exhibits the degradation trend), it indicates that the load of the CDN system itself is high, so that a case of lengthening the response time or overtime occurs for the response of the terminal. When the RTSP time delay is normal, which indicates that it is the reason for the intermediate network, it can use the gateway information of each hop in the traceroute and the time delay of each hop, and by means of the set threshold and the transverse time comparison, it can know which route path is abnormal.
For the data transmission delay, when the packet transmission delay is degraded (through the set threshold and the transverse time comparison, it can be known whether the packet transmission delay shows a degradation trend), it indicates that the CDN node is in normal service and the intermediate transmission network is unstable.
In summary, as shown in fig. 9, the method for detecting and analyzing the transmission delay from the CDN system to the terminal mainly includes:
firstly, a terminal sends an RTSP request to a CDN node, acquires RTSP time delay, counts traceroute information from the terminal to a CDN system and corresponding time delay, and counts data packet transmission time delay from the CDN node to the terminal (step 901);
then, comparing the obtained RTSP time delay, data packet transmission time delay, and traceroute time delay with a threshold and a horizontal time (step 902);
and finally, obtaining a transmission delay analysis result from the CDN system to the terminal (step 903).
In addition, during actual application, the data analysis module can also provide routing service conditions of various levels from the CDN system to the terminal intermediate network.
Specifically, the system task management module initiates a batch time delay collection process shown in fig. 8 to the terminal to record the traceroute information and the time delay condition, RTSP time delay, and data packet transmission time delay corresponding to each service route, and the data analysis module may perform convergence analysis with an IP address as a dimension according to the resources collected by the bearer network data collection module and the access network data collection module and the route gateway information of each hop in the traceroute information to obtain network topology path information from the CDN system to the terminal, compare CDN service conditions of the network between the CDN system and the terminal, count the routing information of an optimal service path and a worst service path, and count and analyze long-period data to analyze sudden change and discrete conditions and a degradation trend, thereby providing a reference suggestion for improving network service quality to adjust and optimize the network.
Here, the manner of statistical analysis includes:
for the multi-path situation, 1, taking an IP address as a dimension under a multi-network path, attributing delay convergence by utilizing traceroute delay and RTSP delay, and finding out a routing point with the maximum transmission delay so as to embody the routing quality;
2. converging transmission time delay (data packet transmission time delay) among the routes under the multi-network path, finding out the maximum time delay network section transmitted among the routes, and reflecting the quality of the network section between the routes;
3. according to the 2 pieces of summarized data, network path information from the set top box (terminal) to the CDN node and the CDN node is combined, and the worst network path, routing point and transmission network among routes are counted.
Aiming at a single fixed network path, a time-sharing dynamic baseline model is established, the network segment quality in different service time is reflected, the delay distribution rule is memorized and learned, and when the network is abnormally cracked, discrete problem points and time when the network is abnormally cracked are selected according to the threshold value set by mean square error.
Based on the system structure shown in fig. 7, the following describes a method for detecting and analyzing the code stream transmission quality (network service path quality) from the CDN system to the terminal.
Specifically, the embodiment of the invention provides a network quality monitoring mode of a unicast service link from a CDN system to a terminal.
First, a process of acquiring a service quality indicator of a unicast service link from a CDN system to a terminal is described.
As shown in fig. 10, the process involves modules that mainly include: the system comprises a system task management module, a terminal data acquisition module and a CDN node data acquisition module. With reference to fig. 10, the process mainly includes:
firstly, a system task management module issues a video index acquisition task to a terminal, and a terminal data acquisition module of the terminal acquires a media IP address and a port of a current service code stream in real time and reports the media IP address and the port to a system task management module end for recording;
specifically, the terminal acquires an IP address and a port from the RTSP message and reports the IP address and the port to the system task management module.
Then, starting a first CDN node (service node) to send an RTSP request to a second CDN node (dependent node of the first CDN node) by using the IP address obtained by the system task management module, and establishing a code stream service connection;
after the step is completed, network service links from the terminal to the first CDN node and the second CDN node are formed.
Then, the system task management module synchronously issues a network quality analysis task to the terminal, the first CDN node and the second node;
finally, a terminal data acquisition module of the terminal acquires network quality indexes of terminal access directions on the service link, a CDN node data acquisition module (CDN1 node data acquisition module) of a first CDN node acquires network quality indexes of the access directions and the exit directions of the first CDN node on the service link, and a CDN node (CDN2 node data acquisition module) data acquisition module of a second CDN node acquires network quality indexes of the access directions of the second CDN node on the service link.
Here, the network quality indexes acquired by the terminal and the CDN node are realized based on tcpdump, and only the corresponding tcpdump parameter needs to be obtained, but the acquisition directions of the devices are different in the implementation.
Specifically, as shown in fig. 11, the service link can be divided into: a service link 111 between CDN nodes and a service link 112 between a CDN node and a terminal.
Then, the acquiring of the network quality index of the service link between the CDN nodes includes: the second CDN node takes an IP address and a port (port) as outgoing access parameters of the second CDN node, and obtains an outgoing network quality index in a tcpdump packet capturing mode; the first CDN node takes an IP address and a port (port) as an entry parameter of the node to the tcpdump, and obtains an entry network quality index in a tcpdump packet capturing mode; and synthesizing the network quality indexes obtained by the first CDN node and the second CDN node to obtain the service link network quality indexes among the CDN nodes.
The acquisition of the network quality index of the service link between the CDN node and the terminal comprises the following steps: the first CDN node takes an IP address and a port (port) as outgoing access parameters of the node and accesses the tcpdump, and obtains an outgoing network quality index in a tcpdump packet capturing mode; the terminal takes an IP address and a port (port) as an entry-direction tcpdump entry parameter of the node, obtains an entry-direction network quality index in a tcpdump packet capturing mode, and synthesizes the network quality indexes obtained by the first CDN node and the terminal to obtain a service link network quality index between the CDN node and the terminal.
The network quality index may include: network throughput, packet loss, jitter, retransmission, link establishment duration, and other parameters. The network quality indicator may be referred to as TCP-like information.
And then, the data analysis module analyzes the network quality indexes acquired by each device in real time and transversely compares the network quality indexes in real time so as to analyze the degradation trend and position of the network quality of the code stream.
That is, the data analysis module compares and analyzes the network quality indexes collected in real time with the historical trend of the network service quality of a single user service, so as to analyze the degradation condition and the degradation position. Specifically, the collected network quality indexes (TCP link establishment time, network throughput, packet loss, jitter, retransmission and the like) are subjected to correlation comparison of multidimensional data.
The comparison results are given below in connection with the scenario.
Application scenario 1: terminal initial playing scene
Under normal conditions, the client side downloads the data as much as possible, and the network quality index conditions are as follows:
a transmission layer: the TCP link establishment time is short, and the TCP retransmission rate is low.
Application scenario 2: terminal normal playing scene
Under the normal condition of the scene, the client downloads at a constant speed, and the network quality index conditions are as follows:
a transmission layer: the TCP link establishment time is short, the TCP retransmission rate is low, the packet loss rate is low, and the code streams of the transmitting end and the receiving end are basically consistent.
Application scenario 3: network packet loss severe scene
In this scenario, network packet loss causes blocking, and the network quality index conditions are as follows:
a transmission layer: the packet loss rate is high, the difference of the code receiving and transmitting rate is large, the TCP link establishment time fluctuates, the TCP retransmission rate is high and fluctuates irregularly, and the jitter is large.
Application scenario 4: scene of insufficient network speed or speed limit
Under the scene, the network speed is not enough to cause blocking, and the network quality index conditions are as follows:
a transmission layer: the TCP link establishment time is stable, the TCP retransmission rate is not high but stable, and the download code rate is low.
Application scenario 5: CDN node server performance deficiency scenario
Under this scenario, because of the performance problem of the CDN server, the session processing is not timely performed, which causes a jam, and the network quality index conditions are as follows:
a transmission layer: the TCP link establishment time is short, the TCP retransmission rate is not high, the packet loss rate is low, and the RTSP time delay abnormal fluctuation is sometimes very high.
In practical application, according to the playing record of the terminal, when the playing record is abnormal, the system task management module is intelligently linked with the terminal data acquisition module of the set top box and the CDN node data acquisition module of the CDN node, a single-path code stream service active diagnosis process is initiated, and a diagnosis result is given by the data analysis module, so that a one-key type detection and problem positioning mechanism aiming at the network service quality is provided.
It can be seen from the above description that, in the network quality monitoring mode of the unicast service link from the CDN system to the terminal, the terminal initiates an RTSP signaling to request for issuing a code stream in real time for a single video, the serving CDN node initiates an RTSP signaling request to the dependent CDN node to form a real-time unicast service link, the service link is subjected to packet capture analysis to obtain the service quality indicators of the CDN node in and out and the service quality indicator of the terminal, and transverse comparison analysis is performed on the service quality indicator item transmitted by the video network on the link to determine the location of degradation of network service quality.
In summary, the solution provided in the embodiment of the present invention detects the network segment, so that the quality of the video network from the CDN to the terminal can be detected more quickly and accurately.
In addition, the service link segmentation can be detected, so that the end-to-end network service path quality can be detected accurately and quickly.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (17)

1. A network quality detection method is applied to a server, and the method comprises the following steps:
sending a detection task, wherein the detection task is used for indicating acquisition equipment to acquire parameter sets of a first network in a segmented manner, and the acquisition equipment comprises a CDN node of the first content delivery network, a second CDN node and a terminal; a network between the first CDN node and the terminal is a first network; the second CDN node is a superior node of the first CDN node; the parameter set comprises a third parameter, a fourth parameter, a fifth parameter and a sixth parameter, wherein the third parameter and the fourth parameter represent service quality indexes of a second CDN node facing a first CDN node link; the fifth parameter and the sixth parameter represent service quality indexes of the first CDN node facing the terminal link;
receiving a third parameter sent by a second CDN node;
receiving a fourth parameter and a fifth parameter sent by the first CDN node; receiving a sixth parameter sent by the terminal;
and analyzing the network quality of the first network by using the parameter set to obtain a network quality detection result of the first network.
2. The method of claim 1, wherein the acquisition device is a terminal, and wherein the receiving the parameter set acquired by the acquisition device comprises:
receiving a first parameter and a second parameter sent by a terminal; the first parameter characterizes an end-to-end signaling response delay in the first network; the second parameter characterizes end-to-end data packet transmission delay in the first network; the signaling response time delay is obtained according to a real-time streaming protocol (RTSP) time delay and a route tracking time delay;
correspondingly, the first parameter and the second parameter are analyzed to obtain a network quality detection result of the first network.
3. The method of claim 2, further comprising:
determining network topology path information of the first network corresponding to the terminal according to the network topology structure of the first network and the route gateway information of each hop in the traceroute information;
when the network topology path information represents that at least two end-to-end routing paths exist, the IP address is used as a dimension, the first parameters which are acquired by the terminal and aim at each routing path are converged and analyzed, and the routing points with the maximum and minimum transmission delay in the at least two routing paths are determined;
converging and analyzing second parameters which are acquired by the terminal and aim at each routing path, and determining a network segment with the maximum and minimum transmission time delay between the routes in at least two routing paths;
and determining the routing information of the optimal service path and the worst service path of the terminal based on the determined network segment and the routing point and in combination with the routing service information of the first network.
4. The method of claim 2, further comprising:
determining network topology path information of the first network corresponding to the terminal according to the network topology structure of the first network and the route gateway information of each hop in the traceroute information;
when the network topology path information represents that one end-to-end routing path exists, establishing a time-sharing dynamic baseline model according to a first parameter and a second parameter acquired in a preset time period of a terminal; the model embodies the network segment quality of different service time;
and determining the problem point and time when the first network is abnormal in quality on the model.
5. The method of claim 4, wherein analyzing the third parameter, the fourth parameter, the fifth parameter, and the sixth parameter to obtain the network quality detection result of the first network comprises:
and obtaining a network quality detection result of the first network by using the third parameter, the fourth parameter, the fifth parameter and the sixth parameter and combining a set threshold value and a historical trend of a network service link.
6. The method of claim 4, wherein sending a detection task comprises:
and when the playing record of the terminal is abnormal, sending a detection task.
7. A network quality detection method is applied to acquisition equipment, and comprises the following steps:
receiving a detection task; the detection task is used for indicating the acquisition equipment to acquire the parameter set of the first network in a segmented mode, and the acquisition equipment comprises a first Content Delivery Network (CDN) node, a second CDN node and a terminal; a network between the first CDN node and the terminal is a first network; the second CDN node is a superior node of the first CDN node; the parameter set comprises a third parameter, a fourth parameter, a fifth parameter and a sixth parameter, wherein the third parameter and the fourth parameter represent service quality indexes of a second CDN node facing a first CDN node link; the fifth parameter and the sixth parameter represent service quality indexes of the first CDN node facing the terminal link;
responding to the detection task, and acquiring a service quality index of a corresponding link according to the position of the detection task in the first network and the end-to-end network service link direction;
and sending the collected service quality index.
8. The method of claim 7, wherein the collecting the qos indicator of the corresponding link comprises:
acquiring an IP address and a port of the service link;
capturing a data packet by using an IP address and a port;
and analyzing the captured data packet to obtain the service quality index of the corresponding link.
9. The method of claim 8, wherein when the collection device is a terminal, the capturing the data packet using the IP address and the port comprises:
capturing a data packet in the incoming direction of the terminal by using an IP address and a port; wherein the content of the first and second substances,
the first network is an end-to-end network where the terminal is located; the obtained service quality index is a sixth parameter.
10. The method of claim 9, wherein capturing the data packet using the IP address and the port when the acquisition device is the first CDN node comprises:
capturing data packets in the incoming direction and the outgoing direction of the first CDN node by using an IP address and a port; wherein the content of the first and second substances,
the network between the first CDN node and the terminal is a first network, and the obtained service quality indexes are a fourth parameter and a fifth parameter; and the fifth parameter and the sixth parameter represent the service quality index of the first CDN node facing the terminal link.
11. The method of claim 10, wherein capturing the data packet using the IP address and the port when the acquisition device is a second CDN node comprises:
capturing a data packet in the outgoing direction of the second CDN node by using an IP address and a port; wherein the content of the first and second substances,
the second CDN node is a superior node of the first CDN node, and the obtained service quality index is a third parameter; and the third parameter and the fourth parameter represent the service quality index of the second CDN node facing the first CDN node link.
12. An apparatus for network quality detection, the apparatus comprising:
the device comprises a first sending unit, a second sending unit and a terminal, wherein the first sending unit is used for sending a detection task, the detection task is used for indicating acquisition equipment to acquire parameter sets of a first network in a segmented mode, and the acquisition equipment comprises a CDN node of a first content delivery network, a second CDN node and the terminal; a network between the first CDN node and the terminal is a first network; the second CDN node is a superior node of the first CDN node; the parameter set comprises a third parameter, a fourth parameter, a fifth parameter and a sixth parameter, wherein the third parameter and the fourth parameter represent service quality indexes of a second CDN node facing a first CDN node link; the fifth parameter and the sixth parameter represent service quality indexes of the first CDN node facing the terminal link;
the first receiving unit is used for receiving a third parameter sent by the second CDN node, receiving a fourth parameter and a fifth parameter sent by the first CDN node, and receiving a sixth parameter sent by the terminal;
and the analysis unit is used for analyzing the network quality of the first network by using the parameter set to obtain a network quality detection result of the first network.
13. The apparatus of claim 12, wherein the first receiving unit is specifically configured to:
receiving a first parameter and a second parameter sent by a terminal; the first parameter characterizes an end-to-end signaling response delay in the first network; the second parameter characterizes end-to-end data packet transmission delay in the first network; the signaling response time delay is obtained according to a real-time streaming protocol (RTSP) time delay and a route tracking time delay;
and the analysis unit is used for analyzing the first parameter and the second parameter to obtain a network quality detection result of the first network.
14. The apparatus of claim 13, wherein the analysis unit is further configured to:
determining network topology path information of the first network corresponding to the terminal according to the network topology structure of the first network and the route gateway information of each hop in the traceroute information;
when the network topology path information represents that at least two end-to-end routing paths exist, according to the network topology structure of the first network, taking an IP address as a dimension, converging and analyzing a first parameter which is acquired by a terminal and aims at each routing path, and determining routing points with the maximum and minimum transmission delay in the at least two routing paths;
converging and analyzing second parameters which are acquired by the terminal and aim at each routing path, and determining a network segment with the maximum and minimum transmission time delay between the routes in at least two routing paths; and
and determining the routing information of the optimal service path and the worst service path of the terminal based on the determined network segment and the routing point and in combination with the routing service information of the first network.
15. The apparatus of claim 12, wherein the analysis unit is further configured to:
determining network topology path information of the first network corresponding to the terminal according to the network topology structure of the first network and the route gateway information of each hop in the traceroute information;
when the network topology path information represents that one end-to-end routing path exists, establishing a time-sharing dynamic baseline model according to a first parameter and a second parameter acquired in a preset time period of a terminal; the model embodies the network segment quality of different service time;
and determining the problem point and time when the first network is abnormal in quality on the model.
16. An apparatus for network quality detection, the apparatus comprising:
a third receiving unit, configured to receive a detection task; the detection task is used for indicating acquisition equipment to acquire parameter sets of a first network in a segmented mode, and the acquisition equipment comprises a first Content Delivery Network (CDN) node, a second CDN node and a terminal; a network between the first CDN node and the terminal is a first network; the second CDN node is a superior node of the first CDN node; the parameter set comprises a third parameter, a fourth parameter, a fifth parameter and a sixth parameter, wherein the third parameter and the fourth parameter represent service quality indexes of a second CDN node facing a first CDN node link; the fifth parameter and the sixth parameter represent service quality indexes of the first CDN node facing the terminal link;
the second acquisition unit is used for responding to the detection task and acquiring the service quality index of the corresponding link according to the position of the second acquisition unit in the first network and the end-to-end network service link direction;
and the third sending unit is used for sending the collected service quality indexes.
17. The apparatus according to claim 16, wherein the second acquisition unit is specifically configured to:
acquiring an IP address and a port of the service link;
capturing a data packet by using an IP address and a port;
and analyzing the captured data packet to obtain the service quality index of the corresponding link.
CN201611247185.1A 2016-12-29 2016-12-29 Network quality detection method and device Active CN106850337B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201611247185.1A CN106850337B (en) 2016-12-29 2016-12-29 Network quality detection method and device
PCT/CN2017/115561 WO2018121237A1 (en) 2016-12-29 2017-12-12 Network quality detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611247185.1A CN106850337B (en) 2016-12-29 2016-12-29 Network quality detection method and device

Publications (2)

Publication Number Publication Date
CN106850337A CN106850337A (en) 2017-06-13
CN106850337B true CN106850337B (en) 2020-07-03

Family

ID=59113515

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611247185.1A Active CN106850337B (en) 2016-12-29 2016-12-29 Network quality detection method and device

Country Status (2)

Country Link
CN (1) CN106850337B (en)
WO (1) WO2018121237A1 (en)

Families Citing this family (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106850337B (en) * 2016-12-29 2020-07-03 中兴通讯股份有限公司 Network quality detection method and device
CN108449232B (en) * 2018-03-25 2022-01-14 上海德载信息技术有限公司 Network speed self-adaptive control method
CN110324162B (en) * 2018-03-29 2021-10-15 华为技术有限公司 Method, device and system for detecting service quality
EP3782338A1 (en) * 2018-05-11 2021-02-24 Huawei Technologies Co., Ltd. Control plane entity and management plane entity for exchaning network slice instance data for analytics
CN110890972B (en) * 2018-09-07 2022-06-28 中国移动通信集团浙江有限公司 Health degree evaluation method and device of business system
CN109688031B (en) * 2019-03-04 2020-11-03 腾讯科技(深圳)有限公司 Network monitoring method and related equipment
CN110380938A (en) * 2019-08-07 2019-10-25 重庆金美通信有限责任公司 A kind of multidimensional converged network monitoring method based on programmable model
CN111031403B (en) * 2019-11-05 2022-01-18 网宿科技股份有限公司 Method, system and equipment for detecting stuck
CN112866042B (en) * 2019-11-12 2023-07-18 中兴通讯股份有限公司 Network quality detection method, device, computer equipment and computer readable medium
CN111049700B (en) * 2019-11-19 2023-01-10 深圳明心科技有限公司 Network transmission management method and system
CN111147323A (en) * 2019-12-17 2020-05-12 中国联合网络通信集团有限公司 Speed measuring method and device
CN111147328A (en) * 2019-12-26 2020-05-12 怀来斯达铭数据有限公司 Network quality monitoring method and system
CN113139146B (en) * 2020-01-17 2023-07-21 中国移动通信集团浙江有限公司 Website quality assessment method and device and computing equipment
CN111740857B (en) * 2020-05-29 2023-12-26 新华三信息安全技术有限公司 Method and device for issuing Network Quality Analysis (NQA) configuration
CN111901825B (en) * 2020-08-11 2023-02-24 中国联合网络通信集团有限公司 Wireless communication network quality evaluation method and device based on network quality slice
CN112333756B (en) * 2020-09-14 2024-02-27 咪咕文化科技有限公司 Regional network quality monitoring method, system, electronic equipment and storage medium
CN112702222B (en) * 2020-12-03 2022-10-21 南京暴走团电子商务有限公司 Network quality detection device based on internet technology development
CN112994956B (en) * 2021-04-23 2021-07-16 广东省新一代通信与网络创新研究院 Network remote sensing acquisition method and system based on topology optimization
CN113542064B (en) * 2021-07-13 2023-02-28 北京字跳网络技术有限公司 Network path determination method, network path determination device, electronic apparatus, network path determination medium, and program product
CN114143251B (en) * 2021-12-08 2023-10-13 北京天融信网络安全技术有限公司 Intelligent routing method, intelligent routing device, electronic equipment and computer readable storage medium
CN115150302B (en) * 2022-06-29 2023-12-29 中国电子科技集团公司第五十四研究所 End-to-end satellite network performance measurement method
CN116056245B (en) * 2022-07-19 2023-10-20 荣耀终端有限公司 Data scheduling method, device and computer readable storage medium
CN117997800A (en) * 2022-11-04 2024-05-07 中兴通讯股份有限公司 Time delay determining method and device, electronic equipment and storage medium
CN116244081B (en) * 2023-03-10 2023-09-19 苏州亿铸智能科技有限公司 Multi-core calculation integrated accelerator network topology structure control system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101145977A (en) * 2006-09-11 2008-03-19 中兴通讯股份有限公司 A QoS monitoring system and its measuring method of IP data network
CN102143389A (en) * 2011-04-22 2011-08-03 赛特斯网络科技(南京)有限责任公司 Quality assurance (QA) system and method of internet protocol television (IPTV) services
CN102340802A (en) * 2010-07-14 2012-02-01 中国联合网络通信集团有限公司 Service quality monitoring method and system
CN102439905A (en) * 2011-09-30 2012-05-02 华为技术有限公司 Method, device and system of finding network topology automatically
CN102857799A (en) * 2012-09-14 2013-01-02 乐视网信息技术(北京)股份有限公司 Set top box fault diagnosis method
CN103813182A (en) * 2014-01-28 2014-05-21 苏州工业园区科升通讯有限公司 System and method for QOS (quality of service) monitoring of IPTV (internet protocol television) services
CN105024868A (en) * 2014-04-17 2015-11-04 北京视联动力国际信息技术有限公司 Network quality detection method and network quality detection system for video Internet

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6978223B2 (en) * 2001-09-06 2005-12-20 Bbnt Solutions Llc Systems and methods for network performance measurement using packet signature collection
KR100400431B1 (en) * 2002-04-18 2003-10-04 Willtek Corp System for measuring radio environment in mobile communication terminal
CN106850337B (en) * 2016-12-29 2020-07-03 中兴通讯股份有限公司 Network quality detection method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101145977A (en) * 2006-09-11 2008-03-19 中兴通讯股份有限公司 A QoS monitoring system and its measuring method of IP data network
CN102340802A (en) * 2010-07-14 2012-02-01 中国联合网络通信集团有限公司 Service quality monitoring method and system
CN102143389A (en) * 2011-04-22 2011-08-03 赛特斯网络科技(南京)有限责任公司 Quality assurance (QA) system and method of internet protocol television (IPTV) services
CN102439905A (en) * 2011-09-30 2012-05-02 华为技术有限公司 Method, device and system of finding network topology automatically
CN102857799A (en) * 2012-09-14 2013-01-02 乐视网信息技术(北京)股份有限公司 Set top box fault diagnosis method
CN103813182A (en) * 2014-01-28 2014-05-21 苏州工业园区科升通讯有限公司 System and method for QOS (quality of service) monitoring of IPTV (internet protocol television) services
CN105024868A (en) * 2014-04-17 2015-11-04 北京视联动力国际信息技术有限公司 Network quality detection method and network quality detection system for video Internet

Also Published As

Publication number Publication date
CN106850337A (en) 2017-06-13
WO2018121237A1 (en) 2018-07-05

Similar Documents

Publication Publication Date Title
CN106850337B (en) Network quality detection method and device
EP2530870B1 (en) Systems and methods for measuring quality of experience for media streaming
EP3518494B1 (en) System and method for quality of service detection of encrypted packet flows
US8934371B2 (en) Monitoring broadcast and multicast streaming service
US7653005B2 (en) Method, device and system for monitoring network performance
EP3295612B1 (en) Uplink performance management
WO2014166523A1 (en) Method and apparatus for generating insight into the customer experience of web based applications
US20110176429A1 (en) Method, arrangement and system for monitoring a data path in a communication network
US11936930B2 (en) Data processing method, server, and data collection device
Madanapalli et al. Inferring netflix user experience from broadband network measurement
US9635569B2 (en) Method and apparatus for measuring end-to-end service level agreement in service provider network
US20120110012A1 (en) Estimating User-Perceived TCP Throughput
Szilágyi et al. Network side lightweight and scalable YouTube QoE estimation
CN102325060A (en) Link bandwidth test method and router
Dinh-Xuan et al. Study on the accuracy of QoE monitoring for HTTP adaptive video streaming using VNF
CN116346634A (en) State sensing information processing method and device of network management and control system and electronic equipment
CA2742038C (en) Systems and methods for measuring quality of experience for media streaming
US20140086091A1 (en) Method, apparatus, and system for analyzing network transmission characteristic
JP5923914B2 (en) Network state estimation apparatus and network state estimation program
JP2005110038A (en) Congestion detecting device, and method for detecting congestion of tcp traffic, and program
CN113453024A (en) Method, device and system for monitoring service
US20230198878A1 (en) Method and system for network segment performance monitoring
CN110380912B (en) Large-scale network link performance measuring method and system based on SNMP
KR20150033820A (en) Recording Medium, Method for Detecting Surge in Control Packet Traffic
Fallon Huang et al.

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