WO2018121237A1 - Network quality detection method and device - Google Patents

Network quality detection method and device Download PDF

Info

Publication number
WO2018121237A1
WO2018121237A1 PCT/CN2017/115561 CN2017115561W WO2018121237A1 WO 2018121237 A1 WO2018121237 A1 WO 2018121237A1 CN 2017115561 W CN2017115561 W CN 2017115561W WO 2018121237 A1 WO2018121237 A1 WO 2018121237A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
parameter
terminal
delay
cdn node
Prior art date
Application number
PCT/CN2017/115561
Other languages
French (fr)
Chinese (zh)
Inventor
王�琦
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2018121237A1 publication Critical patent/WO2018121237A1/en

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

Definitions

  • the present invention relates to the field of communications, and in particular, to a network quality detecting method and apparatus.
  • CDN content distribution network
  • an embodiment of the present invention provides a network quality detecting method and apparatus.
  • the embodiment of the invention provides a network quality detection method, which is applied to a server, and the method includes:
  • the detecting task is used to instruct the collecting device to collect the parameter set of the first network, the parameter set characterizing the transmission parameter of the first network;
  • the first network is an end-to-end network;
  • the network quality of the first network is analyzed by using the parameter set to obtain a network quality detection result of the first network.
  • the collecting device is a terminal, and the receiving the parameter set collected by the collecting device includes:
  • the terminal Receiving, by the terminal, a first parameter and a second parameter; the first parameter characterizing an end-to-end signaling response delay in the first network; and the second parameter characterizing an end-to-end data packet in the first network a transmission delay; wherein the signaling response delay is obtained according to a Real Time Streaming Protocol (RTSP) delay and a traceroute delay;
  • RTSP Real Time Streaming Protocol
  • the method further includes:
  • the first parameter collected by the terminal for each routing path is aggregated and analyzed by using the IP address as a dimension, and at least two routing paths are determined.
  • the method further includes:
  • the time-sharing dynamic baseline model is established according to the first parameter and the second parameter collected in the preset time period of the terminal; the model represents a network with different service time.
  • the collecting 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; and a second CDN node is a superior node of the first CDN node;
  • Receiving the parameter set collected by the collection device including:
  • 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 including:
  • the network quality detection result of the first network is obtained.
  • sending a detection task includes:
  • the detection task is sent.
  • the embodiment of the invention further provides a network quality detecting method, which is applied to a terminal, and the method includes:
  • the detecting task is used to instruct the terminal to collect the parameter set of the first network, the parameter set characterizing the transmission parameter of the first network; and the first network is the end-to-end where the terminal is located The internet;
  • the detecting task collecting a first parameter and a second parameter; the first parameter characterizing an end-to-end signaling response delay in the first network; and the second parameter characterizing the first network end to The data packet transmission delay of the terminal; wherein the signaling response delay is obtained according to the RTSP delay and the traceroute delay;
  • the first parameter and the second parameter are issued.
  • the collecting the first parameter includes:
  • the first CDN node is the peer end of the terminal
  • the first parameter is obtained using RTSP delay and traceroute delay.
  • the using the RTSP delay and the traceroute delay to obtain the first parameter including:
  • the RTSP delay is delayed from the traceroute delay to obtain the first parameter.
  • the collecting the second parameter includes:
  • the time delay of collecting the IP packet of the first CDN node to the terminal is obtained, and the second parameter is obtained.
  • the embodiment of the invention further provides a network quality detection method, which is applied to an acquisition device, and the method includes:
  • the detecting task is used to instruct the collecting device to collect a parameter set of the first network, and the parameter set is used to represent a transmission parameter of the first network;
  • the collecting the service quality indicator of the corresponding link includes:
  • the captured data packet is analyzed to obtain a service quality indicator of the corresponding link.
  • the capturing the data packet by using the IP address and the port includes:
  • the packet is captured at the inbound direction of the terminal;
  • the first network is an end-to-end network where the terminal is located; the obtained quality of service indicator is The sixth parameter.
  • the collecting device is the first CDN node
  • the capturing the data packet by using the IP address and the port includes:
  • the network between the first CDN node and the terminal is the first network, and the obtained quality of service indicator is the fourth parameter and the fifth parameter; the fifth parameter and the sixth parameter are used to represent the quality of service indicator of the first CDN node facing the terminal link.
  • the collecting device is a second CDN node
  • the capturing the data packet by using the IP address and the port includes:
  • the packet is fetched in the outbound direction of the second CDN node
  • the second CDN node is a superior node of the first CDN node, and the obtained quality of service indicator is a third parameter; the third parameter and the fourth parameter represent a quality of service indicator of the second CDN node facing the first CDN node link.
  • the embodiment of the invention further provides a network quality detecting device, comprising:
  • the first sending unit is configured to send a detection task, where the detecting task is used to instruct the collecting device to collect the parameter set of the first network, and the parameter set is used to represent the transmission parameter of the first network; End-to-end network;
  • a first receiving unit configured to receive a parameter set collected by the collecting device
  • the analyzing unit is configured to analyze the network quality of the first network by using the parameter set to obtain a network quality detection result of the first network.
  • the first receiving unit is configured to:
  • the terminal Receiving, by the terminal, a first parameter and a second parameter; the first parameter characterizing an end-to-end signaling response delay in the first network; and the second parameter characterizing an end-to-end data packet in the first network a transmission delay; wherein the signaling response delay is obtained according to a real-time streaming protocol RTSP delay and a route tracking traceroute delay;
  • the analyzing unit is configured to analyze the first parameter and the second parameter to obtain a network quality detection result of the first network.
  • the analyzing unit is further configured to:
  • the first parameter collected by the terminal for each routing path is performed by using the IP address as a dimension. Convergence and analysis to determine the routing point with the largest and smallest transmission delay in at least two routing paths;
  • the analyzing unit is further configured to:
  • the time-sharing dynamic baseline model is established according to the first parameter and the second parameter collected in the preset time period of the terminal; the model represents a network with different service time.
  • the collecting 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; and a second CDN node is a superior node of the first CDN node;
  • the first receiving unit is set to:
  • the analyzing unit is configured to: analyze the third parameter, the fourth parameter, the fifth parameter, and the sixth parameter to obtain a network quality detection result of the first network.
  • the embodiment of the invention further provides a network quality detecting device, comprising:
  • a second receiving unit configured to receive a detection task, where the detecting task is used to instruct the terminal to collect a parameter set of the first network, the parameter set characterizing a transmission parameter of the first network, where the first network is The end-to-end network where the terminal is located;
  • the first collecting unit is configured to: collect the first parameter and the second parameter in response to the detecting task; the first parameter represents an end-to-end signaling response delay in the first network; and the second parameter representation An end-to-end packet transmission delay in the first network; wherein the signaling response delay is obtained according to an RTSP delay and a traceroute delay;
  • the second sending unit is configured to issue the first parameter and the second parameter.
  • the first collection unit is configured to:
  • the first CDN node is the peer end of the terminal
  • the first parameter is obtained using RTSP delay and traceroute delay.
  • the first collection unit is configured to:
  • the time delay of collecting the IP packet of the first CDN node to the terminal is obtained, and the second parameter is obtained.
  • the embodiment of the invention further provides a network quality detecting device, comprising:
  • a third receiving unit configured to receive a detection task, where the detecting task is used to instruct the collecting device to collect a parameter set of the first network, and the parameter set represents a transmission parameter of the first network;
  • the second collecting unit is configured to: in response to the detecting task, collect a service quality indicator of the corresponding link according to the location of the first network and the end-to-end network service link direction;
  • the third sending unit is configured to issue the collected quality of service indicator.
  • the second collection unit is configured to:
  • the captured data packet is analyzed to obtain a service quality indicator of the corresponding link.
  • the embodiment of the present invention further provides a storage medium, where the storage medium includes a stored program, wherein the program is executed to perform the method described in any one of the above.
  • the embodiment of the present invention further provides a processor, the processor is configured to run a program, wherein the program is executed to perform the method described in any one of the above.
  • the network quality detection method and device provided by the embodiment of the present invention sends a detection task, where the detection task is used to instruct the collection device to collect a parameter set of the first network, and the parameter set characterizes the transmission parameter of the first network;
  • the first network is an end-to-end network; receiving a parameter set collected by the collection device; using the parameter set, analyzing network quality of the first network, and obtaining network quality detection result of the first network
  • the network segmentation is detected, so that the network quality can be detected accurately and quickly.
  • FIG. 1 is a schematic flowchart of a method for network quality detection according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of another method for network quality detection according to Embodiment 1 of the present invention.
  • FIG. 3 is a schematic flowchart of a method for network quality detection according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a network quality detecting apparatus according to Embodiment 2 of the present invention.
  • FIG. 5 is a schematic structural diagram of another network quality detecting apparatus according to Embodiment 2 of the present invention.
  • FIG. 6 is a schematic structural diagram of another network quality detecting apparatus according to Embodiment 2 of the present invention.
  • FIG. 7 is a schematic structural diagram of a third embodiment of the present invention.
  • FIG. 8 is a schematic diagram of a process for collecting request routing information and delay of an access network from a terminal to a CDN system according to Embodiment 3 of the present invention.
  • FIG. 9 is a schematic flowchart of a method for detecting and analyzing a transmission delay of a CDN system to a terminal according to Embodiment 3 of the present invention.
  • FIG. 10 is a schematic diagram of a process for collecting a QoS service link quality indicator of a CDN system to a terminal according to Embodiment 3 of the present invention
  • FIG. 11 is a schematic diagram of a third unicast service link according to an embodiment of the present invention.
  • the first way is to calculate and calculate the service quality of the CDN and the access network based on the reported terminal indicators.
  • This method starts from the statistics and summary results of the data, and gives the possibility.
  • the processing method has certain defects: First, it needs to be based on the large-scale set-top box data volume analysis. This is because the larger the data volume of the set-top box, the analysis result. The higher the reliability is. Secondly, since the analyzed data is only the data of the set-top box itself and does not involve the data of the network, when there are many reasons for the possibility, the more difficult the user analysis is, the accurate positioning cannot be performed.
  • the second way is to capture packets on the intermediate transmission network and then perform code stream matching analysis to obtain the quality of service.
  • the current measurement methods have certain defects: some measurement methods have poor accuracy, and some measurement methods are difficult to implement and have poor flexibility.
  • the following solution is adopted: sending a detection task, the detecting task is used to instruct the collecting device to collect the parameter set of the first network, and the parameter set characterizes the first a transmission parameter of the network; the first network is an end-to-end network; receiving a parameter set collected by the collection device; using the parameter set, analyzing network quality of the first network, obtaining the first network Network quality test results.
  • the embodiment of the invention provides a network quality detection method, which is applied to a server. As shown in FIG. 1 , the method includes:
  • Step 101 Send a detection task.
  • the detecting task is used to instruct the collecting device to collect the parameter set of the first network, the parameter set characterizing the transmission parameter of the first network; and the first network is an end-to-end network.
  • the actual network may be a CDN node-to-terminal video service network.
  • Step 102 Receive a parameter set collected by the collection device.
  • Step 103 Analyze the network quality of the first network by using the parameter set, and obtain a network quality detection result of the first network.
  • one form of network quality is interactive delay (transmission delay), so the interactive delay of the network needs to be collected in stages to analyze the network quality.
  • step 102 when the collecting device is a terminal, the specific implementation of step 102 includes:
  • the server receives the first parameter and the second parameter sent by the terminal; the first parameter represents an end-to-end signaling response delay in the first network; and the second parameter represents a middle end of the first network
  • step 103 the server analyzes the first parameter and the second parameter to obtain a network quality detection result of the first network.
  • the routing path may also be presented based on the collected parameter set.
  • the method may further include:
  • the server uses the IP address as a dimension to aggregate and analyze the first parameters collected by the terminal for each routing path, and determine at least two routes.
  • the server may establish a time-sharing dynamic baseline model according to the first parameter and the second parameter collected in the preset time period of the terminal; Network segmentation quality of service time;
  • network quality Another form of network quality is the transmission quality of the code stream (network service path quality), so the transmission quality of the network needs to be collected in stages to analyze the network quality.
  • the collecting 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; and a second CDN node is a first CDN node.
  • the superior node; the specific implementation of step 102 may include:
  • the server receives the fourth parameter and the fifth parameter sent by the first CDN node;
  • the server receives the sixth parameter sent by the terminal; the third parameter and the fourth parameter represent a quality of service indicator of the second CDN node facing the first CDN node link; and the fifth parameter and the sixth parameter represent the first CDN node oriented terminal chain Road quality of service indicators.
  • 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.
  • the 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 including:
  • the network quality detection result of the first network is obtained.
  • the detection task can be triggered according to the playback record of the terminal.
  • step 101 includes:
  • the server sends a detection task.
  • the collection device needs to collect corresponding parameters.
  • the embodiment of the present invention further provides a network quality detecting method, which is applied to a terminal, as shown in FIG. 2, the method includes:
  • Step 201 Receive a detection task.
  • the detecting task is used to instruct the terminal to collect the parameter set of the first network, and the parameter set represents the transmission parameter of the first network;
  • the first network is an end-to-end network where the terminal is located.
  • Step 202 responsive to the detecting task, collecting the first parameter and the second parameter;
  • the first parameter represents an end-to-end signaling response delay in the first network
  • the second parameter represents an end-to-end packet transmission delay in the first network
  • the signaling response delay is obtained according to the RTSP delay and the traceroute delay.
  • the collecting the first parameter includes:
  • the first CDN node is the peer end of the terminal
  • the first parameter is obtained using RTSP delay and traceroute delay.
  • the using the RTSP delay and the traceroute delay to obtain the first parameter including:
  • the RTSP delay is delayed from the traceroute delay to obtain the first parameter.
  • the collecting the second parameter includes:
  • the time delay of collecting the IP packet of the first CDN node to the terminal is obtained, and the second parameter is obtained.
  • Step 203 Issue the first parameter and the second parameter.
  • the embodiment of the invention further provides a network quality detecting method, which is applied to the collecting device. As shown in FIG. 3, the method further includes:
  • Step 301 Receive a detection task.
  • the detecting task is used to instruct the collecting device to collect a parameter set of the first network, and the parameter set represents a transmission parameter of the first network.
  • Step 302 In response to the detecting task, collecting a service quality indicator of the corresponding link according to the location of the first network and the end-to-end network service link direction;
  • the captured data packet is analyzed to obtain a service quality indicator of the corresponding link.
  • the collecting device is a terminal
  • the capturing the data packet by using the IP address and the port includes:
  • the packet is captured at the inbound direction of the terminal;
  • the first network is an end-to-end network where the terminal is located; the obtained quality of service indicator is a sixth parameter.
  • the extracting the data packet by using the IP address and the port includes:
  • the network between the first CDN node and the terminal is the first network; the obtained quality of service indicators are the fourth parameter and the fifth parameter.
  • the extracting the data packet by using the IP address and the port includes:
  • the packet is fetched in the outbound direction of the second CDN node
  • the second CDN node is a superior node of the first CDN node; the obtained quality of service indicator is a third parameter.
  • the second CDN node is a dependent node of the first CDN node.
  • the fifth parameter and the sixth parameter represent a quality of service indicator of the first CDN node facing the terminal link; the third parameter and the fourth parameter represent a quality of service indicator of the second CDN node facing the first CDN node link.
  • Step 303 Issue the collected quality of service indicator.
  • the network quality detection method provided by the embodiment of the present invention sends a detection task, where the detection task is used to instruct the collection device to collect a parameter set of the first network, and the parameter set represents a transmission parameter of the first network;
  • the first network is an end-to-end network; receiving the collection device to collect Using the parameter set, analyzing the network quality of the first network, obtaining the network quality detection result of the first network, and detecting the network segmentation, so that the network quality can be detected accurately and quickly .
  • 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; the third parameter and the fourth parameter characterizing the second CDN node a quality of service indicator for the first CDN node link; the fifth parameter and the sixth parameter represent a quality of service indicator of the first CDN node for the terminal link; and correspondingly, the third parameter, the fourth parameter, and the fifth parameter And the sixth skill is analyzed to obtain the network quality detection result of the first network, and the service link segment is detected, so that the end-to-end network service path quality can be correctly and quickly detected.
  • the embodiment provides a network quality detecting apparatus, which is disposed in a server.
  • the apparatus includes:
  • the first sending unit 41 is configured to send a detection task, where the detecting task is used to instruct the collecting device to collect the parameter set of the first network, the parameter set characterizing the transmission parameter of the first network, and the first network For end-to-end networks;
  • the first receiving unit 42 is configured to receive a parameter set collected by the collecting device
  • the analyzing unit 43 is configured to analyze the network quality of the first network by using the parameter set to obtain a network quality detection result of the first network.
  • the actual network may be a CDN node-to-terminal video service network.
  • one form of network quality is interactive delay (transmission delay), so the interactive delay of the network needs to be collected in stages to analyze the network quality.
  • the first receiving unit 42 is configured to:
  • the collecting device When the collecting device is a terminal, receiving the first parameter and the second parameter sent by the terminal; Determining, by the first parameter, an end-to-end signaling response delay in the first network; the second parameter characterizing an end-to-end data packet transmission delay in the first network; wherein the signaling response delay Obtained according to RTSP delay and traceroute delay;
  • the analyzing unit 43 is configured to analyze the first parameter and the second parameter to obtain a network quality detection result of the first network.
  • the routing path may also be presented based on the collected parameter set, and the analyzing unit 43 is further configured to:
  • the first parameter collected by the terminal for each routing path is performed by using the IP address as a dimension. Convergence and analysis to determine the routing point with the largest and smallest transmission delay in at least two routing paths;
  • the analyzing unit 43 may establish a time-sharing dynamic baseline model according to the first parameter and the second parameter collected in the preset time period of the terminal;
  • the model reflects the quality of network segmentation for different service times;
  • network quality Another form of network quality is the transmission quality of the code stream (network service path quality), so the transmission quality of the network needs to be collected in stages to analyze the network quality.
  • the collecting 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; and a second CDN node is a first CDN node.
  • the upper node is set; the first receiving unit 42 is set to:
  • the server receives the fourth parameter and the fifth parameter sent by the first CDN node;
  • the server receives the sixth parameter sent by the terminal; the third parameter and the fourth parameter represent a quality of service indicator of the second CDN node facing the first CDN node link; and the fifth parameter and the sixth parameter represent the first CDN node oriented terminal chain Road quality of service indicators;
  • the analyzing unit 43 is configured to analyze the third parameter, the fourth parameter, the fifth parameter, and the sixth parameter to obtain a network quality detection result of the first network.
  • the 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 including:
  • the analyzing unit 43 uses the third parameter, the fourth parameter, the fifth parameter, and the sixth parameter, and combines the set threshold and the historical trend of the network service link to obtain the network quality detection result of the first network.
  • the detection task can be triggered according to the playback record of the terminal.
  • the first transmitting unit 41 transmits the detection task.
  • the first sending unit 41 and the first receiving unit 42 may be implemented by a processor in the network quality detecting device in combination with the transceiver; the analyzing unit 43 may be implemented by a processor in the network quality detecting device.
  • the embodiment further provides a network quality detecting device, which is disposed in the terminal.
  • the device includes:
  • the second receiving unit 51 is configured to receive a detection task, where the detection task is used to instruct the terminal to collect the parameter set of the first network, and the parameter set represents the transmission parameter of the first network;
  • the first collecting unit 52 is configured to collect the first parameter and the second parameter in response to the detecting task
  • 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
  • the signaling The response delay is obtained based on the RTSP delay and the traceroute delay
  • the second sending unit 53 is configured to issue the first parameter and the second parameter.
  • the first collecting unit 52 is configured to:
  • the first CDN node is the peer end of the terminal
  • the first parameter is obtained using RTSP delay and traceroute delay.
  • the using the RTSP delay and the traceroute delay to obtain the first parameter including:
  • the first collecting unit 52 compares the RTSP delay with the traceroute delay to obtain the first parameter.
  • the first collecting unit 52 is configured to:
  • the time delay of collecting the IP packet of the first CDN node to the terminal is obtained, and the second parameter is obtained.
  • the second receiving unit 51 and the second transmitting unit 53 may be implemented by a transceiver in the network quality detecting device; the first collecting unit 52 may be implemented by a processor in the network quality detecting device in combination with the transceiver.
  • the embodiment further provides a network quality detecting device, which is disposed in the collecting device. As shown in FIG. 6, the device includes:
  • the third receiving unit 61 is configured to receive a detection task, where the detecting task is used to instruct the collecting device to collect a parameter set of the first network, and the parameter set represents a transmission parameter of the first network;
  • the second collecting unit 62 is configured to, according to the detecting task, collect the service quality indicator of the corresponding link according to the location of the first network and the end-to-end network service link direction;
  • the third sending unit 63 is configured to issue the collected quality of service indicator.
  • the second collection unit is configured to:
  • the captured data packet is analyzed to obtain a service quality indicator of the corresponding link.
  • the capturing the data packet by using the IP address and the port includes:
  • the second collecting unit 62 uses the IP address and the port to capture the data packet at the inbound direction of the terminal;
  • the first network is an end-to-end network where the terminal is located; the obtained quality of service indicator is a sixth parameter.
  • the extracting the data packet by using the IP address and the port includes:
  • the second collecting unit 62 uses the IP address and the port to capture data packets in the inbound and outbound directions of the first CDN node;
  • the network between the first CDN node and the terminal is the first network; the obtained quality of service indicators are the fourth parameter and the fifth parameter.
  • the extracting the data packet by using the IP address and the port includes:
  • the second collecting unit 62 uses the IP address and the port to capture the data packet in the outbound direction of the second CDN node;
  • the second CDN node is a superior node of the first CDN node; the obtained quality of service indicator is a third parameter.
  • the second CDN node is a dependent node of the first CDN node.
  • the fifth parameter and the sixth parameter represent a quality of service indicator of the first CDN node facing the terminal link; the third parameter and the fourth parameter represent a quality of service indicator of the second CDN node facing the first CDN node link.
  • the third receiving unit 61 and the third transmitting unit 63 may be implemented by a transceiver in the network quality detecting device; the second collecting unit 62 may be implemented by a processor in the network quality detecting device.
  • the embodiment further provides a storage medium, which includes a stored program, wherein the program described above executes the method described in the first embodiment.
  • the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM).
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • the embodiment further provides a processor configured to run a program, wherein the program is executed to perform the steps in the method of the first embodiment.
  • this embodiment describes the network quality detection process in detail.
  • the end-to-end network is a CDN node-to-terminal network.
  • the network elements and devices involved include: a CDN node, a bearer network, an access network, and a terminal device.
  • a CDN node a bearer network
  • an access network a terminal device.
  • two To establish a video network service quality indicator system from the CDN system to the terminal specifically, from the two aspects of code stream transmission and interaction delay and detecting network service quality.
  • the interaction delay refers to: the transmission delay of the CDN system to the terminal;
  • the code stream transmission refers to: the code stream transmission CDN
  • FIG. 7 is a schematic diagram of a system architecture of the embodiment.
  • the core component consists of eight parts: system task management module, data sending and receiving module, data analysis module, bearer data scrubbing module, access network data acquisition module, CDN node. Data acquisition module and terminal data acquisition module. among them,
  • the system task management module, the data sending and receiving module, and the data analysis module are deployed on the server, that is, deployed locally, and the bearer network data access module, the access network data access module, the CDN node data acquisition module, and the terminal data acquisition module Remote deployment.
  • the system task management module is responsible for managing and scheduling the collection tasks of each data collection module; that is, the management system and the task management and task synchronization of each data acquisition module;
  • the data sending and receiving module is configured to send the collecting task, receive the data collected by each data collecting module, and parse the received collected data, so that the data analyzing module performs analysis;
  • the data analysis module mainly analyzes the network quality based on the data collected by each data acquisition module
  • the data collection module of the bearer network is mainly configured to collect resources of the bearer network, including resource groupings, routing information, etc., according to which the topology structure of the bearer network can be obtained;
  • the access network data collection module is mainly configured to collect resources of the access network, including resource groupings, routing information, etc., according to which the topology structure of the access network can be obtained.
  • the task delivery and data reporting can be performed by using http+json (the format of the collected data is reported as json format), and the synchronization message interface can be used for starting and stopping the collection task, and the reporting of the collected data is performed. It can be handled using an asynchronous message interface.
  • the following describes the transmission delay detection and analysis method of the CDN system to the terminal.
  • the process mainly includes:
  • Step 801 The system task management module sends a delay analysis task to the terminal.
  • Step 802 After receiving the task, the terminal data collection module of the terminal initiates an RTSP request to the CDN system, and collects a delay of the RTSP response.
  • the delay of the collected RTSP response may be referred to as an RTSP delay, which may be considered as a type of protocol signaling information.
  • Step 803 The terminal data collection module initiates a traceroute request to the CDN system, and collects traceroute routing information and a corresponding delay.
  • the collected traceroute routing information includes information such as a gateway jump.
  • Step 804 The end data collection module initiates an IP packet transmission delay analysis task, specifically, records an IP packet delay from the CDN node to the terminal.
  • the collected data results are reported to the data analysis module through the data sending and receiving module to analyze the data.
  • the process of collecting request routing information and delay of the access network to the access network of the CDN system first, the terminal data collection module initiates a test request and performs basic data collection; and then, based on the acquisition basis Data, analysis of RTSP delay, traceroute routing delay, and IP packet delay from the CDN node to the terminal, and finally reporting the delay analysis result to the data analysis module.
  • the data analysis module After obtaining the RTSP delay, the traceroute routing delay, and the IP packet delay of the CDN node to the terminal, the data analysis module analyzes these parameters and analyzes the network quality of the network from the CDN system to the terminal. Test results.
  • the data analysis module calculates a signaling response of the CDN system (a request response of the CDN node to the terminal) according to the traceroute routing delay and the RTSP delay, and calculates the CDN node to the terminal by using the delay of the IP packet. Packet transmission delay.
  • the packet transmission delay of the CDN node to the terminal Transmission Control Protocol (TCP) chaining delay + IP packet transmission delay;
  • TCP Transmission Control Protocol
  • Signaling response delay of the CDN system RTSP delay - total delay of the traceroute route.
  • the signaling response delay of the CDN system when the signaling response delay of the CDN system exhibits a deteriorating trend (by setting the threshold and the horizontal time comparison, it can be known whether the signaling response delay of the CDN system exhibits a deteriorating trend. ), whether the analysis is due to the impact of the CDN system itself or the intermediate network, when the RTSP delay is deteriorating (by setting the threshold and the lateral time comparison, it can be known whether the RTSP delay shows a deteriorating trend), indicating the CDN system
  • the self load is so high that the response to the terminal may increase the response time or timeout.
  • the RTSP delay is normal, it is the reason of the intermediate network. You can use the route information of each hop in the traceroute route and the delay of each hop. By setting the threshold and the horizontal time comparison, you can know which route is used. An exception has occurred in the path.
  • the packet transmission delay when the packet transmission delay is degraded ((through the set threshold and the lateral time comparison, it can be known whether the packet transmission delay shows a deteriorating trend)), it indicates that the CDN node itself is normal and the intermediate transmission network is not stable.
  • the transmission delay detection and analysis method for the CDN system to the terminal mainly includes:
  • the terminal CDN node sends an RSTP request, collects the RTSP delay, counts the traceroute routing information of the terminal to the CDN system, and the corresponding delay, and counts the packet transmission delay of the CDN node to the terminal (step 901);
  • the obtained RTSP delay, the packet transmission delay, and the traceroute routing delay are compared with the threshold and the lateral time (step 902);
  • the data analysis module can also provide various levels of routing services from the CDN system to the intermediate network of the terminal.
  • the system task management module initiates a batch of the delay collection process as shown in FIG. 8 to record the time delay of the corresponding traceroute routing information of each service path, and the RTSP.
  • the data analysis module can obtain the CDN system-to-terminal network topology according to the data collected by the data acquisition module of the bearer network, the data collected by the data acquisition module of the access network, and the routing gateway information of each hop in the traceroute routing information.
  • Path information using IP address as the dimension for aggregation analysis, comparing the routing service between the CDN system and the terminal, counting the routing information of the optimal service path and the worst service path, and statistically analyzing the long-period data to analyze the mutation And provide discretionary and degraded trends to provide rectification of network service quality to provide reference recommendations for network tuning.
  • the multi-network path uses the IP address as the dimension.
  • the traceroute route delay and the RTSP delay are used to attribute the delay convergence to find the route point with the largest transmission delay to reflect the route quality.
  • the multi-network path aggregates the transmission delays (data packet transmission delays) between the routes, finds the maximum delay network segment transmitted between the routes, and reflects the quality of the network segments between the routes;
  • a time-sharing dynamic baseline model is established, which reflects the network segmentation quality at different service times, and the delay distribution law of memory and learning.
  • the threshold is set according to the mean square error, and the network is selected. Discrete problem points and time when anomalies occur.
  • the following describes the code stream transmission quality (network service path quality) detection and analysis method from the CDN system to the terminal.
  • the embodiment of the invention provides a network quality monitoring mode for a unicast service link from a CDN system to a terminal.
  • the modules involved in the process mainly include: a system task management module, a terminal data collection module, and a CDN node data acquisition module.
  • the process mainly includes:
  • the system task management module sends a video metrics collection task to the terminal, and the terminal data collection module of the terminal obtains the media IP address and port of the current service code stream in real time, and reports the system task management module end record;
  • the terminal obtains an IP address and a port from the RTSP message, and reports the result to the system task management module.
  • the IP address obtained by the system task management module starts the first CDN node (the service node) to send an RTSP request to the second CDN node (the dependent node of the first CDN node), and establishes a code stream service connection;
  • the system task management module sends a network quality analysis task to the terminal, the first CDN node, and the second node.
  • the terminal data collection module of the terminal collects the network quality indicator of the terminal incoming on the service link
  • the CDN node data acquisition module (CDN1 node data acquisition module) of the first CDN node collects the outgoing direction of the first CDN node on the service link.
  • the incoming network quality indicator, the CDN node of the second CDN node (CDN2 node data acquisition module) data collection module collects the network quality indicator of the second CDN node on the service link.
  • the network quality indicators collected by the terminal and the CDN node are implemented based on tcpdump, and only need to obtain the corresponding tcpdump parameter, but the direction of collection by each device is not the same.
  • the service link can be divided into: a service link 111 between CDN nodes and a service link 112 between the CDN node and the terminal.
  • the collection of the service link network quality indicators between the CDN nodes includes: the second CDN node uses the IP address and the port as the outbound tcpdump input parameters of the local node, and obtains the outgoing network quality indicator by means of tcpdump packet capture; And the first CDN node, with IP address and end The port acts as the inbound tcpdump of the node, and obtains the incoming network quality indicator by means of tcpdump packet capture; integrates the network quality indicators obtained by the first CDN node and the second CDN node to obtain the service between the CDN nodes. Link network quality indicator.
  • the collection of the service link network quality indicators between the CDN node and the terminal includes: the first CDN node, using the IP address and the port as the outbound tcpdump of the local node, and obtaining the outgoing network quality by means of tcpdump packet capture.
  • Indicator The terminal uses the IP address and port as the inbound tcpdump of the node, obtains the incoming network quality indicator by means of tcpdump packet capture, integrates the network quality indicators obtained by the first CDN node and the terminal, and obtains the CDN. Service link network quality indicator between the node and the terminal.
  • the network quality indicator may include parameters such as network throughput, packet loss, jitter, retransmission, and link length.
  • Network quality indicators can be referred to as TCP class information.
  • the data analysis module analyzes the network quality indicators collected by each device in real time, and compares the network quality indicators in real time to analyze the degradation trend and location of the code stream network quality.
  • the data analysis module compares the historical quality trends of the network service quality of the single user service by analyzing the network quality indicators collected in real time, thereby analyzing the deterioration situation and the deterioration position. Specifically, the collected network quality indicators (TCP link time, network throughput, packet loss, jitter, retransmission, etc.) are compared for multi-dimensional data.
  • Application scenario 1 The terminal starts to play the scene.
  • Transport layer TCP build time is short, and TCP retransmission rate is very low.
  • Application scenario 2 The terminal plays the scene normally.
  • the client downloads at a constant speed and the network quality indicators are as follows:
  • Transport layer TCP build time is short, TCP retransmission rate is very low, packet loss rate is low, and the originating and receiving end code streams are basically the same.
  • the network quality indicators are as follows due to network packet loss:
  • Transport layer high packet loss rate, large difference in transmission and reception rate, TCP link time fluctuates, TCP retransmission rate is high, irregular fluctuation, and jitter.
  • Application scenario 4 insufficient network speed or speed limit scenario
  • the network quality indicators are as follows:
  • Transport layer TCP build time is relatively stable, TCP retransmission rate is not high and stable, and the download rate is low.
  • Application scenario 5 Server performance shortage scenario of CDN node
  • the network quality indicators are as follows:
  • Transport layer TCP build time is short, TCP retransmission rate is not high, packet loss rate is low, and RSTP delay abnormal fluctuation is sometimes high.
  • the terminal data acquisition module of the intelligent task box of the system task management module and the CDN node data acquisition module of the CDN node initiates an active diagnosis process of the single channel code stream service, and
  • the diagnostic results are provided by the data analysis module to provide a one-click detection and problem location mechanism for network quality of service.
  • the terminal in the unicast service link network quality monitoring mode of the CDN system to the terminal, the terminal initiates RSTP signaling for a single video in real time to request the delivery of the code stream, and the serving CDN node initiates RSTP to the dependent CDN node.
  • the signaling request forms a real-time unicast service link, and the packet quality analysis is performed on the service link to obtain the service quality indicator of the inbound and outbound directions of the CDN node and the service quality indicator of the terminal, and the link is on the link.
  • the service quality indicator items of the video network transmission are subjected to horizontal comparative analysis to judge the deterioration position of the network service quality.
  • the solution provided by the embodiment of the present invention detects the network segmentation, so that the video network quality of the CDN to the terminal can be detected more quickly and accurately.
  • the solution provided by the embodiment of the present invention can also detect the service link segment, so that the end-to-end network service path quality can be correctly and quickly detected.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • the network quality detection method and device provided by the embodiment of the present invention sends a detection task, where the detection task is used to instruct the collection device to acquire a parameter set of the first network, and the parameter set is characterized. a transmission parameter of the first network; the first network is an end-to-end network; receiving a parameter set collected by the collection device; using the parameter set, analyzing network quality of the first network, obtaining a
  • the network quality detection result of the first network is used to detect the network segmentation, so that the network quality can be detected accurately and quickly, and has industrial applicability.

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 comprising: transmitting a detection task used to instruct an acquisition apparatus to acquire, on the basis of segments, a parameter set of a first network representing a transmission parameter of the first network, wherein the first network is an end-to-end network; receiving the parameter set acquired by the acquisition apparatus; and utilizing the parameter set to analyze network quality of the first network to obtain a network quality detection result of the first network. The invention also discloses a network quality detection device.

Description

网络质量检测方法及装置Network quality detecting method and device 技术领域Technical field
本发明涉及通信领域,尤其涉及一种网络质量检测方法及装置。The present invention relates to the field of communications, and in particular, to a network quality detecting method and apparatus.
背景技术Background technique
在端到端的视频服务系统中,影响用户播放体验的主要因素有两个:1、码流传输延时和损伤;2、交互延时。这两个因素构成视频服务质量。In the end-to-end video service system, there are two main factors affecting the user's playback experience: 1. Code stream transmission delay and damage; 2. Interactive delay. These two factors constitute the quality of video services.
传统衡量内容分发网络(CDN)到终端的视频服务质量的方式存在一定缺陷:有的方法准确性差,有的方法实现难度大,且灵活性较差。Traditional methods for measuring the quality of video distribution from the content distribution network (CDN) to the terminal have certain drawbacks: some methods have poor accuracy, some methods are difficult to implement, and the flexibility is poor.
另外,对于CDN到终端之间的网络服务路径质量,目前还没有有效的衡量方案。In addition, there is currently no effective measurement scheme for the quality of network service paths between CDN and terminals.
发明内容Summary of the invention
为解决上述技术问题,本发明实施例提供一种网络质量检测方法及装置。To solve the above technical problem, an embodiment of the present invention provides a network quality detecting method and apparatus.
本发明实施例的技术方案是这样实现的:The technical solution of the embodiment of the present invention is implemented as follows:
本发明实施例提供了一种网络质量检测方法,应用于服务器,所述方法包括:The embodiment of the invention provides a network quality detection method, which is applied to a server, and the method includes:
发送检测任务,所述检测任务用于指示采集设备分段采集第一网络的参数集,所述参数集表征所述第一网络的传输参数;所述第一网络为端到端网络;Sending a detection task, the detecting task is used to instruct the collecting device to collect the parameter set of the first network, the parameter set characterizing the transmission parameter of the first network; the first network is an end-to-end network;
接收所述采集设备采集的参数集;Receiving a parameter set collected by the collection device;
利用所述参数集,对所述第一网络的网络质量进行分析,得到所述第一网络的网络质量检测结果。The network quality of the first network is analyzed by using the parameter set to obtain a network quality detection result of the first network.
上述方案中,所述采集设备为终端,所述接收所述采集设备采集的参数集,包括: In the above solution, the collecting device is a terminal, and the receiving the parameter set collected by the collecting device includes:
接收终端发送的第一参数及第二参数;所述第一参数表征所述第一网络中端到端的信令响应时延;所述第二参数表征所述第一网络中端到端的数据包传输时延;其中,所述信令响应时延依据实时流传输协议(RTSP)延时和路由跟踪(traceroute)时延得到;Receiving, by the terminal, a first parameter and a second parameter; the first parameter characterizing an end-to-end signaling response delay in the first network; and the second parameter characterizing an end-to-end data packet in the first network a transmission delay; wherein the signaling response delay is obtained according to a Real Time Streaming Protocol (RTSP) delay and a traceroute delay;
相应地,对所述第一参数及第二参数进行分析,得到所述第一网络的网络质量检测结果。Correspondingly, analyzing the first parameter and the second parameter to obtain a network quality detection result of the first network.
上述方案中,所述方法还包括:In the above solution, the method further includes:
根据所述第一网络的网络拓扑结构及traceroute路由信息中每一跳路由网关信息,确定所述终端对应的所述第一网络的网络拓扑路径信息;Determining network topology path information of the first network corresponding to the terminal according to the network topology of the first network and the routing gateway information of each hop in the traceroute routing information;
当所述网络拓扑路径信息表征端到端的路由路径有至少两条时,以IP地址为维度,对终端采集的针对每条路由路径的第一参数进行汇聚及分析,确定出至少两条路由路径中传输时延最大及最小的路由点;When the network topology path information indicates that there are at least two end-to-end routing paths, the first parameter collected by the terminal for each routing path is aggregated and analyzed by using the IP address as a dimension, and at least two routing paths are determined. The routing point with the largest and smallest transmission delay;
对终端采集的针对每条路由路径的第二参数进行汇聚及分析,确定出至少两条路由路径中路由间传输时延最大及最小的网络段;Converging and analyzing the second parameter collected by the terminal for each routing path, and determining the network segment with the largest and smallest transmission delay between the routes in the at least two routing paths;
基于确定的网络段及路由点,并结合所述第一网络的路由服务信息,确定所述终端的最优服务路径和最差服务路径的路由信息。And determining routing information of the optimal service path and the worst service path of the terminal according to the determined network segment and the routing point, and combining the routing service information of the first network.
上述方案中,所述方法还包括:In the above solution, the method further includes:
根据所述第一网络的网络拓扑结构及traceroute路由信息中每一跳路由网关信息,确定所述终端对应的所述第一网络的网络拓扑路径信息;Determining network topology path information of the first network corresponding to the terminal according to the network topology of the first network and the routing gateway information of each hop in the traceroute routing information;
当所述网络拓扑路径信息表征端到端的路由路径有一条时,依据终端预设时间段内采集的第一参数及第二参数,建立分时动态基线模型;所述模型体现不同服务时间的网络分段质量;When the network topology path information represents one end-to-end routing path, the time-sharing dynamic baseline model is established according to the first parameter and the second parameter collected in the preset time period of the terminal; the model represents a network with different service time. Segment quality
并在所述模型上确定所述第一网络网络质量异常时的问题点和时间。And determining a problem point and time when the first network network quality is abnormal on the model.
上述方案中,所述采集设备包括第一CDN节点、第二CDN节点及终端;第一CDN节点与终端之间的网络为第一网络;第二CDN节点为第一CDN节点的上级节点; In the above solution, the collecting 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; and a second CDN node is a superior node of the first CDN node;
所述接收所述采集设备采集的参数集,包括:Receiving the parameter set collected by the collection device, including:
接收第二CDN节点发送的第三参数;Receiving a third parameter sent by the second CDN node;
接收第一CDN节点发送的第四参数及第五参数;Receiving a fourth parameter and a fifth parameter sent by the first CDN node;
接收终端发送的第六参数;所述第三参数及第四参数表征第二CDN节点面向第一CDN节点链路的服务质量指标;第五参数及第六参数表征第一CDN节点面向终端链路的服务质量指标;Receiving a sixth parameter sent by the terminal; the third parameter and the fourth parameter characterizing a quality of service indicator of the second CDN node facing the first CDN node link; the fifth parameter and the sixth parameter characterizing the first CDN node facing the terminal link Quality of service indicators;
相应地,对所述第三参数、第四参数、第五参数及第六参数进行分析,得到所述第一网络的网络质量检测结果。Correspondingly, 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.
上述方案中,所述对所述第三参数、第四参数、第五参数及第六参数进行分析,得到所述第一网络的网络质量检测结果,包括:In the above solution, 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, including:
利用所述第三参数、第四参数、第五参数及第六参数,并结合设置的阈值及网络服务链路的历史趋势,得到所述第一网络的网络质量检测结果。Using the third parameter, the fourth parameter, the fifth parameter, and the sixth parameter, and combining the set threshold and the historical trend of the network service link, the network quality detection result of the first network is obtained.
上述方案中,发送检测任务,包括:In the above solution, sending a detection task includes:
当终端的播放记录异常时,发送检测任务。When the playback record of the terminal is abnormal, the detection task is sent.
本发明实施例还提供了一种网络质量检测方法,应用于终端,所述方法包括:The embodiment of the invention further provides a network quality detecting method, which is applied to a terminal, and the method includes:
接收检测任务;所述检测任务用于指示终端分段采集第一网络的参数集,所述参数集表征所述第一网络的传输参数;所述第一网络为所述终端所在的端到端网络;Receiving a detection task, the detecting task is used to instruct the terminal to collect the parameter set of the first network, the parameter set characterizing the transmission parameter of the first network; and the first network is the end-to-end where the terminal is located The internet;
响应所述检测任务,采集第一参数及第二参数;所述第一参数表征所述第一网络中端到端的信令响应时延;所述第二参数表征所述第一网络中端到端的数据包传输时延;其中,所述信令响应时延依据RTSP延时和traceroute时延得到;And responding to the detecting task, collecting a first parameter and a second parameter; the first parameter characterizing an end-to-end signaling response delay in the first network; and the second parameter characterizing the first network end to The data packet transmission delay of the terminal; wherein the signaling response delay is obtained according to the RTSP delay and the traceroute delay;
发出所述第一参数及第二参数。The first parameter and the second parameter are issued.
上述方案中,所述采集第一参数,包括:In the foregoing solution, the collecting the first parameter includes:
向第一CDN节点发送RSTP请求;第一CDN节点为终端的对端; Sending an RSTP request to the first CDN node; the first CDN node is the peer end of the terminal;
并向所述第一CDN节点发送traceroute请求;And sending a traceroute request to the first CDN node;
根据发送的RSTP请求以及RSTP响应的接收状态,确定RSTP延时;并根据发送的traceroute请求以及traceroute响应的接收状态,确定traceroute延时;Determining an RSTP delay according to the sent RSTP request and the receiving state of the RSTP response; and determining a traceroute delay according to the received traceroute request and the receiving status of the traceroute response;
利用RTSP时延和traceroute时延,得到所述第一参数。The first parameter is obtained using RTSP delay and traceroute delay.
上述方案中,所述利用RTSP时延和traceroute时延,得到所述第一参数,包括:In the foregoing solution, the using the RTSP delay and the traceroute delay to obtain the first parameter, including:
将所述RTSP时延与traceroute延时求差,得到所述第一参数。The RTSP delay is delayed from the traceroute delay to obtain the first parameter.
上述方案中,所述采集第二参数,包括:In the above solution, the collecting the second parameter includes:
采集第一CDN节点到终端的IP包的时延,得到所述第二参数。The time delay of collecting the IP packet of the first CDN node to the terminal is obtained, and the second parameter is obtained.
本发明实施例又提供了一种网络质量检测方法,应用于采集设备,所述方法包括:The embodiment of the invention further provides a network quality detection method, which is applied to an acquisition device, and the method includes:
接收检测任务;所述检测任务用于指示所述采集设备分段采集第一网络的参数集,所述参数集表征所述第一网络的传输参数;Receiving a detection task, the detecting task is used to instruct the collecting device to collect a parameter set of the first network, and the parameter set is used to represent a transmission parameter of the first network;
响应所述检测任务,依据自身在所述第一网络的位置以及端到端的网络服务链路方向,采集对应链路的服务质量指标;And responding to the detecting task, collecting a service quality indicator of the corresponding link according to the location of the first network and the end-to-end network service link direction;
发出采集的服务质量指标。Issue the collected quality of service indicators.
上述方案中,所述采集对应链路的服务质量指标,包括:In the foregoing solution, the collecting the service quality indicator of the corresponding link includes:
获取所述服务链路的IP地址和端口;Obtaining an IP address and a port of the service link;
利用IP地址和端口,抓取数据包;Use the IP address and port to capture data packets;
对抓取的数据包进行分析,得到所述对应链路的服务质量指标。The captured data packet is analyzed to obtain a service quality indicator of the corresponding link.
上述方案中,当所述采集设备为终端时,所述利用IP地址和端口,抓取数据包,包括:In the foregoing solution, when the collecting device is a terminal, the capturing the data packet by using the IP address and the port includes:
利用IP地址和端口,在所述终端的入向抓取数据包;其中,Using the IP address and port, the packet is captured at the inbound direction of the terminal;
所述第一网络为所述终端所在的端到端网络;得到的服务质量指标为 第六参数。The first network is an end-to-end network where the terminal is located; the obtained quality of service indicator is The sixth parameter.
上述方案中,当所述采集设备为第一CDN节点时,所述利用IP地址和端口,抓取数据包,包括:In the foregoing solution, when the collecting device is the first CDN node, the capturing the data packet by using the IP address and the port includes:
利用IP地址和端口,在所述第一CDN节点的入向和出向抓取数据包;其中,Obtaining data packets in the inbound and outbound direction of the first CDN node by using an IP address and a port;
第一CDN节点与终端之间的网络为第一网络,得到的服务质量指标为第四参数及第五参数;第五参数及第六参数表征第一CDN节点面向终端链路的服务质量指标。The network between the first CDN node and the terminal is the first network, and the obtained quality of service indicator is the fourth parameter and the fifth parameter; the fifth parameter and the sixth parameter are used to represent the quality of service indicator of the first CDN node facing the terminal link.
上述方案中,当所述采集设备为第二CDN节点时,所述利用IP地址和端口,抓取数据包,包括:In the foregoing solution, when the collecting device is a second CDN node, the capturing the data packet by using the IP address and the port includes:
利用IP地址和端口,在所述第二CDN节点的出向抓取数据包;其中,Using the IP address and port, the packet is fetched in the outbound direction of the second CDN node;
第二CDN节点为第一CDN节点的上级节点,得到的服务质量指标为第三参数;所述第三参数及第四参数表征第二CDN节点面向第一CDN节点链路的服务质量指标。The second CDN node is a superior node of the first CDN node, and the obtained quality of service indicator is a third parameter; the third parameter and the fourth parameter represent a quality of service indicator of the second CDN node facing the first CDN node link.
本发明实施例还提供了一种网络质量检测装置,包括:The embodiment of the invention further provides a network quality detecting device, comprising:
第一发送单元,设置为发送检测任务,所述检测任务用于指示采集设备分段采集第一网络的参数集,所述参数集表征所述第一网络的传输参数;所述第一网络为端到端网络;The first sending unit is configured to send a detection task, where the detecting task is used to instruct the collecting device to collect the parameter set of the first network, and the parameter set is used to represent the transmission parameter of the first network; End-to-end network;
第一接收单元,设置为接收所述采集设备采集的参数集;a first receiving unit, configured to receive a parameter set collected by the collecting device;
分析单元,设置为利用所述参数集,对所述第一网络的网络质量进行分析,得到所述第一网络的网络质量检测结果。The analyzing unit is configured to analyze 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 solution, the first receiving unit is configured to:
接收终端发送的第一参数及第二参数;所述第一参数表征所述第一网络中端到端的信令响应时延;所述第二参数表征所述第一网络中端到端的数据包传输时延;其中,所述信令响应时延依据实时流传输协议RTSP延时和路由跟踪traceroute时延得到; Receiving, by the terminal, a first parameter and a second parameter; the first parameter characterizing an end-to-end signaling response delay in the first network; and the second parameter characterizing an end-to-end data packet in the first network a transmission delay; wherein the signaling response delay is obtained according to a real-time streaming protocol RTSP delay and a route tracking traceroute delay;
所述分析单元,设置为对所述第一参数及第二参数进行分析,得到所述第一网络的网络质量检测结果。The analyzing unit is configured to analyze the first parameter and the second parameter to obtain a network quality detection result of the first network.
上述方案中,所述分析单元还设置为:In the above solution, the analyzing unit is further configured to:
根据所述第一网络的网络拓扑结构及traceroute路由信息中每一跳路由网关信息,确定所述终端对应的所述第一网络的网络拓扑路径信息;Determining network topology path information of the first network corresponding to the terminal according to the network topology of the first network and the routing gateway information of each hop in the traceroute routing information;
当所述网络拓扑路径信息表征端到端的路由路径有至少两条时,根据所述第一网络的网络拓扑结构,以IP地址为维度,对终端采集的针对每条路由路径的第一参数进行汇聚及分析,确定出至少两条路由路径中传输时延最大及最小的路由点;When the network topology path information indicates that there are at least two end-to-end routing paths, according to the network topology of the first network, the first parameter collected by the terminal for each routing path is performed by using the IP address as a dimension. Convergence and analysis to determine the routing point with the largest and smallest transmission delay in at least two routing paths;
对终端采集的针对每条路由路径的第二参数进行汇聚及分析,确定出至少两条路由路径中路由间传输时延最大及最小的网络段;以及Converging and analyzing the second parameter collected by the terminal for each routing path, and determining the network segment with the largest and smallest transmission delay between the routes in at least two routing paths;
基于确定的网络段及路由点,并结合所述第一网络的路由服务信息,确定所述终端的最优服务路径和最差服务路径的路由信息。And determining routing information of the optimal service path and the worst service path of the terminal according to the determined network segment and the routing point, and combining the routing service information of the first network.
上述方案中,所述分析单元还设置为:In the above solution, the analyzing unit is further configured to:
根据所述第一网络的网络拓扑结构及traceroute路由信息中每一跳路由网关信息,确定所述终端对应的所述第一网络的网络拓扑路径信息;Determining network topology path information of the first network corresponding to the terminal according to the network topology of the first network and the routing gateway information of each hop in the traceroute routing information;
当所述网络拓扑路径信息表征端到端的路由路径有一条时,依据终端预设时间段内采集的第一参数及第二参数,建立分时动态基线模型;所述模型体现不同服务时间的网络分段质量;When the network topology path information represents one end-to-end routing path, the time-sharing dynamic baseline model is established according to the first parameter and the second parameter collected in the preset time period of the terminal; the model represents a network with different service time. Segment quality
并在所述模型上确定所述第一网络网络质量异常时的问题点和时间。And determining a problem point and time when the first network network quality is abnormal on the model.
上述方案中,所述采集设备包括第一CDN节点、第二CDN节点及终端;第一CDN节点与终端之间的网络为第一网络;第二CDN节点为第一CDN节点的上级节点;所述第一接收单元设置为:In the above solution, the collecting 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; and a second CDN node is a superior node of the first CDN node; The first receiving unit is set to:
接收第二CDN节点发送的第三参数;Receiving a third parameter sent by the second CDN node;
接收第一CDN节点发送的第四参数及第五参数;Receiving a fourth parameter and a fifth parameter sent by the first CDN node;
接收终端发送的第六参数;所述第三参数及第四参数表征第二CDN 节点面向第一CDN节点链路的服务质量指标;第五参数及第六参数表征第一CDN节点面向终端链路的服务质量指标;Receiving a sixth parameter sent by the terminal; the third parameter and the fourth parameter characterizing the second CDN The service quality indicator of the node facing the first CDN node link; the fifth parameter and the sixth parameter characterizing the service quality indicator of the first CDN node facing the terminal link;
所述分析单元设置为:对所述第三参数、第四参数、第五参数及第六参数进行分析,得到所述第一网络的网络质量检测结果。The analyzing unit is configured to: analyze the third parameter, the fourth parameter, the fifth parameter, and the sixth parameter to obtain a network quality detection result of the first network.
本发明实施例又提供了一种网络质量检测装置,包括:The embodiment of the invention further provides a network quality detecting device, comprising:
第二接收单元,设置为接收检测任务;所述检测任务用于指示终端分段采集第一网络的参数集,所述参数集表征所述第一网络的传输参数;所述第一网络为所述终端所在的端到端网络;a second receiving unit, configured to receive a detection task, where the detecting task is used to instruct the terminal to collect a parameter set of the first network, the parameter set characterizing a transmission parameter of the first network, where the first network is The end-to-end network where the terminal is located;
第一采集单元,设置为响应所述检测任务,采集第一参数及第二参数;所述第一参数表征所述第一网络中端到端的信令响应时延;所述第二参数表征所述第一网络中端到端的数据包传输时延;其中,所述信令响应时延依据RTSP延时和traceroute时延得到;The first collecting unit is configured to: collect the first parameter and the second parameter in response to the detecting task; the first parameter represents an end-to-end signaling response delay in the first network; and the second parameter representation An end-to-end packet transmission delay in the first network; wherein the signaling response delay is obtained according to an RTSP delay and a traceroute delay;
第二发送单元,设置为发出所述第一参数及第二参数。The second sending unit is configured to issue the first parameter and the second parameter.
上述方案中,所述第一采集单元设置为:In the above solution, the first collection unit is configured to:
向第一CDN节点发送RSTP请求;第一CDN节点为终端的对端;Sending an RSTP request to the first CDN node; the first CDN node is the peer end of the terminal;
并向所述第一CDN节点发送traceroute请求;And sending a traceroute request to the first CDN node;
根据发送的RSTP请求以及RSTP响应的接收状态,确定RSTP延时;并根据发送的traceroute请求以及traceroute响应的接收状态,确定traceroute延时;Determining an RSTP delay according to the sent RSTP request and the receiving state of the RSTP response; and determining a traceroute delay according to the received traceroute request and the receiving status of the traceroute response;
利用RTSP时延和traceroute时延,得到所述第一参数。The first parameter is obtained using RTSP delay and traceroute delay.
上述方案中,所述第一采集单元设置为:In the above solution, the first collection unit is configured to:
采集第一CDN节点到终端的IP包的时延,得到所述第二参数。The time delay of collecting the IP packet of the first CDN node to the terminal is obtained, and the second parameter is obtained.
本发明实施例还提供了一种网络质量检测装置,包括:The embodiment of the invention further provides a network quality detecting device, comprising:
第三接收单元,设置为接收检测任务;所述检测任务用于指示所述采集设备分段采集第一网络的参数集,所述参数集表征所述第一网络的传输参数; a third receiving unit, configured to receive a detection task, where the detecting task is used to instruct the collecting device to collect a parameter set of the first network, and the parameter set represents a transmission parameter of the first network;
第二采集单元,设置为响应所述检测任务,依据自身在所述第一网络的位置以及端到端的网络服务链路方向,采集对应链路的服务质量指标;The second collecting unit is configured to: in response to the detecting task, collect a service quality indicator of the corresponding link according to the location of the first network and the end-to-end network service link direction;
第三发送单元,设置为发出采集的服务质量指标。The third sending unit is configured to issue the collected quality of service indicator.
上述方案中,所述第二采集单元设置为:In the above solution, the second collection unit is configured to:
获取所述服务链路的IP地址和端口;Obtaining an IP address and a port of the service link;
利用IP地址和端口,抓取数据包;Use the IP address and port to capture data packets;
对抓取的数据包进行分析,得到所述对应链路的服务质量指标。The captured data packet is analyzed to obtain a service quality indicator of the corresponding link.
本发明实施例还提供了一种存储介质,所述存储介质包括存储的程序,其中,所述程序运行时执行上述任一项所述的方法。The embodiment of the present invention further provides a storage medium, where the storage medium includes a stored program, wherein the program is executed to perform the method described in any one of the above.
本发明实施例还提供了一种处理器,所述处理器设置为运行程序,其中,所述程序运行时执行上述任一项所述的方法。The embodiment of the present invention further provides a processor, the processor is configured to run a program, wherein the program is executed to perform the method described in any one of the above.
本发明实施例提供的网络质量检测方法及装置,发送检测任务,所述检测任务用于指示采集设备分段采集第一网络的参数集,所述参数集表征所述第一网络的传输参数;所述第一网络为端到端网络;接收所述采集设备采集的参数集;利用所述参数集,对所述第一网络的网络质量进行分析,得到所述第一网络的网络质量检测结果,将网络分段进行检测,如此能够准确、快速地检测网络质量。The network quality detection method and device provided by the embodiment of the present invention sends a detection task, where the detection task is used to instruct the collection device to collect a parameter set of the first network, and the parameter set characterizes the transmission parameter of the first network; The first network is an end-to-end network; receiving a parameter set collected by the collection device; using the parameter set, analyzing network quality of the first network, and obtaining network quality detection result of the first network The network segmentation is detected, so that the network quality can be detected accurately and quickly.
附图说明DRAWINGS
在附图(其不一定是按比例绘制的)中,相似的附图标记可在不同的视图中描述相似的部件。具有不同字母后缀的相似附图标记可表示相似部件的不同示例。附图以示例而非限制的方式大体示出了本文中所讨论的各个实施例。In the drawings, which are not necessarily to scale, the Like reference numerals with different letter suffixes may indicate different examples of similar components. The drawings generally illustrate the various embodiments discussed herein by way of example and not limitation.
图1为本发明实施实例一一种网络质量检测的方法流程示意图;1 is a schematic flowchart of a method for network quality detection according to an embodiment of the present invention;
图2为本发明实施实例一另一种网络质量检测的方法流程示意图;2 is a schematic flowchart of another method for network quality detection according to Embodiment 1 of the present invention;
图3为本发明实施实例一再一种网络质量检测的方法流程示意图; 3 is a schematic flowchart of a method for network quality detection according to an embodiment of the present invention;
图4为本发明实施实例二一种网络质量检测装置结构示意图;4 is a schematic structural diagram of a network quality detecting apparatus according to Embodiment 2 of the present invention;
图5为本发明实施实例二另一种网络质量检测装置结构示意图;FIG. 5 is a schematic structural diagram of another network quality detecting apparatus according to Embodiment 2 of the present invention; FIG.
图6为本发明实施实例二再一种网络质量检测装置结构示意图;6 is a schematic structural diagram of another network quality detecting apparatus according to Embodiment 2 of the present invention;
图7为本发明实施实例三系统架构示意图;7 is a schematic structural diagram of a third embodiment of the present invention;
图8为本发明实施实例三采集终端到CDN系统的接入网络的请求路由信息和时延的过程示意图;8 is a schematic diagram of a process for collecting request routing information and delay of an access network from a terminal to a CDN system according to Embodiment 3 of the present invention;
图9为本发明实施实例三CDN系统到终端的传输时延检测及分析方法流程示意图;9 is a schematic flowchart of a method for detecting and analyzing a transmission delay of a CDN system to a terminal according to Embodiment 3 of the present invention;
图10为本发明实施实例三采集CDN系统到终端的单播服务链路服务质量指标的过程示意图;10 is a schematic diagram of a process for collecting a QoS service link quality indicator of a CDN system to a terminal according to Embodiment 3 of the present invention;
图11为本发明实施实例三单播服务链路示意图。FIG. 11 is a schematic diagram of a third unicast service link according to an embodiment of the present invention.
具体实施方式detailed description
下面结合附图及实施例对本发明再作进一步详细的描述。The present invention will be further described in detail below with reference to the accompanying drawings and embodiments.
传统衡量CDN到终端的视频服务质量的方式,主要有以下两种:There are two main ways to measure the quality of video services from CDN to the terminal:
第一种方式:基于上报的终端指标来统计汇总计算CDN及接入网的服务质量。The first way is to calculate and calculate the service quality of the CDN and the access network based on the reported terminal indicators.
这种方式是从数据的统计和汇总结果入手,给出可能性的原因,该处理方式存在一定缺陷:第一,需要基于大规模机顶盒数据量分析,这是因为机顶盒数据量越大,分析结果可靠性越高;第二,由于分析的数据只是机顶盒自身的数据,并不涉及网络的数据,所以当造成的可能性原因较多时,用户分析难度越多,无法准确定位。This method starts from the statistics and summary results of the data, and gives the possibility. The processing method has certain defects: First, it needs to be based on the large-scale set-top box data volume analysis. This is because the larger the data volume of the set-top box, the analysis result. The higher the reliability is. Secondly, since the analyzed data is only the data of the set-top box itself and does not involve the data of the network, when there are many reasons for the possibility, the more difficult the user analysis is, the accurate positioning cannot be performed.
第二种方式:在中间传输网络上抓包然后做码流匹配分析,以获得服务质量。The second way is to capture packets on the intermediate transmission network and then perform code stream matching analysis to obtain the quality of service.
这种方式运算难度复杂而且CDN到机顶盒的单独码流难以匹配,灵活性较差。 This method is computationally complicated and the individual code streams of the CDN to the set top box are difficult to match and the flexibility is poor.
从上面的描述中可以看出,目前的衡量方式均存在一定缺陷:有的衡量方法准确性差,有的衡量方法实现难度较大,且灵活性较差。As can be seen from the above description, the current measurement methods have certain defects: some measurement methods have poor accuracy, and some measurement methods are difficult to implement and have poor flexibility.
另外,目前CDN到终端之间的网络服务路径质量无法有效衡量。In addition, the quality of network service paths between CDN and terminals cannot be effectively measured.
基于此,在本发明的各种实施例中采用了以下的方案:发送检测任务,所述检测任务用于指示采集设备分段采集第一网络的参数集,所述参数集表征所述第一网络的传输参数;所述第一网络为端到端网络;接收所述采集设备采集的参数集;利用所述参数集,对所述第一网络的网络质量进行分析,得到所述第一网络的网络质量检测结果。Based on this, in the various embodiments of the present invention, the following solution is adopted: sending a detection task, the detecting task is used to instruct the collecting device to collect the parameter set of the first network, and the parameter set characterizes the first a transmission parameter of the network; the first network is an end-to-end network; receiving a parameter set collected by the collection device; using the parameter set, analyzing network quality of the first network, obtaining the first network Network quality test results.
实施例一Embodiment 1
本发明实施例提供一种网络质量检测方法,应用于服务器,如图1所示,该方法包括:The embodiment of the invention provides a network quality detection method, which is applied to a server. As shown in FIG. 1 , the method includes:
步骤101:发送检测任务;Step 101: Send a detection task.
这里,所述检测任务用于指示采集设备分段采集第一网络的参数集,所述参数集表征所述第一网络的传输参数;所述第一网络为端到端网络。Here, the detecting task is used to instruct the collecting device to collect the parameter set of the first network, the parameter set characterizing the transmission parameter of the first network; and the first network is an end-to-end network.
其中,实际应用时,所述第一网络可以是CDN节点到终端的视频服务网络。The actual network may be a CDN node-to-terminal video service network.
步骤102:接收所述采集设备采集的参数集;Step 102: Receive a parameter set collected by the collection device.
步骤103:利用所述参数集,对所述第一网络的网络质量进行分析,得到所述第一网络的网络质量检测结果。Step 103: Analyze the network quality of the first network by using the parameter set, and obtain a network quality detection result of the first network.
其中,实际应用时,网络质量的一个表现形式是交互时延(传输时延),所以需要分段采集网络的交互时延,从而来分析网络质量。Among them, in actual application, one form of network quality is interactive delay (transmission delay), so the interactive delay of the network needs to be collected in stages to analyze the network quality.
基于此,在一实施例中,当所述采集设备为终端时,步骤102的具体实现包括:Based on this, in an embodiment, when the collecting device is a terminal, the specific implementation of step 102 includes:
服务器接收终端发送的第一参数及第二参数;所述第一参数表征所述第一网络中端到端的信令响应时延;所述第二参数表征所述第一网络中端 到端的数据包传输时延;其中,所述信令响应时延依据RTSP延时和traceroute时延得到。The server receives the first parameter and the second parameter sent by the terminal; the first parameter represents an end-to-end signaling response delay in the first network; and the second parameter represents a middle end of the first network The data packet transmission delay to the end; wherein the signaling response delay is obtained according to the RTSP delay and the traceroute delay.
相应地,在步骤103中,服务器对所述第一参数及第二参数进行分析,得到所述第一网络的网络质量检测结果。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 path may also be presented based on the collected parameter set.
基于此,该方法还可以包括:Based on this, the method may further include:
服务器根据所述第一网络的网络拓扑结构及traceroute路由信息中每一跳路由网关信息,确定所述终端对应的所述第一网络的网络拓扑路径信息;Determining, by the server, the network topology path information of the first network corresponding to the terminal according to the network topology of the first network and the routing gateway information of each hop in the traceroute routing information;
当所述网络拓扑路径信息表征端到端的路由路径有至少两条时,服务器以IP地址为维度,对终端采集的针对每条路由路径的第一参数进行汇聚及分析,确定出至少两条路由路径中传输时延最大及最小的路由点;When the network topology path information indicates that there are at least two end-to-end routing paths, the server uses the IP address as a dimension to aggregate and analyze the first parameters collected by the terminal for each routing path, and determine at least two routes. The route with the largest and smallest transmission delay in the path;
对终端采集的针对每条路由路径的第二参数进行汇聚及分析,确定出至少两条路由路径中路由间传输时延最大及最小的网络段;Converging and analyzing the second parameter collected by the terminal for each routing path, and determining the network segment with the largest and smallest transmission delay between the routes in the at least two routing paths;
基于确定的网络段及路由点,并结合所述第一网络的路由服务信息,确定所述终端的最优服务路径和最差服务路径的路由信息。And determining routing information of the optimal service path and the worst service path of the terminal according to the determined network segment and the routing point, and combining the routing service information of the first network.
当然,当所述网络拓扑路径信息表征端到端的路由路径有一条时,服务器可以依据终端预设时间段内采集的第一参数及第二参数,建立分时动态基线模型;所述模型体现不同服务时间的网络分段质量;Certainly, when the network topology path information indicates that there is one end-to-end routing path, the server may establish a time-sharing dynamic baseline model according to the first parameter and the second parameter collected in the preset time period of the terminal; Network segmentation quality of service time;
并在所述模型上确定所述第一网络网络质量异常时的问题点和时间。And determining a problem point and time when the first network network quality is abnormal on the model.
网络质量的另一个表现形式是码流的传输质量(网络服务路径质量),所以需要分段采集网络的传输质量,从而来分析网络质量。Another form of network quality is the transmission quality of the code stream (network service path quality), so the transmission quality of the network needs to be collected in stages to analyze the network quality.
基于此,在一实施例中,所述采集设备包括第一CDN节点、第二CDN节点及终端;第一CDN节点与终端之间的网络为第一网络;第二CDN节点为第一CDN节点的上级节点;步骤102的具体实现可以包括: Based on this, in an embodiment, the collecting 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; and a second CDN node is a first CDN node. The superior node; the specific implementation of step 102 may include:
服务器接收第二CDN节点发送的第三参数;Receiving, by the server, a third parameter sent by the second CDN node;
服务器接收第一CDN节点发送的第四参数及第五参数;The server receives the fourth parameter and the fifth parameter sent by the first CDN node;
服务器接收终端发送的第六参数;所述第三参数及第四参数表征第二CDN节点面向第一CDN节点链路的服务质量指标;第五参数及第六参数表征第一CDN节点面向终端链路的服务质量指标。The server receives the sixth parameter sent by the terminal; the third parameter and the fourth parameter represent a quality of service indicator of the second CDN node facing the first CDN node link; and the fifth parameter and the sixth parameter represent the first CDN node oriented terminal chain Road quality of service indicators.
相应地,在步骤103中,服务器对所述第三参数、第四参数、第五参数及第六参数进行分析,得到所述第一网络的网络质量检测结果。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.
其中,所述对所述第三参数、第四参数、第五参数及第六参数进行分析,得到所述第一网络的网络质量检测结果,包括:The 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, including:
利用所述第三参数、第四参数、第五参数及第六参数,并结合设置的阈值及网络服务链路的历史趋势,得到所述第一网络的网络质量检测结果。Using the third parameter, the fourth parameter, the fifth parameter, and the sixth parameter, and combining the set threshold and the historical trend of the network service link, the network quality detection result of the first network is obtained.
对于传输质量的检测,可以根据终端的播放记录来触发检测任务的下发。For the detection of the transmission quality, the detection task can be triggered according to the playback record of the terminal.
基于此,在一实施例中,步骤101的具体实现包括:Based on this, in an embodiment, the specific implementation of step 101 includes:
当终端的播放记录异常时,服务器发送检测任务。When the playback record of the terminal is abnormal, the server sends a detection task.
对应地,为了实现本发明实施例的网络质量检测方法,需要采集设备采集相应的参数。Correspondingly, in order to implement the network quality detection method in the embodiment of the present invention, the collection device needs to collect corresponding parameters.
因此,本发明实施例还提供了一种网络质量检测方法,应用于终端,如图2所示,该法包括:Therefore, the embodiment of the present invention further provides a network quality detecting method, which is applied to a terminal, as shown in FIG. 2, the method includes:
步骤201:接收检测任务;Step 201: Receive a detection task.
这里,所述检测任务用于指示终端分段采集第一网络的参数集,所述参数集表征所述第一网络的传输参数;所述第一网络为所述终端所在的端到端网络。Here, the detecting task is used to instruct the terminal to collect the parameter set of the first network, and the parameter set represents the transmission parameter of the first network; the first network is an end-to-end network where the terminal is located.
步骤202:响应所述检测任务,采集第一参数及第二参数; Step 202: responsive to the detecting task, collecting the first parameter and the second parameter;
这里,所述第一参数表征所述第一网络中端到端的信令响应时延;所述第二参数表征所述第一网络中端到端的数据包传输时延。Here, the first parameter represents an end-to-end signaling response delay in the first network; and the second parameter represents an end-to-end packet transmission delay in the first network.
其中,所述信令响应时延依据RTSP延时和traceroute时延得到。The signaling response delay is obtained according to the RTSP delay and the traceroute delay.
所述采集第一参数,包括:The collecting the first parameter includes:
向第一CDN节点发送RSTP请求;第一CDN节点为终端的对端;Sending an RSTP request to the first CDN node; the first CDN node is the peer end of the terminal;
并向所述第一CDN节点发送traceroute请求;And sending a traceroute request to the first CDN node;
根据发送的RSTP请求以及RSTP响应的接收状态,确定RSTP延时;并根据发送的traceroute请求以及traceroute响应的接收状态,确定traceroute延时;Determining an RSTP delay according to the sent RSTP request and the receiving state of the RSTP response; and determining a traceroute delay according to the received traceroute request and the receiving status of the traceroute response;
利用RTSP时延和traceroute时延,得到所述第一参数。The first parameter is obtained using RTSP delay and traceroute delay.
其中,所述利用RTSP时延和traceroute时延,得到所述第一参数,包括:The using the RTSP delay and the traceroute delay to obtain the first parameter, including:
将所述RTSP时延与traceroute延时求差,得到所述第一参数。The RTSP delay is delayed from the traceroute delay to obtain the first parameter.
所述采集第二参数,包括:The collecting the second parameter includes:
采集第一CDN节点到终端的IP包的时延,得到所述第二参数。The time delay of collecting the IP packet of the first CDN node to the terminal is obtained, and the second parameter is obtained.
步骤203:发出所述第一参数及第二参数。Step 203: Issue the first parameter and the second parameter.
本发明实施例还提供了一种网络质量检测方法,应用于采集设备,如图3所示,该法还包括:The embodiment of the invention further provides a network quality detecting method, which is applied to the collecting device. As shown in FIG. 3, the method further includes:
步骤301:接收检测任务;Step 301: Receive a detection task.
这里,所述检测任务用于指示所述采集设备分段采集第一网络的参数集,所述参数集表征所述第一网络的传输参数。Here, the detecting task is used to instruct the collecting device to collect a parameter set of the first network, and the parameter set represents a transmission parameter of the first network.
步骤302:响应所述检测任务,依据自身在所述第一网络的位置以及端到端的网络服务链路方向,采集对应链路的服务质量指标;Step 302: In response to the detecting task, collecting a service quality indicator of the corresponding link according to the location of the first network and the end-to-end network service link direction;
具体地,获取所述服务链路的IP地址和端口; Specifically, acquiring an IP address and a port of the service link;
利用IP地址和端口,抓取数据包;Use the IP address and port to capture data packets;
对抓取的数据包进行分析,得到所述对应链路的服务质量指标。The captured data packet is analyzed to obtain a service quality indicator of the corresponding link.
这里,当所述采集设备为终端时,所述利用IP地址和端口,抓取数据包,包括:Here, when the collecting device is a terminal, the capturing the data packet by using the IP address and the port includes:
利用IP地址和端口,在所述终端的入向抓取数据包;其中,Using the IP address and port, the packet is captured at the inbound direction of the terminal;
所述第一网络为所述终端所在的端到端网络;得到的服务质量指标为第六参数。The first network is an end-to-end network where the terminal is located; the obtained quality of service indicator is a sixth parameter.
当所述采集设备为第一CDN节点时,所述利用IP地址和端口,抓取数据包,包括:When the collecting device is the first CDN node, the extracting the data packet by using the IP address and the port includes:
利用IP地址和端口,在所述第一CDN节点的入向和出向抓取数据包;其中,Obtaining data packets in the inbound and outbound direction of the first CDN node by using an IP address and a port;
第一CDN节点与终端之间的网络为第一网络;得到的服务质量指标为第四参数及第五参数。The network between the first CDN node and the terminal is the first network; the obtained quality of service indicators are the fourth parameter and the fifth parameter.
当所述采集设备为第二CDN节点时,所述利用IP地址和端口,抓取数据包,包括:When the collecting device is a second CDN node, the extracting the data packet by using the IP address and the port includes:
利用IP地址和端口,在所述第二CDN节点的出向抓取数据包;其中,Using the IP address and port, the packet is fetched in the outbound direction of the second CDN node;
第二CDN节点为第一CDN节点的上级节点;得到的服务质量指标为第三参数。The second CDN node is a superior node of the first CDN node; the obtained quality of service indicator is a third parameter.
也就是说,第二CDN节点为第一CDN节点的依赖节点。That is, the second CDN node is a dependent node of the first CDN node.
第五参数及第六参数表征第一CDN节点面向终端链路的服务质量指标;所述第三参数及第四参数表征第二CDN节点面向第一CDN节点链路的服务质量指标。The fifth parameter and the sixth parameter represent a quality of service indicator of the first CDN node facing the terminal link; the third parameter and the fourth parameter represent a quality of service indicator of the second CDN node facing the first CDN node link.
步骤303:发出采集的服务质量指标。Step 303: Issue the collected quality of service indicator.
本发明实施例提供的网络质量检测方法,发送检测任务,所述检测任务用于指示采集设备分段采集第一网络的参数集,所述参数集表征所述第一网络的传输参数;所述第一网络为端到端网络;接收所述采集设备采集 的参数集;利用所述参数集,对所述第一网络的网络质量进行分析,得到所述第一网络的网络质量检测结果,将网络分段进行检测,如此能够准确、快速地检测网络质量。The network quality detection method provided by the embodiment of the present invention sends a detection task, where the detection task is used to instruct the collection device to collect a parameter set of the first network, and the parameter set represents a transmission parameter of the first network; The first network is an end-to-end network; receiving the collection device to collect Using the parameter set, analyzing the network quality of the first network, obtaining the network quality detection result of the first network, and detecting the network segmentation, so that the network quality can be detected accurately and quickly .
另外,接收第二CDN节点发送的第三参数;接收第一CDN节点发送的第四参数及第五参数;接收终端发送的第六参数;所述第三参数及第四参数表征第二CDN节点面向第一CDN节点链路的服务质量指标;第五参数及第六参数表征第一CDN节点面向终端链路的服务质量指标;相应地,对所述第三参数、第四参数、第五参数及第六娴熟进行分析,得到所述第一网络的网络质量检测结果,对服务链路分段进行检测,如此,能够正确、快速地检测端到端的网络服务路径质量。In addition, 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; the third parameter and the fourth parameter characterizing the second CDN node a quality of service indicator for the first CDN node link; the fifth parameter and the sixth parameter represent a quality of service indicator of the first CDN node for the terminal link; and correspondingly, the third parameter, the fourth parameter, and the fifth parameter And the sixth skill is analyzed to obtain the network quality detection result of the first network, and the service link segment is detected, so that the end-to-end network service path quality can be correctly and quickly detected.
实施例二Embodiment 2
为实现本发明实施例的方法,本实施例提供一种网络质量检测装置,设置在服务器,如图4所示,该装置包括:To implement the method of the embodiment of the present invention, the embodiment provides a network quality detecting apparatus, which is disposed in a server. As shown in FIG. 4, the apparatus includes:
第一发送单元41,设置为发送检测任务,所述检测任务用于指示采集设备分段采集第一网络的参数集,所述参数集表征所述第一网络的传输参数;所述第一网络为端到端网络;The first sending unit 41 is configured to send a detection task, where the detecting task is used to instruct the collecting device to collect the parameter set of the first network, the parameter set characterizing the transmission parameter of the first network, and the first network For end-to-end networks;
第一接收单元42,设置为接收所述采集设备采集的参数集;The first receiving unit 42 is configured to receive a parameter set collected by the collecting device;
分析单元43,设置为利用所述参数集,对所述第一网络的网络质量进行分析,得到所述第一网络的网络质量检测结果。The analyzing unit 43 is configured to analyze the network quality of the first network by using the parameter set to obtain a network quality detection result of the first network.
其中,实际应用时,所述第一网络可以是CDN节点到终端的视频服务网络。The actual network may be a CDN node-to-terminal video service network.
实际应用时,网络质量的一个表现形式是交互时延(传输时延),所以需要分段采集网络的交互时延,从而来分析网络质量。In actual application, one form of network quality is interactive delay (transmission delay), so the interactive delay of the network needs to be collected in stages to analyze the network quality.
基于此,在一实施例中,所述第一接收单元42设置为:Based on this, in an embodiment, the first receiving unit 42 is configured to:
当所述采集设备为终端时,接收终端发送的第一参数及第二参数;所 述第一参数表征所述第一网络中端到端的信令响应时延;所述第二参数表征所述第一网络中端到端的数据包传输时延;其中,所述信令响应时延依据RTSP延时和traceroute时延得到;When the collecting device is a terminal, receiving the first parameter and the second parameter sent by the terminal; Determining, by the first parameter, an end-to-end signaling response delay in the first network; the second parameter characterizing an end-to-end data packet transmission delay in the first network; wherein the signaling response delay Obtained according to RTSP delay and traceroute delay;
所述分析单元43,设置为对所述第一参数及第二参数进行分析,得到所述第一网络的网络质量检测结果。The analyzing unit 43 is configured to analyze the first parameter and the second parameter to obtain a network quality detection result of the first network.
在该实施例中,当端到端的路由路径有至少两条时,还可以基于采集的参数集对路由路径进行呈现,所述分析单元43还设置为:In this embodiment, when there are at least two end-to-end routing paths, the routing path may also be presented based on the collected parameter set, and the analyzing unit 43 is further configured to:
根据所述第一网络的网络拓扑结构及traceroute路由信息中每一跳路由网关信息,确定所述终端对应的所述第一网络的网络拓扑路径信息;Determining network topology path information of the first network corresponding to the terminal according to the network topology of the first network and the routing gateway information of each hop in the traceroute routing information;
当所述网络拓扑路径信息表征端到端的路由路径有至少两条时,根据所述第一网络的网络拓扑结构,以IP地址为维度,对终端采集的针对每条路由路径的第一参数进行汇聚及分析,确定出至少两条路由路径中传输时延最大及最小的路由点;When the network topology path information indicates that there are at least two end-to-end routing paths, according to the network topology of the first network, the first parameter collected by the terminal for each routing path is performed by using the IP address as a dimension. Convergence and analysis to determine the routing point with the largest and smallest transmission delay in at least two routing paths;
对终端采集的针对每条路由路径的第二参数进行汇聚及分析,确定出至少两条路由路径中路由间传输时延最大及最小的网络段;以及Converging and analyzing the second parameter collected by the terminal for each routing path, and determining the network segment with the largest and smallest transmission delay between the routes in at least two routing paths;
基于确定的网络段及路由点,并结合所述第一网络的路由服务信息,确定所述终端的最优服务路径和最差服务路径的路由信息。And determining routing information of the optimal service path and the worst service path of the terminal according to the determined network segment and the routing point, and combining the routing service information of the first network.
当然,当所述网络拓扑路径信息表征端到端的路由路径有一条时,所述分析单元43可以依据终端预设时间段内采集的第一参数及第二参数,建立分时动态基线模型;所述模型体现不同服务时间的网络分段质量;Certainly, when the network topology path information indicates that there is one end-to-end routing path, the analyzing unit 43 may establish a time-sharing dynamic baseline model according to the first parameter and the second parameter collected in the preset time period of the terminal; The model reflects the quality of network segmentation for different service times;
并在所述模型上确定所述第一网络网络质量异常时的问题点和时间。And determining a problem point and time when the first network network quality is abnormal on the model.
网络质量的另一个表现形式是码流的传输质量(网络服务路径质量),所以需要分段采集网络的传输质量,从而来分析网络质量。Another form of network quality is the transmission quality of the code stream (network service path quality), so the transmission quality of the network needs to be collected in stages to analyze the network quality.
基于此,在一实施例中,所述采集设备包括第一CDN节点、第二CDN节点及终端;第一CDN节点与终端之间的网络为第一网络;第二CDN节点为第一CDN节点的上级节点;所述第一接收单元42设置为: Based on this, in an embodiment, the collecting 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; and a second CDN node is a first CDN node. The upper node is set; the first receiving unit 42 is set to:
服务器接收第二CDN节点发送的第三参数;Receiving, by the server, a third parameter sent by the second CDN node;
服务器接收第一CDN节点发送的第四参数及第五参数;The server receives the fourth parameter and the fifth parameter sent by the first CDN node;
服务器接收终端发送的第六参数;所述第三参数及第四参数表征第二CDN节点面向第一CDN节点链路的服务质量指标;第五参数及第六参数表征第一CDN节点面向终端链路的服务质量指标;The server receives the sixth parameter sent by the terminal; the third parameter and the fourth parameter represent a quality of service indicator of the second CDN node facing the first CDN node link; and the fifth parameter and the sixth parameter represent the first CDN node oriented terminal chain Road quality of service indicators;
所述分析单元43设置为:对所述第三参数、第四参数、第五参数及第六参数进行分析,得到所述第一网络的网络质量检测结果。The analyzing unit 43 is configured to analyze the third parameter, the fourth parameter, the fifth parameter, and the sixth parameter to obtain a network quality detection result of the first network.
其中,所述对所述第三参数、第四参数、第五参数及第六参数进行分析,得到所述第一网络的网络质量检测结果,包括:The 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, including:
所述分析单元43利用所述第三参数、第四参数、第五参数及第六参数,并结合设置的阈值及网络服务链路的历史趋势,得到所述第一网络的网络质量检测结果。The analyzing unit 43 uses the third parameter, the fourth parameter, the fifth parameter, and the sixth parameter, and combines the set threshold and the historical trend of the network service link to obtain the network quality detection result of the first network.
对于传输质量的检测,可以根据终端的播放记录来触发检测任务的下发。For the detection of the transmission quality, the detection task can be triggered according to the playback record of the terminal.
基于此,在一实施例中,当终端的播放记录异常时,所述第一发送单元41发送检测任务。Based on this, in an embodiment, when the play record of the terminal is abnormal, the first transmitting unit 41 transmits the detection task.
实际应用时,所述第一发送单元41、第一接收单元42可由网络质量检测装置中的处理器结合收发机实现;分析单元43可由网络质量检测装置中的处理器实现。In practical applications, the first sending unit 41 and the first receiving unit 42 may be implemented by a processor in the network quality detecting device in combination with the transceiver; the analyzing unit 43 may be implemented by a processor in the network quality detecting device.
为实现本发明实施例的方法,本实施例还提供了一种网络质量检测装置,设置在终端,如图5所示,所述装置包括:In order to implement the method of the embodiment of the present invention, the embodiment further provides a network quality detecting device, which is disposed in the terminal. As shown in FIG. 5, the device includes:
第二接收单元51,设置为接收检测任务;所述检测任务用于指示终端分段采集第一网络的参数集,所述参数集表征所述第一网络的传输参数;所述第一网络为所述终端所在的端到端网络;The second receiving unit 51 is configured to receive a detection task, where the detection task is used to instruct the terminal to collect the parameter set of the first network, and the parameter set represents the transmission parameter of the first network; The end-to-end network where the terminal is located;
第一采集单元52,设置为响应所述检测任务,采集第一参数及第二参 数;所述第一参数表征所述第一网络中端到端的信令响应时延;所述第二参数表征所述第一网络中端到端的数据包传输时延;其中,所述信令响应时延依据RTSP延时和traceroute时延得到;The first collecting unit 52 is configured to collect the first parameter and the second parameter in response to the detecting task 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 The response delay is obtained based on the RTSP delay and the traceroute delay;
第二发送单元53,设置为发出所述第一参数及第二参数。The second sending unit 53 is configured to issue the first parameter and the second parameter.
其中,所述第一采集单元52设置为:The first collecting unit 52 is configured to:
向第一CDN节点发送RSTP请求;第一CDN节点为终端的对端;Sending an RSTP request to the first CDN node; the first CDN node is the peer end of the terminal;
并向所述第一CDN节点发送traceroute请求;And sending a traceroute request to the first CDN node;
根据发送的RSTP请求以及RSTP响应的接收状态,确定RSTP延时;并根据发送的traceroute请求以及traceroute响应的接收状态,确定traceroute延时;Determining an RSTP delay according to the sent RSTP request and the receiving state of the RSTP response; and determining a traceroute delay according to the received traceroute request and the receiving status of the traceroute response;
利用RTSP时延和traceroute时延,得到所述第一参数。The first parameter is obtained using RTSP delay and traceroute delay.
其中,所述利用RTSP时延和traceroute时延,得到所述第一参数,包括:The using the RTSP delay and the traceroute delay to obtain the first parameter, including:
所述第一采集单元52将所述RTSP时延与traceroute延时求差,得到所述第一参数。The first collecting unit 52 compares the RTSP delay with the traceroute delay to obtain the first parameter.
所述第一采集单元52设置为:The first collecting unit 52 is configured to:
采集第一CDN节点到终端的IP包的时延,得到所述第二参数。The time delay of collecting the IP packet of the first CDN node to the terminal is obtained, and the second parameter is obtained.
实际应用时,所述第二接收单元51及第二发送单元53可由网络质量检测装置中的收发机实现;所述第一采集单元52可由网络质量检测装置中的处理器结合收发机实现。In practical applications, the second receiving unit 51 and the second transmitting unit 53 may be implemented by a transceiver in the network quality detecting device; the first collecting unit 52 may be implemented by a processor in the network quality detecting device in combination with the transceiver.
本实施例还提供了一种网络质量检测装置,设置在采集设备,如图6所示,该装置包括:The embodiment further provides a network quality detecting device, which is disposed in the collecting device. As shown in FIG. 6, the device includes:
第三接收单元61,设置为接收检测任务;所述检测任务用于指示所述采集设备分段采集第一网络的参数集,所述参数集表征所述第一网络的传输参数; The third receiving unit 61 is configured to receive a detection task, where the detecting task is used to instruct the collecting device to collect a parameter set of the first network, and the parameter set represents a transmission parameter of the first network;
第二采集单元62,设置为响应所述检测任务,依据自身在所述第一网络的位置以及端到端的网络服务链路方向,采集对应链路的服务质量指标;The second collecting unit 62 is configured to, according to the detecting task, collect the service quality indicator of the corresponding link according to the location of the first network and the end-to-end network service link direction;
第三发送单元63,设置为发出采集的服务质量指标。The third sending unit 63 is configured to issue the collected quality of service indicator.
其中,所述第二采集单元设置为:The second collection unit is configured to:
获取所述服务链路的IP地址和端口;Obtaining an IP address and a port of the service link;
利用IP地址和端口,抓取数据包;Use the IP address and port to capture data packets;
对抓取的数据包进行分析,得到所述对应链路的服务质量指标。The captured data packet is analyzed to obtain a service quality indicator of the corresponding link.
其中,当所述采集设备为终端时,所述利用IP地址和端口,抓取数据包,包括:When the collection device is a terminal, the capturing the data packet by using the IP address and the port includes:
所述第二采集单元62利用IP地址和端口,在所述终端的入向抓取数据包;其中,The second collecting unit 62 uses the IP address and the port to capture the data packet at the inbound direction of the terminal;
所述第一网络为所述终端所在的端到端网络;得到的服务质量指标为第六参数。The first network is an end-to-end network where the terminal is located; the obtained quality of service indicator is a sixth parameter.
当所述采集设备为第一CDN节点时,所述利用IP地址和端口,抓取数据包,包括:When the collecting device is the first CDN node, the extracting the data packet by using the IP address and the port includes:
所述第二采集单元62利用IP地址和端口,在所述第一CDN节点的入向和出向抓取数据包;其中,The second collecting unit 62 uses the IP address and the port to capture data packets in the inbound and outbound directions of the first CDN node;
第一CDN节点与终端之间的网络为第一网络;得到的服务质量指标为第四参数及第五参数。The network between the first CDN node and the terminal is the first network; the obtained quality of service indicators are the fourth parameter and the fifth parameter.
当所述采集设备为第二CDN节点时,所述利用IP地址和端口,抓取数据包,包括:When the collecting device is a second CDN node, the extracting the data packet by using the IP address and the port includes:
所述第二采集单元62利用IP地址和端口,在所述第二CDN节点的出向抓取数据包;其中,The second collecting unit 62 uses the IP address and the port to capture the data packet in the outbound direction of the second CDN node;
第二CDN节点为第一CDN节点的上级节点;得到的服务质量指标为第三参数。 The second CDN node is a superior node of the first CDN node; the obtained quality of service indicator is a third parameter.
也就是说,第二CDN节点为第一CDN节点的依赖节点。That is, the second CDN node is a dependent node of the first CDN node.
其中,第五参数及第六参数表征第一CDN节点面向终端链路的服务质量指标;所述第三参数及第四参数表征第二CDN节点面向第一CDN节点链路的服务质量指标。The fifth parameter and the sixth parameter represent a quality of service indicator of the first CDN node facing the terminal link; the third parameter and the fourth parameter represent a quality of service indicator of the second CDN node facing the first CDN node link.
实际应用时,所述第三接收单元61及第三发送单元63可由网络质量检测装置中的收发机实现;所述第二采集单元62可由网络质量检测装置中的处理器实现。In practical applications, the third receiving unit 61 and the third transmitting unit 63 may be implemented by a transceiver in the network quality detecting device; the second collecting unit 62 may be implemented by a processor in the network quality detecting device.
本实施例还提供了一种存储介质,该存储介质包括存储的程序,其中,上述程序运行时执行上述实施例一中所述的方法。The embodiment further provides a storage medium, which includes a stored program, wherein the program described above executes the method described in the first embodiment.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in the embodiment, the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM). A variety of media that can store program code, such as a hard disk, a disk, or an optical disk.
本实施例还提供了一种处理器,该处理器设置为运行程序,其中,该程序运行时执行上述实施例一方法中的步骤。The embodiment further provides a processor configured to run a program, wherein the program is executed to perform the steps in the method of the first embodiment.
实施例三Embodiment 3
在实施例一、二的基础上,本实施例详细描述网络质量检测过程。Based on Embodiments 1 and 2, this embodiment describes the network quality detection process in detail.
在本实施例中,端到端的网络为CDN节点到终端的网络。In this embodiment, the end-to-end network is a CDN node-to-terminal network.
从终端视频服务的整个组网流程来看,涉及的网元及设备包括:CDN节点、承载网、接入网、以及终端设备;基于这种组网架构,本发明实施例中,从两个方面来建立CDN系统到终端的视频网络服务质量指标体系,具体地,从码流传输和交互延时两个方面和检测网络服务质量。其中,交互时延是指:CDN系统到终端的传输时延;码流传输是指:码流传输CDN 系统内部码流传输及CDN系统到终端的码流传输质量对比分析。The network elements and devices involved include: a CDN node, a bearer network, an access network, and a terminal device. Based on the networking architecture, in the embodiment of the present invention, two To establish a video network service quality indicator system from the CDN system to the terminal, specifically, from the two aspects of code stream transmission and interaction delay and detecting network service quality. The interaction delay refers to: the transmission delay of the CDN system to the terminal; the code stream transmission refers to: the code stream transmission CDN The internal code stream transmission of the system and the comparison of the quality of the code stream transmission from the CDN system to the terminal.
图7为本实施例系统架构示意图。从图7中可以看出,核心部件包含八个部分,分别是:系统任务管理模块、数据下发和接收模块、数据分析模块、承载网数据擦采集模块、接入网数据采集模块、CDN节点数据采集模块以及终端数据采集模块。其中,FIG. 7 is a schematic diagram of a system architecture of the embodiment. As can be seen from Figure 7, the core component consists of eight parts: system task management module, data sending and receiving module, data analysis module, bearer data scrubbing module, access network data acquisition module, CDN node. Data acquisition module and terminal data acquisition module. among them,
系统任务管理模块、数据下发和接收模块、数据分析模块部署在服务器,即部署在本地,而承载网数据接入模块、接入网数据接入模块、CDN节点数据采集模块以及终端数据采集模块进行远程部署。The system task management module, the data sending and receiving module, and the data analysis module are deployed on the server, that is, deployed locally, and the bearer network data access module, the access network data access module, the CDN node data acquisition module, and the terminal data acquisition module Remote deployment.
系统任务管理模块,负责管理和调度各数据采集模块的采集任务;也就是说,管理系统与各数据采集模块的任务管理和任务同步;The system task management module is responsible for managing and scheduling the collection tasks of each data collection module; that is, the management system and the task management and task synchronization of each data acquisition module;
数据下发和接收模块,设置为下发采集任务,并接收各数据采集模块采集的数据,并对接收的采集数据进行解析,以便使数据分析模块进行分析;The data sending and receiving module is configured to send the collecting task, receive the data collected by each data collecting module, and parse the received collected data, so that the data analyzing module performs analysis;
数据分析模块,主要基于各数据采集模块采集的数据进行网络质量的分析;The data analysis module mainly analyzes the network quality based on the data collected by each data acquisition module;
承载网数据采集模块,主要设置为采集承载网的资源,包含资源分组、路由信息等,据此可以得到承载网的拓扑结构;The data collection module of the bearer network is mainly configured to collect resources of the bearer network, including resource groupings, routing information, etc., according to which the topology structure of the bearer network can be obtained;
接入网数据采集模块,主要设置为采集接入网的资源,包含资源分组、路由信息等,据此可以得到接入网的拓扑结构。The access network data collection module is mainly configured to collect resources of the access network, including resource groupings, routing information, etc., according to which the topology structure of the access network can be obtained.
这里,实际应用时,可以采用http+json(上报的采集数据的格式为json格式)的方式做任务下发和数据上报,采集任务的启动和停止可以采用同步消息接口,而采集数据的上报则可以采用异步消息接口处理。Here, in actual application, the task delivery and data reporting can be performed by using http+json (the format of the collected data is reported as json format), and the synchronization message interface can be used for starting and stopping the collection task, and the reporting of the collected data is performed. It can be handled using an asynchronous message interface.
基于图7所示的系统结构,下面描述CDN系统到终端的传输时延检测及分析方法。Based on the system configuration shown in FIG. 7, the following describes the transmission delay detection and analysis method of the CDN system to the terminal.
首先,描述采集终端到CDN系统的接入网络的请求路由信息和时延的过程。 First, the process of collecting request routing information and delay of the access network from the terminal to the CDN system is described.
如图8所示,该过程主要包括:As shown in Figure 8, the process mainly includes:
步骤801:系统任务管理模块向终端下发时延分析任务;Step 801: The system task management module sends a delay analysis task to the terminal.
步骤802:终端的终端数据采集模块接到任务后,向CDN系统发起RTSP请求,并采集RTSP响应的时延;Step 802: After receiving the task, the terminal data collection module of the terminal initiates an RTSP request to the CDN system, and collects a delay of the RTSP response.
这里,采集的RTSP响应的时延可以称为RTSP时延,可以认为是一种协议信令类信息。Here, the delay of the collected RTSP response may be referred to as an RTSP delay, which may be considered as a type of protocol signaling information.
步骤803:终端数据采集模块向CDN系统发起traceroute请求,并采集traceroute路由信息及对应的时延;Step 803: The terminal data collection module initiates a traceroute request to the CDN system, and collects traceroute routing information and a corresponding delay.
这里,采集的traceroute路由信息包含网关跳转等相关信息。Here, the collected traceroute routing information includes information such as a gateway jump.
步骤804:端数据采集模块发起IP包传输时延分析任务,具体地,记录从CDN节点到终端的IP包时延。Step 804: The end data collection module initiates an IP packet transmission delay analysis task, specifically, records an IP packet delay from the CDN node to the terminal.
任务结束后将采集的数据结果通过数据下发和接收模块上报给数据分析模块,以对数据进行分析。After the task ends, the collected data results are reported to the data analysis module through the data sending and receiving module to analyze the data.
从上面的描述中可以看出,采集终端到CDN系统的接入网络的请求路由信息和时延的过程,首先,终端数据采集模块发起测试请求,并进行基础数据采集;接着,基于采集的基础数据,分析RTSP时延、traceroute路由时延、以及CDN节点到终端的IP包时延,最后将时延分析结果上报给数据分析模块。As can be seen from the above description, the process of collecting request routing information and delay of the access network to the access network of the CDN system, first, the terminal data collection module initiates a test request and performs basic data collection; and then, based on the acquisition basis Data, analysis of RTSP delay, traceroute routing delay, and IP packet delay from the CDN node to the terminal, and finally reporting the delay analysis result to the data analysis module.
数据分析模块获得终端数据采集模块上报的RTSP时延、traceroute路由时延、以及CDN节点到终端的IP包时延这些参数后,对这些参数进行分析,分析出CDN系统到终端的网络的网络质量检测结果。After obtaining the RTSP delay, the traceroute routing delay, and the IP packet delay of the CDN node to the terminal, the data analysis module analyzes these parameters and analyzes the network quality of the network from the CDN system to the terminal. Test results.
具体地,首先,数据分析模块根据traceroute路由时延、RTSP时延来计算CDN系统的信令响应(CDN节点对于终端的请求响应)时延,并利用IP包的时延来计算CDN节点到终端的数据包传输时延。Specifically, first, the data analysis module calculates a signaling response of the CDN system (a request response of the CDN node to the terminal) according to the traceroute routing delay and the RTSP delay, and calculates the CDN node to the terminal by using the delay of the IP packet. Packet transmission delay.
其中,CDN节点到终端的数据包传输时延=传输控制协议(TCP)建链时延+IP包传输时延; Wherein, the packet transmission delay of the CDN node to the terminal = Transmission Control Protocol (TCP) chaining delay + IP packet transmission delay;
CDN系统的信令响应时延=RTSP时延-traceroute路由的总时延。Signaling response delay of the CDN system = RTSP delay - total delay of the traceroute route.
接着,根据计算的结果分析CDN系统到终端的网络的网络质量检测结果;Then, analyzing network quality detection results of the network from the CDN system to the terminal according to the calculation result;
具体地,对于CDN系统的信令响应时延,当CDN系统的信令响应时延呈现劣化趋势时(通过设置的阈值以及横向时间对比,可以获知CDN系统的信令响应时延是否呈现劣化趋势),分析是否是因为CDN系统自身造成的影响还是中间网络的原因,当RTSP时延呈劣化趋势时(通过设置的阈值以及横向时间对比,可以获知RTSP时延是否呈现劣化趋势),说明CDN系统自身负荷很高,从而对于终端的响应会出现加长响应时间或超时的情况。当RTSP时延正常时,说明是中间网络的原因,可利用traceroute路由中每一跳路由网关信息及每一跳的时延,通过设置的阈值以及横向时间对比的方式,可以获知是哪段路由路径出现了异常。Specifically, for the signaling response delay of the CDN system, when the signaling response delay of the CDN system exhibits a deteriorating trend (by setting the threshold and the horizontal time comparison, it can be known whether the signaling response delay of the CDN system exhibits a deteriorating trend. ), whether the analysis is due to the impact of the CDN system itself or the intermediate network, when the RTSP delay is deteriorating (by setting the threshold and the lateral time comparison, it can be known whether the RTSP delay shows a deteriorating trend), indicating the CDN system The self load is so high that the response to the terminal may increase the response time or timeout. When the RTSP delay is normal, it is the reason of the intermediate network. You can use the route information of each hop in the traceroute route and the delay of each hop. By setting the threshold and the horizontal time comparison, you can know which route is used. An exception has occurred in the path.
对于数据传输时延,当数据包传输时延劣化((通过设置的阈值以及横向时间对比,可以获知数据包传输时延是否呈现劣化趋势))时,说明CDN节点自身服务正常而中间传输网络不稳定。For the data transmission delay, when the packet transmission delay is degraded ((through the set threshold and the lateral time comparison, it can be known whether the packet transmission delay shows a deteriorating trend)), it indicates that the CDN node itself is normal and the intermediate transmission network is not stable.
综上所述,对于CDN系统到终端的传输时延检测及分析方法,如图9所示,主要包括:In summary, the transmission delay detection and analysis method for the CDN system to the terminal, as shown in FIG. 9, mainly includes:
首先,终端CDN节点发送RSTP请求,采集RTSP时延,统计终端到CDN系统的traceroute路由信息及对应的时延,并统计CDN节点到终端的数据包传输时延(步骤901);First, the terminal CDN node sends an RSTP request, collects the RTSP delay, counts the traceroute routing information of the terminal to the CDN system, and the corresponding delay, and counts the packet transmission delay of the CDN node to the terminal (step 901);
接着,将得到的RTSP时延、数据包传输时延、以及traceroute路由时延与进行阈值及横向时间比较(步骤902);Then, the obtained RTSP delay, the packet transmission delay, and the traceroute routing delay are compared with the threshold and the lateral time (step 902);
最后,得到CDN系统到终端的传输时延分析结果(步骤903)。Finally, the transmission delay analysis result of the CDN system to the terminal is obtained (step 903).
另外,实际应用时,数据分析模块还可以提供CDN系统到终端中间网络的各级路由服务情况。In addition, in practical applications, the data analysis module can also provide various levels of routing services from the CDN system to the intermediate network of the terminal.
具体来说,系统任务管理模块向终端发起批量的如图8所示的时延采集过程,以记录每条服务路经对应traceroute路由信息及时延情况、RTSP 时延以及数据包传输时延,数据分析模块可以根据承载网数据采集模块、接入网数据采集模块采集的资源以及traceroute路由信息中每一跳路由网关信息,得到的CDN系统到终端的网络拓扑路径信息,以IP地址为维度进行汇聚分析、比较CDN系统和终端之间网络的路由服务情况,统计最优服务路径和最差服务路径的路由信息,并统计分析长周期的数据,以分析突变和离散的情况和劣化趋势,从而提供整改网络服务质量提供参考建议,以用于网络调优。Specifically, the system task management module initiates a batch of the delay collection process as shown in FIG. 8 to record the time delay of the corresponding traceroute routing information of each service path, and the RTSP. Delay and packet transmission delay, the data analysis module can obtain the CDN system-to-terminal network topology according to the data collected by the data acquisition module of the bearer network, the data collected by the data acquisition module of the access network, and the routing gateway information of each hop in the traceroute routing information. Path information, using IP address as the dimension for aggregation analysis, comparing the routing service between the CDN system and the terminal, counting the routing information of the optimal service path and the worst service path, and statistically analyzing the long-period data to analyze the mutation And provide discretionary and degraded trends to provide rectification of network service quality to provide reference recommendations for network tuning.
这里,统计分析的方式包括:Here, the way of statistical analysis includes:
对于多路径情况,1、多网络路径下以IP地址为维度,将利用traceroute路由时延及RTSP时延进行时延汇聚归因,找出传输时延最大的路由点,以体现路由质量;For the multi-path case, the multi-network path uses the IP address as the dimension. The traceroute route delay and the RTSP delay are used to attribute the delay convergence to find the route point with the largest transmission delay to reflect the route quality.
2、多网络路径下将路由间的传输时延(数据包传输时延)进行汇聚,找出路由间传输的最大时延网络段,体现路由间网络段质量;2. The multi-network path aggregates the transmission delays (data packet transmission delays) between the routes, finds the maximum delay network segment transmitted between the routes, and reflects the quality of the network segments between the routes;
3、根据以上2个汇总数据,结合机顶盒(终端)到CDN节点和CDN节点之间的网络路径信息,统计最差的网络路径、路由点、路由间传输网络。3. According to the above two summary data, combined with the network path information between the set top box (terminal) and the CDN node and the CDN node, the worst network path, routing point, and inter-route transmission network are counted.
针对单个固定网络路径,建立分时动态基线模型,体现在不同服务时间的网络分段质量,记忆和学习其延时分布规律,当网络出现异常裂变时,根据均方差设置阀值,挑选出网络出现异常时离散的问题点和时间。For a single fixed network path, a time-sharing dynamic baseline model is established, which reflects the network segmentation quality at different service times, and the delay distribution law of memory and learning. When the network has abnormal fission, the threshold is set according to the mean square error, and the network is selected. Discrete problem points and time when anomalies occur.
基于图7所示的系统结构,下面描述CDN系统到终端的码流传输质量(网络服务路径质量)检测及分析方法。Based on the system configuration shown in FIG. 7, the following describes the code stream transmission quality (network service path quality) detection and analysis method from the CDN system to the terminal.
具体来说,本发明实施例提供一种CDN系统到终端的单播服务链路网络质量监控方式。Specifically, the embodiment of the invention provides a network quality monitoring mode for a unicast service link from a CDN system to a terminal.
首先,描述采集CDN系统到终端的单播服务链路服务质量指标的过程。 First, a process of collecting a unicast service link quality of service indicator from a CDN system to a terminal is described.
如图10所示,该过程涉及的模块主要包括:系统任务管理模块、终端数据采集模块、CDN节点数据采集模块。结合图10,该过程主要包括:As shown in FIG. 10, the modules involved in the process mainly include: a system task management module, a terminal data collection module, and a CDN node data acquisition module. Referring to Figure 10, the process mainly includes:
首先,系统任务管理模块向终端下发视频指标采集任务,终端的终端数据采集模块实时获取当前服务码流的媒体IP地址和端口,上报系统任务管理模块端记录;First, the system task management module sends a video metrics collection task to the terminal, and the terminal data collection module of the terminal obtains the media IP address and port of the current service code stream in real time, and reports the system task management module end record;
具体来说,终端从RTSP消息中获取IP地址和端口,并上报给系统任务管理模块。Specifically, the terminal obtains an IP address and a port from the RTSP message, and reports the result to the system task management module.
接着,系统任务管理模块得到的IP地址,启动第一CDN节点(服务节点)向第二CDN节点(第一CDN节点的依赖节点)发送RTSP请求,并建立码流服务连接;Then, the IP address obtained by the system task management module starts the first CDN node (the service node) to send an RTSP request to the second CDN node (the dependent node of the first CDN node), and establishes a code stream service connection;
本步骤完成后,形成终端到第一CDN节点和第二CDN节点的网络服务链路。After this step is completed, a network service link of the terminal to the first CDN node and the second CDN node is formed.
然后,系统任务管理模块同步向终端、第一CDN节点及第二节点下发网络质量分析任务;Then, the system task management module sends a network quality analysis task to the terminal, the first CDN node, and the second node.
最后,终端的终端数据采集模块采集服务链路上终端入向的网络质量指标,第一CDN节点的CDN节点数据采集模块(CDN1节点数据采集模块)采集服务链路上第一CDN节点的出向和入向的网络质量指标,第二CDN节点的CDN节点(CDN2节点数据采集模块)数据采集模块采集服务链路上第二CDN节点出向的网络质量指标。Finally, the terminal data collection module of the terminal collects the network quality indicator of the terminal incoming on the service link, and the CDN node data acquisition module (CDN1 node data acquisition module) of the first CDN node collects the outgoing direction of the first CDN node on the service link. The incoming network quality indicator, the CDN node of the second CDN node (CDN2 node data acquisition module) data collection module collects the network quality indicator of the second CDN node on the service link.
这里,终端和CDN节点采集的网络质量指标是基于tcpdump实现的,只需要获得相应的tcpdump参数即可,只是实现时各设备采集的方向并不相同。Here, the network quality indicators collected by the terminal and the CDN node are implemented based on tcpdump, and only need to obtain the corresponding tcpdump parameter, but the direction of collection by each device is not the same.
具体地,如图11所示,服务链路可以分为:CDN节点间的服务链路111以及CDN节点与终端之间的服务链路112。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 the CDN node and the terminal.
那么,CDN节点间的服务链路网络质量指标的采集包括:第二CDN节点以IP地址和端口(port)作为本节点的出向tcpdump入参,通过tcpdump抓包的方式获得出向的网络质量指标;而第一CDN节点,以IP地址和端 口(port)作为本节点的入向tcpdump入参,通过tcpdump抓包的方式获得入向的网络质量指标;综合第一CDN节点和第二CDN节点获得的网络质量指标,得到CDN节点间的服务链路网络质量指标。Then, the collection of the service link network quality indicators between the CDN nodes includes: the second CDN node uses the IP address and the port as the outbound tcpdump input parameters of the local node, and obtains the outgoing network quality indicator by means of tcpdump packet capture; And the first CDN node, with IP address and end The port acts as the inbound tcpdump of the node, and obtains the incoming network quality indicator by means of tcpdump packet capture; integrates the network quality indicators obtained by the first CDN node and the second CDN node to obtain the service between the CDN nodes. Link network quality indicator.
CDN节点与终端之间的服务链路网络质量指标的采集包括:第一CDN节点,以IP地址和端口(port)作为本节点的出向tcpdump入参,通过tcpdump抓包的方式获得出向的网络质量指标;终端以IP地址和端口(port)作为本节点的入向tcpdump入参,通过tcpdump抓包的方式获得入向的网络质量指标,综合第一CDN节点和终端获得的网络质量指标,得到CDN节点与终端之间的服务链路网络质量指标。The collection of the service link network quality indicators between the CDN node and the terminal includes: the first CDN node, using the IP address and the port as the outbound tcpdump of the local node, and obtaining the outgoing network quality by means of tcpdump packet capture. Indicator: The terminal uses the IP address and port as the inbound tcpdump of the node, obtains the incoming network quality indicator by means of tcpdump packet capture, integrates the network quality indicators obtained by the first CDN node and the terminal, and obtains the CDN. Service link network quality indicator between the node and the terminal.
其中,网络质量指标可以包括:网络吞吐量、丢包、抖动、重传、建链时长等参数。网络质量指标可以称为TCP类信息。The network quality indicator may include parameters such as network throughput, packet loss, jitter, retransmission, and link length. Network quality indicators can be referred to as TCP class information.
接着,数据分析模块实时对各设备采集的网络质量指标进行分析,实时横向对比网络质量指标,从而分析出码流网络质量的劣化趋势和位置。Then, the data analysis module analyzes the network quality indicators collected by each device in real time, and compares the network quality indicators in real time to analyze the degradation trend and location of the code stream network quality.
也就是说,数据分析模块将实时采集的网络质量指标,对比分析单个用户服务的网络服务质量的历史趋势,从而分析出劣化情况和劣化位置。具体是将采集的网络质量指标(TCP建链时间、网络吞吐、丢包、抖动、重传等)做多维数据的关联比较。That is to say, the data analysis module compares the historical quality trends of the network service quality of the single user service by analyzing the network quality indicators collected in real time, thereby analyzing the deterioration situation and the deterioration position. Specifically, the collected network quality indicators (TCP link time, network throughput, packet loss, jitter, retransmission, etc.) are compared for multi-dimensional data.
下面结合场景给出比较结果。The comparison results are given below in combination with the scene.
应用场景1:终端起始播放场景Application scenario 1: The terminal starts to play the scene.
此场景正常情况下,客户端尽力下载,网络质量指标情况如下:Under normal circumstances, the client tries its best to download, and the network quality indicators are as follows:
传输层:TCP建链时间短,TCP重传率很低。Transport layer: TCP build time is short, and TCP retransmission rate is very low.
应用场景2:终端正常播放场景Application scenario 2: The terminal plays the scene normally.
此场景正常情况下,客户端匀速下载,网络质量指标情况如下:Under normal circumstances, the client downloads at a constant speed, and the network quality indicators are as follows:
传输层:TCP建链时间短,TCP重传率很低,丢包率较低、发端和收端码流基本一致。Transport layer: TCP build time is short, TCP retransmission rate is very low, packet loss rate is low, and the originating and receiving end code streams are basically the same.
应用场景3:网络丢包严重场景 Scenario 3: Critical scenario of network packet loss
此场景下,由于网络丢包造成卡顿,网络质量指标情况如下:In this scenario, the network quality indicators are as follows due to network packet loss:
传输层:丢包率高、收发码率差别较大、TCP建链时间会波动、TCP重传率很高且无规律波动、抖动大。Transport layer: high packet loss rate, large difference in transmission and reception rate, TCP link time fluctuates, TCP retransmission rate is high, irregular fluctuation, and jitter.
应用场景4:网速不够或限速场景Application scenario 4: insufficient network speed or speed limit scenario
此场景下,由于网速不够造成卡顿,网络质量指标情况如下:In this scenario, due to insufficient network speed, the network quality indicators are as follows:
传输层:TCP建链时间较稳定,TCP重传率有但不高且较稳定、下载码率低。Transport layer: TCP build time is relatively stable, TCP retransmission rate is not high and stable, and the download rate is low.
应用场景5:CDN节点的服务器性能不足场景Application scenario 5: Server performance shortage scenario of CDN node
此场景下,由于CDN服务器性能问题造成会话处理不及时造成卡顿,网络质量指标情况如下:In this scenario, due to the performance problem of the CDN server, the session processing is not timely caused by the card. The network quality indicators are as follows:
传输层:TCP建链时间短,TCP重传率不高、丢包率低,RSTP时延异常波动有时很高。Transport layer: TCP build time is short, TCP retransmission rate is not high, packet loss rate is low, and RSTP delay abnormal fluctuation is sometimes high.
实际应用时,根据终端的播放记录,当播放记录出现异常时,系统任务管理模块智能联动机顶盒的终端数据采集模块和CDN节点的CDN节点数据采集模块,发起单路码流服务主动诊断流程,并由数据分析模块给出诊断结果,从而提供针对网络服务质量的一键式检测、问题定位机制。In practical application, according to the play record of the terminal, when the play record is abnormal, the terminal data acquisition module of the intelligent task box of the system task management module and the CDN node data acquisition module of the CDN node initiates an active diagnosis process of the single channel code stream service, and The diagnostic results are provided by the data analysis module to provide a one-click detection and problem location mechanism for network quality of service.
从上面的描述中可以看出,CDN系统到终端的单播服务链路网络质量监控方式中,终端实时针对单个视频发起RSTP信令以请求下发码流,服务CDN节点向依赖CDN节点发起RSTP信令请求,从而形成实时单播服务链路,在该服务链路上通过抓包分析,来得到CDN节点的入向、出向的服务质量指标和终端的服务质量指标,并对该链路上的视频网络传输的服务质量指标项做横向对比分析,判断网络服务质量的劣化位置。As can be seen from the above description, in the unicast service link network quality monitoring mode of the CDN system to the terminal, the terminal initiates RSTP signaling for a single video in real time to request the delivery of the code stream, and the serving CDN node initiates RSTP to the dependent CDN node. The signaling request forms a real-time unicast service link, and the packet quality analysis is performed on the service link to obtain the service quality indicator of the inbound and outbound directions of the CDN node and the service quality indicator of the terminal, and the link is on the link. The service quality indicator items of the video network transmission are subjected to horizontal comparative analysis to judge the deterioration position of the network service quality.
综上所述,本发明实施例的供的方案,将网络分段进行检测,所以能够更加快捷、准确地检测CDN到终端的视频网络质量。In summary, the solution provided by the embodiment of the present invention detects the network segmentation, so that the video network quality of the CDN to the terminal can be detected more quickly and accurately.
另外,本发明实施例提供的方案还可以对服务链路分段进行检测,如此,能够正确、快速地检测端到端的网络服务路径质量。 In addition, the solution provided by the embodiment of the present invention can also detect the service link segment, so that the end-to-end network service path quality can be correctly and quickly detected.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.
工业实用性Industrial applicability
本发明实施例提供的网络质量检测方法及装置,发送检测任务,所述检测任务用于指示采集设备分段采集第一网络的参数集,所述参数集表征 所述第一网络的传输参数;所述第一网络为端到端网络;接收所述采集设备采集的参数集;利用所述参数集,对所述第一网络的网络质量进行分析,得到所述第一网络的网络质量检测结果,将网络分段进行检测,如此能够准确、快速地检测网络质量,具有工业实用性。 The network quality detection method and device provided by the embodiment of the present invention sends a detection task, where the detection task is used to instruct the collection device to acquire a parameter set of the first network, and the parameter set is characterized. a transmission parameter of the first network; the first network is an end-to-end network; receiving a parameter set collected by the collection device; using the parameter set, analyzing network quality of the first network, obtaining a The network quality detection result of the first network is used to detect the network segmentation, so that the network quality can be detected accurately and quickly, and has industrial applicability.

Claims (28)

  1. 一种网络质量检测方法,应用于服务器,所述方法包括:A network quality detecting method is applied to a server, and the method includes:
    发送检测任务,所述检测任务用于指示采集设备分段采集第一网络的参数集,所述参数集表征所述第一网络的传输参数;所述第一网络为端到端网络;Sending a detection task, the detecting task is used to instruct the collecting device to collect the parameter set of the first network, the parameter set characterizing the transmission parameter of the first network; the first network is an end-to-end network;
    接收所述采集设备采集的参数集;Receiving a parameter set collected by the collection device;
    利用所述参数集,对所述第一网络的网络质量进行分析,得到所述第一网络的网络质量检测结果。The network quality of the first network is analyzed by using the parameter set to obtain a network quality detection result of the first network.
  2. 根据权利要求1所述的方法,其中,所述采集设备为终端,所述接收所述采集设备采集的参数集,包括:The method of claim 1, wherein the collecting device is a terminal, and the receiving the parameter set collected by the collecting device comprises:
    接收终端发送的第一参数及第二参数;所述第一参数表征所述第一网络中端到端的信令响应时延;所述第二参数表征所述第一网络中端到端的数据包传输时延;其中,所述信令响应时延依据实时流传输协议RTSP延时和路由跟踪traceroute时延得到;Receiving, by the terminal, a first parameter and a second parameter; the first parameter characterizing an end-to-end signaling response delay in the first network; and the second parameter characterizing an end-to-end data packet in the first network a transmission delay; wherein the signaling response delay is obtained according to a real-time streaming protocol RTSP delay and a route tracking traceroute delay;
    相应地,对所述第一参数及第二参数进行分析,得到所述第一网络的网络质量检测结果。Correspondingly, analyzing the first parameter and the second parameter to obtain a network quality detection result of the first network.
  3. 根据权利要求2所述的方法,其中,所述方法还包括:The method of claim 2, wherein the method further comprises:
    根据所述第一网络的网络拓扑结构及traceroute路由信息中每一跳路由网关信息,确定所述终端对应的所述第一网络的网络拓扑路径信息;Determining network topology path information of the first network corresponding to the terminal according to the network topology of the first network and the routing gateway information of each hop in the traceroute routing information;
    当所述网络拓扑路径信息表征端到端的路由路径有至少两条时,以IP地址为维度,对终端采集的针对每条路由路径的第一参数进行汇聚及分析,确定出至少两条路由路径中传输时延最大及最小的路由点; When the network topology path information indicates that there are at least two end-to-end routing paths, the first parameter collected by the terminal for each routing path is aggregated and analyzed by using the IP address as a dimension, and at least two routing paths are determined. The routing point with the largest and smallest transmission delay;
    对终端采集的针对每条路由路径的第二参数进行汇聚及分析,确定出至少两条路由路径中路由间传输时延最大及最小的网络段;Converging and analyzing the second parameter collected by the terminal for each routing path, and determining the network segment with the largest and smallest transmission delay between the routes in the at least two routing paths;
    基于确定的网络段及路由点,并结合所述第一网络的路由服务信息,确定所述终端的最优服务路径和最差服务路径的路由信息。And determining routing information of the optimal service path and the worst service path of the terminal according to the determined network segment and the routing point, and combining the routing service information of the first network.
  4. 根据权利要求2所述的方法,其中,所述方法还包括:The method of claim 2, wherein the method further comprises:
    根据所述第一网络的网络拓扑结构及traceroute路由信息中每一跳路由网关信息,确定所述终端对应的所述第一网络的网络拓扑路径信息;Determining network topology path information of the first network corresponding to the terminal according to the network topology of the first network and the routing gateway information of each hop in the traceroute routing information;
    当所述网络拓扑路径信息表征端到端的路由路径有一条时,依据终端预设时间段内采集的第一参数及第二参数,建立分时动态基线模型;所述模型体现不同服务时间的网络分段质量;When the network topology path information represents one end-to-end routing path, the time-sharing dynamic baseline model is established according to the first parameter and the second parameter collected in the preset time period of the terminal; the model represents a network with different service time. Segment quality
    并在所述模型上确定所述第一网络网络质量异常时的问题点和时间。And determining a problem point and time when the first network network quality is abnormal on the model.
  5. 根据权利要求1所述的方法,其中,所述采集设备包括第一内容分发网络CDN节点、第二CDN节点及终端;第一CDN节点与终端之间的网络为第一网络;第二CDN节点为第一CDN节点的上级节点;The method according to claim 1, wherein said collection device comprises a first content distribution network CDN node, a second CDN node and a terminal; a network between the first CDN node and the terminal is a first network; and a second CDN node Is the superior node of the first CDN node;
    所述接收所述采集设备采集的参数集,包括:Receiving the parameter set collected by the collection device, including:
    接收第二CDN节点发送的第三参数;Receiving a third parameter sent by the second CDN node;
    接收第一CDN节点发送的第四参数及第五参数;Receiving a fourth parameter and a fifth parameter sent by the first CDN node;
    接收终端发送的第六参数;所述第三参数及第四参数表征第二CDN节点面向第一CDN节点链路的服务质量指标;第五参数及第六参数表征第一CDN节点面向终端链路的服务质量指标; Receiving a sixth parameter sent by the terminal; the third parameter and the fourth parameter characterizing a quality of service indicator of the second CDN node facing the first CDN node link; the fifth parameter and the sixth parameter characterizing the first CDN node facing the terminal link Quality of service indicators;
    相应地,对所述第三参数、第四参数、第五参数及第六参数进行分析,得到所述第一网络的网络质量检测结果。Correspondingly, 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.
  6. 根据权利要求5所述的方法,其中,所述对所述第三参数、第四参数、第五参数及第六参数进行分析,得到所述第一网络的网络质量检测结果,包括:The method according to claim 5, wherein the 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, including:
    利用所述第三参数、第四参数、第五参数及第六参数,并结合设置的阈值及网络服务链路的历史趋势,得到所述第一网络的网络质量检测结果。Using the third parameter, the fourth parameter, the fifth parameter, and the sixth parameter, and combining the set threshold and the historical trend of the network service link, the network quality detection result of the first network is obtained.
  7. 根据权利要求5所述的方法,其中,发送检测任务,包括:The method of claim 5 wherein transmitting the detection task comprises:
    当终端的播放记录异常时,发送检测任务。When the playback record of the terminal is abnormal, the detection task is sent.
  8. 一种网络质量检测方法,应用于终端,所述方法包括:A network quality detecting method is applied to a terminal, and the method includes:
    接收检测任务;所述检测任务用于指示终端分段采集第一网络的参数集,所述参数集表征所述第一网络的传输参数;所述第一网络为所述终端所在的端到端网络;Receiving a detection task, the detecting task is used to instruct the terminal to collect the parameter set of the first network, the parameter set characterizing the transmission parameter of the first network; and the first network is the end-to-end where the terminal is located The internet;
    响应所述检测任务,采集第一参数及第二参数;所述第一参数表征所述第一网络中端到端的信令响应时延;所述第二参数表征所述第一网络中端到端的数据包传输时延;其中,所述信令响应时延依据RTSP延时和traceroute时延得到;And responding to the detecting task, collecting a first parameter and a second parameter; the first parameter characterizing an end-to-end signaling response delay in the first network; and the second parameter characterizing the first network end to The data packet transmission delay of the terminal; wherein the signaling response delay is obtained according to the RTSP delay and the traceroute delay;
    发出所述第一参数及第二参数。The first parameter and the second parameter are issued.
  9. 根据权利要求8所述的方法,其中,所述采集第一参数,包括:The method of claim 8 wherein said collecting said first parameter comprises:
    向第一CDN节点发送RSTP请求;第一CDN节点为终端的对端; Sending an RSTP request to the first CDN node; the first CDN node is the peer end of the terminal;
    并向所述第一CDN节点发送traceroute请求;And sending a traceroute request to the first CDN node;
    根据发送的RSTP请求以及RSTP响应的接收状态,确定RSTP延时;并根据发送的traceroute请求以及traceroute响应的接收状态,确定traceroute延时;Determining an RSTP delay according to the sent RSTP request and the receiving state of the RSTP response; and determining a traceroute delay according to the received traceroute request and the receiving status of the traceroute response;
    利用RTSP时延和traceroute时延,得到所述第一参数。The first parameter is obtained using RTSP delay and traceroute delay.
  10. 根据权利要求9所述的方法,其中,所述利用RTSP时延和traceroute时延,得到所述第一参数,包括:The method of claim 9, wherein the utilizing the RTSP delay and the traceroute delay obtains the first parameter, including:
    将所述RTSP时延与traceroute延时求差,得到所述第一参数。The RTSP delay is delayed from the traceroute delay to obtain the first parameter.
  11. 根据权利要求8所述的方法,其中,所述采集第二参数,包括:The method of claim 8 wherein said collecting said second parameter comprises:
    采集第一CDN节点到终端的IP包的时延,得到所述第二参数。The time delay of collecting the IP packet of the first CDN node to the terminal is obtained, and the second parameter is obtained.
  12. 一种网络质量检测方法,应用于采集设备,所述方法包括:A network quality detection method is applied to an acquisition device, and the method includes:
    接收检测任务;所述检测任务用于指示所述采集设备分段采集第一网络的参数集,所述参数集表征所述第一网络的传输参数;Receiving a detection task, the detecting task is used to instruct the collecting device to collect a parameter set of the first network, and the parameter set is used to represent a transmission parameter of the first network;
    响应所述检测任务,依据自身在所述第一网络的位置以及端到端的网络服务链路方向,采集对应链路的服务质量指标;And responding to the detecting task, collecting a service quality indicator of the corresponding link according to the location of the first network and the end-to-end network service link direction;
    发出采集的服务质量指标。Issue the collected quality of service indicators.
  13. 根据权利要求12所述的方法,其中,所述采集对应链路的服务质量指标,包括:The method according to claim 12, wherein the collecting the quality of service indicator of the corresponding link comprises:
    获取所述服务链路的IP地址和端口;Obtaining an IP address and a port of the service link;
    利用IP地址和端口,抓取数据包; Use the IP address and port to capture data packets;
    对抓取的数据包进行分析,得到所述对应链路的服务质量指标。The captured data packet is analyzed to obtain a service quality indicator of the corresponding link.
  14. 根据权利要求13所述的方法,其中,当所述采集设备为终端时,所述利用IP地址和端口,抓取数据包,包括:The method of claim 13, wherein when the collecting device is a terminal, the capturing the data packet by using the IP address and the port comprises:
    利用IP地址和端口,在所述终端的入向抓取数据包;其中,Using the IP address and port, the packet is captured at the inbound direction of the terminal;
    所述第一网络为所述终端所在的端到端网络;得到的服务质量指标为第六参数。The first network is an end-to-end network where the terminal is located; the obtained quality of service indicator is a sixth parameter.
  15. 根据权利要求14所述的方法,其中,当所述采集设备为第一CDN节点时,所述利用IP地址和端口,抓取数据包,包括:The method of claim 14, wherein when the collecting device is the first CDN node, the utilizing the IP address and the port to fetch the data packet comprises:
    利用IP地址和端口,在所述第一CDN节点的入向和出向抓取数据包;其中,Obtaining data packets in the inbound and outbound direction of the first CDN node by using an IP address and a port;
    第一CDN节点与终端之间的网络为第一网络,得到的服务质量指标为第四参数及第五参数;第五参数及第六参数表征第一CDN节点面向终端链路的服务质量指标。The network between the first CDN node and the terminal is the first network, and the obtained quality of service indicator is the fourth parameter and the fifth parameter; the fifth parameter and the sixth parameter are used to represent the quality of service indicator of the first CDN node facing the terminal link.
  16. 根据权利要求15所述的方法,其中,当所述采集设备为第二CDN节点时,所述利用IP地址和端口,抓取数据包,包括:The method of claim 15, wherein when the collecting device is a second CDN node, the utilizing the IP address and the port to fetch the data packet comprises:
    利用IP地址和端口,在所述第二CDN节点的出向抓取数据包;其中,Using the IP address and port, the packet is fetched in the outbound direction of the second CDN node;
    第二CDN节点为第一CDN节点的上级节点,得到的服务质量指标为第三参数;所述第三参数及第四参数表征第二CDN节点面向第一CDN节点链路的服务质量指标。The second CDN node is a superior node of the first CDN node, and the obtained quality of service indicator is a third parameter; the third parameter and the fourth parameter represent a quality of service indicator of the second CDN node facing the first CDN node link.
  17. 一种网络质量检测装置,包括:A network quality detecting device includes:
    第一发送单元,设置为发送检测任务,所述检测任务用于指示采 集设备分段采集第一网络的参数集,所述参数集表征所述第一网络的传输参数;所述第一网络为端到端网络;a first sending unit, configured to send a detection task, where the detecting task is used to indicate Collecting a device segment to collect a parameter set of the first network, the parameter set characterizing a transmission parameter of the first network; the first network is an end-to-end network;
    第一接收单元,设置为接收所述采集设备采集的参数集;a first receiving unit, configured to receive a parameter set collected by the collecting device;
    分析单元,设置为利用所述参数集,对所述第一网络的网络质量进行分析,得到所述第一网络的网络质量检测结果。The analyzing unit is configured to analyze the network quality of the first network by using the parameter set to obtain a network quality detection result of the first network.
  18. 根据权利要求17所述的装置,其中,所述第一接收单元设置为:The apparatus of claim 17, wherein the first receiving unit is configured to:
    接收终端发送的第一参数及第二参数;所述第一参数表征所述第一网络中端到端的信令响应时延;所述第二参数表征所述第一网络中端到端的数据包传输时延;其中,所述信令响应时延依据实时流传输协议RTSP延时和路由跟踪traceroute时延得到;Receiving, by the terminal, a first parameter and a second parameter; the first parameter characterizing an end-to-end signaling response delay in the first network; and the second parameter characterizing an end-to-end data packet in the first network a transmission delay; wherein the signaling response delay is obtained according to a real-time streaming protocol RTSP delay and a route tracking traceroute delay;
    所述分析单元,设置为对所述第一参数及第二参数进行分析,得到所述第一网络的网络质量检测结果。The analyzing unit is configured to analyze the first parameter and the second parameter to obtain a network quality detection result of the first network.
  19. 根据权利要求18所述的装置,其中,所述分析单元还设置为:The apparatus according to claim 18, wherein said analyzing unit is further configured to:
    根据所述第一网络的网络拓扑结构及traceroute路由信息中每一跳路由网关信息,确定所述终端对应的所述第一网络的网络拓扑路径信息;Determining network topology path information of the first network corresponding to the terminal according to the network topology of the first network and the routing gateway information of each hop in the traceroute routing information;
    当所述网络拓扑路径信息表征端到端的路由路径有至少两条时,根据所述第一网络的网络拓扑结构,以IP地址为维度,对终端采集的针对每条路由路径的第一参数进行汇聚及分析,确定出至少两条路由路径中传输时延最大及最小的路由点;When the network topology path information indicates that there are at least two end-to-end routing paths, according to the network topology of the first network, the first parameter collected by the terminal for each routing path is performed by using the IP address as a dimension. Convergence and analysis to determine the routing point with the largest and smallest transmission delay in at least two routing paths;
    对终端采集的针对每条路由路径的第二参数进行汇聚及分析,确 定出至少两条路由路径中路由间传输时延最大及最小的网络段;以及Converging and analyzing the second parameter collected by the terminal for each routing path, Determining the network segment with the largest and smallest transmission delay between routes in at least two routing paths;
    基于确定的网络段及路由点,并结合所述第一网络的路由服务信息,确定所述终端的最优服务路径和最差服务路径的路由信息。And determining routing information of the optimal service path and the worst service path of the terminal according to the determined network segment and the routing point, and combining the routing service information of the first network.
  20. 根据权利要求18所述的装置,其中,所述分析单元还设置为:The apparatus according to claim 18, wherein said analyzing unit is further configured to:
    根据所述第一网络的网络拓扑结构及traceroute路由信息中每一跳路由网关信息,确定所述终端对应的所述第一网络的网络拓扑路径信息;Determining network topology path information of the first network corresponding to the terminal according to the network topology of the first network and the routing gateway information of each hop in the traceroute routing information;
    当所述网络拓扑路径信息表征端到端的路由路径有一条时,依据终端预设时间段内采集的第一参数及第二参数,建立分时动态基线模型;所述模型体现不同服务时间的网络分段质量;When the network topology path information represents one end-to-end routing path, the time-sharing dynamic baseline model is established according to the first parameter and the second parameter collected in the preset time period of the terminal; the model represents a network with different service time. Segment quality
    并在所述模型上确定所述第一网络网络质量异常时的问题点和时间。And determining a problem point and time when the first network network quality is abnormal on the model.
  21. 根据权利要求17所述的装置,其中,所述采集设备包括第一CDN节点、第二CDN节点及终端;第一CDN节点与终端之间的网络为第一网络;第二CDN节点为第一CDN节点的上级节点;所述第一接收单元设置为:The apparatus according to claim 17, wherein said collecting device comprises 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; and a second CDN node is first The upper node of the CDN node; the first receiving unit is set to:
    接收第二CDN节点发送的第三参数;Receiving a third parameter sent by the second CDN node;
    接收第一CDN节点发送的第四参数及第五参数;Receiving a fourth parameter and a fifth parameter sent by the first CDN node;
    接收终端发送的第六参数;所述第三参数及第四参数表征第二CDN节点面向第一CDN节点链路的服务质量指标;第五参数及第六参数表征第一CDN节点面向终端链路的服务质量指标;Receiving a sixth parameter sent by the terminal; the third parameter and the fourth parameter characterizing a quality of service indicator of the second CDN node facing the first CDN node link; the fifth parameter and the sixth parameter characterizing the first CDN node facing the terminal link Quality of service indicators;
    所述分析单元设置为:对所述第三参数、第四参数、第五参数及 第六参数进行分析,得到所述第一网络的网络质量检测结果。The analyzing unit is configured to: the third parameter, the fourth parameter, the fifth parameter, and The sixth parameter is analyzed to obtain a network quality detection result of the first network.
  22. 一种网络质量检测装置,包括:A network quality detecting device includes:
    第二接收单元,设置为接收检测任务;所述检测任务用于指示终端分段采集第一网络的参数集,所述参数集表征所述第一网络的传输参数;所述第一网络为所述终端所在的端到端网络;a second receiving unit, configured to receive a detection task, where the detecting task is used to instruct the terminal to collect a parameter set of the first network, the parameter set characterizing a transmission parameter of the first network, where the first network is The end-to-end network where the terminal is located;
    第一采集单元,设置为响应所述检测任务,采集第一参数及第二参数;所述第一参数表征所述第一网络中端到端的信令响应时延;所述第二参数表征所述第一网络中端到端的数据包传输时延;其中,所述信令响应时延依据RTSP延时和traceroute时延得到;The first collecting unit is configured to: collect the first parameter and the second parameter in response to the detecting task; the first parameter represents an end-to-end signaling response delay in the first network; and the second parameter representation An end-to-end packet transmission delay in the first network; wherein the signaling response delay is obtained according to an RTSP delay and a traceroute delay;
    第二发送单元,设置为发出所述第一参数及第二参数。The second sending unit is configured to issue the first parameter and the second parameter.
  23. 根据权利要求22所述的装置,其中,所述第一采集单元设置为:The apparatus of claim 22 wherein said first acquisition unit is configured to:
    向第一CDN节点发送RSTP请求;第一CDN节点为终端的对端;Sending an RSTP request to the first CDN node; the first CDN node is the peer end of the terminal;
    并向所述第一CDN节点发送traceroute请求;And sending a traceroute request to the first CDN node;
    根据发送的RSTP请求以及RSTP响应的接收状态,确定RSTP延时;并根据发送的traceroute请求以及traceroute响应的接收状态,确定traceroute延时;Determining an RSTP delay according to the sent RSTP request and the receiving state of the RSTP response; and determining a traceroute delay according to the received traceroute request and the receiving status of the traceroute response;
    利用RTSP时延和traceroute时延,得到所述第一参数。The first parameter is obtained using RTSP delay and traceroute delay.
  24. 根据权利要求22所述的装置,其中,所述第一采集单元设置为:The apparatus of claim 22 wherein said first acquisition unit is configured to:
    采集第一CDN节点到终端的IP包的时延,得到所述第二参数。The time delay of collecting the IP packet of the first CDN node to the terminal is obtained, and the second parameter is obtained.
  25. 一种网络质量检测装置,包括: A network quality detecting device includes:
    第三接收单元,设置为接收检测任务;所述检测任务用于指示所述采集设备分段采集第一网络的参数集,所述参数集表征所述第一网络的传输参数;a third receiving unit, configured to receive a detection task, where the detecting task is used to instruct the collecting device to collect a parameter set of the first network, and the parameter set represents a transmission parameter of the first network;
    第二采集单元,设置为响应所述检测任务,依据自身在所述第一网络的位置以及端到端的网络服务链路方向,采集对应链路的服务质量指标;The second collecting unit is configured to: in response to the detecting task, collect a service quality indicator of the corresponding link according to the location of the first network and the end-to-end network service link direction;
    第三发送单元,设置为发出采集的服务质量指标。The third sending unit is configured to issue the collected quality of service indicator.
  26. 根据权利要求25所述的装置,其中,所述第二采集单元设置为:The apparatus of claim 25 wherein said second acquisition unit is configured to:
    获取所述服务链路的IP地址和端口;Obtaining an IP address and a port of the service link;
    利用IP地址和端口,抓取数据包;Use the IP address and port to capture data packets;
    对抓取的数据包进行分析,得到所述对应链路的服务质量指标。The captured data packet is analyzed to obtain a service quality indicator of the corresponding link.
  27. 一种存储介质,其中,所述存储介质包括存储的程序,所述程序运行时执行权利要求1至16中任一项所述的方法。A storage medium, wherein the storage medium comprises a stored program, the program running to perform the method of any one of claims 1 to 16.
  28. 一种处理器,其中,所述处理器设置为运行程序,所述程序运行时执行权利要求1至16中任一项所述的方法。 A processor, wherein the processor is configured to execute a program, the program running to perform the method of any one of claims 1 to 16.
PCT/CN2017/115561 2016-12-29 2017-12-12 Network quality detection method and device WO2018121237A1 (en)

Applications Claiming Priority (2)

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

Publications (1)

Publication Number Publication Date
WO2018121237A1 true WO2018121237A1 (en) 2018-07-05

Family

ID=59113515

Family Applications (1)

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

Country Status (2)

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

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111740857A (en) * 2020-05-29 2020-10-02 新华三信息安全技术有限公司 Method and device for issuing network quality analysis NQA configuration
CN112333756A (en) * 2020-09-14 2021-02-05 咪咕文化科技有限公司 Method, system, electronic device and storage medium for monitoring regional network quality
CN112702222A (en) * 2020-12-03 2021-04-23 南京暴走团电子商务有限公司 Network quality detection device based on internet technology development
CN112866042A (en) * 2019-11-12 2021-05-28 中兴通讯股份有限公司 Network quality detection method and device, computer equipment and computer readable medium
CN113139146A (en) * 2020-01-17 2021-07-20 中国移动通信集团浙江有限公司 Website quality evaluation method and device and computing equipment
CN113542064A (en) * 2021-07-13 2021-10-22 北京字跳网络技术有限公司 Network path determination method, network path determination device, electronic apparatus, network path determination medium, and program product
CN114143251A (en) * 2021-12-08 2022-03-04 北京天融信网络安全技术有限公司 Intelligent routing method and device, electronic equipment and computer readable storage medium
CN116056245A (en) * 2022-07-19 2023-05-02 荣耀终端有限公司 Data scheduling method, device and computer readable storage medium
CN116244081A (en) * 2023-03-10 2023-06-09 苏州亿铸智能科技有限公司 Multi-core calculation integrated accelerator network topology structure control system
WO2024093365A1 (en) * 2022-11-04 2024-05-10 中兴通讯股份有限公司 Time delay determination method and apparatus, and electronic device and storage medium

Families Citing this family (14)

* 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
CN112154629B (en) * 2018-05-11 2022-08-26 华为技术有限公司 Control plane entity and management plane entity for exchanging 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
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
CN111901825B (en) * 2020-08-11 2023-02-24 中国联合网络通信集团有限公司 Wireless communication network quality evaluation method and device based on network quality slice
CN112994956B (en) * 2021-04-23 2021-07-16 广东省新一代通信与网络创新研究院 Network remote sensing acquisition method and system based on topology optimization
CN115150302B (en) * 2022-06-29 2023-12-29 中国电子科技集团公司第五十四研究所 End-to-end satellite network performance measurement method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040106400A1 (en) * 2002-04-18 2004-06-03 Willtek Corporation System for monitoring mobile communication performance
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
CN105024868A (en) * 2014-04-17 2015-11-04 北京视联动力国际信息技术有限公司 Network quality detection method and network quality detection system for video Internet
CN106850337A (en) * 2016-12-29 2017-06-13 中兴通讯股份有限公司 A kind of network quality detection method and device

Family Cites Families (5)

* 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
CN102143389B (en) * 2011-04-22 2014-01-15 赛特斯信息科技股份有限公司 Quality assurance (QA) system and method of internet protocol television (IPTV) services
CN102439905B (en) * 2011-09-30 2014-02-19 华为技术有限公司 Method, device and system of finding network topology automatically
CN102857799B (en) * 2012-09-14 2015-08-26 乐视致新电子科技(天津)有限公司 Based on the method for diagnosing faults of Set Top Box
CN103813182B (en) * 2014-01-28 2017-08-11 苏州工业园区科升通讯有限公司 The system and method for QOS monitorings are carried out to IPTV service

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040106400A1 (en) * 2002-04-18 2004-06-03 Willtek Corporation System for monitoring mobile communication performance
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
CN105024868A (en) * 2014-04-17 2015-11-04 北京视联动力国际信息技术有限公司 Network quality detection method and network quality detection system for video Internet
CN106850337A (en) * 2016-12-29 2017-06-13 中兴通讯股份有限公司 A kind of network quality detection method and device

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112866042B (en) * 2019-11-12 2023-07-18 中兴通讯股份有限公司 Network quality detection method, device, computer equipment and computer readable medium
CN112866042A (en) * 2019-11-12 2021-05-28 中兴通讯股份有限公司 Network quality detection method and device, computer equipment and computer readable medium
CN113139146A (en) * 2020-01-17 2021-07-20 中国移动通信集团浙江有限公司 Website quality evaluation method and device and computing equipment
CN111740857B (en) * 2020-05-29 2023-12-26 新华三信息安全技术有限公司 Method and device for issuing Network Quality Analysis (NQA) configuration
CN111740857A (en) * 2020-05-29 2020-10-02 新华三信息安全技术有限公司 Method and device for issuing network quality analysis NQA configuration
CN112333756A (en) * 2020-09-14 2021-02-05 咪咕文化科技有限公司 Method, system, electronic device and storage medium for monitoring regional network quality
CN112333756B (en) * 2020-09-14 2024-02-27 咪咕文化科技有限公司 Regional network quality monitoring method, system, electronic equipment and storage medium
CN112702222A (en) * 2020-12-03 2021-04-23 南京暴走团电子商务有限公司 Network quality detection device based on internet technology development
CN113542064A (en) * 2021-07-13 2021-10-22 北京字跳网络技术有限公司 Network path determination method, network path determination device, electronic apparatus, network path determination medium, and program product
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
CN114143251A (en) * 2021-12-08 2022-03-04 北京天融信网络安全技术有限公司 Intelligent routing method and device, electronic equipment and computer readable storage medium
CN116056245B (en) * 2022-07-19 2023-10-20 荣耀终端有限公司 Data scheduling method, device and computer readable storage medium
CN116056245A (en) * 2022-07-19 2023-05-02 荣耀终端有限公司 Data scheduling method, device and computer readable storage medium
WO2024093365A1 (en) * 2022-11-04 2024-05-10 中兴通讯股份有限公司 Time delay determination method and apparatus, and electronic device and storage medium
CN116244081B (en) * 2023-03-10 2023-09-19 苏州亿铸智能科技有限公司 Multi-core calculation integrated accelerator network topology structure control system
CN116244081A (en) * 2023-03-10 2023-06-09 苏州亿铸智能科技有限公司 Multi-core calculation integrated accelerator network topology structure control system

Also Published As

Publication number Publication date
CN106850337A (en) 2017-06-13
CN106850337B (en) 2020-07-03

Similar Documents

Publication Publication Date Title
WO2018121237A1 (en) Network quality detection method and device
EP2530870B1 (en) Systems and methods for measuring quality of experience for media streaming
US9577906B2 (en) Scalable performance monitoring using dynamic flow sampling
US11811584B2 (en) System and method for automatically identifying failure in services deployed by mobile network operators
TW536890B (en) Scalable real-time quality of service monitoring and analysis of service dependent subscriber satisfaction in IP networks
US9331944B2 (en) Real-time network monitoring and subscriber identification with an on-demand appliance
US20090052332A1 (en) Device, system, method and program for collecting network fault information
EP3295612B1 (en) Uplink performance management
US8630190B2 (en) Method and system to identify a network device associated with poor QoS
US11936930B2 (en) Data processing method, server, and data collection device
Madanapalli et al. Inferring netflix user experience from broadband network measurement
US8867350B2 (en) Method and apparatus for packet buffering measurement
JP6033058B2 (en) Communication path identification device
Szilágyi et al. Network side lightweight and scalable YouTube QoE estimation
Dinh-Xuan et al. Study on the accuracy of QoE monitoring for HTTP adaptive video streaming using VNF
CA2742038C (en) Systems and methods for measuring quality of experience for media streaming
US20140086091A1 (en) Method, apparatus, and system for analyzing network transmission characteristic
Wang et al. TeleScope: Flow-level video telemetry using SDN
Lee et al. Opportunistic flow-level latency estimation using consistent netflow
US20230198878A1 (en) Method and system for network segment performance monitoring
Pittoni Online identification of last-mile throughput bottlenecks on home routers
US11196652B2 (en) Transport layer monitoring and performance assessment for OTT services
Agrawal et al. Monitoring infrastructure for converged networks and services
JP6508812B2 (en) Communication behavior analyzer
Huang et al. A Passive Mode QoS Measurer for ISP

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17887034

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17887034

Country of ref document: EP

Kind code of ref document: A1