[go: up one dir, main page]

CN114826979B - Network link quality acquisition method, device, system, equipment and storage medium - Google Patents

Network link quality acquisition method, device, system, equipment and storage medium Download PDF

Info

Publication number
CN114826979B
CN114826979B CN202210359423.7A CN202210359423A CN114826979B CN 114826979 B CN114826979 B CN 114826979B CN 202210359423 A CN202210359423 A CN 202210359423A CN 114826979 B CN114826979 B CN 114826979B
Authority
CN
China
Prior art keywords
probe
network link
mqtt
target
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210359423.7A
Other languages
Chinese (zh)
Other versions
CN114826979A (en
Inventor
张杰明
李伟哲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202210359423.7A priority Critical patent/CN114826979B/en
Publication of CN114826979A publication Critical patent/CN114826979A/en
Application granted granted Critical
Publication of CN114826979B publication Critical patent/CN114826979B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/26Special purpose or proprietary protocols or architectures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computing Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application provides a network link quality acquisition method, a device, a system, equipment and a storage medium. The method comprises the following steps: based on the MQTT transmission protocol, a first MQTT release message comprising a target acquisition task is sent to a probe proxy server through a probe analysis server, a corresponding probe receives the first MQTT release message in a subscription mode, a target network link is tested according to the first MQTT release message, target network link data obtained through testing is sent back to the corresponding probe analysis server through a second MQTT release message in a similar subscription mode, and therefore the probe analysis server can select to acquire the target network link data, and is connected with the probe analysis server and a plurality of probes through the probe proxy server, so that the operation pressure of the probe analysis server is reduced.

Description

网络链路质量获取方法、装置、系统、设备及存储介质Network link quality acquisition method, device, system, equipment and storage medium

技术领域technical field

本申请涉及通信技术,尤其涉及一种网络链路质量获取方法、装置、系统、设备及存储介质。The present application relates to communication technologies, and in particular to a method, device, system, equipment and storage medium for acquiring network link quality.

背景技术Background technique

通信运营商的探针采用硬件探针,例如机架式硬件探针、家庭网关嵌入式探针、机顶盒等用来获取网络流量相关参数的硬件设备。通信运营商将探针安装在需要捕捉流量的网络中,获取目标网络链路的数据,例如时延、吞吐量、丢包率、错误率等。Communication operators' probes use hardware probes, such as rack-mounted hardware probes, home gateway embedded probes, set-top boxes, and other hardware devices used to obtain network traffic-related parameters. Communication operators install probes in the network that needs to capture traffic to obtain data on the target network link, such as delay, throughput, packet loss rate, error rate, etc.

目前,通信运营商对于全网网络链路的监测需要采用分布式方案,在多个不同地点部署多个探针,各个探针采集数据后,发向远程的探针分析服务器,收集所有探针的数据。探针分析服务器根据接收的探针采集的数据做全网网络链路的分析和长期报告,判断网络质量好坏。这种网络链路质量获取的方式在探针数量增多时,会增大探针分析服务器的运行压力。At present, communication operators need to adopt a distributed solution to monitor the network links of the entire network, deploy multiple probes in different locations, and after each probe collects data, send it to a remote probe analysis server to collect all probes The data. The probe analysis server performs network link analysis and long-term reports on the entire network based on the data collected by the received probes, and judges whether the network quality is good or bad. When the number of probes increases in this way of network link quality acquisition, the operating pressure of the probe analysis server will be increased.

发明内容Contents of the invention

本申请提供一种网络链路质量获取方法、装置、系统、设备及存储介质,用以解决探针分析服务器运行压力较大的问题。The present application provides a network link quality acquisition method, device, system, equipment and storage medium, which are used to solve the problem of high operating pressure of the probe analysis server.

第一方面,本申请提供一种网络链路质量获取方法,应用于探针代理服务器,所述探针代理服务器分别与探针分析服务器以及至少一个探针连接,所述方法包括:In a first aspect, the present application provides a method for acquiring network link quality, which is applied to a probe proxy server, and the probe proxy server is respectively connected to a probe analysis server and at least one probe, and the method includes:

所述探针代理服务器接收所述探针分析服务器发送的第一基于消息队列遥测传输协议MQTT发布报文,所述第一MQTT发布报文用于指示所述探针分析服务器订阅的目标采集任务,所述目标采集任务用于采集探针至目标节点之间的目标网络链路数据,所述目标网络链路数据用于表征所述目标网络链路的质量;The probe proxy server receives the first MQTT publishing message based on the message queue telemetry transport protocol sent by the probe analysis server, and the first MQTT publishing message is used to indicate the target acquisition task subscribed by the probe analysis server , the target collection task is used to collect target network link data between the probe and the target node, and the target network link data is used to characterize the quality of the target network link;

所述探针代理服务器向第一探针发送所述第一MQTT发布报文;所述第一探针为所述至少一个探针中处于目标网络链路、且订阅所述目标采集任务的探针;The probe proxy server sends the first MQTT publishing message to the first probe; the first probe is the probe of the at least one probe that is on the target network link and subscribes to the target collection task Needle;

所述探针代理服务器接收所述第一探针发送的第二MQTT发布报文,所述第二MQTT发布报文用于指示所述第一探针基于所述目标采集任务对所述目标网络链路测试得到目标网络链路数据;The probe proxy server receives the second MQTT publishing message sent by the first probe, and the second MQTT publishing message is used to instruct the first probe to send the target network based on the target collection task. The link test obtains the link data of the target network;

可选地,所述第一MQTT发布报文的可变报头携带有所述目标采集任务的主题,所述第一MQTT发布报文的有效载荷携带有所述目标采集任务的详情信息;所述第二MQTT发布报文的可变报头携带有所述目标采集数据的主题,所述第二MQTT发布报文的有效载荷携带有所述目标网络链路数据。Optionally, the variable header of the first MQTT publishing message carries the subject of the target collection task, and the payload of the first MQTT publishing message carries detailed information of the target collection task; The variable header of the second MQTT publishing message carries the subject of the target collection data, and the payload of the second MQTT publishing message carries the target network link data.

可选地,所述探针代理服务器向第一探针发送第一MQTT发布报文,包括:所述探针代理服务器根据采集任务的主题与探针的订阅关系,以及,所述目标采集任务的主题,从所述至少一个探针中确定所述第一探针;所述探针代理服务器向所述第一探针发送所述第一MQTT发布报文。Optionally, the probe proxy server sends the first MQTT publishing message to the first probe, including: the probe proxy server subscribes to the probe according to the topic of the collection task, and the target collection task determining the first probe from the at least one probe; the probe proxy server sends the first MQTT publishing message to the first probe.

可选地,所述探针代理服务器接收各所述探针发送的第一MQTT订阅报文,所述第一MQTT订阅报文用于请求订阅各所述探针对应的采集任务的主题;所述探针代理服务器根据各所述探针的第一MQTT订阅报文,构建采集任务的主题与探针的订阅关系。Optionally, the probe proxy server receives a first MQTT subscription message sent by each of the probes, and the first MQTT subscription message is used to request to subscribe to the topic of the collection task corresponding to each of the probes; The probe proxy server constructs a subscription relationship between the subject of the collection task and the probe according to the first MQTT subscription message of each probe.

可选地,所述目标网络链路数据包括所述目标网络链路的带宽,所述目标节点为所述探针代理服务器;所述方法还包括:Optionally, the target network link data includes the bandwidth of the target network link, and the target node is the probe proxy server; the method further includes:

所述探针代理服务器接收所述第一探针发送的第二MQTT订阅报文;所述第二MQTT订阅报文用于批量订阅第三MQTT发布报文;所述第三MQTT发布报文的有效载荷为预设大小,用于所述第一探针基于所述第三MQTT发布报文的接收情况获取所述目标网络链路的带宽;所述探针代理服务器向所述第一探针批量发送第三MQTT发布报文。The probe proxy server receives the second MQTT subscription message sent by the first probe; the second MQTT subscription message is used to subscribe to the third MQTT publishing message in batches; the third MQTT publishing message The payload is a preset size, and is used for the first probe to obtain the bandwidth of the target network link based on the reception of the third MQTT message; the probe proxy server sends the first probe Send the third MQTT publishing message in batches.

可选地,所述探针代理服务器接收所述探针分析服务器批量发送的所述第三MQTT发布报文。Optionally, the probe proxy server receives the third MQTT publishing messages sent in batches by the probe analysis server.

可选地,所述探针代理服务器接收所述探针分析服务器发送的第三MQTT订阅报文,所述第三MQTT订阅报文用于请求订阅所述目标采集数据的主题;所述探针代理服务器根据所述探针分析服务器的第三MQTT订阅报文,构建所述探针分析服务器与目标采集数据的主题的订阅关系;Optionally, the probe proxy server receives a third MQTT subscription message sent by the probe analysis server, and the third MQTT subscription message is used to request to subscribe to the subject of the target collection data; the probe The proxy server constructs a subscription relationship between the probe analysis server and the subject of target data collection according to the third MQTT subscription message of the probe analysis server;

所述探针代理服务器向所述探针分析服务器发送所述第二MQTT发布报文,包括:所述探针代理服务器根据所述探针分析服务器与目标采集数据的主题的订阅关系,向所述探针分析服务器发送所述第二MQTT发布报文。The probe proxy server sends the second MQTT publishing message to the probe analysis server, including: the probe proxy server sends a message to the probe analysis server according to the subscription relationship between the probe analysis server and the subject of the target data collection The probe analysis server sends the second MQTT publishing message.

可选地,所述第一MQTT发布报文和所述第二MQTT发布报文均采用QoS2方式发送。Optionally, both the first MQTT release message and the second MQTT release message are sent in a QoS2 manner.

可选地,所述第一探针为部署在目标网络链路的客户端上的软件探针,所述第一探针与所述探针代理服务器之间采用websockets连接,所述第一探针与所述探针代理服务器之间通过HTTP升级流程传输MQTT报文。Optionally, the first probe is a software probe deployed on the client of the target network link, the first probe is connected to the probe proxy server using websockets, and the first probe An MQTT message is transmitted between the needle and the probe proxy server through an HTTP upgrade process.

第二方面,本申请提供一种网络链路质量获取方法,应用于探针分析服务器,探针代理服务器分别与所述探针分析服务器以及至少一个探针连接,所述方法包括:In a second aspect, the present application provides a method for acquiring network link quality, which is applied to a probe analysis server, and the probe proxy server is respectively connected to the probe analysis server and at least one probe, and the method includes:

所述探针分析服务器向所述探针代理服务器发送第一基于消息队列遥测传输协议MQTT发布报文,所述第一MQTT发布报文用于指示所述探针分析服务器订阅的目标采集任务,所述目标采集任务用于采集探针至目标节点之间的目标网络链路数据,所述目标网络链路数据用于表征所述目标网络链路的质量;The probe analysis server sends a first MQTT publishing message based on the message queue telemetry transport protocol to the probe proxy server, and the first MQTT publishing message is used to indicate the target acquisition task subscribed by the probe analysis server, The target collection task is used to collect target network link data between the probe and the target node, and the target network link data is used to characterize the quality of the target network link;

所述探针分析服务器接收所述探针代理服务器发送的第二MQTT发布报文,所述第二MQTT发布报文用于指示第一探针基于所述目标采集任务对所述目标网络链路测试得到目标网络链路数据,所述第一探针为所述至少一个探针中处于目标网络链路、且订阅所述目标采集任务的探针;The probe analysis server receives the second MQTT publishing message sent by the probe proxy server, and the second MQTT publishing message is used to instruct the first probe to analyze the target network link based on the target collection task. The target network link data is obtained through the test, and the first probe is a probe that is in the target network link and subscribes to the target collection task among the at least one probe;

所述探针分析服务器根据所述第二MQTT发布报文,获取所述目标网络链路的质量结果。The probe analysis server obtains the quality result of the target network link according to the second MQTT publishing message.

可选地,所述第一MQTT发布报文的可变报头携带有所述目标采集任务的主题,所述第一MQTT发布报文的有效载荷携带有所述目标采集任务的详情信息;所述第二MQTT发布报文的可变报头携带有所述目标采集数据的主题,所述第二MQTT发布报文的有效载荷携带有所述目标网络链路数据。Optionally, the variable header of the first MQTT publishing message carries the subject of the target collection task, and the payload of the first MQTT publishing message carries detailed information of the target collection task; The variable header of the second MQTT publishing message carries the subject of the target collection data, and the payload of the second MQTT publishing message carries the target network link data.

可选地,所述探针分析服务器接收所述探针代理服务器发送的第二MQTT发布报文之前,还包括:Optionally, before the probe analysis server receives the second MQTT publishing message sent by the probe proxy server, it also includes:

所述探针分析服务器向所述探针代理服务器发送第三MQTT订阅报文,所述第三MQTT订阅报文用于请求订阅所述目标采集数据的主题。The probe analysis server sends a third MQTT subscription message to the probe proxy server, and the third MQTT subscription message is used to request to subscribe to the subject of the target collection data.

可选地,所述目标网络链路数据包括所述目标网络链路的带宽,所述目标节点为所述探针代理服务器;所述方法还包括:Optionally, the target network link data includes the bandwidth of the target network link, and the target node is the probe proxy server; the method further includes:

所述探针分析服务器向所述探针代理服务器批量发送第三MQTT发布报文,所述第三MQTT发布报文的有效载荷为预设大小,用于所述第一探针基于所述第三MQTT发布报文的接收情况获取所述目标网络链路的带宽。The probe analysis server sends the third MQTT publishing message in batches to the probe proxy server, and the payload of the third MQTT publishing message is a preset size, which is used for the first probe based on the first 3. Acquiring the bandwidth of the target network link according to the reception status of the MQTT publishing message.

可选地,所述第一MQTT发布报文和所述第二MQTT发布报文均采用QoS2方式发送。Optionally, both the first MQTT release message and the second MQTT release message are sent in a QoS2 manner.

可选地,所述第一探针至所述目标节点之间的目标网络链路具有第一路由路径和第二路由路径,所述第一探针至所述目标测试节点当前采用第一路由路径,所述目标采集任务用于采集所述第一探针至所述目标测试节点之间使用第二路由路径时目标网络链路数据;Optionally, the target network link between the first probe and the target node has a first routing path and a second routing path, and the first probe to the target test node currently adopts the first route path, the target collection task is used to collect target network link data when a second routing path is used between the first probe and the target test node;

所述探针分析服务器向所述探针代理服务器发送第一MQTT发布报文之前,所述方法还包括:Before the probe analysis server sends the first MQTT publishing message to the probe proxy server, the method also includes:

所述探针分析服务器向网管系统发送所述目标网络链路的第一路由切换请求,所述第一路由切换请求用于请求从所述第一路由路径切换至所述第二路由路径;The probe analysis server sends a first route switching request of the target network link to the network management system, where the first route switching request is used to request switching from the first routing path to the second routing path;

所述探针分析服务器接收所述探针代理服务器发送的第二MQTT发布报文之后,还包括:After the probe analysis server receives the second MQTT publishing message sent by the probe proxy server, it also includes:

所述探针分析服务器向网管系统发送所述目标网络链路的第二路由切换请求,所述第二路由切换请求用于请求从所述第二路由路径切换至所述第一路由路径。The probe analysis server sends a second route switching request of the target network link to the network management system, where the second route switching request is used to request switching from the second routing path to the first routing path.

可选地,所述探针分析服务器在所述目标网络链路的质量结果表征所述目标网络链路存在问题时,从网管系统获取所述目标节点的监控数据;所述探针分析服务器根据所述监控数据,生成所述目标网络链路的质量分析报告;所述探针分析服务器输出所述质量分析报告。Optionally, when the quality result of the target network link indicates that there is a problem with the target network link, the probe analysis server acquires the monitoring data of the target node from the network management system; the probe analysis server obtains the monitoring data of the target node according to The monitoring data generates a quality analysis report of the target network link; the probe analysis server outputs the quality analysis report.

第三方面,本申请提供一种网络链路质量获取方法,应用于探针,探针代理服务器分别与探针分析服务器以及至少一个所述探针连接,所述方法包括:In a third aspect, the present application provides a method for acquiring network link quality, which is applied to probes, and the probe proxy server is respectively connected to the probe analysis server and at least one of the probes. The method includes:

所述至少一个探针中的第一探针接收所述探针代理服务器发送的第一基于消息队列遥测传输协议MQTT发布报文,所述第一MQTT发布报文用于指示所述探针分析服务器订阅的目标采集任务,所述目标采集任务用于采集探针至目标节点之间的目标网络链路数据,所述目标网络链路数据用于表征所述目标网络链路的质量;The first probe of the at least one probe receives the first MQTT publishing message based on the message queue telemetry transport protocol sent by the probe proxy server, and the first MQTT publishing message is used to instruct the probe to analyze A target collection task subscribed by the server, the target collection task is used to collect target network link data between the probe and the target node, and the target network link data is used to characterize the quality of the target network link;

所述第一探针基于所述目标采集任务对所述目标网络链路测试得到目标网络链路数据;The first probe tests the target network link based on the target acquisition task to obtain target network link data;

所述第一探针向所述探针代理服务器发送的第二MQTT发布报文,以使所述探针代理服务器向所述探针分析服务器转发所述第二MQTT发布报文,所述第二MQTT发布报文用于指示所述目标网络链路数据。The second MQTT publishing message sent by the first probe to the probe proxy server, so that the probe proxy server forwards the second MQTT publishing message to the probe analysis server, and the first Two MQTT publishing messages are used to indicate the target network link data.

可选地,所述第一MQTT发布报文的可变报头携带有所述目标采集任务的主题,所述第一MQTT发布报文的有效载荷携带有所述目标采集任务的详情信息;所述第二MQTT发布报文的可变报头携带有所述目标采集数据的主题,所述第二MQTT发布报文的有效载荷携带有所述目标网络链路数据。Optionally, the variable header of the first MQTT publishing message carries the subject of the target collection task, and the payload of the first MQTT publishing message carries detailed information of the target collection task; The variable header of the second MQTT publishing message carries the subject of the target collection data, and the payload of the second MQTT publishing message carries the target network link data.

可选地,所述目标网络链路数据包括所述目标网络链路的带宽,所述目标节点为所述探针代理服务器;所述第一探针基于所述目标采集任务对所述目标网络链路测试得到目标网络链路数据,包括:Optionally, the target network link data includes the bandwidth of the target network link, and the target node is the probe proxy server; the first probe collects the target network based on the target network The link test obtains the link data of the target network, including:

所述第一探针接收所述探针代理服务器批量发送的第三MQTT发布报文;所述第三MQTT发布报文的有效载荷为预设大小;所述第一探针基于所述第三MQTT发布报文的接收情况获取所述目标网络链路的带宽。The first probe receives the third MQTT publishing message sent in batches by the probe proxy server; the payload of the third MQTT publishing message is a preset size; the first probe is based on the third The receiving status of the MQTT publishing message acquires the bandwidth of the target network link.

可选地,所述目标网络链路数据包括所述目标网络链路的带宽,所述目标节点非所述探针代理服务器;所述第一探针基于所述目标采集任务对所述目标网络链路测试得到目标网络链路数据,包括:Optionally, the target network link data includes the bandwidth of the target network link, and the target node is not the probe proxy server; the first probe detects the target network based on the target collection task The link test obtains the link data of the target network, including:

所述第一探针通过预设的测速软件,对所述目标网络链路进行测速,获取所述目标网络链路的带宽。The first probe uses preset speed measurement software to measure the speed of the target network link to obtain the bandwidth of the target network link.

可选地,所述第一MQTT发布报文和所述第二MQTT发布报文均采用QoS2方式发送。Optionally, both the first MQTT release message and the second MQTT release message are sent in a QoS2 manner.

可选地,所述第一探针为部署在目标网络链路的客户端上的软件探针,所述第一探针与所述探针代理服务器之间采用websockets连接,所述第一探针与所述探针代理服务器之间通过HTTP升级流程传输MQTT报文。Optionally, the first probe is a software probe deployed on the client of the target network link, the first probe is connected to the probe proxy server using websockets, and the first probe An MQTT message is transmitted between the needle and the probe proxy server through an HTTP upgrade process.

第四方面,本申请提供一种网络链路质量获取装置,探针代理服务器分别与探针分析服务器以及至少一个探针连接;所述装置应用于所述探针代理服务器,包括:In a fourth aspect, the present application provides a network link quality acquisition device, the probe proxy server is respectively connected to the probe analysis server and at least one probe; the device is applied to the probe proxy server, including:

接收模块,用于接收所述探针分析服务器发送的第一基于消息队列遥测传输协议MQTT发布报文,所述第一MQTT发布报文用于指示所述探针分析服务器订阅的目标采集任务,所述目标采集任务用于采集探针至目标节点之间的目标网络链路数据,所述目标网络链路数据用于表征所述目标网络链路的质量;The receiving module is configured to receive the first MQTT publishing message based on the message queue telemetry transport protocol sent by the probe analysis server, and the first MQTT publishing message is used to indicate the target acquisition task subscribed by the probe analysis server, The target collection task is used to collect target network link data between the probe and the target node, and the target network link data is used to characterize the quality of the target network link;

发送模块,用于向第一探针发送第一MQTT发布报文;该第一探针为至少一个探针中处于目标网络链路、且订阅上述目标采集任务的探针;A sending module, configured to send a first MQTT publishing message to a first probe; the first probe is a probe in at least one probe that is on a target network link and subscribes to the above-mentioned target collection task;

接收模块,还用于接收所述第一探针发送的第二MQTT发布报文,所述第二MQTT发布报文用于指示所述第一探针基于所述目标采集任务对所述目标网络链路测试得到目标网络链路数据;The receiving module is further configured to receive a second MQTT publishing message sent by the first probe, and the second MQTT publishing message is used to instruct the first probe to send information to the target network based on the target collection task. The link test obtains the link data of the target network;

发送模块,还用于向所述探针分析服务器发送所述第二MQTT发布报文。The sending module is further configured to send the second MQTT publishing message to the probe analysis server.

第五方面,本申请提供一种网络链路质量获取装置,探针代理服务器分别与探针分析服务器以及至少一个探针连接;所述装置应用于探针分析服务器,包括:In the fifth aspect, the present application provides a network link quality acquisition device, the probe proxy server is respectively connected to the probe analysis server and at least one probe; the device is applied to the probe analysis server, including:

发送模块,用于向所述探针代理服务器发送第一基于消息队列遥测传输协议MQTT发布报文,所述第一MQTT发布报文用于指示所述探针分析服务器订阅的目标采集任务,所述目标采集任务用于采集探针至目标节点之间的目标网络链路数据,所述目标网络链路数据用于表征所述目标网络链路的质量;A sending module, configured to send a first MQTT publishing message based on the message queue telemetry transport protocol to the probe proxy server, the first MQTT publishing message is used to indicate the target acquisition task subscribed by the probe analysis server, the The target collection task is used to collect target network link data between the probe and the target node, and the target network link data is used to characterize the quality of the target network link;

接收模块,用于接收所述探针代理服务器发送的第二MQTT发布报文,所述第二MQTT发布报文用于指示第一探针基于所述目标采集任务对所述目标网络链路测试得到目标网络链路数据,所述第一探针为所述至少一个探针中处于目标网络链路、且订阅所述目标采集任务的探针;A receiving module, configured to receive a second MQTT publishing message sent by the probe proxy server, where the second MQTT publishing message is used to instruct the first probe to test the target network link based on the target collection task Obtaining target network link data, the first probe is a probe in the at least one probe that is in the target network link and subscribes to the target collection task;

获取模块,用于根据所述第二MQTT发布报文,获取所述目标网络链路的质量结果。An acquiring module, configured to acquire the quality result of the target network link according to the second MQTT publishing message.

第六方面,本申请提供一种网络链路质量获取装置,探针代理服务器分别与探针分析服务器以及至少一个探针连接;所述装置应用于所述探针,包括:In a sixth aspect, the present application provides a network link quality acquisition device, the probe proxy server is respectively connected to the probe analysis server and at least one probe; the device is applied to the probe, including:

接收模块,用于接收所述探针代理服务器发送的第一基于消息队列遥测传输协议MQTT发布报文,所述第一MQTT发布报文用于指示所述探针分析服务器订阅的目标采集任务,所述目标采集任务用于采集探针至目标节点之间的目标网络链路数据,所述目标网络链路数据用于表征所述目标网络链路的质量;The receiving module is configured to receive the first MQTT publishing message based on the message queue telemetry transport protocol sent by the probe proxy server, and the first MQTT publishing message is used to indicate the target acquisition task subscribed by the probe analysis server, The target collection task is used to collect target network link data between the probe and the target node, and the target network link data is used to characterize the quality of the target network link;

采集模块,用于基于所述目标采集任务对所述目标网络链路测试得到目标网络链路数据;A collection module, configured to test the target network link based on the target collection task to obtain target network link data;

发送模块,用于向所述探针代理服务器发送的第二MQTT发布报文,以使所述探针代理服务器向所述探针分析服务器转发所述第二MQTT发布报文,所述第二MQTT发布报文用于指示所述目标网络链路数据。The sending module is configured to send the second MQTT publishing message to the probe proxy server, so that the probe proxy server forwards the second MQTT publishing message to the probe analysis server, and the second The MQTT publish message is used to indicate the target network link data.

第七方面,本申请提供一种探针代理服务器,包括:处理器、通信接口,以及存储器;所述处理器分别与所述通信接口和所述存储器通信连接;所述存储器存储计算机执行指令;所述通信接口与外部设备进行通信交互;所述处理器执行所述存储器存储的计算机执行指令,以实现如第一方面中所述的方法。In a seventh aspect, the present application provides a probe proxy server, including: a processor, a communication interface, and a memory; the processor is respectively connected to the communication interface and the memory; the memory stores computer-executed instructions; The communication interface communicates with external devices; the processor executes computer-executable instructions stored in the memory, so as to implement the method as described in the first aspect.

第八方面,本申请提供一种探针分析服务器,包括:处理器、通信接口,以及存储器;所述处理器分别与所述通信接口和所述存储器通信连接;所述存储器存储计算机执行指令;所述通信接口与外部设备进行通信交互;所述处理器执行所述存储器存储的计算机执行指令,以实现如第二方面中所述的方法。In an eighth aspect, the present application provides a probe analysis server, including: a processor, a communication interface, and a memory; the processor is respectively connected in communication with the communication interface and the memory; the memory stores computer-executable instructions; The communication interface communicates with the external device; the processor executes the computer-executed instructions stored in the memory, so as to implement the method as described in the second aspect.

第九方面,本申请提供一种,包括:处理器、通信接口,以及存储器;所述处理器分别与所述通信接口和所述存储器通信连接;所述存储器存储计算机执行指令;所述通信接口与外部设备进行通信交互;所述处理器执行所述存储器存储的计算机执行指令,以实现如第三方面中所述的方法。In a ninth aspect, the present application provides one, including: a processor, a communication interface, and a memory; the processor is respectively connected to the communication interface and the memory in communication; the memory stores computer-executable instructions; the communication interface Communicating and interacting with external devices; the processor executes computer-executed instructions stored in the memory, so as to implement the method as described in the third aspect.

第十方面,本申请提供一种网络链路质量获取系统,包括:如第七方面所述的探针代理服务器、如第八方面所述的探针分析服务器、至少一个如第九方面所述的探针;其中,所述探针代理服务器分别与所述探针分析服务器、所述至少一个探针连接。In the tenth aspect, the present application provides a network link quality acquisition system, including: the probe proxy server as described in the seventh aspect, the probe analysis server as described in the eighth aspect, and at least one of the probes; wherein, the probe proxy server is respectively connected to the probe analysis server and the at least one probe.

第十一方面,本申请提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,所述计算机执行指令被处理器执行时用于实现如第一方面到第三方面中任一方面所述的网络链路质量获取方法。In an eleventh aspect, the present application provides a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are executed by a processor, they are used to implement the first aspect to the third aspect. The network link quality acquisition method described in any one of the aspects.

本申请提供的网络链路质量获取方法、装置、系统、设备及存储介质,通过基于QoS2等级协议的MQTT传输协议,通过探针代理服务器分别向探针和探针分析服务器分发第一MQTT发布报文与第二MQTT发布报文的方式,使得探针分析服务器能够选择获取特定目标网络链路数据且通过探针代理服务器分别与多个探针分析服务器以及多个探针的连接,降低了每个探针分析服务器的运行压力和存储压力,并保证了MQTT报文能够稳定到达接收端,避免了测试包丢包的风险,提高了网络链路测试的稳定性。另外,通过使用Websockets连接方式,使得软件探针与探针代理服务器之间的数据传输能够绕开禁Ping的用户终端设备的防火墙,从而完成本申请提供的网络链路质量获取方法,从而避免了用户终端设备因需要进行采集任务而放开Ping功能,从而遭受外部网络的恶意攻击的问题。本申请提供的网络链路质量获取方法还通过探针分析服务器向网管系统发出路由切换请求,对城域网中的冗余网络链路进行测试,获的城域网中所有网络链路的质量,从而获得目标网络链路中更全面目标网络链路数据,使得运营商的数据分析结果更加全面。The network link quality acquisition method, device, system, equipment and storage medium provided by this application distribute the first MQTT release report to the probe and the probe analysis server respectively through the MQTT transmission protocol based on the QoS2 level protocol. The method of publishing the message with the second MQTT enables the probe analysis server to choose to obtain specific target network link data and connects to multiple probe analysis servers and multiple probes through the probe proxy server, reducing the number of connections per probe. A probe analyzes the operating pressure and storage pressure of the server, and ensures that MQTT messages can reach the receiving end stably, avoiding the risk of test packet loss and improving the stability of network link testing. In addition, by using the Websockets connection method, the data transmission between the software probe and the probe proxy server can bypass the firewall of the user terminal device that prohibits Ping, thereby completing the network link quality acquisition method provided by this application, thereby avoiding The user terminal device needs to release the Ping function due to the need to perform collection tasks, and thus suffers from malicious attacks from the external network. The method for obtaining network link quality provided by the application also sends a route switching request to the network management system through the probe analysis server, tests the redundant network links in the metropolitan area network, and obtains the quality of all network links in the metropolitan area network , so as to obtain more comprehensive target network link data in the target network link, making the operator's data analysis results more comprehensive.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description serve to explain the principles of the application.

图1为现有技术提供的一种网络链路质量获取系统的架构示意图;FIG. 1 is a schematic structural diagram of a network link quality acquisition system provided by the prior art;

图2为本申请提供的一种网络链路质量获取系统的架构示意图;FIG. 2 is a schematic structural diagram of a network link quality acquisition system provided by the present application;

图3为本申请提供的一种网络链路质量获取方法的流程示意图;FIG. 3 is a schematic flowchart of a method for acquiring network link quality provided by the present application;

图4为本申请提供的一种目标采集任务的传输方法流程示意图;FIG. 4 is a schematic flow diagram of a transmission method for a target acquisition task provided by the present application;

图5A为本申请提供的一种第一MQTT发布报文的报文格式示意图;FIG. 5A is a schematic diagram of a message format of a first MQTT publishing message provided by the present application;

图5B为本申请提供的一种第一MQTT订阅报文的报文格式示意图;FIG. 5B is a schematic diagram of a message format of a first MQTT subscription message provided by the present application;

图6为本申请提供的一种网络链路质量获取装置的结构示意图;FIG. 6 is a schematic structural diagram of a device for acquiring network link quality provided by the present application;

图7为本申请提供的另一种网络链路质量获取装置的结构示意图;FIG. 7 is a schematic structural diagram of another network link quality acquisition device provided by the present application;

图8为本申请提供的又一种网络链路质量获取装置的结构示意图;FIG. 8 is a schematic structural diagram of another network link quality acquisition device provided by the present application;

图9为本申请提供的一种探针代理服务器的示意图;FIG. 9 is a schematic diagram of a probe proxy server provided by the present application;

图10为本申请提供的一种探针分析服务器的示意图;FIG. 10 is a schematic diagram of a probe analysis server provided by the present application;

图11为本申请提供的一种探针的示意图。Fig. 11 is a schematic diagram of a probe provided in the present application.

通过上述附图,已示出本申请明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本申请构思的范围,而是通过参考特定实施例为本领域技术人员说明本申请的概念。By means of the above drawings, specific embodiments of the present application have been shown, which will be described in more detail hereinafter. These drawings and text descriptions are not intended to limit the scope of the concept of the application in any way, but to illustrate the concept of the application for those skilled in the art by referring to specific embodiments.

具体实施方式Detailed ways

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.

为了便于理解,首先对现有技术所使用的网络链路质量获取系统架构进行说明。For ease of understanding, firstly, the architecture of the network link quality acquisition system used in the prior art will be described.

图1为现有技术提供的一种网络链路质量获取系统的架构示意图,如图1所示,通信运营商提供的网络链路质量获取系统包括:探针分析服务器,以及,多个探针。Figure 1 is a schematic diagram of the architecture of a network link quality acquisition system provided by the prior art. As shown in Figure 1, the network link quality acquisition system provided by the communication operator includes: a probe analysis server, and multiple probes .

此处所说的多个探针可以部署在多条目标网络链路上,该目标网络链路可以是通信网络的链路,多条网络链路之间的连接可以是无线或有线连接的,用于在多个终端设备之间建立网络连接,进行通信。The multiple probes mentioned here can be deployed on multiple target network links, the target network links can be links of communication networks, and the connections between multiple network links can be wireless or wired. To establish a network connection between multiple terminal devices for communication.

多个探针可以是机架式硬件探针、家庭网关嵌入式探针、机顶盒等用来获取网络流量相关参数的硬件设备。探针部署在上述的网络链路上,用于获取部署位置对应的网络链路的数据。该数据用于反应该网络链路的网络连通情况、网络速度等信息,例如可以是网络时延、数据吞吐量、丢包率、错误率等。探针还可以与探针分析服务器进行通信连接,以将获取的数据传输至探针分析服务器中,供探针分析服务器对网络链路的数据进行分析,根据分析结果确定网络链路的故障节点,便于维护网络链路,保证网络的正常通信。The plurality of probes may be rack-mounted hardware probes, home gateway embedded probes, set-top boxes, and other hardware devices used to obtain parameters related to network traffic. The probe is deployed on the aforementioned network link, and is used to obtain data of the network link corresponding to the deployment location. The data is used to reflect information such as network connectivity and network speed of the network link, such as network delay, data throughput, packet loss rate, error rate, and the like. The probe can also communicate with the probe analysis server to transmit the acquired data to the probe analysis server for the probe analysis server to analyze the data of the network link and determine the fault node of the network link according to the analysis result , to facilitate the maintenance of network links and ensure the normal communication of the network.

探针分析服务器例如可以是通信运营商部署服务器,通过上述多条网络链路与上述多个探针进行通信连接,接收上述多个探针获取的数据,以对多条网络链路的数据进行分析,并输出分析结果。The probe analysis server may be, for example, a communication operator deployment server, communicates with the above-mentioned multiple probes through the above-mentioned multiple network links, receives the data obtained by the above-mentioned multiple probes, and analyzes the data of the multiple network links. Analyze and output the analysis results.

然而,在目前的网络链路质量获取系统架构下,网络链路的数据测试、探针的数据采集过程,都是由探针分析服务器发起的。当网络链路的数量较多时,需要对应部署更多的探针,导致与探针分析服务器通信的探针的数量增多,增大探针分析服务器的运行压力。However, under the current network link quality acquisition system architecture, the data test of the network link and the data collection process of the probe are all initiated by the probe analysis server. When the number of network links is large, more probes need to be deployed correspondingly, resulting in an increase in the number of probes communicating with the probe analysis server and increasing the operating pressure of the probe analysis server.

基于消息队列遥测传输协议(Message Queuing Telemetry Transport,MQTT)是一种基于发布/订阅(publish/subscribe)模式的"轻量级"通讯协议,该协议构建于TCP/IP协议上。以MQTT协议进行数据传输,可以以极少的代码和有限的带宽,为连接远程设备提供实时可靠的消息服务,并可以使用发布/订阅消息模式,提供一对多的消息发布,解除应用程序耦合。作为一种低开销、低带宽占用的即时通讯协议,MQTT协议在物联网、小型设备、移动应用等方面有较广泛的应用。Message Queuing Telemetry Transport (MQTT) is a "lightweight" communication protocol based on the publish/subscribe (publish/subscribe) model, which is built on the TCP/IP protocol. Using the MQTT protocol for data transmission, it can provide real-time and reliable message services for connected remote devices with very little code and limited bandwidth, and can use the publish/subscribe message mode to provide one-to-many message publishing and decoupling applications . As an instant messaging protocol with low overhead and low bandwidth occupation, the MQTT protocol has a wide range of applications in the Internet of Things, small devices, and mobile applications.

有鉴于此,本申请提出一种将MQTT协议应用于网络链路质量获取的方法。下面对本申请所采用的系统架构进行说明。In view of this, this application proposes a method for applying the MQTT protocol to network link quality acquisition. The system architecture adopted in this application will be described below.

如图2所示,本申请提出的网络链路质量获取系统,包括:至少一个探针分析服务器、探针代理服务器,以及,至少一个探针。As shown in FIG. 2 , the network link quality acquisition system proposed in this application includes: at least one probe analysis server, a probe proxy server, and at least one probe.

本申请提出的网络链路质量获取系统基于消息队列遥测传输协议(MessageQueuing Telemetry Transport,MQTT)传输数据。其中,探针代理服务器为MQTT协议中代理(Broker)身份,探针和探针分析服务器在不同场景下分别可以为MQTT协议中发布者(Publish)或订阅者(Subscribe)身份。例如,探针分析服务器或探针向探针代理服务器发送发布报文时,为MQTT协议中发布者身份。探针分析服务器或探针接收探针代理服务器转发的自身订阅的对应发布报文时,为MQTT协议中订阅者身份。The network link quality acquisition system proposed in this application transmits data based on Message Queuing Telemetry Transport (MQTT). Wherein, the probe proxy server is a broker (Broker) identity in the MQTT protocol, and the probe and the probe analysis server can respectively be a publisher (Publish) or a subscriber (Subscribe) identity in the MQTT protocol in different scenarios. For example, when the probe analysis server or the probe sends a publishing message to the probe proxy server, it is the identity of the publisher in the MQTT protocol. When the probe analysis server or the probe receives the corresponding publishing message subscribed by itself forwarded by the probe proxy server, it is the subscriber identity in the MQTT protocol.

探针可以是硬件探针或软件探针。软件探针是安装在目标网络链路的客户端上的,以软件形式获取网络流量相关参数的应用程序。上述探针与探针代理服务器之间存在通信连接,通过MQTT协议接收探针代理服务器发出的该探针订阅的订阅报文,或,通过MQTT协议向探针代理服务器发送发布报文。Probes can be hardware probes or software probes. A software probe is an application program installed on the client side of the target network link to obtain network traffic-related parameters in the form of software. There is a communication connection between the above-mentioned probe and the probe proxy server, and the subscription message sent by the probe proxy server is received through the MQTT protocol, or the publish message is sent to the probe proxy server through the MQTT protocol.

探针代理服务器分别与多个探针以及多个探针分析服务器通信连接,通过MQTT协议传输发布报文与订阅报文。例如,探针代理服务器可以接收探针分析服务器发出的发布报文,并将该发布报文发送给订阅了该发布报文的探针,或,接收探针发出的发布报文,并将该发布报文发送给订阅了该发布报文的探针分析服务器。The probe proxy server communicates with multiple probes and multiple probe analysis servers respectively, and transmits publishing messages and subscription messages through the MQTT protocol. For example, the probe proxy server can receive the release message sent by the probe analysis server, and send the release message to the probes that have subscribed to the release message, or receive the release message sent by the probe, and send the release message to the The publishing message is sent to the probe analysis server that has subscribed to the publishing message.

探针分析服务器可以是上述现有技术中的探针分析服务器,用于发起指定网络链路的网络状况采集请求和接收并分析网络状况信息,以向运营商提供指定网络链路的网络状况数据分析结果。The probe analysis server may be the probe analysis server in the above-mentioned prior art, which is used to initiate a network condition collection request for a specified network link and receive and analyze network condition information, so as to provide the operator with network condition data of the specified network link Analyze the results.

图2是以一个探针分析服务器,一个探针代理服务器、一个硬件探针和一个软件探针为例的示意图。在该场景下,探针分析服务器可以向探针代理服务器发送携带有采集任务的主题的MQTT发布报文,探针代理服务器根据多个探针的订阅关系向订阅了该主题的探针分发该MQTT发布报文,从而降低每个探针代理服务器接收反馈数据的探针的数量,降低每个探针代理服务器的运行压力。FIG. 2 is a schematic diagram of a probe analysis server, a probe proxy server, a hardware probe and a software probe as examples. In this scenario, the probe analysis server can send an MQTT publishing message carrying the topic of the collection task to the probe proxy server, and the probe proxy server distributes the message to the probes that have subscribed to the topic according to the subscription relationship of multiple probes. MQTT publishes messages, thereby reducing the number of probes that each probe proxy server receives feedback data, and reducing the operating pressure of each probe proxy server.

应理解,在本申请提出的网络链路质量获取系统中,探针分析服务器也可以有多个,探针代理服务器也可以有多个,其中,探针分析服务器可以与每个探针代理服务器连接,不同探针代理服务器所连接的探针不同,以通过上述方法,降低探针代理服务器所连接的探针数量,以在进一步降低每个探针代理服务器的运行压力的同时,进一步降低探针代理服务器的运行压力。It should be understood that in the network link quality acquisition system proposed in the present application, there may also be multiple probe analysis servers, and there may also be multiple probe proxy servers, wherein the probe analysis server may communicate with each probe proxy server Different probe proxy servers are connected to different probes. Through the above method, the number of probes connected to the probe proxy server can be reduced, so as to further reduce the operating pressure of each probe proxy server and further reduce the number of probes connected to the proxy server. The operating pressure of the proxy server.

下述实施例以一个探针代理服务器连接一个探针分析服务器,以及,多个探针的系统结构为例,对提出的网络链路质量获取方法进行说明。The following embodiments illustrate the proposed network link quality acquisition method by taking a probe proxy server connected to a probe analysis server and a system structure of multiple probes as an example.

下面根据图2所示的网络链路质量获取系统架构,结合具体实施例对本申请的技术方案以及本申请的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以互相结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。下面将结合附图,对本申请的实施例进行描述。The following describes in detail the technical solution of the present application and how the technical solution of the present application solves the above technical problems according to the network link quality acquisition system architecture shown in FIG. 2 and specific embodiments. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below in conjunction with the accompanying drawings.

图3为本申请实施例提供的一种网络链路质量获取方法的流程示意图,如图3所示,本实施例的方法包括如下步骤:FIG. 3 is a schematic flow diagram of a method for acquiring network link quality provided by an embodiment of the present application. As shown in FIG. 3 , the method of this embodiment includes the following steps:

S301、探针分析服务器向所述探针代理服务器发送第一MQTT发布报文,该第一MQTT发布报文用于指示探针分析服务器订阅的目标采集任务,该目标采集任务用于采集探针至目标节点之间的目标网络链路数据,该目标网络链路数据用于表征目标网络链路的质量。S301. The probe analysis server sends a first MQTT publishing message to the probe proxy server, the first MQTT publishing message is used to instruct the probe analysis server to subscribe to a target collection task, and the target collection task is used to collect the probe To target network link data between target nodes, the target network link data is used to characterize the quality of the target network link.

相应地,探针代理服务器接收该第一MQTT发布报文。Correspondingly, the probe proxy server receives the first MQTT publishing message.

该第一MQTT发布报文可以包括:固定报头、可变报头和有效载荷。The first MQTT publishing message may include: a fixed header, a variable header and a payload.

一种可能的方式,该第一MQTT发布报文的可变报头中可以包括携带有目标采集任务的主题,该目标采集任务可以指示对目标网络链路的需要执行的对应的采集任务。该目标采集任务的主题中可以包括探针所在的网络链路的路径,或可以包括预设的标识信息,该标识信息可以用于表征订阅该第一MQTT发布报文的探针的订阅关系。In a possible manner, the variable header of the first MQTT publishing message may include a subject carrying a target collection task, and the target collection task may indicate a corresponding collection task that needs to be executed on the target network link. The subject of the target collection task may include the path of the network link where the probe is located, or may include preset identification information, and the identification information may be used to represent the subscription relationship of the probes that subscribe to the first MQTT publishing message.

第一MQTT发布报文的有效载荷携带有上述目标采集任务的详情信息,该详情信息例如可以包括带宽测试、Ping测试、Trace测试等至少一项用于表征目标网络链路的质量的测试项目。The payload of the first MQTT release message carries the detailed information of the above-mentioned target acquisition task, and the detailed information may include at least one test item for characterizing the quality of the target network link, such as bandwidth test, Ping test, and Trace test.

其中,带宽测试可以用于测试目标网络链路的网络带宽,确定目标网络链路的数据传输速度。Ping测试可以用于测试数据包能否通过指定的数据传输协议到达特定主机或服务器,确定目标网络链路的丢包率和网络时延。Trace测试可以用于测试源节点(即发送数据的节点)到目的节点(即接收该数据的节点)的转发路径,并沿该路径记录源节点到中间各个目的节点的时延等信息。Wherein, the bandwidth test can be used to test the network bandwidth of the target network link, and determine the data transmission speed of the target network link. The Ping test can be used to test whether data packets can reach a specific host or server through a specified data transmission protocol, and determine the packet loss rate and network delay of the target network link. The Trace test can be used to test the forwarding path from the source node (that is, the node that sends data) to the destination node (that is, the node that receives the data), and record information such as the delay from the source node to each intermediate destination node along the path.

通过有效载荷携带的详情信息,可以指示目标网络链路对应的探针根据上述传输参数对目标网络链路进行测试,获得每个测试项目对应目标网络链路数据,以确定目标网络链路的带宽值、丢包率、错误率等链路质量指标。应理解,本实施例仅以上述测试项目为例进行说明,并不限定测试目标网络链路质量的测试项目。Through the detailed information carried in the payload, the probe corresponding to the target network link can be instructed to test the target network link according to the above transmission parameters, and obtain the target network link data corresponding to each test item to determine the bandwidth of the target network link Value, packet loss rate, error rate and other link quality indicators. It should be understood that this embodiment only uses the above test items as an example for description, and does not limit the test items for testing the link quality of the target network.

应理解,上述仅是示例性的给出了一种第一MQTT发布报文的可能实现方式,本申请对如何通过第一MQTT发布报文发布目标采集任务不进行限定。It should be understood that the above is only an example of a possible implementation of the first MQTT publishing message, and this application does not limit how to publish the target collection task through the first MQTT publishing message.

S302、探针代理服务器向第一探针发送第一MQTT发布报文;该第一探针为至少一个探针中处于目标网络链路、且订阅目标采集任务的探针。S302. The probe proxy server sends a first MQTT publishing message to the first probe; the first probe is a probe in at least one probe that is on a target network link and subscribes to a target collection task.

相应地,第一探针接收该第一MQTT发布报文。Correspondingly, the first probe receives the first MQTT publishing message.

其中,探针代理服务器可以根据第一MQTT发布报文包括的目标采集任务的主题确认探针的订阅关系,通过该订阅关系确认待采集的网络链路中对应的探针。当探针代理服务器从连接的所有探针中确定了订阅了该目标采集任务的第一探针,向该第一探针发送上述第一MQTT发布报文。Wherein, the probe proxy server can confirm the subscription relationship of the probe according to the topic of the target collection task included in the first MQTT release message, and confirm the corresponding probe in the network link to be collected through the subscription relationship. When the probe proxy server determines the first probe that has subscribed to the target collection task from all the connected probes, it sends the above-mentioned first MQTT publishing message to the first probe.

一种可能的实施方式,该目标采集任务的主题中可以包括探针所在的网络链路的路径,上述订阅关系可以是根据与目标网络链路的路径对应的探针所在的网络链路位置,以及,目标采集任务的主题确定的。该订阅关系可以是在部署探针时预先设定的,也可以是探针在工作过程中向探针代理服务器发送的MQTT订阅报文以确定的。该探针可以根据该探针所在的网络链路节点或路径信息,生成包括了需要订阅的主题信息的MQTT订阅报文,探针代理服务器根据该MQTT订阅报文中的订阅主题信息,以及,MQTT订阅报文,与目标采集任务的主题构建的订阅关系。In a possible implementation manner, the subject of the target collection task may include the path of the network link where the probe is located, and the subscription relationship may be based on the location of the network link where the probe corresponds to the path of the target network link, And, the theme of the target acquisition task is determined. The subscription relationship may be preset when the probe is deployed, or may be determined by an MQTT subscription message sent by the probe to the probe proxy server during the working process. The probe can generate an MQTT subscription message including topic information that needs to be subscribed according to the network link node or path information where the probe is located, and the probe proxy server can use the subscription topic information in the MQTT subscription message, and, MQTT subscription message, and the subscription relationship built with the topic of the target collection task.

另一种可能的实施方式,上述订阅关系可以是根据目标采集任务的主题中预先设定的标识信息的映射关系确定的。该映射关系可以是在部署探针时预先设定的,也可以在探针工作过程中人为的输入标识信息的映射关系。探针代理服务器根据探针生成的包括了需要订阅的主题信息的MQTT订阅报文中包括的标识信息,与目标采集任务的主题构建的订阅关系。In another possible implementation manner, the above-mentioned subscription relationship may be determined according to a mapping relationship of identification information preset in the subject of the target collection task. The mapping relationship may be preset when the probe is deployed, or the mapping relationship of identification information may be manually input during the working process of the probe. The probe proxy server builds a subscription relationship with the topic of the target collection task according to the identification information included in the MQTT subscription message generated by the probe and including the topic information to be subscribed to.

S303、第一探针基于该目标采集任务对该目标网络链路测试得到传输参数。S303. The first probe tests the target network link based on the target acquisition task to obtain transmission parameters.

第一探针根据接收到的第一MQTT发布报文,确定第一MQTT发布报文中有效载荷携带的目标采集任务的详情信息,确定需要对目标网络链路的质量进行测试的测试项目,根据该测试项目,对目标网络链路进行测试,从而获得测试项目对应目标网络链路数据。应理解,对目标网络链路进行测试的测试方法可以是现有技术中任何一种对应的测试方法,本申请不做限定。According to the received first MQTT release message, the first probe determines the detailed information of the target acquisition task carried in the payload in the first MQTT release message, and determines the test items that need to be tested on the quality of the target network link, according to The test item tests the target network link, so as to obtain the target network link data corresponding to the test item. It should be understood that the test method for testing the target network link may be any corresponding test method in the prior art, which is not limited in this application.

一种可能的实施方式,当目标网络链路为第一探针到探针代理服务器之间的干路网络链路,且探针的测试目标IP地址为探针代理服务器IP地址时,对目标网络链路进行带宽测试的方法可以是,第一探针向探针代理服务器发送第二MQTT订阅报文,该第二MQTT订阅报文可以基于类似前述的订阅关系,用于批量订阅第三MQTT发布报文,该第三MQTT发布报文可以是预设在探针代理服务器上的,也可以是探针代理服务器从探针分析服务器中获取的,获取的方式例如可以是探针代理服务器根据收到的第二MQTT订阅报文,向探针分析服务器请求的。探针代理服务器向该第一探针批量发送第三MQTT发布报文,该第三MQTT发布报文的有效载荷为预设大小,例如可以是满负载的MQTT报文。上述满负载的MQTT报文指除了固定报头外,该MQTT报文的可变报头以及有效载荷中,使用任意数据将该报文的存储空间占满。探针代理服务器通过获取该第一探针接收第三MQTT发布报文的接收时间,以及预设大小的第三MQTT发布报文,获得目标网络链路的网络带宽传输参数,其计算公式可以为:网络带宽传输参数=第三MQTT发布报文预设大小/第三MQTT发布报文的接收时间。In a possible implementation manner, when the target network link is a trunk network link between the first probe and the probe proxy server, and the test target IP address of the probe is the probe proxy server IP address, the target The method for performing a bandwidth test on a network link may be that the first probe sends a second MQTT subscription message to the probe proxy server, and the second MQTT subscription message may be based on a subscription relationship similar to the foregoing for batch subscription of the third MQTT Publishing a message, the third MQTT publishing message can be preset on the probe proxy server, or can be obtained by the probe proxy server from the probe analysis server. The received second MQTT subscription message is requested from the probe analysis server. The probe proxy server sends the third MQTT publishing message in batches to the first probe, and the payload of the third MQTT publishing message is a preset size, for example, it may be a fully loaded MQTT message. The aforementioned fully loaded MQTT message means that in addition to the fixed header, the storage space of the message is fully occupied by arbitrary data in the variable header and payload of the MQTT message. The probe proxy server obtains the network bandwidth transmission parameter of the target network link by obtaining the receiving time when the first probe receives the third MQTT release message and the third MQTT release message of the preset size, and the calculation formula can be : Network bandwidth transmission parameter=preset size of the third MQTT release message/receiving time of the third MQTT release message.

另一种可能的实施方式,当目标网络链路为第一探针到其他网络设备之间的支路网络链路,且探针的测试目标IP地址不是探针代理服务器IP地址时,探针可以运行预设的测速软件,该测速软件可以是现有技术中已有的测速软件,根据该测速软件的测速结果,读取目标网络链路的网络带宽传输参数。In another possible implementation manner, when the target network link is a branch network link between the first probe and other network devices, and the test target IP address of the probe is not the IP address of the probe proxy server, the probe Preset speed measurement software can be run, the speed measurement software can be existing speed measurement software in the prior art, and the network bandwidth transmission parameters of the target network link can be read according to the speed measurement results of the speed measurement software.

S304、第一探针向探针代理服务器发送第二MQTT发布报文。S304. The first probe sends a second MQTT publishing message to the probe proxy server.

相应地,探针代理服务器接收该第二MQTT发布报文。该第二MQTT发布报文用于指示第一探针基于目标采集任务对目标网络链路测试得到目标网络链路数据。Correspondingly, the probe proxy server receives the second MQTT publishing message. The second MQTT publishing message is used to instruct the first probe to test the target network link based on the target collection task to obtain target network link data.

第一探针通过MQTT协议向探针代理服务器发送第二MQTT发布报文,以使探针代理服务器向探针分析服务器转发该第二MQTT发布报文。The first probe sends the second MQTT publishing message to the probe proxy server through the MQTT protocol, so that the probe proxy server forwards the second MQTT publishing message to the probe analysis server.

一种可能的方式,该第二MQTT发布报文由固定报头、可变报头和有效载荷构成。该第二MQTT发布报文的可变报头中携带有目标采集数据的主题,该目标采集数据可以指示第一探针对所在的目标网络链路测试得到目标网络链路数据。该目标采集数据的主题中可以包括第一探针所在的网络链路的路径,用于指示目标采集数据的数据来源。第二MQTT发布报文的有效载荷携带有前述目标采集任务对应的目标网络链路测试目标网络链路数据,该数据例如可以包括带宽测试结果、Ping测试结果、Trace测试结果等用于表征目标网络链路的质量的测试结果,具体与第一MQTT发布报文中目标采集任务的详情信息有关。In a possible manner, the second MQTT publishing message is composed of a fixed header, a variable header, and a payload. The variable header of the second MQTT publishing message carries the topic of the target collection data, and the target collection data can instruct the first probe to test the target network link where it is located to obtain the target network link data. The subject of the target collection data may include the path of the network link where the first probe is located, which is used to indicate the data source of the target collection data. The payload of the second MQTT release message carries the target network link test target network link data corresponding to the aforementioned target acquisition task, which data, for example, may include bandwidth test results, Ping test results, Trace test results, etc. for characterizing the target network The test result of link quality is specifically related to the detailed information of the target acquisition task in the first MQTT release message.

应理解,上述仅是示例性的给出了一种第二MQTT发布报文的可能实现方式,本申请对如何通过第二MQTT发布报文发布目标采集数据不进行限定。It should be understood that the above is only an example of a possible implementation of the second MQTT publishing message, and this application does not limit how to publish the target collection data through the second MQTT publishing message.

S305、探针代理服务器向探针分析服务器发送第二MQTT发布报文。S305. The probe proxy server sends the second MQTT publishing message to the probe analysis server.

相应地,探针分析服务器接收该第二MQTT发布报文。Correspondingly, the probe analysis server receives the second MQTT publishing message.

探针代理服务器根据接收的第二MQTT发布报文中的目标采集数据的主题,将第二MQTT发布报文发送至对应目标采集数据主题的探针分析服务器。The probe proxy server sends the second MQTT publishing message to the probe analysis server corresponding to the subject of the target data collection according to the subject of the target collection data in the received second MQTT publishing message.

探针代理服务器根据探针分析服务器的订阅行为,将第二MQTT发布报文发送至订阅了目标采集数据主题的探针分析服务器。探针分析服务器的订阅行为可以是根据其向探针代理服务器发送的第一MQTT发布报文包含的目标采集任务的主题确认的,即,探针分析服务器可以根据目标采集任务的主题,向探针代理服务器发送订阅报文,以订阅后续探针代理服务器转发的包括了目标采集数据的主题的第二MQTT发布报文。探针分析服务器生成上述订阅报文,以及向探针代理服务器发送该订阅报文的时间节点可以处于探针分析服务器向探针代理服务器发送第一MQTT发布报文之前,也可以处于探针分析服务器向探针代理服务器发送第一MQTT发布报文之后。According to the subscription behavior of the probe analysis server, the probe proxy server sends the second MQTT publishing message to the probe analysis server that has subscribed to the subject of the target collected data. The subscription behavior of the probe analysis server can be confirmed according to the topic of the target collection task contained in the first MQTT publishing message it sends to the probe proxy server, that is, the probe analysis server can send a message to the probe according to the topic of the target collection task. A subscription message is sent to the proxy server, so as to subscribe to the second MQTT publishing message forwarded by the subsequent probe proxy server and including the subject of the target collection data. The time node when the probe analysis server generates the subscription message and sends the subscription message to the probe proxy server can be before the probe analysis server sends the first MQTT release message to the probe proxy server, or it can be in the probe analysis After the server sends the first MQTT publishing message to the probe proxy server.

探针分析服务器根据接收到的第二MQTT发布报文中包括目标网络链路数据,获得目标网络链路的质量结果,该质量结果可以表征目标网络链路是否存在问题,例如,网络连接状态、丢包率、错误率等。若目标网络存在问题,则探针代理服务器可以从网管系统中获取存在问题的目标节点的监控数据,网管系统例如可以是运营商用于管理网络链路的网管系统,在附图2中以运营商综合网管系统为例,该监控数据可以表征该目标节点的网络配置信息、数据等。探针分析服务器根据获取的目标节点的监控数据,对目标网络链路的网络质量进行数据分析并生成对应的分析结果。The probe analysis server obtains the quality result of the target network link according to the target network link data included in the received second MQTT release message, and the quality result can indicate whether there is a problem with the target network link, for example, network connection status, Packet loss rate, error rate, etc. If there is a problem in the target network, the probe proxy server can obtain the monitoring data of the target node with the problem from the network management system. The network management system can be, for example, a network management system used by an operator to manage network links. Taking the integrated network management system as an example, the monitoring data can represent the network configuration information and data of the target node. The probe analysis server performs data analysis on the network quality of the target network link according to the acquired monitoring data of the target node and generates corresponding analysis results.

如图3所示,本申请实施例提供的方法,基于MQTT传输协议,通过探针分析服务器向探针代理服务器发送包括目标采集任务的第一MQTT发布报文,对应的探针通过订阅的方式接收该第一MQTT发布报文,并依据第一MQTT发布报文对目标网络链路进行测试,将测试所得目标网络链路数据通过第二MQTT发布报文,同样以类似的订阅方式发送回对应的探针分析服务器,从而使得探针分析服务器能够选择获取目标网络链路数据,且通过探针代理服务器分别与探针分析服务器以及多个探针的连接,降低了探针分析服务器的运行压力。As shown in Figure 3, the method provided by the embodiment of the present application is based on the MQTT transmission protocol. The probe analysis server sends the first MQTT release message including the target collection task to the probe proxy server, and the corresponding probes are subscribed. Receive the first MQTT release message, and test the target network link according to the first MQTT release message, and send the target network link data through the second MQTT release message through the second MQTT release message, and send it back to the corresponding Probe analysis server, so that the probe analysis server can choose to obtain the target network link data, and through the connection between the probe proxy server and the probe analysis server and multiple probes, the operating pressure of the probe analysis server is reduced .

继续参照图1所示的现有的网络链路质量获取系统。目前,探针是通过超文本传输协议(Hyper Text Transfer Protocol,HTTP)、文件传输协议(File Transfer Protocol,FTP)、简单文件传输协议(Trivial File Transfer Protocol,TFTP)等和探针分析服务器进行连接的,探针可以跟据探针分析服务器的采集命令对所在网络链路的数据进行采集,采集完成后向探针分析服务器反馈采集结果数据。在这种传输方式下,当网络链路存在问题时,探针发送给探针分析服务器的测试结果数据包存在丢包的风险,探针分析服务器无法分析出网络链路的问题节点。Continue to refer to the existing network link quality acquisition system shown in FIG. 1 . At present, the probe is connected to the probe analysis server through Hyper Text Transfer Protocol (Hyper Text Transfer Protocol, HTTP), File Transfer Protocol (File Transfer Protocol, FTP), Trivial File Transfer Protocol (Trivial File Transfer Protocol, TFTP), etc. Yes, the probe can collect the data of its network link according to the collection command of the probe analysis server, and feed back the collection result data to the probe analysis server after the collection is completed. In this transmission mode, when there is a problem with the network link, there is a risk of packet loss in the test result data packet sent by the probe to the probe analysis server, and the probe analysis server cannot analyze the problem node of the network link.

因此,本申请提供了一种目标采集任务的传输方法以解决上述问题。图4为本申请实施例提供的一种目标采集任务的传输方法流程示意图,该实施例以第一MQTT发布报文的目标标采集任务的主题中包括探针所在的网络链路的路径为例,如图4所示,本实施例的方法包括如下步骤:Therefore, the present application provides a method for transmitting a target collection task to solve the above problems. Fig. 4 is a schematic flow chart of a transmission method for a target collection task provided by an embodiment of the present application. In this embodiment, the subject of the target collection task of the first MQTT release message includes the path of the network link where the probe is located as an example. , as shown in Figure 4, the method of the present embodiment includes the following steps:

S401、探针分析服务器向探针代理服务器发送第一MQTT发布报文。S401. The probe analysis server sends a first MQTT publishing message to the probe proxy server.

探针分析服务器向探针代理服务器发送的第一MQTT发布报的详细内容如步骤S301中所述,示例性的,该第一MQTT发布报文的格式如图5A所示。The detailed content of the first MQTT publishing message sent by the probe analysis server to the probe proxy server is as described in step S301. Exemplarily, the format of the first MQTT publishing message is shown in FIG. 5A.

其中,第一MQTT发布报文的固定报头中的“MQTT控制报文类型(3)”指报文类型为MQTT发布报文。DUP指重发标志,以指示该报文是第一次请求发送,还是早前报文请求的重发。如果DUP标志被设置为0,表示是第一次请求发送这个发布报文,如果DUP标志被设置为1,表示这可能是一个早前报文请求的重发。QoS则是前述所述的QoS等级协议,本申请中以QoS2等级为例进行说明。Wherein, the "MQTT control message type (3)" in the fixed header of the first MQTT publishing message means that the message type is an MQTT publishing message. DUP refers to the retransmission flag, which indicates whether the message is requested to be sent for the first time, or is a retransmission of an earlier message request. If the DUP flag is set to 0, it indicates that this is the first request to send this publication message. If the DUP flag is set to 1, it indicates that this may be a retransmission of an earlier message request. QoS is the above-mentioned QoS level protocol, and this application uses QoS2 level as an example for illustration.

其中,MQTT协议的QoS等级可以分为QoS0,QoS1,QoS2。其中,以QoS0等级传输MQTT报文,无论接收端是否收到该MQTT报文,发出报文的源端仅发送一次该MQTT报文;以QoS1等级传输MQTT报文,发出报文的源端需要根据预设时间间隔不断发送该MQTT报文,直至确定接收端接收到至少一次该MQTT报文;以QoS2等级传输MQTT报文,发出报文的源端需要根据预设时间间隔不断发送该MQTT报文,直至确定接收端接收到且仅接受到一次该MQTT报文。本申请可以使用QoS1等级或QoS2等级,或其他能够保证接收端接收到该MQTT报文的方式进行报文传输过程。基于QoS2等级,本申请能够保证MQTT报文能够准确的发送至接收端,且接收端仅接收到一次该MQTT报文,从而避免由于网络链路故障导致的丢包问题,还能避免接收端接收到多次冗余的该MQTT报文,以减少接收端的运行压力。Among them, the QoS levels of the MQTT protocol can be divided into QoS0, QoS1, and QoS2. Among them, if the MQTT message is transmitted at the QoS0 level, no matter whether the receiving end receives the MQTT message, the source end of the message will only send the MQTT message once; if the MQTT message is transmitted at the QoS1 level, the source end of the message needs to Send the MQTT message continuously according to the preset time interval until it is determined that the receiving end has received the MQTT message at least once; when transmitting the MQTT message at the QoS2 level, the source of the message needs to continuously send the MQTT message according to the preset time interval until it is determined that the receiving end has received the MQTT message only once. This application can use QoS1 level or QoS2 level, or other methods that can ensure that the receiving end receives the MQTT message to carry out the message transmission process. Based on the QoS2 level, this application can ensure that the MQTT message can be accurately sent to the receiving end, and the receiving end only receives the MQTT message once, so as to avoid the packet loss problem caused by the network link failure, and can also avoid receiving the MQTT message at the receiving end. Receive multiple redundant MQTT messages to reduce the operating pressure on the receiving end.

第一MQTT发布报文的可变报头中包括了目标采集任务的主题,该目标采集任务的主题可以用于订阅端订阅该第一MQTT发布报文,即与订阅端建立订阅关系。The variable header of the first MQTT publishing message includes the subject of the target collection task, and the subject of the target collecting task can be used by the subscriber to subscribe to the first MQTT publish message, that is, to establish a subscription relationship with the subscriber.

第一MQTT发布报文的有效载荷中包括了目标采集任务的详细信息,以指示目标采集任务所需要进行采集或测试的项目。The payload of the first MQTT publishing message includes detailed information of the target collection task, so as to indicate items that need to be collected or tested by the target collection task.

S402、探针代理服务器接收第一MQTT发布报文,并接收第一探针发送的第一MQTT订阅报文。S402. The probe proxy server receives the first MQTT publish message, and receives the first MQTT subscribe message sent by the first probe.

探针代理服务器接收第一探针发送的第一MQTT订阅报文的时间,可以是在探针部署的时间节点,也可以是在探针分析服务器向探针代理服务器发送第一MQTT发布报文之前的任意时间。上述的第一MQTT订阅报文是指符合MQTT控制报文规范中的订阅报文格式的报文。示例性的,该第一MQTT订阅报文的格式如图5B所示。The time when the probe proxy server receives the first MQTT subscription message sent by the first probe can be at the time node when the probe is deployed, or when the probe analysis server sends the first MQTT publish message to the probe proxy server any time before. The above-mentioned first MQTT subscription message refers to a message conforming to the subscription message format in the MQTT control message specification. Exemplarily, the format of the first MQTT subscription message is as shown in FIG. 5B.

其中,第一MQTT订阅报文的固定报头中的“MQTT控制报文类型(3)”指报文类型为MQTT订阅报文,固定报头中其他部分的内容解释与第一MQTT发布报文一致,此处不再赘述。第一MQTT订阅报文的可变报头中的包含的报文标识符为一个非零的16位报文标识符,用于标识不同的报文。Among them, the "MQTT control message type (3)" in the fixed header of the first MQTT subscription message refers to the message type as an MQTT subscription message, and the content interpretation of other parts in the fixed header is consistent with the first MQTT release message. I won't repeat them here. The message identifier contained in the variable header of the first MQTT subscription message is a non-zero 16-bit message identifier, which is used to identify different messages.

第一MQTT订阅报文的有效载荷中包括了主题过滤器列表,该主题过滤器列表中包括了所有第一MQTT订阅报文需要订阅的主题名称,以及每个主题名称需要对应的QoS等级。上述的主题名称中可以包括符合MQTT协议的任意通配符,以通过该通配符,以及,第一MQTT发布报文包括的目标采集任务的主题确认订阅关系。The payload of the first MQTT subscription message includes a topic filter list, and the topic filter list includes all topic names that need to be subscribed to in the first MQTT subscription message, and the QoS level that each topic name needs to correspond to. The above topic name may include any wildcard conforming to the MQTT protocol, so as to confirm the subscription relationship through the wildcard and the topic of the target collection task included in the first MQTT publishing message.

S403、探针代理服务器根据第一MQTT发布报文,以及,第一MQTT订阅报文,向订阅了第一MQTT发布报文的第一探针发送第一MQTT发布报文。S403. The probe proxy server sends the first MQTT release message to the first probe that has subscribed to the first MQTT release message according to the first MQTT release message and the first MQTT subscription message.

第一探针可以通过向探针代理服务器发送的如步骤S402中的第一MQTT订阅报文中的主题过滤器列表,从探针代理服务器中订阅对应的MQTT发布报文。其中,探针代理服务器可以根据一MQTT订阅报文中的主题过滤器列表,与MQTT发布报文的可变报头中的主题进行匹配,将成功匹配的主题确定为第一探针订阅的MQTT发布报文。在本实施例中,第一探针即是通过第一MQTT订阅报文,从探针代理服务器中订阅第一MQTT发布报文的。完成订阅后,探针代理服务器向订阅了第一MQTT发布报文的第一探针发送第一MQTT发布报文。The first probe may subscribe to the corresponding MQTT publish message from the probe proxy server through the topic filter list in the first MQTT subscription message sent to the probe proxy server as in step S402. Wherein, the probe proxy server can match the topic in the variable header of the MQTT publishing message according to the topic filter list in an MQTT subscription message, and determine the successfully matched topic as the MQTT publishing message subscribed by the first probe. message. In this embodiment, the first probe subscribes to the first MQTT publish message from the probe proxy server through the first MQTT subscribe message. After completing the subscription, the probe proxy server sends the first MQTT publishing message to the first probe that has subscribed to the first MQTT publishing message.

可选地,该探针也可以通过重发变更后的第一MQTT订阅报文,以修改该探针所需订阅的对应的采集任务的主题。Optionally, the probe can also modify the subject of the corresponding collection task that the probe needs to subscribe to by resending the changed first MQTT subscription message.

根据图4所示的一种目标采集任务的传输方法,可以完成探针代理服务器分别与探针、探针分析服务器的一对多数据传输。另外,由探针到探针代理服务器再到探针分析服务器的目标采集数据的传输方法可以采用与图4相同的订阅过程,由此使得探针与探针分析服务器之间的多对多通信。另外,本方法采用了QoS2等级对MQTT发布报文以及MQTT订阅报文进行数据传输,保证了MQTT报文能够准确的发送至探针分析服务器,且探针分析服务器仅接收到一次该MQTT报文,从而避免由于网络链路故障导致的丢包问题,还能避免接收端接收到多次冗余的该MQTT报文,在降低了探针分析服务器的运行压力的同时,保证了目标采集任务传输的稳定性。According to a transmission method of a target collection task shown in FIG. 4 , the one-to-many data transmission between the probe proxy server and the probe and the probe analysis server respectively can be completed. In addition, the transmission method of the target collection data from the probe to the probe proxy server and then to the probe analysis server can adopt the same subscription process as that in Figure 4, thus enabling the many-to-many communication between the probe and the probe analysis server . In addition, this method adopts the QoS2 level for data transmission of MQTT publishing messages and MQTT subscription messages, ensuring that MQTT messages can be accurately sent to the probe analysis server, and the probe analysis server only receives the MQTT message once , so as to avoid the packet loss problem caused by network link failure, and also prevent the receiving end from receiving multiple redundant MQTT messages, which reduces the operating pressure of the probe analysis server and ensures the transmission of the target collection task stability.

继续参照图1所示的现有的网络链路质量获取系统。目前,城域网的网络链路节点之间存在多路由路径上联的情况,即在相同的起始路由节点和相同的终点路由节点之间,存在多条备用路由路径,以此保证在主路由路径故障的情况下,仍然可以通过其他备用路由路径进行网络连接,现有技术中的网络链路质量获取方法仅能够当前使用的路由路径上的数据,无法获取其他冗余的备用路由路径上的数据。Continue to refer to the existing network link quality acquisition system shown in FIG. 1 . At present, there are multiple routing paths uplinking between the network link nodes of the MAN, that is, there are multiple backup routing paths between the same starting routing node and the same ending routing node, so as to ensure In the case of a routing path failure, the network can still be connected through other backup routing paths. The network link quality acquisition method in the prior art can only obtain data on the currently used routing path, and cannot obtain data on other redundant backup routing paths. The data.

有鉴于此,本申请基于图2所示的网络链路质量获取系统,提出了一种针对冗余的备用路由路径的网络链路质量获取方法。In view of this, the present application proposes a network link quality acquisition method for redundant backup routing paths based on the network link quality acquisition system shown in FIG. 2 .

在一种可能的场景下,第一探针至目标节点之间的目标网络链路具有第一路由路径和第二路由路径,该第一探针至该目标测试节点当前采用第一路由路径,该目标采集任务用于采集该第一探针至该目标测试节点之间使用第二路由路径时的目标网络链路数据。In a possible scenario, the target network link between the first probe and the target node has a first routing path and a second routing path, and the first probe to the target test node currently adopts the first routing path, The target collection task is used to collect target network link data when the second routing path is used between the first probe and the target test node.

探针分析服务器述探针代理服务器发送第一MQTT发布报文之前,探针分析服务器可以提取目标采集任务的内容,该内容可以包括该目标采集任务的待采集路由路径,待采集路由路径上包括多个待采集路由节点,例如该待采集路由路径,即第二路由路径为“路由节点1.1—路由节点2.2—路由节点3.2—路由节点4.1”。Probe analysis server Before the probe proxy server sends the first MQTT release message, the probe analysis server can extract the content of the target collection task, which can include the routing path to be collected for the target collection task, and the routing path to be collected includes A plurality of routing nodes to be collected, for example, the routing path to be collected, that is, the second routing path is "routing node 1.1—routing node 2.2—routing node 3.2—routing node 4.1".

探针分析服务器根据提取的目标采集任务的内容,向网管系统发送目标网络链路的第一路由切换请求,该第一路由切换请求用于请求从第一路由路径切换至第二路由路径,上述第一路由切换请求可以包括上述第二路由路径信息。网管系统接收到第一路由切换请求后,可以向路由路径上的路由节点发出静态路由,以指示目标测试节点所采用的路由路径为第二路由路径。若测试路径上的IP均为同一网段的,该静态路由为32位静态路由;若测试路径上的IP是不同网段的,该静态路由可以是其他位数的静态路由。以测试路径上的IP均为同一网段为例,上述32位静态路由的格式为“ip route-static路由节点4.1的IP地址\子网掩码\下一跳路由节点的IP地址”。The probe analysis server sends a first route switching request of the target network link to the network management system according to the content of the extracted target acquisition task, the first route switching request is used to request switching from the first routing path to the second routing path, the above-mentioned The first route switch request may include the above-mentioned second route path information. After receiving the first route switching request, the network management system may send a static route to the routing node on the routing path to indicate that the routing path adopted by the target test node is the second routing path. If the IPs on the test path are all on the same network segment, the static route is a 32-bit static route; if the IPs on the test path are on different network segments, the static route can be a static route with other bits. Taking the IP on the test path as an example, the format of the above 32-bit static route is "IP address of ip route-static routing node 4.1\subnet mask\IP address of next-hop routing node".

示例性的,当前使用的第一路由路径为“路由节点1.1—路由节点2.1—路由节点3.1—路由节点4.1”,以切换路由路径中一跳路由节点为例,若当前路由节点为路由节点1.1时,网管系统向路由节点1.1发出32位静态路由,指示路由节点1.1的下一跳所需走的路由路径为路由节点2.2,该32位静态路由的格式例如可以是“ip route-static路由节点4.1的IP地址\子网掩码\路由节点2.2的IP地址”。Exemplarily, the currently used first routing path is "routing node 1.1-routing node 2.1-routing node 3.1-routing node 4.1", taking the switching of one-hop routing node in the routing path as an example, if the current routing node is routing node 1.1 , the network management system sends a 32-bit static route to routing node 1.1, indicating that the routing path that the next hop of routing node 1.1 needs to take is routing node 2.2. The format of the 32-bit static routing can be, for example, "ip route-static routing node 4.1's IP address\subnet mask\routing node 2.2's IP address".

探针分析服务器接收探针代理服务器发送的第一MQTT订阅报文之后,探针分析服务器向网管系统发送目标网络链路的第二路由切换请求,以指示网管系统删除已发出的32位静态路由,从而使得当前使用的路由路径从第二路由路径切换回第一路由路径,以达到在对备用路由路径完成网络链路的目标采集任务后,使该区域的网络链路在数据传输时恢复测试前的路由路径,从而不影响该区域的网络链路的正常使用。After the probe analysis server receives the first MQTT subscription message sent by the probe proxy server, the probe analysis server sends the second route switching request of the target network link to the network management system to instruct the network management system to delete the sent 32-bit static route , so that the currently used routing path is switched from the second routing path back to the first routing path, so that after the target collection task of the network link is completed for the backup routing path, the network link in this area can resume testing during data transmission The previous routing path will not affect the normal use of the network links in this area.

本实施例通过探针分析服务器提取目标采集任务的内容,向网管系统提出路由切换请求,根据网管系统下发的32位静态路由,指引路由路径按照所需的路由路径进行数据传输,从而获取目标采集任务所需的目标网络链路数据,从而能够对城域网中所有冗余路由路径进行测试,获得全部目标网络链路数据,从而能够全面地评估网络链路的质量。In this embodiment, the content of the target acquisition task is extracted by the probe analysis server, and a route switching request is made to the network management system. According to the 32-bit static route issued by the network management system, the routing path is guided to perform data transmission according to the required routing path, thereby obtaining the target Collect the target network link data required by the task, so that all redundant routing paths in the metropolitan area network can be tested, and all target network link data can be obtained, so that the quality of the network link can be comprehensively evaluated.

另外,目前部分用户终端设备的客户端口不允许设备或服务器使用因特网包探索器(Packet Internet Groper,Ping)功能,即启用了禁Ping功能,例如部分互联网专线接入服务(Dedicated Internet Access,DIA)用户为防止网络攻击,设置其防火墙禁Ping功能。在防火墙禁Ping时,防火墙不允许硬件探针将获取到的目标网络链路的数据通过MQTT报文的形式发送至探针代理服务器。因此,探针分析服务器就无法获取硬件探针的目标采集数据,只能笼统地将该目标网络链路的质量评价为“质差”。但如果客户端因需要进行采集任务而放开Ping功能,又存在被外部网络攻击的风险。In addition, at present, the client port of some user terminal equipment does not allow the equipment or server to use the Internet packet explorer (Packet Internet Groper, Ping) function, that is, the Ping prohibition function is enabled, such as some Internet dedicated line access services (Dedicated Internet Access, DIA) In order to prevent network attacks, users set their firewalls to ban ping. When the firewall disables ping, the firewall does not allow the hardware probe to send the acquired data of the target network link to the probe proxy server in the form of MQTT packets. Therefore, the probe analysis server cannot obtain the target collection data of the hardware probe, and can only generally evaluate the quality of the target network link as "poor quality". However, if the client does not enable the Ping function because it needs to perform collection tasks, there is a risk of being attacked by an external network.

然而,由于WebSocket传输协议是利用客户端防火墙所允许的80(HTTP)或443(HTTPS)端口进行通信的,客户端的防火墙会认为WebSocket数据帧是客户端内部网络访问外部网络的HTTP报文,从而允许WebSocket数据帧通过防火墙。因此,在客户端禁Ping情况下,可以通过将MQTT报文封装WebSocket数据帧中,将MQTT报文通过防火墙。However, since the WebSocket transmission protocol uses the 80 (HTTP) or 443 (HTTPS) ports allowed by the client firewall to communicate, the client firewall will think that the WebSocket data frame is an HTTP message for the client internal network to access the external network, thus Allow WebSocket data frames to pass through the firewall. Therefore, when the client disables ping, the MQTT message can be passed through the firewall by encapsulating the MQTT message into a WebSocket data frame.

因此,本申请通过使用软件探针,提出了一种在客户端禁Ping情况下的网络链路质量获取方法,该方法的详细内容例如可以如下:Therefore, the present application proposes a method for obtaining network link quality when the client is prohibited from pinging by using a software probe. The detailed content of the method may be as follows, for example:

首先,为了支持MQTT over WebSockets的传输方式,需要人为地在探针代理服务器,以及,禁Ping的客户端上部署MQTT over WebSockets的环境。其中,需要在探针代理服务器安装一个支持MQTT over WebSockets的JavaScript库,以使探针代理服务器支持MQTTover WebSockets的传输形式。还需要在向禁Ping的客户端部署软件探针时,使用软件探针安装程序将在该禁Ping的客户端上安装一个支持WebSockets的浏览器,同时安装一个支持MQTT over WebSockets的JavaScript库,以使该浏览器成为一个MQTT客户端。此外,软件探针安装程序还可以同时在客户端上安装网络测试工具,例如Ping、Trace、MTR等工具,以使软件探针可以对目标网络链路进行测试。First of all, in order to support the transmission method of MQTT over WebSockets, it is necessary to artificially deploy the environment of MQTT over WebSockets on the probe proxy server and the client whose Ping is disabled. Among them, a JavaScript library supporting MQTT over WebSockets needs to be installed on the probe proxy server, so that the probe proxy server supports the transmission form of MQTT over WebSockets. It is also necessary to deploy a software probe to a Ping-forbidden client, use the software probe installation program to install a browser that supports WebSockets on the Ping-forbidden client, and install a JavaScript library that supports MQTT over WebSockets at the same time. Make the browser an MQTT client. In addition, the software probe installation program can also install network testing tools on the client at the same time, such as Ping, Trace, MTR and other tools, so that the software probe can test the target network link.

其次,在完成MQTT over WebSockets的运行环境的部署后,软件探针可以使用上述安装的网络测试工具对目标网络链路执行目标采集任务。在完成目标采集任务后,软件探针可以利用WebSockets浏览器,将包括了目标采集数据的MQTT发布报文封装在一个或多个WebSocket数据帧中,以WebSocket数据帧的形式将MQTT发布报文发送至探针代理服务器。Secondly, after completing the deployment of the MQTT over WebSockets operating environment, the software probe can use the above-mentioned installed network testing tools to perform target collection tasks on the target network link. After completing the target collection task, the software probe can use the WebSockets browser to encapsulate the MQTT publishing message including the target collection data in one or more WebSocket data frames, and send the MQTT publishing message in the form of WebSocket data frames to the probe proxy server.

上述通过软件探针将MQTT报文封装在WebSocket数据帧中,利用WebSocket传输协议通过禁Ping的客户端的防火墙的方法,可以实现在客户端禁Ping的情况下,MQTT报文的传输,从而在完成了网络链路质量获取的同时,避免了客户端因需要进行采集任务而放开Ping功能,从而遭受外部网络的恶意攻击的问题。The above method of encapsulating the MQTT message in the WebSocket data frame through the software probe, and using the WebSocket transmission protocol to pass through the firewall of the client that prohibits Ping can realize the transmission of the MQTT message when the client prohibits Ping, thus completing While improving the quality of the network link, it also avoids the problem that the client needs to release the Ping function due to the collection task, thus suffering from malicious attacks from the external network.

本申请的上述实施例提供的网络链路质量获取方法,基于QoS2等级协议的MQTT传输协议,通过探针代理服务器分别向探针和探针分析服务器分发第一MQTT发布报文与第二MQTT发布报文的方式,使得探针分析服务器能够选择获取特定目标网络链路数据且通过探针代理服务器分别与多个探针分析服务器以及多个探针的连接,降低了每个探针分析服务器的运行压力和存储压力,并保证了MQTT报文能够稳定到达接收端,避免了测试包丢包的风险,提高了网络链路测试的稳定性。另外,通过使用Websockets连接方式,使得软件探针与探针代理服务器之间的数据传输能够绕开禁Ping的用户终端设备的防火墙,从而完成本申请提供的网络链路质量获取方法,从而避免了用户终端设备因需要进行采集任务而放开Ping功能,从而遭受外部网络的恶意攻击的问题。本申请提供的网络链路质量获取方法还通过探针分析服务器向网管系统发出路由切换请求,对城域网中的冗余网络链路进行测试,获的城域网中所有网络链路的质量,从而获得目标网络链路中更全面目标网络链路数据,使得运营商的数据分析结果更加全面。The network link quality acquisition method provided by the above-mentioned embodiments of the present application is based on the MQTT transmission protocol of the QoS2 level protocol, and the probe proxy server distributes the first MQTT release message and the second MQTT release message to the probe and the probe analysis server respectively. The way of the packet enables the probe analysis server to choose to obtain specific target network link data and connect to multiple probe analysis servers and multiple probes through the probe proxy server, reducing the cost of each probe analysis server. Operating pressure and storage pressure, and ensure that MQTT messages can reach the receiving end stably, avoiding the risk of test packet loss, and improving the stability of network link testing. In addition, by using the Websockets connection method, the data transmission between the software probe and the probe proxy server can bypass the firewall of the user terminal device that prohibits Ping, thereby completing the network link quality acquisition method provided by this application, thereby avoiding The user terminal device needs to release the Ping function due to the need to perform collection tasks, and thus suffers from malicious attacks from the external network. The method for obtaining network link quality provided by the application also sends a route switching request to the network management system through the probe analysis server, tests the redundant network links in the metropolitan area network, and obtains the quality of all network links in the metropolitan area network , so as to obtain more comprehensive target network link data in the target network link, making the operator's data analysis results more comprehensive.

图6为本申请实施例提供的一种网络链路质量获取装置的结构示意图。探针代理服务器与探针分析服务器,以及,至少一个探针相连;该网络链路质量获取装置应用于探针代理服务器。FIG. 6 is a schematic structural diagram of an apparatus for acquiring network link quality provided by an embodiment of the present application. The probe proxy server is connected to the probe analysis server and at least one probe; the network link quality acquiring device is applied to the probe proxy server.

如图6所示,该网络链路质量获取装置包括:接收模块11,发送模块12。可选地,该网络链路质量获取装置例如可以包括下述至少一个模块:处理模块13。As shown in FIG. 6 , the device for acquiring network link quality includes: a receiving module 11 and a sending module 12 . Optionally, the apparatus for acquiring network link quality may include, for example, at least one of the following modules: a processing module 13 .

接收模块11,用于接收探针分析服务器发送的第一MQTT发布报文,该第一MQTT发布报文用于指示该探针分析服务器订阅的目标采集任务,该目标采集任务用于采集探针至目标节点之间的目标网络链路的传输参数,该目标网络链路的传输参数用于表征上述目标网络链路的质量。The receiving module 11 is configured to receive the first MQTT publishing message sent by the probe analysis server, the first MQTT publishing message is used to indicate the target collection task subscribed by the probe analysis server, and the target collection task is used to collect the probe A transmission parameter of the target network link between the target nodes, where the transmission parameter of the target network link is used to characterize the quality of the above target network link.

发送模块12,用于向第一探针发送第一MQTT发布报文。该第一探针为至少一个探针中处于目标网络链路、且订阅上述目标采集任务的探针。示例性的,第一MQTT发布报文采用QoS2方式发送;第一探针为部署在目标网络链路的客户端上的软件探针,第一探针与探针代理服务器之间采用websockets连接,第一探针与探针代理服务器之间通过HTTP升级流程传输MQTT报文。The sending module 12 is configured to send the first MQTT publishing message to the first probe. The first probe is a probe in at least one probe that is on the target network link and subscribes to the above-mentioned target collection task. Exemplarily, the first MQTT release message is sent in QoS2 mode; the first probe is a software probe deployed on the client of the target network link, and the first probe and the probe proxy server are connected by websockets, An MQTT message is transmitted between the first probe and the probe proxy server through an HTTP upgrade process.

接收模块11,还用于接收上述第一探针发送的第二MQTT发布报文,该第二MQTT发布报文用于指示该第一探针基于上述目标采集任务对上述目标网络链路测试得到的传输参数。示例性的,第二MQTT发布报文采用QoS2方式发送。The receiving module 11 is also configured to receive the second MQTT publishing message sent by the above-mentioned first probe, and the second MQTT publishing message is used to instruct the first probe to test the above-mentioned target network link based on the above-mentioned target collection task. The transmission parameters. Exemplarily, the second MQTT publish message is sent in a QoS2 manner.

发送模块12,还用于向探针分析服务器发送上述第二MQTT发布报文。The sending module 12 is further configured to send the second MQTT publishing message to the probe analysis server.

可选地,第一MQTT发布报文的可变报头携带有目标采集任务的主题,该第一MQTT发布报文的有效载荷携带有目标采集任务的详情信息。第二MQTT发布报文的可变报头携带有目标采集数据的主题,第二MQTT发布报文的有效载荷携带有传输参数。处理模块13,用于根据采集任务的主题与探针的映射关系,以及,目标采集任务的主题,从至少一个探针中确定上述第一探针。发送模块12,具体用于向该第一探针发送上述第一MQTT发布报文。Optionally, the variable header of the first MQTT publishing message carries the subject of the target collection task, and the payload of the first MQTT publishing message carries detailed information of the target collection task. The variable header of the second MQTT publishing message carries the subject of the target collection data, and the payload of the second MQTT publishing message carries transmission parameters. The processing module 13 is configured to determine the above-mentioned first probe from at least one probe according to the mapping relationship between the subject of the collection task and the probe, and the subject of the target collection task. The sending module 12 is specifically configured to send the above-mentioned first MQTT publishing message to the first probe.

可选地,接收模块11,还用于接收各探针发送的第一MQTT订阅报文,该第一MQTT订阅报文用于请求订阅上述各探针对应的采集任务的主题;处理模块13,还用于根据上述各探针的第一MQTT订阅报文,构建采集任务的主题与探针的订阅关系。Optionally, the receiving module 11 is also configured to receive the first MQTT subscription message sent by each probe, and the first MQTT subscription message is used to request to subscribe to the topic of the collection task corresponding to each of the above-mentioned probes; the processing module 13, It is also used to construct a subscription relationship between the subject of the collection task and the probe according to the first MQTT subscription message of each of the above probes.

可选地,接收模块11,还用于接收第一探针发送的第二MQTT订阅报文,第二MQTT订阅报文用于批量订阅第三MQTT发布报文;该第三MQTT发布报文的有效载荷为预设大小,用于该第一探针基于该第三MQTT发布报文的接收情况获取目标网络链路的带宽。发送模块12,还用于向第一探针批量发送第三MQTT发布报文。Optionally, the receiving module 11 is also configured to receive the second MQTT subscription message sent by the first probe, the second MQTT subscription message is used to subscribe to the third MQTT publishing message in batches; the third MQTT publishing message The payload is a preset size, and is used for the first probe to obtain the bandwidth of the target network link based on the receiving situation of the third MQTT publishing message. The sending module 12 is further configured to send the third MQTT publishing message to the first probe in batches.

可选地,接收模块11,还用于接收探针分析服务器批量发送的第三MQTT发布报文。Optionally, the receiving module 11 is also configured to receive the third MQTT publishing messages sent in batches by the probe analysis server.

可选地,接收模块11,还用于接收探针分析服务器发送的第三MQTT订阅报文,第三MQTT订阅报文用于请求订阅目标采集数据的主题;处理模块13,还用于根据探针分析服务器的第三MQTT订阅报文,构建探针分析服务器与目标采集数据的主题的订阅关系;发送模块12,具体用于根据探针分析服务器与目标采集数据的主题的订阅关系,向探针分析服务器发送第二MQTT发布报文。Optionally, the receiving module 11 is also used to receive the third MQTT subscription message sent by the probe analysis server, the third MQTT subscription message is used to request to subscribe to the subject of the target data collection; the processing module 13 is also used to According to the third MQTT subscription message of the analysis server, the subscription relationship between the probe analysis server and the subject of the target data collection is constructed; Send the second MQTT publishing message to the analysis server.

可选地,该目标网络链路的传输参数包括目标网络链路的带宽,该目标节点为探针代理服务器,发送模块12,还用于向上述第一探针批量发送第三MQTT发布报文。处理模块13,还用于该第一探针基于该第三MQTT发布报文的接收情况获取目标网络链路的带宽。该第三MQTT发布报文的有效载荷为预设大小。Optionally, the transmission parameters of the target network link include the bandwidth of the target network link, the target node is a probe proxy server, and the sending module 12 is also used to send the third MQTT publishing message in batches to the above-mentioned first probe . The processing module 13 is further used for the first probe to acquire the bandwidth of the target network link based on the receiving situation of the third MQTT publishing message. The payload of the third MQTT publishing message is a preset size.

本申请实施例提供的一种网络链路质量获取装置,可以执行上述方法实施例中探针代理服务器的动作,其实现原理和技术效果类似,在此不再赘述。该网络链路质量获取例如可以是探针代理服务器,也可以是探针代理服务器的一个芯片,例如,处理器等。The device for obtaining network link quality provided by the embodiment of the present application can perform the actions of the probe proxy server in the above method embodiment, and its implementation principle and technical effect are similar, and will not be repeated here. The acquisition of network link quality may be, for example, a probe proxy server, or a chip of the probe proxy server, for example, a processor.

图7为本申请实施例提供的一种网络链路质量获取装置的结构示意图。网络链路质量获取装置包括探针代理服务器与探针分析服务器,以及,多个探针相连;装置应用于探针分析服务器。FIG. 7 is a schematic structural diagram of an apparatus for acquiring network link quality provided by an embodiment of the present application. The network link quality acquisition device includes a probe proxy server and a probe analysis server, and multiple probes are connected; the device is applied to the probe analysis server.

如图7所示,该网络链路质量获取装置包括:发送模块21,接收模块22,获取模块23。可选地,该网络链路质量获取装置例如可以包括下述至少一个模块:生成模块24,输出模块25。As shown in FIG. 7 , the device for acquiring network link quality includes: a sending module 21 , a receiving module 22 , and an acquiring module 23 . Optionally, the apparatus for acquiring network link quality may include, for example, at least one of the following modules: a generation module 24 and an output module 25 .

发送模块21,用于向探针代理服务器发送第一MQTT发布报文,第一MQTT发布报文用于指示探针分析服务器订阅的目标采集任务,目标采集任务用于采集探针至目标节点之间的目标网络链路数据,目标网络链路数据用于表征目标网络链路的质量。示例性的,第一MQTT发布报文的可变报头携带有目标采集任务的主题,第一MQTT发布报文的有效载荷携带有目标采集任务的详情信息;第一MQTT发布报文采用QoS2方式发送。The sending module 21 is configured to send the first MQTT publishing message to the probe proxy server, the first MQTT publishing message is used to indicate the target collection task subscribed by the probe analysis server, and the target collection task is used to collect the link between the probe and the target node. The target network link data between target network link data is used to characterize the quality of the target network link. Exemplarily, the variable header of the first MQTT publishing message carries the subject of the target collection task, and the payload of the first MQTT publishing message carries the detailed information of the target collection task; the first MQTT publishing message is sent in QoS2 mode .

接收模块22,用于接收探针代理服务器发送的第二MQTT发布报文,第二MQTT发布报文用于指示第一探针基于目标采集任务对目标网络链路测试得到目标网络链路数据,第一探针为至少一个探针中处于目标网络链路、且订阅目标采集任务的探针。示例性的,第二MQTT发布报文的可变报头携带有目标采集数据的主题,第二MQTT发布报文的有效载荷携带有目标网络链路数据;第二MQTT发布报文采用QoS2方式发送。The receiving module 22 is configured to receive the second MQTT publishing message sent by the probe proxy server, and the second MQTT publishing message is used to instruct the first probe to test the target network link based on the target collection task to obtain the target network link data, The first probe is a probe in at least one probe that is on the target network link and subscribes to the target collection task. Exemplarily, the variable header of the second MQTT publishing message carries the subject of the target data collection, and the payload of the second MQTT publishing message carries the target network link data; the second MQTT publishing message is sent in QoS2 mode.

获取模块23,用于根据第二MQTT发布报文,获取目标网络链路的质量结果。The acquiring module 23 is configured to acquire the quality result of the target network link according to the second MQTT publishing message.

可选地,发送模块21,还用于在接收模块22接收探针代理服务器发送的第二MQTT发布报文之前,向探针代理服务器发送的第三MQTT订阅报文,第三MQTT订阅报文用于请求订阅所述目标采集数据的主题;探针代理服务器根据各探针分析服务器的第三MQTT订阅报文,构建探针分析服务器与目标采集数据的主题的订阅关系。Optionally, the sending module 21 is also used to send the third MQTT subscription message to the probe proxy server before the receiving module 22 receives the second MQTT publishing message sent by the probe proxy server, the third MQTT subscription message It is used to request to subscribe to the subject of the target data collection; the probe proxy server constructs a subscription relationship between the probe analysis server and the subject of target data collection according to the third MQTT subscription message of each probe analysis server.

可选地,目标网络链路数据包括目标网络链路的带宽,目标节点为探针代理服务器,发送模块21,还用于向探针代理服务器批量发送第三MQTT发布报文,第三MQTT发布报文的有效载荷为预设大小,用于第一探针基于第三MQTT发布报文的接收情况获取目标网络链路的带宽。Optionally, the target network link data includes the bandwidth of the target network link, the target node is a probe proxy server, and the sending module 21 is also used to send the third MQTT publishing message in batches to the probe proxy server, and the third MQTT publishes The payload of the message is a preset size, and is used for the first probe to obtain the bandwidth of the target network link based on the receiving situation of the third MQTT publishing message.

可选地,第一探针至目标节点之间的目标网络链路具有第一路由路径和第二路由路径,第一探针至目标测试节点当前采用第一路由路径,目标采集任务用于采集第一探针至目标测试节点之间使用第二路由路径时目标网络链路数据;发送模块21,还用于在向探针代理服务器发送第一MQTT发布报文之前,向网管系统发送目标网络链路的第一路由切换请求,第一路由切换请求用于请求从第一路由路径切换至第二路由路径。探针分析服务器接收探针代理服务器发送的第二MQTT发布报文之后,发送模块21,还用于向网管系统发送目标网络链路的第二路由切换请求,第二路由切换请求用于请求从第二路由路径切换至第一路由路径。Optionally, the target network link between the first probe and the target node has a first routing path and a second routing path, the first probe to the target test node currently adopts the first routing path, and the target collection task is used to collect When the second routing path is used between the first probe and the target test node, the target network link data; the sending module 21 is also used to send the target network to the network management system before sending the first MQTT release message to the probe proxy server A first route switching request for the link, where the first route switching request is used to request switching from the first routing path to the second routing path. After the probe analysis server receives the second MQTT publishing message sent by the probe proxy server, the sending module 21 is also used to send the second route switching request of the target network link to the network management system, and the second route switching request is used to request from The second routing path is switched to the first routing path.

可选地,获取模块23,用于在目标网络链路的质量结果表征目标网络链路存在问题时,从网管系统获取目标节点的监控数据。生成模块24,用于根据监控数据,生成目标网络链路的质量分析报告。输出模块25,用于输出质量分析报告。Optionally, the obtaining module 23 is configured to obtain the monitoring data of the target node from the network management system when the quality result of the target network link indicates that there is a problem with the target network link. The generating module 24 is configured to generate a quality analysis report of the target network link according to the monitoring data. The output module 25 is used to output the quality analysis report.

本申请实施例提供的一种网络链路质量获取装置,可以执行上述方法实施例中探针分析服务器的动作,其实现原理和技术效果类似,在此不再赘述。该网络链路质量获取例如可以是探针分析服务器,也可以是探针分析服务器的一个芯片,例如,处理器等。The device for obtaining network link quality provided by the embodiment of the present application can execute the actions of the probe analysis server in the above method embodiment, and its implementation principle and technical effect are similar, and will not be repeated here. The acquisition of network link quality may be, for example, a probe analysis server, or a chip of the probe analysis server, for example, a processor.

图8为本申请实施例提供的一种网络链路质量获取装置的结构示意图。网络链路质量获取装置包括探针代理服务器与探针分析服务器,以及,多个探针相连;装置应用于探针。FIG. 8 is a schematic structural diagram of an apparatus for acquiring network link quality provided by an embodiment of the present application. The network link quality acquisition device includes a probe proxy server and a probe analysis server, and a plurality of probes are connected; the device is applied to the probes.

如图8所示,该网络链路质量获取装置包括:接收模块31,采集模块32,发送模块33。可选地,该网络链路质量获取装置例如可以包括下述至少一个模块:As shown in FIG. 8 , the network link quality acquiring device includes: a receiving module 31 , a collecting module 32 , and a sending module 33 . Optionally, the device for acquiring network link quality may include at least one of the following modules, for example:

接收模块31,用于接收探针代理服务器发送的第一MQTT发布报文,第一MQTT发布报文用于指示探针分析服务器订阅的目标采集任务,目标采集任务用于采集探针至目标节点之间的目标网络链路数据,目标网络链路数据用于表征目标网络链路的质量。示例性的,第一MQTT发布报文的可变报头携带有目标采集任务的主题,第一MQTT发布报文的有效载荷携带有目标采集任务的详情信息,第一MQTT发布报文采用QoS2方式发送。The receiving module 31 is configured to receive the first MQTT publishing message sent by the probe proxy server, the first MQTT publishing message is used to indicate the target collection task subscribed by the probe analysis server, and the target collection task is used to collect the probe to the target node The target network link data between the target network link data is used to characterize the quality of the target network link. Exemplarily, the variable header of the first MQTT publishing message carries the subject of the target collection task, the payload of the first MQTT publishing message carries the detailed information of the target collection task, and the first MQTT publishing message is sent in QoS2 mode .

采集模块32,用于基于目标采集任务对目标网络链路测试得到目标网络链路数据。The collection module 32 is configured to test the target network link based on the target collection task to obtain target network link data.

发送模块33,用于向探针代理服务器发送第二MQTT发布报文,以使探针代理服务器向探针分析服务器转发第二MQTT发布报文,第二MQTT发布报文用于指示目标网络链路数据。示例性的,第二MQTT发布报文的可变报头携带有目标采集数据的主题,第二MQTT发布报文的有效载荷携带有目标网络链路数据,第二MQTT发布报文采用QoS2方式发送。The sending module 33 is configured to send a second MQTT publishing message to the probe proxy server, so that the probe proxy server forwards the second MQTT publishing message to the probe analysis server, and the second MQTT publishing message is used to indicate the target network chain road data. Exemplarily, the variable header of the second MQTT publishing message carries the subject of the target data collection, the payload of the second MQTT publishing message carries the target network link data, and the second MQTT publishing message is sent in QoS2 mode.

可选地,第一探针为部署在目标网络链路的客户端上的软件探针,第一探针与探针代理服务器之间采用websockets连接,第一探针与探针代理服务器之间通过HTTP升级流程传输MQTT报文。Optionally, the first probe is a software probe deployed on the client of the target network link, websockets connection is adopted between the first probe and the probe proxy server, and the connection between the first probe and the probe proxy server is MQTT packets are transmitted through the HTTP upgrade process.

可选地,目标网络链路数据包括目标网络链路的带宽,目标节点为探针代理服务器;第一探针基于目标采集任务对目标网络链路测试得到目标网络链路数据,接收模块31,还用于接收探针代理服务器批量发送的第三MQTT发布报文;第三MQTT发布报文的有效载荷为预设大小。采集模块32,还用于基于第三MQTT发布报文的接收情况获取目标网络链路的带宽。Optionally, the target network link data includes the bandwidth of the target network link, and the target node is a probe proxy server; the first probe tests the target network link based on the target collection task to obtain the target network link data, and the receiving module 31, It is also used to receive the third MQTT publishing message sent in batches by the probe proxy server; the payload of the third MQTT publishing message is a preset size. The acquisition module 32 is further configured to acquire the bandwidth of the target network link based on the receiving situation of the third MQTT publishing message.

可选地,目标网络链路数据包括目标网络链路的带宽,目标节点非探针代理服务器;第一探针基于目标采集任务对目标网络链路测试得到目标网络链路数据,采集模块32,还用于通过预设的测速软件,对目标网络链路进行测速,获取目标网络链路的带宽。Optionally, the target network link data includes the bandwidth of the target network link, and the target node is a non-probe proxy server; the first probe tests the target network link based on the target collection task to obtain the target network link data, and the acquisition module 32, It is also used to measure the speed of the target network link through the preset speed measurement software, and obtain the bandwidth of the target network link.

本申请实施例提供的一种网络链路质量获取装置,可以执行上述方法实施例中探针的动作,其实现原理和技术效果类似,在此不再赘述。该网络链路质量获取例如可以是探针,也可以是探针的一个芯片,例如,处理器等。The device for acquiring network link quality provided by the embodiments of the present application can perform the actions of the probes in the above method embodiments. The implementation principles and technical effects are similar, and will not be repeated here. The acquisition of the network link quality may be, for example, a probe, or a chip of the probe, for example, a processor.

图9为本申请提供的一种探针代理服务器示意图。如图9所示,该探针代理服务器900可以包括:至少一个处理器901、存储器902和通信接口903。FIG. 9 is a schematic diagram of a probe proxy server provided by the present application. As shown in FIG. 9 , the probe proxy server 900 may include: at least one processor 901 , a memory 902 and a communication interface 903 .

存储器902,用于存放程序。具体地,程序可以包括程序代码,程序代码包括计算机操作指令。The memory 902 is used to store programs. Specifically, the program may include program code, and the program code includes computer operation instructions.

存储器902可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。The memory 902 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

处理器901用于执行存储器902存储的计算机执行指令,以实现前述方法实施例所描述的网络链路质量获取方法。其中,处理器901可能是一个中央处理器(CentralProcessing Unit,简称为CPU),或者是特定集成电路(Application Specific IntegratedCircuit,简称为ASIC),或者是被配置成实施本申请实施例的一个或多个集成电路。The processor 901 is configured to execute the computer-executed instructions stored in the memory 902, so as to implement the method for acquiring network link quality described in the foregoing method embodiments. Wherein, the processor 901 may be a central processing unit (Central Processing Unit, referred to as CPU), or a specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC), or configured to implement one or more of the embodiments of the present application integrated circuit.

处理器901通过通信接口903可以与外部设备进行通信交互,外部设备例如可以是探针分析服务器或至少一个探针,在具体实现上,如果通信接口903、存储器902和处理器901独立实现,则通信接口903、存储器902和处理器901可以通过总线相互连接并完成相互间的通信。总线可以是工业标准体系结构(Industry Standard Architecture,简称为ISA)总线、外部设备互连(Peripheral Component,简称为PCI)总线或扩展工业标准体系结构(Extended Industry Standard Architecture,简称为EISA)总线等。总线可以分为地址总线、数据总线、控制总线等,但并不表示仅有一根总线或一种类型的总线。The processor 901 can communicate and interact with external devices through the communication interface 903. The external device can be, for example, a probe analysis server or at least one probe. In specific implementation, if the communication interface 903, the memory 902 and the processor 901 are implemented independently, then The communication interface 903, the memory 902, and the processor 901 may be connected to each other through a bus to complete mutual communication. The bus may be an Industry Standard Architecture (Industry Standard Architecture, ISA for short) bus, a Peripheral Component Interconnect (PCI for short) bus, or an Extended Industry Standard Architecture (EISA for short) bus. The bus can be divided into address bus, data bus, control bus, etc., but it does not mean that there is only one bus or one type of bus.

可选的,在具体实现上,如果通信接口903、存储器902和处理器901集成在一块芯片上实现,则通信接口903、存储器902和处理器901可以通过内部接口完成通信。Optionally, in terms of specific implementation, if the communication interface 903, the memory 902, and the processor 901 are integrated and implemented on one chip, the communication interface 903, the memory 902, and the processor 901 may complete communication through an internal interface.

图10为本申请提供的一种探针分析服务器示意图。如图10所示,该探针分析服务器1000可以包括:至少一个处理器1001、存储器1002和通信接口1003。FIG. 10 is a schematic diagram of a probe analysis server provided by the present application. As shown in FIG. 10 , the probe analysis server 1000 may include: at least one processor 1001 , a memory 1002 and a communication interface 1003 .

存储器1002,用于存放程序。具体地,程序可以包括程序代码,程序代码包括计算机操作指令。The memory 1002 is used to store programs. Specifically, the program may include program code, and the program code includes computer operation instructions.

存储器1002可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。The memory 1002 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one magnetic disk memory.

处理器1001用于执行存储器1002存储的计算机执行指令,以实现前述方法实施例所描述的网络链路质量获取方法。其中,处理器1001可能是一个中央处理器(CentralProcessing Unit,简称为CPU),或者是特定集成电路(Application Specific IntegratedCircuit,简称为ASIC),或者是被配置成实施本申请实施例的一个或多个集成电路。The processor 1001 is configured to execute the computer-executed instructions stored in the memory 1002, so as to implement the method for acquiring network link quality described in the foregoing method embodiments. Wherein, the processor 1001 may be a central processing unit (Central Processing Unit, referred to as CPU), or a specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC), or configured to implement one or more of the embodiments of the present application integrated circuit.

处理器1001通过通信接口1003可以与外部设备进行通信交互,外部设备例如可以是探针代理服务器或网管系统,在具体实现上,如果通信接口1003、存储器1002和处理器1001独立实现,则通信接口1003、存储器1002和处理器1001可以通过总线相互连接并完成相互间的通信。总线可以是工业标准体系结构(Industry Standard Architecture,简称为ISA)总线、外部设备互连(Peripheral Component,简称为PCI)总线或扩展工业标准体系结构(Extended Industry Standard Architecture,简称为EISA)总线等。总线可以分为地址总线、数据总线、控制总线等,但并不表示仅有一根总线或一种类型的总线。The processor 1001 can communicate and interact with external devices through the communication interface 1003. The external device can be, for example, a probe proxy server or a network management system. In terms of specific implementation, if the communication interface 1003, the memory 1002, and the processor 1001 are implemented independently, then the communication interface 1003, the memory 1002, and the processor 1001 may be connected to each other through a bus to complete mutual communication. The bus may be an Industry Standard Architecture (Industry Standard Architecture, ISA for short) bus, a Peripheral Component Interconnect (PCI for short) bus, or an Extended Industry Standard Architecture (EISA for short) bus. The bus can be divided into address bus, data bus, control bus, etc., but it does not mean that there is only one bus or one type of bus.

可选的,在具体实现上,如果通信接口1003、存储器1002和处理器1001集成在一块芯片上实现,则通信接口1003、存储器1002和处理器1001可以通过内部接口完成通信。Optionally, in specific implementation, if the communication interface 1003, the memory 1002 and the processor 1001 are integrated and implemented on one chip, then the communication interface 1003, the memory 1002 and the processor 1001 may communicate through internal interfaces.

图11为本申请提供的一种探针示意图。如图11所示,该探针1100可以包括:至少一个处理器1101、存储器1102和通信接口1103。Fig. 11 is a schematic diagram of a probe provided in this application. As shown in FIG. 11 , the probe 1100 may include: at least one processor 1101 , a memory 1102 and a communication interface 1103 .

存储器1102,用于存放程序。具体地,程序可以包括程序代码,程序代码包括计算机操作指令。The memory 1102 is used to store programs. Specifically, the program may include program code, and the program code includes computer operation instructions.

存储器1102可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。The memory 1102 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one magnetic disk memory.

处理器1101用于执行存储器1102存储的计算机执行指令,以实现前述方法实施例所描述的网络链路质量获取方法。其中,处理器1101可能是一个中央处理器(CentralProcessing Unit,简称为CPU),或者是特定集成电路(Application Specific IntegratedCircuit,简称为ASIC),或者是被配置成实施本申请实施例的一个或多个集成电路。The processor 1101 is configured to execute the computer-executed instructions stored in the memory 1102, so as to implement the method for acquiring network link quality described in the foregoing method embodiments. Wherein, the processor 1101 may be a central processing unit (Central Processing Unit, referred to as CPU), or a specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC), or configured to implement one or more of the embodiments of the present application integrated circuit.

处理器1101通过通信接口1103可以与外部设备进行通信交互,外部设备例如可以是探针代理服务器,在具体实现上,如果通信接口1103、存储器1102和处理器1101独立实现,则通信接口1103、存储器1102和处理器1101可以通过总线相互连接并完成相互间的通信。总线可以是工业标准体系结构(Industry Standard Architecture,简称为ISA)总线、外部设备互连(Peripheral Component,简称为PCI)总线或扩展工业标准体系结构(Extended Industry Standard Architecture,简称为EISA)总线等。总线可以分为地址总线、数据总线、控制总线等,但并不表示仅有一根总线或一种类型的总线。The processor 1101 can communicate and interact with external devices through the communication interface 1103. The external device can be, for example, a probe proxy server. The processor 1102 and the processor 1101 may be connected to each other through a bus and communicate with each other. The bus may be an Industry Standard Architecture (Industry Standard Architecture, ISA for short) bus, a Peripheral Component Interconnect (PCI for short) bus, or an Extended Industry Standard Architecture (EISA for short) bus. The bus can be divided into address bus, data bus, control bus, etc., but it does not mean that there is only one bus or one type of bus.

可选的,在具体实现上,如果通信接口1103、存储器1102和处理器1101集成在一块芯片上实现,则通信接口1103、存储器1102和处理器1101可以通过内部接口完成通信。Optionally, in terms of specific implementation, if the communication interface 1103, the memory 1102, and the processor 1101 are integrated and implemented on one chip, then the communication interface 1103, the memory 1102, and the processor 1101 may communicate through an internal interface.

本申请还提供一种如图2的网络链路质量获取系统,该系统包括:探针代理服务器、探针分析服务器、至少一个探针。探针代理服务器分别与探针分析服务器以及至少一个探针连接。The present application also provides a network link quality acquisition system as shown in FIG. 2 , the system includes: a probe proxy server, a probe analysis server, and at least one probe. The probe proxy server is respectively connected to the probe analysis server and at least one probe.

其中,探针代理服务器用于执行上述方法实施例所描述的探针代理服务器的动作,探针分析服务器用于执行上述方法实施例所描述的探针分析服务器的动作,探针用于执行上述方法实施例所描述的探针的动作,以使网络链路质量获取系统可以采用MQTT协议实现网络链路质量的获取,其实现原理和技术效果与上述方法实施例类似,对此不再赘述。Wherein, the probe proxy server is used to perform the actions of the probe proxy server described in the above method embodiments, the probe analysis server is used to perform the actions of the probe analysis server described in the above method embodiments, and the probe is used to perform the above-mentioned The actions of the probes described in the method embodiments enable the network link quality acquisition system to use the MQTT protocol to acquire the network link quality. The implementation principle and technical effect are similar to those of the above method embodiments, and will not be repeated here.

本申请还提供了一种计算机可读存储介质,该计算机可读存储介质可以包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random AccessMemory)、磁盘或者光盘等各种可以存储程序代码的介质,具体的,该计算机可读存储介质中存储有程序指令,程序指令用于上述实施例中的方法。The present application also provides a computer-readable storage medium, which may include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random-access memory (RAM, Random AccessMemory) Various media that can store program codes, such as a magnetic disk or an optical disk, specifically, the computer-readable storage medium stores program instructions, and the program instructions are used in the methods in the above-mentioned embodiments.

最后应说明的是:以上各实施例仅用以说明本申请的技术方案,而非对其限制。尽管参照前述各实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换。而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present application, rather than to limit it. Although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features . However, these modifications or replacements do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (27)

1.一种网络链路质量获取方法,其特征在于,应用于探针代理服务器,所述探针代理服务器分别与探针分析服务器以及至少一个探针连接,所述方法包括:1. A method for acquiring network link quality, characterized in that it is applied to a probe proxy server, and the probe proxy server is respectively connected to a probe analysis server and at least one probe, and the method comprises: 所述探针代理服务器接收所述探针分析服务器发送的第一基于消息队列遥测传输协议MQTT发布报文,所述第一MQTT发布报文用于指示所述探针分析服务器订阅的目标采集任务,所述目标采集任务用于采集探针至目标节点之间的目标网络链路数据,所述目标网络链路数据用于表征所述目标网络链路的质量;The probe proxy server receives the first MQTT publishing message based on the message queue telemetry transport protocol sent by the probe analysis server, and the first MQTT publishing message is used to indicate the target acquisition task subscribed by the probe analysis server , the target collection task is used to collect target network link data between the probe and the target node, and the target network link data is used to characterize the quality of the target network link; 所述探针代理服务器向第一探针发送所述第一MQTT发布报文;所述第一探针为所述至少一个探针中处于目标网络链路、且订阅所述目标采集任务的探针;The probe proxy server sends the first MQTT publishing message to the first probe; the first probe is the probe of the at least one probe that is on the target network link and subscribes to the target collection task Needle; 所述探针代理服务器接收所述第一探针发送的第二MQTT发布报文,所述第二MQTT发布报文用于指示所述第一探针基于所述目标采集任务对所述目标网络链路测试得到目标网络链路数据;The probe proxy server receives the second MQTT publishing message sent by the first probe, and the second MQTT publishing message is used to instruct the first probe to send the target network based on the target collection task. The link test obtains the link data of the target network; 所述探针代理服务器向所述探针分析服务器发送所述第二MQTT发布报文;The probe proxy server sends the second MQTT publishing message to the probe analysis server; 其中,所述目标网络链路数据包括所述目标网络链路的带宽,所述目标节点为所述探针代理服务器;所述方法还包括:Wherein, the target network link data includes the bandwidth of the target network link, and the target node is the probe proxy server; the method also includes: 所述探针代理服务器接收所述第一探针发送的第二MQTT订阅报文;所述第二MQTT订阅报文用于批量订阅第三MQTT发布报文;所述第三MQTT发布报文的有效载荷为预设大小,用于所述第一探针基于所述第三MQTT发布报文的接收情况获取所述目标网络链路的带宽;The probe proxy server receives the second MQTT subscription message sent by the first probe; the second MQTT subscription message is used to subscribe to the third MQTT publishing message in batches; the third MQTT publishing message The payload is a preset size, and is used for the first probe to obtain the bandwidth of the target network link based on the reception of the third MQTT release message; 所述探针代理服务器向所述第一探针批量发送第三MQTT发布报文。The probe proxy server sends third MQTT publishing messages to the first probe in batches. 2.根据权利要求1所述的方法,其特征在于,所述第一MQTT发布报文的可变报头携带有所述目标采集任务的主题,所述第一MQTT发布报文的有效载荷携带有所述目标采集任务的详情信息;2. The method according to claim 1, wherein the variable header of the first MQTT release message carries the subject of the target collection task, and the payload of the first MQTT release message carries a Detailed information of the target acquisition task; 所述第二MQTT发布报文的可变报头携带有所述目标采集数据的主题,所述第二MQTT发布报文的有效载荷携带有所述目标网络链路数据。The variable header of the second MQTT publishing message carries the subject of the target collection data, and the payload of the second MQTT publishing message carries the target network link data. 3.根据权利要求2所述的方法,其特征在于,所述探针代理服务器向第一探针发送第一MQTT发布报文,包括:3. The method according to claim 2, wherein the probe proxy server sends the first MQTT publishing message to the first probe, comprising: 所述探针代理服务器根据采集任务的主题与探针的订阅关系,以及,所述目标采集任务的主题,从所述至少一个探针中确定所述第一探针;The probe proxy server determines the first probe from the at least one probe according to the subscription relationship between the subject of the collection task and the probe, and the subject of the target collection task; 所述探针代理服务器向所述第一探针发送所述第一MQTT发布报文。The probe proxy server sends the first MQTT publishing message to the first probe. 4.根据权利要求3所述的方法,其特征在于,所述方法还包括:4. method according to claim 3, is characterized in that, described method also comprises: 所述探针代理服务器接收各所述探针发送的第一MQTT订阅报文,所述第一MQTT订阅报文用于请求订阅各所述探针对应的采集任务的主题;The probe proxy server receives the first MQTT subscription message sent by each of the probes, and the first MQTT subscription message is used to request to subscribe to the subject of the acquisition task corresponding to each of the probes; 所述探针代理服务器根据各所述探针的第一MQTT订阅报文,构建采集任务的主题与探针的订阅关系。The probe proxy server constructs a subscription relationship between the subject of the collection task and the probe according to the first MQTT subscription message of each probe. 5.根据权利要求1所述的方法,其特征在于,所述方法还包括:5. The method according to claim 1, wherein the method further comprises: 所述探针代理服务器接收所述探针分析服务器批量发送的所述第三MQTT发布报文。The probe proxy server receives the third MQTT publishing messages sent in batches by the probe analysis server. 6.根据权利要求2-4任一项所述的方法,其特征在于,所述方法还包括:6. The method according to any one of claims 2-4, wherein the method further comprises: 所述探针代理服务器接收所述探针分析服务器发送的第三MQTT订阅报文,所述第三MQTT订阅报文用于请求订阅所述目标采集数据的主题;The probe proxy server receives the third MQTT subscription message sent by the probe analysis server, and the third MQTT subscription message is used to request to subscribe to the subject of the target data collection; 所述探针代理服务器根据所述探针分析服务器的第三MQTT订阅报文,构建所述探针分析服务器与目标采集数据的主题的订阅关系;The probe proxy server constructs a subscription relationship between the probe analysis server and the subject of target data collection according to the third MQTT subscription message of the probe analysis server; 所述探针代理服务器向所述探针分析服务器发送所述第二MQTT发布报文,包括:The probe proxy server sends the second MQTT publishing message to the probe analysis server, including: 所述探针代理服务器根据所述探针分析服务器与目标采集数据的主题的订阅关系,向所述探针分析服务器发送所述第二MQTT发布报文。The probe proxy server sends the second MQTT publishing message to the probe analysis server according to the subscription relationship between the probe analysis server and the subject of target data collection. 7.根据权利要求1-4任一项所述的方法,其特征在于,所述第一MQTT发布报文和所述第二MQTT发布报文均采用QoS2方式发送。7. The method according to any one of claims 1-4, wherein both the first MQTT release message and the second MQTT release message are sent in a QoS2 manner. 8.根据权利要求1-4任一项所述的方法,其特征在于,所述第一探针为部署在目标网络链路的客户端上的软件探针,所述第一探针与所述探针代理服务器之间采用websockets连接,所述第一探针与所述探针代理服务器之间通过HTTP升级流程传输MQTT报文。8. The method according to any one of claims 1-4, wherein the first probe is a software probe deployed on a client of the target network link, and the first probe and the The probe proxy servers are connected through websockets, and MQTT messages are transmitted between the first probe and the probe proxy servers through an HTTP upgrade process. 9.一种网络链路质量获取方法,其特征在于,应用于探针分析服务器,探针代理服务器分别与所述探针分析服务器以及至少一个探针连接,所述方法包括:9. A method for acquiring network link quality, characterized in that it is applied to a probe analysis server, and a probe proxy server is respectively connected to the probe analysis server and at least one probe, the method comprising: 所述探针分析服务器向所述探针代理服务器发送第一基于消息队列遥测传输协议MQTT发布报文,所述第一MQTT发布报文用于指示所述探针分析服务器订阅的目标采集任务,所述目标采集任务用于采集探针至目标节点之间的目标网络链路数据,所述目标网络链路数据用于表征所述目标网络链路的质量;The probe analysis server sends a first MQTT publishing message based on the message queue telemetry transport protocol to the probe proxy server, and the first MQTT publishing message is used to indicate the target acquisition task subscribed by the probe analysis server, The target collection task is used to collect target network link data between the probe and the target node, and the target network link data is used to characterize the quality of the target network link; 所述探针分析服务器接收所述探针代理服务器发送的第二MQTT发布报文,所述第二MQTT发布报文用于指示第一探针基于所述目标采集任务对所述目标网络链路测试得到目标网络链路数据,所述第一探针为所述至少一个探针中处于目标网络链路、且订阅所述目标采集任务的探针;The probe analysis server receives the second MQTT publishing message sent by the probe proxy server, and the second MQTT publishing message is used to instruct the first probe to analyze the target network link based on the target collection task. The target network link data is obtained through the test, and the first probe is a probe that is in the target network link and subscribes to the target collection task among the at least one probe; 所述探针分析服务器根据所述第二MQTT发布报文,获取所述目标网络链路的质量结果;The probe analysis server acquires the quality result of the target network link according to the second MQTT publishing message; 其中,所述目标网络链路数据包括所述目标网络链路的带宽,所述目标节点为所述探针代理服务器;所述方法还包括:Wherein, the target network link data includes the bandwidth of the target network link, and the target node is the probe proxy server; the method also includes: 所述探针分析服务器向所述探针代理服务器批量发送第三MQTT发布报文,所述第三MQTT发布报文的有效载荷为预设大小,用于所述第一探针基于所述第三MQTT发布报文的接收情况获取所述目标网络链路的带宽。The probe analysis server sends the third MQTT publishing message in batches to the probe proxy server, and the payload of the third MQTT publishing message is a preset size, which is used for the first probe based on the first 3. Acquiring the bandwidth of the target network link according to the reception status of the MQTT publishing message. 10.根据权利要求9所述的方法,其特征在于,所述第一MQTT发布报文的可变报头携带有所述目标采集任务的主题,所述第一MQTT发布报文的有效载荷携带有所述目标采集任务的详情信息;10. The method according to claim 9, wherein the variable header of the first MQTT release message carries the subject of the target collection task, and the payload of the first MQTT release message carries a Detailed information of the target acquisition task; 所述第二MQTT发布报文的可变报头携带有所述目标采集数据的主题,所述第二MQTT发布报文的有效载荷携带有所述目标网络链路数据。The variable header of the second MQTT publishing message carries the subject of the target collection data, and the payload of the second MQTT publishing message carries the target network link data. 11.根据权利要求9或10所述的方法,其特征在于,所述探针分析服务器接收所述探针代理服务器发送的第二MQTT发布报文之前,还包括:11. The method according to claim 9 or 10, wherein, before the probe analysis server receives the second MQTT publishing message sent by the probe proxy server, further comprising: 所述探针分析服务器向所述探针代理服务器发送第三MQTT订阅报文,所述第三MQTT订阅报文用于请求订阅所述目标采集数据的主题。The probe analysis server sends a third MQTT subscription message to the probe proxy server, and the third MQTT subscription message is used to request to subscribe to the subject of the target collection data. 12.根据权利要求9或10所述的方法,其特征在于,所述第一MQTT发布报文和所述第二MQTT发布报文均采用QoS2方式发送。12. The method according to claim 9 or 10, wherein both the first MQTT release message and the second MQTT release message are sent in a QoS2 manner. 13.根据权利要求9或10所述的方法,其特征在于,所述第一探针至所述目标节点之间的目标网络链路具有第一路由路径和第二路由路径,所述第一探针至所述目标测试节点当前采用第一路由路径,所述目标采集任务用于采集所述第一探针至所述目标测试节点之间使用第二路由路径时目标网络链路数据;13. The method according to claim 9 or 10, wherein the target network link between the first probe and the target node has a first routing path and a second routing path, and the first The probe to the target test node currently adopts a first routing path, and the target collection task is used to collect target network link data when a second routing path is used between the first probe and the target test node; 所述探针分析服务器向所述探针代理服务器发送第一MQTT发布报文之前,所述方法还包括:Before the probe analysis server sends the first MQTT publishing message to the probe proxy server, the method also includes: 所述探针分析服务器向网管系统发送所述目标网络链路的第一路由切换请求,所述第一路由切换请求用于请求从所述第一路由路径切换至所述第二路由路径;The probe analysis server sends a first route switching request of the target network link to the network management system, where the first route switching request is used to request switching from the first routing path to the second routing path; 所述探针分析服务器接收所述探针代理服务器发送的第二MQTT发布报文之后,还包括:After the probe analysis server receives the second MQTT publishing message sent by the probe proxy server, it also includes: 所述探针分析服务器向网管系统发送所述目标网络链路的第二路由切换请求,所述第二路由切换请求用于请求从所述第二路由路径切换至所述第一路由路径。The probe analysis server sends a second route switching request of the target network link to the network management system, where the second route switching request is used to request switching from the second routing path to the first routing path. 14.根据权利要求9或10所述的方法,其特征在于,所述方法还包括:14. The method according to claim 9 or 10, further comprising: 所述探针分析服务器在所述目标网络链路的质量结果表征所述目标网络链路存在问题时,从网管系统获取所述目标节点的监控数据;The probe analysis server obtains the monitoring data of the target node from the network management system when the quality result of the target network link indicates that there is a problem with the target network link; 所述探针分析服务器根据所述监控数据,生成所述目标网络链路的质量分析报告;The probe analysis server generates a quality analysis report of the target network link according to the monitoring data; 所述探针分析服务器输出所述质量分析报告。The probe analysis server outputs the quality analysis report. 15.一种网络链路质量获取方法,其特征在于,应用于探针,探针代理服务器分别与探针分析服务器以及至少一个所述探针连接,所述方法包括:15. A method for acquiring network link quality, characterized in that it is applied to a probe, and a probe proxy server is respectively connected to a probe analysis server and at least one of the probes, the method comprising: 所述至少一个探针中的第一探针接收所述探针代理服务器发送的第一基于消息队列遥测传输协议MQTT发布报文,所述第一MQTT发布报文用于指示所述探针分析服务器订阅的目标采集任务,所述目标采集任务用于采集探针至目标节点之间的目标网络链路数据,所述目标网络链路数据用于表征所述目标网络链路的质量;The first probe of the at least one probe receives the first MQTT publishing message based on the message queue telemetry transport protocol sent by the probe proxy server, and the first MQTT publishing message is used to instruct the probe to analyze A target collection task subscribed by the server, the target collection task is used to collect target network link data between the probe and the target node, and the target network link data is used to characterize the quality of the target network link; 所述第一探针基于所述目标采集任务对所述目标网络链路测试得到目标网络链路数据;The first probe tests the target network link based on the target acquisition task to obtain target network link data; 所述第一探针向所述探针代理服务器发送的第二MQTT发布报文,以使所述探针代理服务器向所述探针分析服务器转发所述第二MQTT发布报文,所述第二MQTT发布报文用于指示所述目标网络链路数据;The second MQTT publishing message sent by the first probe to the probe proxy server, so that the probe proxy server forwards the second MQTT publishing message to the probe analysis server, and the first Two MQTT publishing messages are used to indicate the target network link data; 其中,所述目标网络链路数据包括所述目标网络链路的带宽,所述目标节点为所述探针代理服务器;所述第一探针基于所述目标采集任务对所述目标网络链路测试得到目标网络链路数据,包括:Wherein, the target network link data includes the bandwidth of the target network link, the target node is the probe proxy server; the first probe detects the target network link based on the target collection task The test obtains target network link data, including: 所述第一探针接收所述探针代理服务器批量发送的第三MQTT发布报文;所述第三MQTT发布报文的有效载荷为预设大小;The first probe receives the third MQTT publishing message sent in batches by the probe proxy server; the payload of the third MQTT publishing message is a preset size; 所述第一探针基于所述第三MQTT发布报文的接收情况获取所述目标网络链路的带宽。The first probe acquires the bandwidth of the target network link based on the receiving situation of the third MQTT publishing message. 16.根据权利要求15所述的方法,其特征在于,所述第一MQTT发布报文的可变报头携带有所述目标采集任务的主题,所述第一MQTT发布报文的有效载荷携带有所述目标采集任务的详情信息;16. The method according to claim 15, wherein the variable header of the first MQTT release message carries the subject of the target acquisition task, and the payload of the first MQTT release message carries a Detailed information of the target acquisition task; 所述第二MQTT发布报文的可变报头携带有所述目标采集数据的主题,所述第二MQTT发布报文的有效载荷携带有所述目标网络链路数据。The variable header of the second MQTT publishing message carries the subject of the target collection data, and the payload of the second MQTT publishing message carries the target network link data. 17.根据权利要求15或16所述的方法,其特征在于,所述目标网络链路数据包括所述目标网络链路的带宽,所述目标节点非所述探针代理服务器;所述第一探针基于所述目标采集任务对所述目标网络链路测试得到目标网络链路数据,包括:17. The method according to claim 15 or 16, wherein the target network link data comprises the bandwidth of the target network link, and the target node is not the probe proxy server; the first The probe tests the target network link based on the target acquisition task to obtain target network link data, including: 所述第一探针通过预设的测速软件,对所述目标网络链路进行测速,获取所述目标网络链路的带宽。The first probe uses preset speed measurement software to measure the speed of the target network link to obtain the bandwidth of the target network link. 18.根据权利要求15或16所述的方法,其特征在于,所述第一MQTT发布报文和所述第二MQTT发布报文均采用QoS2方式发送。18. The method according to claim 15 or 16, wherein both the first MQTT release message and the second MQTT release message are sent in a QoS2 manner. 19.根据权利要求15或16所述的方法,其特征在于,所述第一探针为部署在目标网络链路的客户端上的软件探针,所述第一探针与所述探针代理服务器之间采用websockets连接,所述第一探针与所述探针代理服务器之间通过HTTP升级流程传输MQTT报文。19. The method according to claim 15 or 16, wherein the first probe is a software probe deployed on a client of the target network link, and the first probe and the probe The proxy servers are connected through websockets, and MQTT messages are transmitted between the first probe and the probe proxy servers through an HTTP upgrade process. 20.一种网络链路质量获取装置,其特征在于,探针代理服务器分别与探针分析服务器以及至少一个探针连接;所述装置应用于所述探针代理服务器,包括:20. A network link quality acquisition device, characterized in that the probe proxy server is connected to the probe analysis server and at least one probe respectively; the device is applied to the probe proxy server, comprising: 接收模块,用于接收所述探针分析服务器发送的第一基于消息队列遥测传输协议MQTT发布报文,所述第一MQTT发布报文用于指示所述探针分析服务器订阅的目标采集任务,所述目标采集任务用于采集探针至目标节点之间的目标网络链路数据,所述目标网络链路数据用于表征所述目标网络链路的质量;The receiving module is configured to receive the first MQTT publishing message based on the message queue telemetry transport protocol sent by the probe analysis server, and the first MQTT publishing message is used to indicate the target acquisition task subscribed by the probe analysis server, The target collection task is used to collect target network link data between the probe and the target node, and the target network link data is used to characterize the quality of the target network link; 发送模块,用于向第一探针发送第一MQTT发布报文;该第一探针为至少一个探针中处于目标网络链路、且订阅上述目标采集任务的探针;A sending module, configured to send a first MQTT publishing message to a first probe; the first probe is a probe in at least one probe that is on a target network link and subscribes to the above-mentioned target collection task; 接收模块,还用于接收所述第一探针发送的第二MQTT发布报文,所述第二MQTT发布报文用于指示所述第一探针基于所述目标采集任务对所述目标网络链路测试得到目标网络链路数据;The receiving module is further configured to receive a second MQTT publishing message sent by the first probe, and the second MQTT publishing message is used to instruct the first probe to send information to the target network based on the target collection task. The link test obtains the link data of the target network; 发送模块,还用于向所述探针分析服务器发送所述第二MQTT发布报文;A sending module, further configured to send the second MQTT publishing message to the probe analysis server; 其中,所述目标网络链路数据包括所述目标网络链路的带宽,所述目标节点为所述探针代理服务器;所述接收模块还用于:Wherein, the target network link data includes the bandwidth of the target network link, and the target node is the probe proxy server; the receiving module is also used for: 接收所述第一探针发送的第二MQTT订阅报文;所述第二MQTT订阅报文用于批量订阅第三MQTT发布报文;所述第三MQTT发布报文的有效载荷为预设大小,用于所述第一探针基于所述第三MQTT发布报文的接收情况获取所述目标网络链路的带宽;Receive the second MQTT subscription message sent by the first probe; the second MQTT subscription message is used to subscribe to the third MQTT publishing message in batches; the payload of the third MQTT publishing message is a preset size , used for the first probe to obtain the bandwidth of the target network link based on the receiving situation of the third MQTT publishing message; 向所述第一探针批量发送第三MQTT发布报文。Sending third MQTT publishing messages to the first probe in batches. 21.一种网络链路质量获取装置,其特征在于,探针代理服务器分别与探针分析服务器以及至少一个探针连接;所述装置应用于所述探针分析服务器,包括:21. A network link quality acquisition device, characterized in that the probe proxy server is connected to the probe analysis server and at least one probe respectively; the device is applied to the probe analysis server, comprising: 发送模块,用于向所述探针代理服务器发送第一基于消息队列遥测传输协议MQTT发布报文,所述第一MQTT发布报文用于指示所述探针分析服务器订阅的目标采集任务,所述目标采集任务用于采集探针至目标节点之间的目标网络链路数据,所述目标网络链路数据用于表征所述目标网络链路的质量;A sending module, configured to send a first MQTT publishing message based on the message queue telemetry transport protocol to the probe proxy server, the first MQTT publishing message is used to indicate the target acquisition task subscribed by the probe analysis server, the The target collection task is used to collect target network link data between the probe and the target node, and the target network link data is used to characterize the quality of the target network link; 接收模块,用于接收所述探针代理服务器发送的第二MQTT发布报文,所述第二MQTT发布报文用于指示第一探针基于所述目标采集任务对所述目标网络链路测试得到目标网络链路数据,所述第一探针为所述至少一个探针中处于目标网络链路、且订阅所述目标采集任务的探针;A receiving module, configured to receive a second MQTT publishing message sent by the probe proxy server, where the second MQTT publishing message is used to instruct the first probe to test the target network link based on the target collection task Obtaining target network link data, the first probe is a probe in the at least one probe that is in the target network link and subscribes to the target collection task; 获取模块,用于根据所述第二MQTT发布报文,获取所述目标网络链路的质量结果;An obtaining module, configured to obtain the quality result of the target network link according to the second MQTT publishing message; 其中,所述目标网络链路数据包括所述目标网络链路的带宽,所述目标节点为所述探针代理服务器;所述发送模块还用于:Wherein, the target network link data includes the bandwidth of the target network link, and the target node is the probe proxy server; the sending module is also used for: 向所述探针代理服务器批量发送第三MQTT发布报文,所述第三MQTT发布报文的有效载荷为预设大小,用于所述第一探针基于所述第三MQTT发布报文的接收情况获取所述目标网络链路的带宽。Sending the third MQTT publishing message in batches to the probe proxy server, the payload of the third MQTT publishing message is a preset size, which is used for the first probe to publish the message based on the third MQTT The receiving case obtains the bandwidth of the target network link. 22.一种网络链路质量获取装置,其特征在于,探针代理服务器与探针分析服务器,以及,至少一个探针相连;所述装置应用于所述探针,包括:22. A network link quality acquisition device, characterized in that the probe proxy server is connected to the probe analysis server and at least one probe; the device is applied to the probe, including: 接收模块,用于接收所述探针代理服务器发送的第一基于消息队列遥测传输协议MQTT发布报文,所述第一MQTT发布报文用于指示所述探针分析服务器订阅的目标采集任务,所述目标采集任务用于采集探针至目标节点之间的目标网络链路数据,所述目标网络链路数据用于表征所述目标网络链路的质量;The receiving module is configured to receive the first MQTT publishing message based on the message queue telemetry transport protocol sent by the probe proxy server, and the first MQTT publishing message is used to indicate the target acquisition task subscribed by the probe analysis server, The target collection task is used to collect target network link data between the probe and the target node, and the target network link data is used to characterize the quality of the target network link; 采集模块,用于基于所述目标采集任务对所述目标网络链路测试得到目标网络链路数据;A collection module, configured to test the target network link based on the target collection task to obtain target network link data; 发送模块,用于向所述探针代理服务器发送的第二MQTT发布报文,以使所述探针代理服务器向所述探针分析服务器转发所述第二MQTT发布报文,所述第二MQTT发布报文用于指示所述目标网络链路数据;The sending module is configured to send the second MQTT publishing message to the probe proxy server, so that the probe proxy server forwards the second MQTT publishing message to the probe analysis server, and the second The MQTT publish message is used to indicate the target network link data; 其中,所述目标网络链路数据包括所述目标网络链路的带宽,所述目标节点为所述探针代理服务器;所述采集模块在基于所述目标采集任务对所述目标网络链路测试得到目标网络链路数据时,具体用于:Wherein, the target network link data includes the bandwidth of the target network link, and the target node is the probe proxy server; the acquisition module tests the target network link based on the target acquisition task When obtaining the target network link data, it is specifically used for: 接收所述探针代理服务器批量发送的第三MQTT发布报文;所述第三MQTT发布报文的有效载荷为预设大小;Receiving the third MQTT publishing message sent by the probe proxy server in batches; the payload of the third MQTT publishing message is a preset size; 基于所述第三MQTT发布报文的接收情况获取所述目标网络链路的带宽。Acquiring the bandwidth of the target network link based on the receiving situation of the third MQTT publishing message. 23.一种探针代理服务器,其特征在于,包括:处理器、通信接口,以及存储器;所述处理器分别与所述通信接口和所述存储器通信连接;23. A probe proxy server, comprising: a processor, a communication interface, and a memory; the processor is connected to the communication interface and the memory in communication; 所述存储器存储计算机执行指令;the memory stores computer-executable instructions; 所述通信接口与外部设备进行通信交互;The communication interface communicates and interacts with external devices; 所述处理器执行所述存储器存储的计算机执行指令,以实现如权利要求1-8中任一项所述的方法。The processor executes the computer-implemented instructions stored in the memory to implement the method according to any one of claims 1-8. 24.一种探针分析服务器,其特征在于,包括:处理器、通信接口,以及存储器;所述处理器分别与所述通信接口和所述存储器通信连接;24. A probe analysis server, comprising: a processor, a communication interface, and a memory; the processor is connected to the communication interface and the memory in communication; 所述存储器存储计算机执行指令;the memory stores computer-executable instructions; 所述通信接口与外部设备进行通信交互;The communication interface communicates and interacts with external devices; 所述处理器执行所述存储器存储的计算机执行指令,以实现如权利要求9-14中任一项所述的方法。The processor executes the computer-implemented instructions stored in the memory to implement the method according to any one of claims 9-14. 25.一种探针,其特征在于,包括:处理器、通信接口,以及存储器;所述处理器分别与所述通信接口和所述存储器通信连接;25. A probe, characterized in that, comprising: a processor, a communication interface, and a memory; the processor is respectively connected to the communication interface and the memory in communication; 所述存储器存储计算机执行指令;the memory stores computer-executable instructions; 所述通信接口与外部设备进行通信交互;The communication interface communicates and interacts with external devices; 所述处理器执行所述存储器存储的计算机执行指令,以实现如权利要求15-19中任一项所述的方法。The processor executes the computer-implemented instructions stored in the memory to implement the method according to any one of claims 15-19. 26.一种网络链路质量获取系统,其特征在于,所述系统包括:如权利要求23所述的探针代理服务器、如权利要求24所述的探针分析服务器、至少一个如权利要求25所述的探针;26. A network link quality acquisition system, characterized in that the system comprises: the probe proxy server as claimed in claim 23, the probe analysis server as claimed in claim 24, at least one said probe; 其中,所述探针代理服务器分别与所述探针分析服务器以及所述至少一个探针连接。Wherein, the probe proxy server is respectively connected to the probe analysis server and the at least one probe. 27.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机执行指令,所述计算机执行指令被处理器执行时用于实现如权利要求1至19任一项所述的网络链路质量获取方法。27. A computer-readable storage medium, wherein computer-executable instructions are stored in the computer-readable storage medium, and the computer-executable instructions are used to implement any one of claims 1 to 19 when executed by a processor The method for acquiring network link quality.
CN202210359423.7A 2022-04-07 2022-04-07 Network link quality acquisition method, device, system, equipment and storage medium Active CN114826979B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210359423.7A CN114826979B (en) 2022-04-07 2022-04-07 Network link quality acquisition method, device, system, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210359423.7A CN114826979B (en) 2022-04-07 2022-04-07 Network link quality acquisition method, device, system, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114826979A CN114826979A (en) 2022-07-29
CN114826979B true CN114826979B (en) 2023-08-15

Family

ID=82533840

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210359423.7A Active CN114826979B (en) 2022-04-07 2022-04-07 Network link quality acquisition method, device, system, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114826979B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116192713B (en) * 2023-02-21 2024-10-01 中银金融科技有限公司 Message transmission link problem detection method, device, equipment and medium
CN119109984A (en) * 2023-06-07 2024-12-10 中兴通讯股份有限公司 A quality difference adjustment method, communication device and storage medium
CN117032162A (en) * 2023-08-04 2023-11-10 广州汽车集团股份有限公司 Remote diagnosis method, device, equipment and storage medium for vehicle
CN119232545B (en) * 2024-11-28 2025-02-21 国投融合科技股份有限公司 Data processing method and device based on edge gateway equipment and readable storage medium

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103929341A (en) * 2014-04-30 2014-07-16 北京瑞汛世纪科技有限公司 Method, server and system for measuring network performance and network probe
CN106126417A (en) * 2016-06-17 2016-11-16 深圳开源互联网安全技术有限公司 Interactive application safety detecting method and system thereof
CN106385410A (en) * 2016-09-08 2017-02-08 四川长虹电器股份有限公司 Intelligent household appliance control system based on MQTT
CN108062230A (en) * 2018-01-04 2018-05-22 安徽大学 Serial port transparent transmission and program updating system and method in Internet range
CN110024330A (en) * 2016-12-30 2019-07-16 英特尔公司 The service of IoT device is provided
CN110062004A (en) * 2019-04-30 2019-07-26 全球能源互联网研究院有限公司 A kind of message handling system and method based on Internet of Things fidonetFido
CN111049691A (en) * 2019-12-25 2020-04-21 中国联合网络通信集团有限公司 Network fault location method, server, acquisition probe and storage medium
CN111813353A (en) * 2020-06-04 2020-10-23 厦门汉印电子技术有限公司 Printing system, method and device based on web and proxy server
CN213213488U (en) * 2020-11-02 2021-05-14 上海银基信息安全技术股份有限公司 Automatic test system
CN113259161A (en) * 2021-05-11 2021-08-13 商汤国际私人有限公司 Application management method and device, electronic equipment and storage medium
CN113473185A (en) * 2021-04-28 2021-10-01 清华大学 Available bandwidth detection method and device based on video stream key frame burst characteristics
CN113965495A (en) * 2021-09-29 2022-01-21 青岛海尔科技有限公司 Method and device for detecting activity of terminal application program, electronic equipment and storage medium
CN114039900A (en) * 2021-11-03 2022-02-11 北京德塔精要信息技术有限公司 Efficient network data packet protocol analysis method and system
CN114051041A (en) * 2021-11-10 2022-02-15 深圳市赛格导航科技股份有限公司 Intelligent agricultural machinery system and communication method based on RabbitMQ and MQTT

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10848562B1 (en) * 2019-05-15 2020-11-24 SIGOS GmbH Test system for the mobile IoT network and test method using such a test system

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103929341A (en) * 2014-04-30 2014-07-16 北京瑞汛世纪科技有限公司 Method, server and system for measuring network performance and network probe
CN106126417A (en) * 2016-06-17 2016-11-16 深圳开源互联网安全技术有限公司 Interactive application safety detecting method and system thereof
CN106385410A (en) * 2016-09-08 2017-02-08 四川长虹电器股份有限公司 Intelligent household appliance control system based on MQTT
CN110024330A (en) * 2016-12-30 2019-07-16 英特尔公司 The service of IoT device is provided
CN108062230A (en) * 2018-01-04 2018-05-22 安徽大学 Serial port transparent transmission and program updating system and method in Internet range
CN110062004A (en) * 2019-04-30 2019-07-26 全球能源互联网研究院有限公司 A kind of message handling system and method based on Internet of Things fidonetFido
CN111049691A (en) * 2019-12-25 2020-04-21 中国联合网络通信集团有限公司 Network fault location method, server, acquisition probe and storage medium
CN111813353A (en) * 2020-06-04 2020-10-23 厦门汉印电子技术有限公司 Printing system, method and device based on web and proxy server
CN213213488U (en) * 2020-11-02 2021-05-14 上海银基信息安全技术股份有限公司 Automatic test system
CN113473185A (en) * 2021-04-28 2021-10-01 清华大学 Available bandwidth detection method and device based on video stream key frame burst characteristics
CN113259161A (en) * 2021-05-11 2021-08-13 商汤国际私人有限公司 Application management method and device, electronic equipment and storage medium
CN113965495A (en) * 2021-09-29 2022-01-21 青岛海尔科技有限公司 Method and device for detecting activity of terminal application program, electronic equipment and storage medium
CN114039900A (en) * 2021-11-03 2022-02-11 北京德塔精要信息技术有限公司 Efficient network data packet protocol analysis method and system
CN114051041A (en) * 2021-11-10 2022-02-15 深圳市赛格导航科技股份有限公司 Intelligent agricultural machinery system and communication method based on RabbitMQ and MQTT

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
远程实时视频传输的自适应技术;周健, 戴梅萼, 余振建, 付昊桓, 邢丰;清华大学学报(自然科学版)(第07期);全文 *

Also Published As

Publication number Publication date
CN114826979A (en) 2022-07-29

Similar Documents

Publication Publication Date Title
CN114826979B (en) Network link quality acquisition method, device, system, equipment and storage medium
EP2764662B1 (en) Test traffic interceptor in a data network
US20210135967A1 (en) Intelligent in-band telemetry auto-configuration for ip networks
JP5904908B2 (en) Communication system and quality control server
EP2557731B1 (en) Method and system for independently implementing fault location by intermediate node
US9743338B2 (en) Methods and systems for communications through a slave gateway
CN113315645B (en) Method for configuring performance detection indication information and related equipment
CN112039796B (en) Data packet transmission method and device, storage medium and electronic equipment
EP2365662A2 (en) Method and apparatus for active probing of tunneled internet protocol (IP) transmission paths
CN104038382B (en) Network monitoring system
EP3484101A1 (en) Automatically determining over-the-top applications and services
CN107104892A (en) The method and apparatus of network acceleration
JP7137208B2 (en) COMMUNICATION METHOD, PROGRAM, COMMUNICATION TERMINAL, AND MEC SERVER
CN101437029B (en) Data transmission method, local maintenance terminal, proxy equipment and system
CN101262421A (en) Relay device and relay method
CN106559838B (en) business processing optimization method and device
CN113973134A (en) Data transmission method and device, electronic equipment and computer storage medium
WO2019184652A1 (en) Data transmission method and related apparatus
US20250112850A1 (en) Hardware-assisted passive application monitoring
CN110545196A (en) A data transmission method and related network equipment
CN117376182A (en) Network fault diagnosis method and related equipment
JP6212871B2 (en) Communication monitoring system, communication monitoring device, communication monitoring program, and communication terminal
US20190191326A1 (en) Relay communication apparatus, method, and non-transitory computer-readable storage medium for storing program for relay communication
CN115701167A (en) 5G vertical industry end-to-end dial test method, MEP and storage medium
CN118102365A (en) Data packet analysis system, method, transmitting end and device

Legal Events

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