CN108833202A - Faulty link detection method, device and computer-readable storage medium - Google Patents
Faulty link detection method, device and computer-readable storage medium Download PDFInfo
- Publication number
- CN108833202A CN108833202A CN201810494360.XA CN201810494360A CN108833202A CN 108833202 A CN108833202 A CN 108833202A CN 201810494360 A CN201810494360 A CN 201810494360A CN 108833202 A CN108833202 A CN 108833202A
- Authority
- CN
- China
- Prior art keywords
- network
- data transmission
- transmission path
- target data
- performance index
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0677—Localisation of faults
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/16—Threshold monitoring
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本申请公开了一种故障链路检测方法、装置和计算机可读存储介质,属于网络技术领域。所述方法包括:确定第一网络测试点至第二网络测试点的逻辑链路对应的多条数据传输路径,所述多条数据传输路径为网络内的多个网络测试点之间的数据传输路径中包括有所述逻辑链路的数据传输路径;获取所述多条数据传输路径中每条数据传输路径的网络性能指标值;根据所述多条数据传输路径中每条数据传输路径的网络性能指标值,获取所述逻辑链路的网络质量值;如果所述逻辑链路的网络质量值小于网络质量阈值,则确定所述逻辑链路为故障链路。本申请可以实现对网络内的故障链路的准确检测,为故障定界提供依据。
The application discloses a faulty link detection method, device and computer-readable storage medium, belonging to the field of network technology. The method includes: determining multiple data transmission paths corresponding to the logical link from the first network test point to the second network test point, the multiple data transmission paths are data transmission between multiple network test points in the network The path includes the data transmission path of the logical link; acquiring the network performance index value of each data transmission path in the multiple data transmission paths; according to the network of each data transmission path in the multiple data transmission paths The performance index value is to obtain the network quality value of the logical link; if the network quality value of the logical link is smaller than the network quality threshold, determine that the logical link is a faulty link. The application can realize accurate detection of faulty links in the network and provide basis for fault demarcation.
Description
技术领域technical field
本申请涉及网络技术领域,特别涉及一种故障链路检测方法、装置和计算机可读存储介质。The present application relates to the field of network technologies, and in particular to a faulty link detection method, device and computer-readable storage medium.
背景技术Background technique
随着网络的应用范围越来越广,人们对网络的依赖性越来越高。这种情况下,一旦网络中出现故障,将会给人们工作和生活带来极大地不便,为此,往往会对网络进行监控管理,以便能够及时发现并排除网络中的故障。目前,在检测网络中的故障时,是先通过简单网络管理协议(Simple Network Management Protocol,SNMP)来采集网络中各个网络设备自身的监控数据(如温度、端口信息、资源使用情况等),再根据各个网络设备自身的监控数据,检测各个网络设备是否发生故障。然而,这种检测方式,只能检测出各个网络设备自身的故障,即只能检测出网络中的故障点,并不完善。因此,亟需一种故障链路检测方法,来检测网络内部链路的故障。As the application of the network becomes wider and wider, people rely more and more on the network. In this case, once a fault occurs in the network, it will bring great inconvenience to people's work and life. For this reason, the network is often monitored and managed so that the fault in the network can be discovered and eliminated in time. At present, when detecting faults in the network, the monitoring data (such as temperature, port information, resource usage, etc.) of each network device in the network is first collected through Simple Network Management Protocol (SNMP), and then According to the monitoring data of each network device itself, it is detected whether each network device is faulty. However, this detection method can only detect the faults of each network device itself, that is, it can only detect fault points in the network, which is not perfect. Therefore, there is an urgent need for a faulty link detection method to detect the fault of the internal link of the network.
发明内容Contents of the invention
本申请提供了一种故障链路检测方法、装置和计算机可读存储介质,可以解决相关技术中故障检测不完善的问题。所述技术方案如下:The present application provides a faulty link detection method, device and computer-readable storage medium, which can solve the problem of imperfect fault detection in related technologies. Described technical scheme is as follows:
第一方面,提供了一种故障链路检测方法,所述方法包括:In a first aspect, a faulty link detection method is provided, the method comprising:
确定第一网络测试点至第二网络测试点的逻辑链路对应的多条数据传输路径,所述第一网络测试点为网络内的多个网络测试点中的任一网络测试点,所述第二网络测试点为所述多个网络测试点中除所述第一网络测试点之外的任一网络测试点,所述多条数据传输路径为所述多个网络测试点之间的数据传输路径中包括有所述逻辑链路的数据传输路径;Determining a plurality of data transmission paths corresponding to logical links from the first network test point to the second network test point, the first network test point is any network test point among the plurality of network test points in the network, the The second network test point is any network test point in the multiple network test points except the first network test point, and the multiple data transmission paths are data between the multiple network test points The transmission path includes a data transmission path of the logical link;
获取所述多条数据传输路径中每条数据传输路径的网络性能指标值;Acquiring the network performance index value of each data transmission path in the plurality of data transmission paths;
根据所述多条数据传输路径中每条数据传输路径的网络性能指标值,获取所述逻辑链路的网络质量值;Acquiring the network quality value of the logical link according to the network performance index value of each data transmission path in the plurality of data transmission paths;
如果所述逻辑链路的网络质量值小于网络质量阈值,则确定所述逻辑链路为故障链路。If the network quality value of the logical link is less than the network quality threshold, it is determined that the logical link is a faulty link.
需要说明的是,对于该逻辑链路对应的多条数据传输路径中的任意一条数据传输路径来说,组成这条数据传输路径的链路中包括有该逻辑链路。It should be noted that, for any data transmission path among the multiple data transmission paths corresponding to the logical link, the links forming the data transmission path include the logical link.
另外,如果该逻辑链路的网络质量值小于网络质量阈值,则表明该逻辑链路的网络质量较低,即该逻辑链路可能发生了故障,因而可以确定该逻辑链路为故障链路,这种情况下,如果第一网络测试点的应用层或第二网络测试点的应用层感知到异常现象,则由于第一网络测试点至第二网络测试点的逻辑链路为故障链路,所以可以确定该异常现象是因网络问题导致的,从而可以准确实现故障定界。In addition, if the network quality value of the logical link is less than the network quality threshold, it indicates that the network quality of the logical link is low, that is, the logical link may be faulty, so it can be determined that the logical link is a faulty link, In this case, if the application layer of the first network test point or the application layer of the second network test point perceives an abnormal phenomenon, since the logical link from the first network test point to the second network test point is a faulty link, Therefore, it can be determined that the abnormal phenomenon is caused by a network problem, so that fault demarcation can be accurately realized.
在本申请实施例中,可以结合该逻辑链路对应的多条数据传输路径的网络性能指标值,来获取该逻辑链路的网络质量值,继而根据该逻辑链路的网络质量值来检测该逻辑链路是否为故障链路,从而可以实现对网络内的故障链路的准确检测,为故障定界提供依据。In this embodiment of the present application, the network quality value of the logical link can be obtained in combination with the network performance index values of multiple data transmission paths corresponding to the logical link, and then the network quality value of the logical link can be detected according to the network quality value of the logical link. Whether the logical link is a faulty link can realize accurate detection of the faulty link in the network and provide a basis for fault demarcation.
其中,所述网络的网络拓扑结构为树型结构,所述多个网络测试点均为网络节点,所述多条数据传输路径均经过所述逻辑链路;或者,所述网络的网络拓扑结构为星型结构,所述多个网络测试点均为网络区域,所述多条数据传输路径为位于所述第一网络测试点内的多个指定网络节点至位于所述第二网络测试点内的多个指定网络节点的数据传输路径。Wherein, the network topology of the network is a tree structure, the multiple network test points are network nodes, and the multiple data transmission paths all pass through the logical link; or, the network topology of the network It is a star structure, the plurality of network test points are all network areas, and the plurality of data transmission paths are from a plurality of designated network nodes located in the first network test point to located in the second network test point Data transmission paths of multiple specified network nodes.
需要说明的是,当该网络的网络拓扑结构为树型结构时,该网络可以是局域网(Local Area Network,LAN),LAN是将小区域内的各种通信设备互连在一起形成的通信网络。这种情况下,该多个网络测试点可以为树型逻辑拓扑中的根节点和叶子节点,如该多个网络测试点中的任一网络测试点可以为虚拟机、终端、交换机、服务器等。It should be noted that when the network topology of the network is a tree structure, the network may be a local area network (Local Area Network, LAN), and a LAN is a communication network formed by interconnecting various communication devices in a small area. In this case, the plurality of network test points can be the root node and the leaf node in the tree-type logical topology, such as any network test point in the plurality of network test points can be a virtual machine, a terminal, a switch, a server, etc. .
另外,当该网络的网络拓扑结构为星型结构时,该网络可以是广域网(Wide AreaNetwork,WAN),WAN是在一个广泛地理区域内所建立的通信网络,其范围可以超越城市和国家以至全球。这种情况下,该多个网络测试点可以为星型逻辑拓扑中的中央节点和外围节点,如该多个网络测试点中的任一网络测试点可以为机房区域、城市区域等。In addition, when the network topology of the network is a star structure, the network can be a Wide Area Network (Wide Area Network, WAN). . In this case, the plurality of network test points may be central nodes and peripheral nodes in a star-shaped logical topology, for example, any network test point in the plurality of network test points may be a computer room area, a city area, and the like.
其中,所述网络性能指标值包括网络层的性能指标值和传输层的性能指标值。所述网络层的性能指标值包括使用互联网控制消息协议(Internet Control MessageProtocol,ICMP)传输数据包时的传输时延、时延抖动和丢包率,所述传输层的性能指标值包括使用传输控制协议(Transmission Control Protocol,TCP)传输数据报文时的传输速率和使用用户数据报协议(User Datagram Protocol,UDP)传输数据报文时的传输速率。Wherein, the network performance index value includes the performance index value of the network layer and the performance index value of the transport layer. The performance index value of the network layer includes transmission delay, delay jitter and packet loss rate when using the Internet Control Message Protocol (Internet Control Message Protocol, ICMP) to transmit data packets, and the performance index value of the transport layer includes the use of transmission control The transmission rate when the protocol (Transmission Control Protocol, TCP) transmits the data message and the transmission rate when the user datagram protocol (User Datagram Protocol, UDP) is used to transmit the data message.
在本申请实施例中,网络性能指标值可以包括上述多项网络性能指标值,从而可以实现对网络层和传输层的通用指标全覆盖,进而可以为后续的故障分析提供足够的输入,提高故障链路的检测准确度。In the embodiment of the present application, the network performance index value may include the above-mentioned multiple network performance index values, so as to realize full coverage of the general indicators of the network layer and the transport layer, and then provide sufficient input for subsequent fault analysis, and improve fault performance. Link detection accuracy.
其中,所述根据所述多条数据传输路径中每条数据传输路径的网络性能指标值,获取所述逻辑链路的网络质量值,包括:Wherein, the acquiring the network quality value of the logical link according to the network performance index value of each data transmission path in the plurality of data transmission paths includes:
根据目标数据传输路径的网络性能指标值,获取所述目标数据传输路径的网络质量值,所述目标数据传输路径为所述多条数据传输路径中的任意一条数据传输路径;Acquiring the network quality value of the target data transmission path according to the network performance index value of the target data transmission path, where the target data transmission path is any one of the multiple data transmission paths;
将所述多条数据传输路径的网络质量值的算数平均值确定为所述逻辑链路的网络质量值。determining the arithmetic mean value of the network quality values of the multiple data transmission paths as the network quality value of the logical link.
在本申请实施例中,将该多条数据传输路径的网络质量值的算数平均值确定为该逻辑链路的网络质量值,即是将该多条数据传输路径结合起来作为参考来确定该逻辑链路的网络质量值,因而可以提高所确定的该逻辑链路的网络质量值的准确度。In the embodiment of the present application, determining the arithmetic mean value of the network quality values of the multiple data transmission paths as the network quality value of the logical link is to combine the multiple data transmission paths as a reference to determine the logical The network quality value of the link, so the accuracy of the determined network quality value of the logical link can be improved.
其中,所述根据目标数据传输路径的网络性能指标值,获取所述目标数据传输路径的网络质量值,包括:Wherein, the acquiring the network quality value of the target data transmission path according to the network performance index value of the target data transmission path includes:
获取所述目标数据传输路径的历史网络性能指标值;Acquiring historical network performance index values of the target data transmission path;
根据所述目标数据传输路径的网络性能指标值和所述目标数据传输路径的历史网络性能指标值,获取所述目标数据传输路径的第一质量值;Acquiring a first quality value of the target data transmission path according to the network performance index value of the target data transmission path and the historical network performance index value of the target data transmission path;
根据所述目标数据传输路径的网络性能指标值和网络性能指标阈值,获取所述目标数据传输路径的第二质量值;Acquiring a second quality value of the target data transmission path according to the network performance index value and the network performance index threshold of the target data transmission path;
将所述目标数据传输路径的第一质量值与第二质量值的算数平均值确定为所述目标数据传输路径的第三质量值;determining the arithmetic mean value of the first quality value and the second quality value of the target data transmission path as a third quality value of the target data transmission path;
根据所述目标数据传输路径的第三质量值,确定所述目标数据传输路径的网络质量值。Determine the network quality value of the target data transmission path according to the third quality value of the target data transmission path.
值得注意的是,如果网络性能指标值仅包括一项,则可以按照上述方式针对目标数据传输路径的这一项网络性能指标值,获取这一项网络性能指标值指示的网络性能指标的历史网络性能指标值和网络性能指标阈值,并根据这一项网络性能指标值、所获取的历史网络性能指标值和网络性能指标阈值,获取目标数据传输路径的一个第三质量值。继而在根据目标数据传输路径的第三质量值,确定目标数据传输路径的网络质量值时,可以直接将目标数据传输路径的第三质量值确定为目标数据传输路径的网络质量值。It is worth noting that if the network performance index value includes only one item, the historical network of the network performance index value indicated by the network performance index value indicated by the network performance index value of the target data transmission path can be obtained in the above-mentioned manner. A performance index value and a network performance index threshold, and obtain a third quality value of the target data transmission path according to the network performance index value, the acquired historical network performance index value and the network performance index threshold. Then, when determining the network quality value of the target data transmission path according to the third quality value of the target data transmission path, the third quality value of the target data transmission path may be directly determined as the network quality value of the target data transmission path.
如果网络性能指标值包括多项,则可以按照上述方式针对目标数据传输路径的每项网络性能指标值,获取这项网络性能指标值指示的网络性能指标的历史网络性能指标值和网络性能指标阈值,并根据这项网络性能指标值、所获取的历史网络性能指标值和网络性能指标阈值,获取目标数据传输路径的一个第三质量值,如此可以获取到目标数据传输路径的多个第三质量值。继而在根据目标数据传输路径的第三质量值,确定目标数据传输路径的网络质量值时,可以将目标数据传输路径的多个第三质量值的算数平均值确定为目标数据传输路径的网络质量值。If the network performance index value includes multiple items, the historical network performance index value and the network performance index threshold value of the network performance index indicated by the network performance index value can be obtained for each network performance index value of the target data transmission path in the above-mentioned manner , and according to the network performance index value, the obtained historical network performance index value and the network performance index threshold value, a third quality value of the target data transmission path is obtained, so that multiple third quality values of the target data transmission path can be obtained value. Then, when determining the network quality value of the target data transmission path according to the third quality value of the target data transmission path, the arithmetic mean value of multiple third quality values of the target data transmission path may be determined as the network quality of the target data transmission path value.
其中,所述如果所述逻辑链路的网络质量值小于网络质量阈值,则确定所述逻辑链路为故障链路,包括:Wherein, if the network quality value of the logical link is less than the network quality threshold, determining that the logical link is a faulty link includes:
如果所述逻辑链路的网络质量值小于网络质量阈值,且如果组成所述逻辑链路的子链路中不存在故障链路,则确定所述逻辑链路为故障链路;If the network quality value of the logical link is less than the network quality threshold, and if there is no faulty link in the sub-links forming the logical link, then determine that the logical link is a faulty link;
相应地,所述方法还包括:Correspondingly, the method also includes:
如果所述逻辑链路的网络质量值大于或等于网络质量阈值,和/或,如果组成所述逻辑链路的子链路中存在故障链路,则确定所述逻辑链路不为故障链路。If the network quality value of the logical link is greater than or equal to the network quality threshold, and/or, if there is a faulty link in the sub-links forming the logical link, then determining that the logical link is not a faulty link .
在本申请实施例中,在该逻辑链路的网络质量值小于网络质量阈值时,且在组成该逻辑链路的子链路中不存在故障链路时,确定该逻辑链路为故障链路。在该逻辑链路的网络质量值大于或等于网络质量阈值时,和/或,在组成该逻辑链路的子链路中存在故障链路时,确定该逻辑链路不为故障链路。如此,可以有效避免对故障链路的重复确定,进一步提高故障链路的检测准确度。In this embodiment of the application, when the network quality value of the logical link is less than the network quality threshold, and there is no faulty link in the sub-links that make up the logical link, it is determined that the logical link is a faulty link . When the network quality value of the logical link is greater than or equal to the network quality threshold, and/or when there is a faulty link in the sub-links constituting the logical link, it is determined that the logical link is not a faulty link. In this way, repeated determination of the faulty link can be effectively avoided, and the detection accuracy of the faulty link can be further improved.
第二方面,提供了一种故障链路检测装置,所述故障链路检测装置具有实现上述第一方面中故障链路检测方法行为的功能。所述故障链路检测装置包括至少一个模块,所述至少一个模块用于实现上述第一方面所提供的故障链路检测方法。In a second aspect, a device for detecting a faulty link is provided, and the device for detecting a faulty link has the function of realizing the behavior of the method for detecting a faulty link in the first aspect above. The device for detecting a faulty link includes at least one module, and the at least one module is configured to implement the method for detecting a faulty link provided in the first aspect above.
第三方面,提供了一种故障链路检测装置,所述故障链路检测装置的结构中包括处理器和存储器,所述存储器用于存储支持故障链路检测装置执行上述第一方面所提供的故障链路检测方法的程序,以及存储用于实现上述第一方面所述的故障链路检测方法所涉及的数据。所述处理器被配置为用于执行所述存储器中存储的程序。所述故障链路检测装置还可以包括通信总线,所述通信总线用于在所述处理器与所述存储器之间建立连接。The third aspect provides a faulty link detection device, the structure of the faulty link detection device includes a processor and a memory, and the memory is used to store and support the faulty link detection device to execute the above-mentioned first aspect. A program of the faulty link detection method, and storing data involved in implementing the faulty link detection method described in the first aspect above. The processor is configured to execute programs stored in the memory. The faulty link detection device may further include a communication bus for establishing a connection between the processor and the memory.
第四方面,提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述第一方面所述的故障链路检测方法。In a fourth aspect, a computer-readable storage medium is provided, wherein instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is run on a computer, the computer is made to execute the faulty link detection method described in the first aspect above.
第五方面,提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面所述的故障链路检测方法。According to a fifth aspect, a computer program product containing instructions is provided, which, when run on a computer, causes the computer to execute the faulty link detection method described in the first aspect above.
上述第二方面、第三方面、第四方面和第五方面所获得的技术效果与上述第一方面中对应的技术手段获得的技术效果近似,在这里不再赘述。The technical effects obtained by the above-mentioned second aspect, third aspect, fourth aspect and fifth aspect are similar to those obtained by the corresponding technical means in the above-mentioned first aspect, and will not be repeated here.
本申请提供的技术方案至少可以带来以下有益效果:The technical solution provided by this application can at least bring the following beneficial effects:
确定第一网络测试点至第二网络测试点的逻辑链路对应的多条数据传输路径,第一网络测试点为网络内的多个网络测试点中的任一网络测试点,第二网络测试点为该多个网络测试点中除第一网络测试点之外的任一网络测试点,该多条数据传输路径为该多个网络测试点之间的数据传输路径中包括有该逻辑链路的数据传输路径。之后,获取该多条数据传输路径中每条数据传输路径的网络性能指标值,并根据该多条数据传输路径中每条数据传输路径的网络性能指标值,获取该逻辑链路的网络质量值。如果该逻辑链路的网络质量值小于网络质量阈值,则确定该逻辑链路为故障链路。如此,实现了对网络内的故障链路的准确检测,为故障定界提供了依据。Determine a plurality of data transmission paths corresponding to the logical link from the first network test point to the second network test point, the first network test point is any network test point among the plurality of network test points in the network, and the second network test point The point is any network test point except the first network test point in the plurality of network test points, and the plurality of data transmission paths include the logical link in the data transmission path between the plurality of network test points data transmission path. After that, the network performance index value of each data transmission path in the multiple data transmission paths is obtained, and the network quality value of the logical link is obtained according to the network performance index value of each data transmission path in the multiple data transmission paths . If the network quality value of the logical link is less than the network quality threshold, it is determined that the logical link is a faulty link. In this way, accurate detection of faulty links in the network is realized, and a basis for fault demarcation is provided.
附图说明Description of drawings
图1是本申请实施例提供的一种实施环境的示意图;FIG. 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application;
图2是本申请实施例提供的一种计算机设备的结构示意图;Fig. 2 is a schematic structural diagram of a computer device provided by an embodiment of the present application;
图3是本申请实施例提供的一种故障链路检测方法的流程图;FIG. 3 is a flow chart of a faulty link detection method provided in an embodiment of the present application;
图4是本申请实施例提供的一种网络的网络拓扑结构的示意图;FIG. 4 is a schematic diagram of a network topology structure of a network provided by an embodiment of the present application;
图5是本申请实施例提供的另一种网络的网络拓扑结构的示意图;FIG. 5 is a schematic diagram of a network topology structure of another network provided by an embodiment of the present application;
图6是本申请实施例提供的一种故障链路检测装置的结构示意图;FIG. 6 is a schematic structural diagram of a faulty link detection device provided in an embodiment of the present application;
图7是本申请实施例提供的另一种故障链路检测装置的结构示意图;FIG. 7 is a schematic structural diagram of another faulty link detection device provided by an embodiment of the present application;
图8是本申请实施例提供的又一种故障链路检测装置的结构示意图;FIG. 8 is a schematic structural diagram of another faulty link detection device provided by an embodiment of the present application;
图9是本申请实施例提供的再一种故障链路检测装置的结构示意图。FIG. 9 is a schematic structural diagram of another device for detecting a faulty link provided in an embodiment of the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请的实施方式作进一步地详细描述。In order to make the purpose, technical solution and advantages of the present application clearer, the implementation manner of the present application will be further described in detail below in conjunction with the accompanying drawings.
在对本申请实施例进行详细地解释说明之前,对本申请实施例涉及的应用场景和实施环境予以说明。Before explaining the embodiment of the present application in detail, the application scenario and implementation environment involved in the embodiment of the present application will be described.
首先,对本申请实施例涉及的应用场景进行说明。First, the application scenarios involved in the embodiments of the present application are described.
网络质量是指网络层和传输层提供给上层的应用层的网络服务的质量。目前,大量用户、应用共用同一个网络,应用层经常能感知到某些异常现象,如数据库连接断开、同步失败、集群心跳异常、传输速率慢等,应用层往往会将这些异常现象归结为网络原因,但是实际经验表明,这些异常现象有90%以上都是应用层的原因而并非是网络原因。因此,为了准确实现故障定界,即确定故障究竟是因应用问题还是因网络问题导致的,本申请实施例提供了一种故障链路检测方法,可以实时监控并分析网络质量状况,来准确检测网络内部链路的故障,为故障定界提供依据。Network quality refers to the quality of network services provided by the network layer and the transport layer to the upper application layer. At present, a large number of users and applications share the same network, and the application layer can often perceive certain abnormal phenomena, such as database connection disconnection, synchronization failure, abnormal cluster heartbeat, slow transmission rate, etc., and the application layer often attributes these abnormal phenomena to Network reasons, but actual experience shows that more than 90% of these abnormal phenomena are caused by the application layer rather than the network. Therefore, in order to accurately demarcate the fault, that is, determine whether the fault is caused by an application problem or a network problem, the embodiment of the present application provides a faulty link detection method, which can monitor and analyze the network quality status in real time to accurately detect The fault of the internal link of the network provides a basis for fault demarcation.
然后,对本申请实施例涉及的实施环境进行说明。Then, the implementation environment involved in the embodiment of the present application will be described.
图1是本申请实施例提供的一种实施环境的示意图。参见图1,该实施环境可以包括:多个网络测试点101和故障检测系统102,多个网络测试点101中的每个网络测试点101与故障检测系统102可以通过有线连接或无线连接进行通信;FIG. 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application. Referring to Fig. 1, the implementation environment may include: a plurality of network test points 101 and a fault detection system 102, and each network test point 101 in the plurality of network test points 101 may communicate with the fault detection system 102 through a wired connection or a wireless connection ;
多个网络测试点101位于需要监控并分析网络质量状况的网络中,多个网络测试点101中的每个网络测试点101可以获取以自身为起始点的数据传输路径的网络性能指标值,并将获取到的网络性能指标值发送给故障检测系统102;A plurality of network test points 101 are located in a network that needs to monitor and analyze network quality conditions, and each network test point 101 in the plurality of network test points 101 can obtain the network performance index value of the data transmission path starting from itself, and Send the obtained network performance index value to the fault detection system 102;
故障检测系统102用于检测该网络内部链路的故障,故障检测系统102可以获取该网络内的多条数据传输路径的网络性能指标值,并根据该多条数据传输路径的网络性能指标值来检测该网络中的故障链路。The fault detection system 102 is used to detect the faults of the internal links of the network. The fault detection system 102 can obtain the network performance index values of multiple data transmission paths in the network, and determine the network performance index values according to the multiple data transmission paths. Detect failed links in the network.
图2是本申请实施例提供的一种计算机设备的结构示意图,图1中的故障检测系统102可以通过图2所示的计算机设备来实现。参见图2,该计算机设备包括至少一个处理器201,通信总线202,存储器203以及至少一个通信接口204。FIG. 2 is a schematic structural diagram of a computer device provided by an embodiment of the present application. The fault detection system 102 in FIG. 1 can be realized by the computer device shown in FIG. 2 . Referring to FIG. 2 , the computer device includes at least one processor 201 , a communication bus 202 , a memory 203 and at least one communication interface 204 .
处理器201可以是一个通用中央处理器(Central Processing Unit,CPU),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制本申请方案程序执行的集成电路。The processor 201 may be a general-purpose central processing unit (Central Processing Unit, CPU), a microprocessor, a specific application integrated circuit (application-specific integrated circuit, ASIC), or one or more devices used to control the execution of the program program of this application. integrated circuit.
通信总线202可包括一通路,在上述组件之间传送信息。Communication bus 202 may include a path for communicating information between the components described above.
存储器203可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其它类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其它类型的动态存储设备,也可以是电可擦可编程只读存储器(ElectricallyErasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其它光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其它磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其它介质,但不限于此。存储器203可以是独立存在,通过通信总线202与处理器201相连接。存储器203也可以和处理器201集成在一起。The memory 203 may be a read-only memory (read-only memory, ROM) or other types of static storage devices that can store static information and instructions, and a random access memory (random access memory, RAM) or other types that can store information and instructions The dynamic storage device can also be an electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), a CD-ROM (Compact Disc Read-Only Memory, CD-ROM) or other optical disk storage, optical disk storage ( including compact discs, laser discs, optical discs, digital versatile discs, blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program code in the form of instructions or data structures and can be stored by a computer Any other media you want, but not limited to. The memory 203 may exist independently, and is connected to the processor 201 through the communication bus 202 . The memory 203 can also be integrated with the processor 201 .
通信接口204,使用任何收发器一类的装置,用于与其它设备或通信网络通信,如以太网,无线接入网(Radio Access Network,RAN),无线局域网(Wireless Local AreaNetworks,WLAN)等。The communication interface 204 uses any device such as a transceiver for communicating with other devices or communication networks, such as Ethernet, Radio Access Network (Radio Access Network, RAN), and Wireless Local Area Networks (Wireless Local Area Networks, WLAN).
在具体实现中,作为一种实施例,处理器201可以包括一个或多个CPU,例如图2中所示的CPU0和CPU1。In a specific implementation, as an embodiment, the processor 201 may include one or more CPUs, such as CPU0 and CPU1 shown in FIG. 2 .
在具体实现中,作为一种实施例,计算机设备可以包括多个处理器,例如图2中所示的处理器201和处理器205。这些处理器中的每一个可以是一个单核处理器(single-CPU),也可以是一个多核处理器(multi-CPU)。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。In a specific implementation, as an embodiment, a computer device may include multiple processors, such as the processor 201 and the processor 205 shown in FIG. 2 . Each of these processors can be a single-core processor (single-CPU) or a multi-core processor (multi-CPU). A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (eg, computer program instructions).
在具体实现中,作为一种实施例,计算机设备还可以包括输出设备206和输入设备207。输出设备206和处理器201通信,可以以多种方式来显示信息。例如,输出设备206可以是液晶显示器(liquid crystal display,LCD),发光二级管(light emitting diode,LED)显示设备,阴极射线管(cathode ray tube,CRT)显示设备,或投影仪(projector)等。输入设备207和处理器201通信,可以以多种方式接收用户的输入。例如,输入设备207可以是鼠标、键盘、触摸屏设备或传感设备等。In a specific implementation, as an embodiment, the computer device may further include an output device 206 and an input device 207 . Output device 206 is in communication with processor 201 and can display information in a variety of ways. For example, the output device 206 may be a liquid crystal display (liquid crystal display, LCD), a light emitting diode (light emitting diode, LED) display device, a cathode ray tube (cathode ray tube, CRT) display device, or a projector (projector) Wait. The input device 207 communicates with the processor 201 and can receive user input in various ways. For example, the input device 207 may be a mouse, a keyboard, a touch screen device, or a sensing device, among others.
上述的计算机设备可以是一个通用计算机设备或者是一个专用计算机设备。在具体实现中,计算机设备可以是台式机、便携式电脑、网络服务器、掌上电脑(PersonalDigital Assistant,PDA)、移动手机、平板电脑、无线终端设备、通信设备或者嵌入式设备,本申请实施例不限定计算机设备的类型。The above computer equipment may be a general computer equipment or a special computer equipment. In a specific implementation, the computer device may be a desktop computer, a portable computer, a network server, a personal digital assistant (PDA), a mobile phone, a tablet computer, a wireless terminal device, a communication device or an embedded device, which is not limited by the embodiment of the present application. The type of computer equipment.
其中,存储器203用于存储执行本申请方案的程序代码210,处理器201用于执行存储器203中存储的程序代码210。该计算机设备可以通过处理器201以及存储器203中的程序代码210,来实现下文图3实施例提供的故障链路检测方法。Wherein, the memory 203 is used to store the program code 210 for executing the solution of the present application, and the processor 201 is used to execute the program code 210 stored in the memory 203 . The computer device can implement the faulty link detection method provided in the embodiment of FIG. 3 below through the processor 201 and the program code 210 in the memory 203 .
图3是本申请实施例提供的一种故障链路检测方法的流程图。参见图3,该方法包括以下步骤:FIG. 3 is a flow chart of a method for detecting a faulty link provided in an embodiment of the present application. Referring to Fig. 3, this method comprises the following steps:
步骤301:确定第一网络测试点至第二网络测试点的逻辑链路对应的多条数据传输路径。Step 301: Determine multiple data transmission paths corresponding to the logical links from the first network test point to the second network test point.
需要说明的是,第一网络测试点为网络内的多个网络测试点中的任一网络测试点,第二网络测试点为该多个网络测试点中除第一网络测试点之外的任一网络测试点。It should be noted that the first network test point is any network test point in a plurality of network test points in the network, and the second network test point is any network test point in the plurality of network test points except the first network test point. A network test point.
另外,该逻辑链路对应的多条数据传输路径为该多个网络测试点之间的数据传输路径中包括有该逻辑链路的数据传输路径,也即是,对于该多条数据传输路径中的任意一条数据传输路径来说,组成这条数据传输路径的链路中包括有该逻辑链路。In addition, the multiple data transmission paths corresponding to the logical link are the data transmission paths that include the logical link among the data transmission paths between the multiple network test points, that is, for the multiple data transmission paths For any data transmission path, the links forming the data transmission path include the logical link.
再者,该网络为需要监控并分析网络质量状况的网络,该网络的网络拓扑结构可以为树型结构或星型结构。并且,当该网络的网络拓扑结构为树型结构时,该网络可以是LAN,LAN是将小区域内的各种通信设备互连在一起形成的通信网络,当该网络的网络拓扑结构为星型结构时,该网络可以是WAN,WAN是在一个广泛地理区域内所建立的通信网络,其范围可以超越城市和国家以至全球,LAN与WAN之间并没有绝对的界限。Furthermore, the network is a network that needs to monitor and analyze network quality, and the network topology of the network can be a tree structure or a star structure. And, when the network topology of the network is a tree structure, the network may be a LAN, which is a communication network formed by interconnecting various communication devices in a small area. When the network topology of the network is a star In terms of structure, the network can be WAN. WAN is a communication network established in a wide geographical area, and its scope can go beyond cities and countries to the whole world. There is no absolute boundary between LAN and WAN.
值得注意的是,当该网络的网络拓扑结构为树型结构时,该多个网络测试点可以均为网络节点,此时该多个网络测试点可以为树型逻辑拓扑中的根节点和叶子节点,如该多个网络测试点中的任一网络测试点可以为虚拟机、终端、交换机、服务器等,这种情况下,该逻辑链路对应的多条数据传输路径均经过该逻辑链路。当该网络的网络拓扑结构为星型结构时,该多个网络测试点可以均为网络区域,此时该多个网络测试点可以为星型逻辑拓扑中的中央节点和外围节点,如该多个网络测试点中的任一网络测试点可以为机房区域、城市区域等,这种情况下,该逻辑链路对应的多条数据传输路径为位于第一网络测试点内的多个指定网络节点至位于第二网络测试点内的多个指定网络节点的数据传输路径,指定网络节点可以预先定义,如指定网络节点可以为虚拟机等。It is worth noting that when the network topology of the network is a tree structure, the plurality of network test points can all be network nodes, and at this time the plurality of network test points can be root nodes and leaves in the tree-type logical topology A node, such as any network test point in the plurality of network test points can be a virtual machine, a terminal, a switch, a server, etc. In this case, the multiple data transmission paths corresponding to the logical link pass through the logical link . When the network topology of the network is a star structure, the multiple network test points can all be network areas, and at this time, the multiple network test points can be central nodes and peripheral nodes in the star logical topology, such as the multiple Any network test point in the first network test point can be a computer room area, an urban area, etc. In this case, the multiple data transmission paths corresponding to the logical link are a plurality of designated network nodes located in the first network test point The data transmission paths to multiple designated network nodes located in the second network test point, the designated network nodes may be pre-defined, for example, the designated network nodes may be virtual machines or the like.
例如,如图4所示,该网络的网络拓扑结构为树型结构,该网络内的多个网络测试点为网络节点1、网络节点2、网络节点3、网络节点4、网络节点5、网络节点6和网络节点7。假设第一网络测试点为网络节点4,第二网络测试点为网络节点1,则第一网络测试点至第二网络测试点的逻辑链路为网络节点4至网络节点1的逻辑链路。在此情况下,由于网络节点4至网络节点1的数据传输路径、网络节点4至网络节点3的数据传输路径、网络节点4至网络节点6的数据传输路径和网络节点4至网络节点7的数据传输路径,这四条数据传输路径均经过网络节点4至网络节点1的逻辑链路,因此,可以将这四条数据传输路径确定为该逻辑链路对应的多条数据传输路径。For example, as shown in Figure 4, the network topology of the network is a tree structure, and the multiple network test points in the network are network node 1, network node 2, network node 3, network node 4, network node 5, network Node 6 and Network Node 7. Assuming that the first network test point is network node 4 and the second network test point is network node 1, the logical link from the first network test point to the second network test point is the logical link from network node 4 to network node 1. In this case, since the data transmission path from network node 4 to network node 1, the data transmission path from network node 4 to network node 3, the data transmission path from network node 4 to network node 6 and the data transmission path from network node 4 to network node 7 The data transmission path, these four data transmission paths all pass through the logical link from the network node 4 to the network node 1, therefore, these four data transmission paths can be determined as multiple data transmission paths corresponding to the logical link.
又例如,如图5所示,该网络的网络拓扑结构为星型结构,该网络内的多个网络测试点为网络区域1、网络区域2、网络区域3和网络区域4。假设第一网络测试点为网络区域1,第二网络测试点为网络区域2,则第一网络测试点至第二网络测试点的逻辑链路为网络区域1至网络区域2的逻辑链路。在此情况下,假设位于网络区域1内的多个指定网络节点为虚拟机1和虚拟机2,位于网络区域2内的多个指定网络节点为虚拟机3和虚拟机4,则可以将虚拟机1至虚拟机3的数据传输路径、虚拟机1至虚拟机4的数据传输路径、虚拟机2至虚拟机3的数据传输路径和虚拟机2至虚拟机4的数据传输路径,这四条数据传输路径确定为该逻辑链路对应的多条数据传输路径。For another example, as shown in FIG. 5 , the network topology of the network is a star structure, and the multiple network test points in the network are network area 1 , network area 2 , network area 3 and network area 4 . Assuming that the first network test point is network area 1 and the second network test point is network area 2, the logical link from the first network test point to the second network test point is the logical link from network area 1 to network area 2. In this case, assuming that the multiple specified network nodes located in network area 1 are virtual machine 1 and virtual machine 2, and the multiple specified network nodes located in network area 2 are virtual machine 3 and virtual machine 4, then the virtual The data transmission path from machine 1 to virtual machine 3, the data transmission path from virtual machine 1 to virtual machine 4, the data transmission path from virtual machine 2 to virtual machine 3, and the data transmission path from virtual machine 2 to virtual machine 4, these four data The transmission path is determined as multiple data transmission paths corresponding to the logical link.
步骤302:获取该多条数据传输路径中每条数据传输路径的网络性能指标值。Step 302: Obtain the network performance index value of each data transmission path in the multiple data transmission paths.
需要说明的是,网络性能指标值可以是用于指示网络质量的性能指标的测试值,例如,网络性能指标值可以包括网络层的性能指标值、传输层的性能指标值等,网络层的性能指标值可以包括使用ICMP传输数据包时的传输时延、时延抖动、丢包率等,传输层的性能指标值可以包括使用TCP传输数据报文时的传输速率、使用UDP传输数据报文时的传输速率等,本申请实施例对此不作限定。It should be noted that the network performance index value may be a test value of a performance index used to indicate network quality, for example, the network performance index value may include the performance index value of the network layer, the performance index value of the transport layer, etc. The index value can include the transmission delay, delay jitter, packet loss rate, etc. when using ICMP to transmit data packets, and the performance index value of the transport layer can include the transmission rate when using TCP to transmit data packets, and the transmission rate when using UDP to transmit data packets. The transmission rate, etc., are not limited in this embodiment of the present application.
另外,本申请实施例中网络性能指标值可以包括上述多项网络性能指标值,从而可以实现对网络层和传输层的通用指标全覆盖,进而可以为后续的故障分析提供足够的输入,提高故障链路的检测准确度。In addition, the network performance index value in the embodiment of the present application may include the above-mentioned multiple network performance index values, so as to realize the full coverage of the general index of the network layer and the transport layer, and then provide sufficient input for subsequent fault analysis, and improve fault performance. Link detection accuracy.
具体地,获取该多条数据传输路径中每条数据传输路径的网络性能指标值时,可以从目标数据传输路径的起始网络节点中获取目标数据传输路径的网络性能指标值,目标数据传输路径为该多条数据传输路径中的任意一条数据传输路径。Specifically, when obtaining the network performance index value of each data transmission path in the multiple data transmission paths, the network performance index value of the target data transmission path can be obtained from the initial network node of the target data transmission path, and the target data transmission path It is any data transmission path in the plurality of data transmission paths.
需要说明的是,对于某个网络节点来说,这个网络节点可以获取以自身为起始网络节点的数据传输路径的网络性能指标值,也即是,这个网络节点可以获取自身至其它网络节点的数据传输路径的网络性能指标值。例如,这个网络节点可以使用ICMP向其它网络节点发送数据包,并根据数据包在一段时间内(如1分钟)的发送接收情况来确定使用ICMP传输数据包时的传输时延、时延抖动、丢包率等。又例如,这个网络节点可以使用TCP向其它网络节点发送数据报文,并确定数据报文的传输速率等。再例如,这个网络节点可以使用UDP向其它网络节点发送数据报文,并确定数据报文的传输速率等,由于UDP是一种不可靠的快速传输,所以这种情况下数据报文的传输速率可以是在丢包率低于某个阈值(如1%)时所能达到的最大传输速率。It should be noted that, for a certain network node, this network node can obtain the network performance index value of the data transmission path starting from itself, that is, this network node can obtain the data transmission path from itself to other network nodes. The network performance index value of the data transmission path. For example, this network node can use ICMP to send data packets to other network nodes, and determine the transmission delay, delay jitter, packet loss rate, etc. For another example, the network node may use TCP to send data packets to other network nodes, and determine the transmission rate of the data packets. For another example, this network node can use UDP to send data packets to other network nodes, and determine the transmission rate of data packets, etc. Since UDP is an unreliable fast transmission, the transmission rate of data packets in this case It may be the maximum transmission rate that can be achieved when the packet loss rate is lower than a certain threshold (such as 1%).
步骤303:根据该多条数据传输路径中每条数据传输路径的网络性能指标值,获取该逻辑链路的网络质量值。Step 303: Obtain the network quality value of the logical link according to the network performance index value of each data transmission path in the multiple data transmission paths.
需要说明的是,网络质量值用于指示网络质量,即网络质量值越高,网络质量越高,表明网络性能越佳,网络质量值越低,网络质量越低,表明网络性能越差,网络质量值可以是大于或等于0且小于或等于1的数值。It should be noted that the network quality value is used to indicate the network quality, that is, the higher the network quality value, the higher the network quality, indicating the better network performance; the lower the network quality value, the lower the network quality, indicating the worse network performance. The quality value can be a numeric value greater than or equal to 0 and less than or equal to 1.
具体地,步骤303的操作可以为:先根据目标数据传输路径的网络性能指标值,获取目标数据传输路径的网络质量值,再将该多条数据传输路径的网络质量值的算数平均值确定为该逻辑链路的网络质量值。Specifically, the operation of step 303 may be: firstly, according to the network performance index value of the target data transmission path, obtain the network quality value of the target data transmission path, and then determine the arithmetic mean value of the network quality values of the multiple data transmission paths as The network quality value of this logical link.
需要说明的是,本申请实施例中将该多条数据传输路径的网络质量值的算数平均值确定为该逻辑链路的网络质量值,即是将该多条数据传输路径结合起来作为参考来确定该逻辑链路的网络质量值,因而可以提高所确定的该逻辑链路的网络质量值的准确度。It should be noted that in the embodiment of the present application, the arithmetic mean value of the network quality values of the multiple data transmission paths is determined as the network quality value of the logical link, that is, the multiple data transmission paths are combined as a reference The network quality value of the logical link is determined, thereby improving the accuracy of the determined network quality value of the logical link.
另外,将该多条数据传输路径的网络质量值的算数平均值确定为该逻辑链路的网络质量值时,可以将该多条数据传输路径的网络质量值的简单算数平均值或加权算数平均值确定为该逻辑链路的网络质量值。也即是,可以将该多条数据传输路径的网络质量值累加后得到的数值除以该多条数据传输路径的数量,得到该逻辑链路的网络质量值;或者,可以将目标数据传输路径的网络质量值乘以目标数据传输路径对应的权重,得到目标数据传输路径的参考质量值,将该多条数据传输路径的参考质量值累加得到该逻辑链路的网络质量值,该多条数据传输路径中每条数据传输路径对应的权重可以预先设置,且该多条数据传输路径对应的权重累加后为1。In addition, when the arithmetic mean value of the network quality values of the multiple data transmission paths is determined as the network quality value of the logical link, the simple arithmetic mean value or weighted arithmetic mean value of the network quality values of the multiple data transmission paths may be The value is determined as the network quality value of the logical link. That is, the network quality value of the logical link can be obtained by dividing the value obtained by accumulating the network quality values of the multiple data transmission paths by the number of the multiple data transmission paths; or, the target data transmission path can be The network quality value of the target data transmission path is multiplied by the weight corresponding to the target data transmission path to obtain the reference quality value of the target data transmission path, and the reference quality values of the multiple data transmission paths are accumulated to obtain the network quality value of the logical link. The weight corresponding to each data transmission path in the transmission path can be preset, and the weights corresponding to the multiple data transmission paths are accumulated to be 1.
例如,如图4所示,该网络的网络拓扑结构为树型结构,该网络内的多个网络测试点为网络节点1、网络节点2、网络节点3、网络节点4、网络节点5、网络节点6和网络节点7。假设第一网络测试点为网络节点4,第二网络测试点为网络节点1,第一网络测试点至第二网络测试点的逻辑链路为网络节点4至网络节点1的逻辑链路,该逻辑链路对应的四条数据传输路径为网络节点4至网络节点1的数据传输路径、网络节点4至网络节点3的数据传输路径、网络节点4至网络节点6的数据传输路径和网络节点4至网络节点7的数据传输路径,则可以将这四条数据传输路径的网络质量值的简单算数平均值或加权算数平均值确定为该逻辑链路的网络质量值。For example, as shown in Figure 4, the network topology of the network is a tree structure, and the multiple network test points in the network are network node 1, network node 2, network node 3, network node 4, network node 5, network Node 6 and Network Node 7. Assuming that the first network test point is network node 4, the second network test point is network node 1, and the logical link from the first network test point to the second network test point is a logical link from network node 4 to network node 1, the The four data transmission paths corresponding to the logical link are the data transmission path from network node 4 to network node 1, the data transmission path from network node 4 to network node 3, the data transmission path from network node 4 to network node 6, and the data transmission path from network node 4 to network node 6. For the data transmission path of the network node 7, the simple arithmetic mean value or the weighted arithmetic mean value of the network quality values of the four data transmission paths may be determined as the network quality value of the logical link.
又例如,如图5所示,该网络的网络拓扑结构为星型结构,该网络内的多个网络测试点为网络区域1、网络区域2、网络区域3和网络区域4。假设第一网络测试点为网络区域1,第二网络测试点为网络区域2,第一网络测试点至第二网络测试点的逻辑链路为网络区域1至网络区域2的逻辑链路,该逻辑链路对应的四条数据传输路径为位于网络区域1内的虚拟机1至位于网络区域2内的虚拟机3的数据传输路径、虚拟机1至位于网络区域2内的虚拟机4的数据传输路径、位于网络区域1内的虚拟机2至虚拟机3的数据传输路径和虚拟机2至虚拟机4的数据传输路径,则可以将这四条数据传输路径的网络质量值的简单算数平均值或加权算数平均值确定为该逻辑链路的网络质量值。For another example, as shown in FIG. 5 , the network topology of the network is a star structure, and the multiple network test points in the network are network area 1 , network area 2 , network area 3 and network area 4 . Assuming that the first network test point is network area 1, the second network test point is network area 2, and the logical link from the first network test point to the second network test point is the logical link from network area 1 to network area 2, the The four data transmission paths corresponding to the logical link are the data transmission path from virtual machine 1 located in network area 1 to virtual machine 3 located in network area 2, and the data transmission path from virtual machine 1 to virtual machine 4 located in network area 2 path, the data transmission path from virtual machine 2 to virtual machine 3 in network area 1, and the data transmission path from virtual machine 2 to virtual machine 4, then the simple arithmetic mean of the network quality values of these four data transmission paths or The weighted arithmetic mean value is determined as the network quality value of the logical link.
其中,根据目标数据传输路径的网络性能指标值,获取目标数据传输路径的网络质量值的操作可以为:获取目标数据传输路径的历史网络性能指标值;根据目标数据传输路径的网络性能指标值和目标数据传输路径的历史网络性能指标值,获取目标数据传输路径的第一质量值;根据目标数据传输路径的网络性能指标值和网络性能指标阈值,获取目标数据传输路径的第二质量值;将目标数据传输路径的第一质量值与第二质量值的算数平均值确定为目标数据传输路径的第三质量值;根据目标数据传输路径的第三质量值,确定目标数据传输路径的网络质量值。Wherein, according to the network performance index value of the target data transmission path, the operation of obtaining the network quality value of the target data transmission path may be: obtaining the historical network performance index value of the target data transmission path; according to the network performance index value of the target data transmission path and Obtain the first quality value of the target data transmission path based on the historical network performance index value of the target data transmission path; obtain the second quality value of the target data transmission path according to the network performance index value and the network performance index threshold of the target data transmission path; The arithmetic mean value of the first quality value and the second quality value of the target data transmission path is determined as the third quality value of the target data transmission path; according to the third quality value of the target data transmission path, the network quality value of the target data transmission path is determined .
需要说明的是,目标数据传输路径的历史网络性能指标值为目标数据传输路径在之前一段时间内的网络性能指标值的平均值,历史网络性能指标值用于指示历史网络质量。It should be noted that the historical network performance index value of the target data transmission path is an average value of the network performance index values of the target data transmission path in a previous period of time, and the historical network performance index value is used to indicate the historical network quality.
另外,网络性能指标阈值可以预先进行设置,且网络性能指标阈值可以设置的较大,网络性能指标阈值用于指示指定网络质量。In addition, the network performance index threshold can be set in advance, and the network performance index threshold can be set relatively large, and the network performance index threshold is used to indicate the specified network quality.
需要说明的是,目标数据传输路径的第一质量值用于指示目标数据传输路径当前的网络质量相比于历史网络质量是较差还是较好,目标数据传输路径的第一质量值可以是大于或等于0且小于或等于1的数值,且当目标数据传输路径的第一质量值为1时,表明目标数据传输路径当前的网络质量不比历史网络质量差,当目标数据传输路径的第一质量值不为1时,表明目标数据传输路径当前的网络质量比历史网络质量差,这种情况下,目标数据传输路径的第一质量值越小,表明目标数据传输路径当前的网络质量相比于历史网络质量越差。It should be noted that the first quality value of the target data transmission path is used to indicate whether the current network quality of the target data transmission path is worse or better than the historical network quality, and the first quality value of the target data transmission path may be greater than or a value equal to 0 and less than or equal to 1, and when the first quality value of the target data transmission path is 1, it indicates that the current network quality of the target data transmission path is not worse than the historical network quality, when the first quality of the target data transmission path When the value is not 1, it indicates that the current network quality of the target data transmission path is worse than the historical network quality. In this case, the smaller the first quality value of the target data transmission path, it indicates that the current network quality of the target data transmission path is compared to The worse the historical network quality is.
其中,根据目标数据传输路径的网络性能指标值和目标数据传输路径的历史网络性能指标值,获取目标数据传输路径的第一质量值时,如果目标数据传输路径的网络性能指标值指示的网络质量不比目标数据传输路径的历史网络性能指标值指示的网络质量差,则可以确定目标数据传输路径的第一质量值为1;如果目标数据传输路径的网络性能指标值指示的网络质量比目标数据传输路径的历史网络性能指标值指示的网络质量差,则可以根据目标数据传输路径的网络性能指标值与目标数据传输路径的历史网络性能指标值之间的差值,确定目标数据传输路径的第一质量值。Wherein, when obtaining the first quality value of the target data transmission path according to the network performance index value of the target data transmission path and the historical network performance index value of the target data transmission path, if the network quality indicated by the network performance index value of the target data transmission path Not worse than the network quality indicated by the historical network performance index value of the target data transmission path, then it can be determined that the first quality value of the target data transmission path is 1; if the network quality indicated by the network performance index value of the target data transmission path is higher than the target data transmission If the network quality indicated by the historical network performance index value of the path is poor, the first network performance index value of the target data transmission path can be determined according to the difference between the network performance index value of the target data transmission path and the historical network performance index value of the target data transmission path. quality value.
需要说明的是,目标数据传输路径的第二质量值用于指示目标数据传输路径当前的网络质量相比于指定网络质量是较差还是较好,目标数据传输路径的第二质量值可以是大于或等于0且小于或等于1的数值,且当目标数据传输路径的第二质量值为0时,表明目标数据传输路径当前的网络质量比指定网络质量差,当目标数据传输路径的第二质量值不为0时,表明目标数据传输路径当前的网络质量不比指定网络质量差,这种情况下,目标数据传输路径的第二质量值越大,表明目标数据传输路径当前的网络质量相比于指定网络质量越好。It should be noted that the second quality value of the target data transmission path is used to indicate whether the current network quality of the target data transmission path is worse or better than the specified network quality, and the second quality value of the target data transmission path may be greater than Or a value equal to 0 and less than or equal to 1, and when the second quality value of the target data transmission path is 0, it indicates that the current network quality of the target data transmission path is worse than the specified network quality, when the second quality of the target data transmission path When the value is not 0, it indicates that the current network quality of the target data transmission path is not worse than the specified network quality. In this case, the larger the second quality value of the target data transmission path, it indicates that the current network quality of the target data transmission path is compared to Specify the better network quality.
其中,根据目标数据传输路径的网络性能指标值和网络性能指标阈值,获取目标数据传输路径的第二质量值时,如果目标数据传输路径的网络性能指标值指示的网络质量比网络性能指标阈值指示的网络质量差,则可以确定目标数据传输路径的第二质量值为0;如果目标数据传输路径的网络性能指标值指示的网络质量不比网络性能指标阈值指示的网络质量差,则可以根据目标数据传输路径的网络性能指标值与网络性能指标阈值之间的差值,确定目标数据传输路径的第二质量值。Wherein, according to the network performance index value and the network performance index threshold value of the target data transmission path, when obtaining the second quality value of the target data transmission path, if the network quality indicated by the network performance index value of the target data transmission path is higher than the network performance index threshold value indicated If the network quality of the target data transmission path is poor, it can be determined that the second quality value of the target data transmission path is 0; The difference between the network performance index value of the transmission path and the network performance index threshold value determines the second quality value of the target data transmission path.
需要说明的是,目标数据传输路径的第三质量值是以历史网络质量和指定网络质量为参考得到的质量值,即是将第一质量值和第二质量值结合起来确定的质量值,目标数据传输路径的第三质量值用于指示目标数据传输路径当前的网络质量相比于历史网络质量和指定网络质量是较差还是较好,目标数据传输路径的第三质量值可以是大于或等于0且小于或等于1的数值。It should be noted that the third quality value of the target data transmission path is a quality value obtained by referring to the historical network quality and the specified network quality, that is, the quality value determined by combining the first quality value and the second quality value, and the target The third quality value of the data transmission path is used to indicate whether the current network quality of the target data transmission path is worse or better than the historical network quality and the specified network quality. The third quality value of the target data transmission path can be greater than or equal to A numeric value of 0 and less than or equal to 1.
其中,将目标数据传输路径的第一质量值与第二质量值的算数平均值确定为目标数据传输路径的第三质量值时,可以将目标数据传输路径的第一质量值与第二质量值的简单算数平均值或加权算数平均值确定为目标数据传输路径的第三质量值。也即是,可以将目标数据传输路径的第一质量值与第二质量值的之和除以2,得到目标数据传输路径的第三质量值;或者,可以将目标数据传输路径的第一质量值乘以第一质量值对应的权重,得到第一参考质量值,将目标数据传输路径的第二质量值乘以第二质量值对应的权重,得到第二参考质量值,将第一参考质量值与第二参考质量值相加得到目标数据传输路径的第三质量值,第一质量值对应的权重和第二质量值对应的权重可以预先设置,且第一质量值对应的权重和第二质量值对应的权重相加后为1。Wherein, when the arithmetic mean value of the first quality value and the second quality value of the target data transmission path is determined as the third quality value of the target data transmission path, the first quality value and the second quality value of the target data transmission path can be The simple arithmetic mean or the weighted arithmetic mean of is determined as the third quality value of the target data transmission path. That is, the sum of the first quality value and the second quality value of the target data transmission path can be divided by 2 to obtain the third quality value of the target data transmission path; or, the first quality value of the target data transmission path can be value by the weight corresponding to the first quality value to obtain the first reference quality value, multiply the second quality value of the target data transmission path by the weight corresponding to the second quality value to obtain the second reference quality value, and multiply the first reference quality value value and the second reference quality value to obtain the third quality value of the target data transmission path, the weight corresponding to the first quality value and the weight corresponding to the second quality value can be preset, and the weight corresponding to the first quality value and the second The weights corresponding to the quality values add up to 1.
值得注意的是,如果网络性能指标值仅包括一项,则可以按照上述方式针对目标数据传输路径的这一项网络性能指标值,获取这一项网络性能指标值指示的网络性能指标的历史网络性能指标值和网络性能指标阈值,并根据这一项网络性能指标值、所获取的历史网络性能指标值和网络性能指标阈值,获取目标数据传输路径的一个第三质量值。继而在根据目标数据传输路径的第三质量值,确定目标数据传输路径的网络质量值时,可以直接将目标数据传输路径的第三质量值确定为目标数据传输路径的网络质量值。It is worth noting that if the network performance index value includes only one item, the historical network of the network performance index value indicated by the network performance index value indicated by the network performance index value of the target data transmission path can be obtained in the above-mentioned manner. A performance index value and a network performance index threshold, and obtain a third quality value of the target data transmission path according to the network performance index value, the acquired historical network performance index value and the network performance index threshold. Then, when determining the network quality value of the target data transmission path according to the third quality value of the target data transmission path, the third quality value of the target data transmission path may be directly determined as the network quality value of the target data transmission path.
如果网络性能指标值包括多项,则可以按照上述方式针对目标数据传输路径的每项网络性能指标值,获取这项网络性能指标值指示的网络性能指标的历史网络性能指标值和网络性能指标阈值,并根据这项网络性能指标值、所获取的历史网络性能指标值和网络性能指标阈值,获取目标数据传输路径的一个第三质量值,如此可以获取到目标数据传输路径的多个第三质量值。继而在根据目标数据传输路径的第三质量值,确定目标数据传输路径的网络质量值时,可以将目标数据传输路径的多个第三质量值的算数平均值确定为目标数据传输路径的网络质量值。If the network performance index value includes multiple items, the historical network performance index value and the network performance index threshold value of the network performance index indicated by the network performance index value can be obtained for each network performance index value of the target data transmission path in the above-mentioned manner , and according to the network performance index value, the obtained historical network performance index value and the network performance index threshold value, a third quality value of the target data transmission path is obtained, so that multiple third quality values of the target data transmission path can be obtained value. Then, when determining the network quality value of the target data transmission path according to the third quality value of the target data transmission path, the arithmetic mean value of multiple third quality values of the target data transmission path may be determined as the network quality of the target data transmission path value.
其中,将目标数据传输路径的多个第三质量值的算数平均值确定为目标数据传输路径的网络质量值时,可以目标数据传输路径的多个第三质量值的简单算数平均值或加权算数平均值确定为目标数据传输路径的网络质量值。也即是,可以将目标数据传输路径的多个第三质量值累加后得到的数值除以该多个第三质量值的数量,得到目标数据传输路径的网络质量值;或者,可以将目标数据传输路径的多个第三质量值中的任意一个第三质量值乘以该多项网络性能指标值中用于得到这个第三质量值的一项网络性能指标值指示的网络性能指标对应的权重,得到目标数据传输路径的第三参考质量值,如此可以得到目标数据传输路径的多个第三参考网络质量值,将目标数据传输路径的多个第三参考质量值累加后得到目标数据传输路径的网络质量值,该多项网络性能指标值中每项网络性能指标值指示的网络性能指标对应的权重可以预先设置,且该多项网络性能指标值指示的网络性能指标对应的权重累加后为1。Wherein, when the arithmetic mean value of the multiple third quality values of the target data transmission path is determined as the network quality value of the target data transmission path, the simple arithmetic mean value or weighted arithmetic value of the multiple third quality values of the target data transmission path may be used. The average value is determined as the network quality value of the target data transmission path. That is, the value obtained by accumulating multiple third quality values of the target data transmission path can be divided by the quantity of the multiple third quality values to obtain the network quality value of the target data transmission path; or, the target data can be Multiplying any one of the multiple third quality values of the transmission path by the weight corresponding to the network performance index indicated by one of the network performance index values used to obtain the third quality value among the multiple network performance index values , to obtain the third reference quality value of the target data transmission path, so that multiple third reference network quality values of the target data transmission path can be obtained, and the target data transmission path can be obtained by accumulating the multiple third reference quality values of the target data transmission path network quality value, the weight corresponding to the network performance index indicated by each network performance index value in the multiple network performance index values can be preset, and the weight corresponding to the network performance index indicated by the multiple network performance index values is accumulated. 1.
为了便于理解,下面以网络性能指标值为使用ICMP传输数据包时的传输时延、时延抖动和丢包率,以及使用TCP传输数据报文时的传输速率和使用UDP传输数据报文时的传输速率,这五项网络性能指标值为例对上述目标数据传输路径的网络质量值的获取过程进行说明。For ease of understanding, the following network performance index values are the transmission delay, delay jitter and packet loss rate when using ICMP to transmit data packets, as well as the transmission rate when using TCP to transmit data packets and the transmission rate when using UDP to transmit data packets The transmission rate and the five network performance index values are taken as an example to illustrate the process of obtaining the network quality value of the above-mentioned target data transmission path.
首先,针对目标数据传输路径的这五项网络性能指标值,分别获取目标数据传输路径的五个第一质量值。First, with respect to the five network performance index values of the target data transmission path, five first quality values of the target data transmission path are acquired respectively.
1、当网络性能指标值为使用ICMP传输数据包时的传输时延时,获取目标数据传输路径使用ICMP传输数据包时的历史传输时延,根据目标数据传输路径使用ICMP传输数据包时的传输时延和目标数据传输路径使用ICMP传输数据包时的历史传输时延,按照如下公式(1)确定目标数据传输路径的第一质量值;1. When the network performance index value is the transmission delay when using ICMP to transmit data packets, obtain the historical transmission delay when the target data transmission path uses ICMP to transmit data packets, and the transmission when using ICMP to transmit data packets according to the target data transmission path Time delay and the historical transmission time delay when the target data transmission path uses ICMP to transmit data packets, determine the first quality value of the target data transmission path according to the following formula (1);
其中,HicmpD1为目标数据传输路径的第一质量值,ICMPDt为目标数据传输路径使用ICMP传输数据包时的传输时延,ICMPDavg,t为目标数据传输路径使用ICMP传输数据包时的历史传输时延。Among them, Hicmp D1 is the first quality value of the target data transmission path, ICMPD t is the transmission delay when the target data transmission path uses ICMP to transmit data packets, and ICMPD avg,t is the history when the target data transmission path uses ICMP to transmit data packets transmission delay.
2、当网络性能指标值为使用ICMP传输数据包时的时延抖动时,获取目标数据传输路径使用ICMP传输数据包时的历史时延抖动,根据目标数据传输路径使用ICMP传输数据包时的时延抖动和目标数据传输路径使用ICMP传输数据包时的历史时延抖动,按照如下公式(2)确定目标数据传输路径的第一质量值;2. When the network performance index value is the delay jitter when using ICMP to transmit data packets, obtain the historical delay jitter when the target data transmission path uses ICMP to transmit data packets, and the time when using ICMP to transmit data packets according to the target data transmission path Delay jitter and the historical time delay jitter when the target data transmission path uses ICMP to transmit packets, determine the first quality value of the target data transmission path according to the following formula (2);
其中,HicmpJ1为目标数据传输路径的第一质量值,ICMPJt为目标数据传输路径使用ICMP传输数据包时的时延抖动,ICMPJavg,t为目标数据传输路径使用ICMP传输数据包时的历史时延抖动。Among them, Hicmp J1 is the first quality value of the target data transmission path, ICMPJ t is the time delay jitter when the target data transmission path uses ICMP to transmit data packets, and ICMPJ avg,t is the history when the target data transmission path uses ICMP to transmit data packets Latency jitter.
3、当网络性能指标值为使用ICMP传输数据包时的丢包率时,获取目标数据传输路径使用ICMP传输数据包时的历史丢包率,根据目标数据传输路径使用ICMP传输数据包时的丢包率和目标数据传输路径使用ICMP传输数据包时的历史丢包率,按照如下公式(3)确定目标数据传输路径的第一质量值;3. When the network performance index value is the packet loss rate when using ICMP to transmit data packets, obtain the historical packet loss rate when the target data transmission path uses ICMP to transmit data packets, and use ICMP to transmit data packets according to the target data transmission path. Packet rate and the historical packet loss rate when the target data transmission path uses ICMP to transmit data packets, determine the first quality value of the target data transmission path according to the following formula (3);
其中,HicmpL1为目标数据传输路径的第一质量值,ICMPLt为目标数据传输路径使用ICMP传输数据包时的丢包率,ICMPLavg,t为目标数据传输路径使用ICMP传输数据包时的历史丢包率。Among them, Hicmp L1 is the first quality value of the target data transmission path, ICMPL t is the packet loss rate when the target data transmission path uses ICMP to transmit data packets, and ICMPL avg,t is the history when the target data transmission path uses ICMP to transmit data packets Packet loss rate.
4、当网络性能指标值为使用TCP传输数据报文时的传输速率时,获取目标数据传输路径使用TCP传输数据报文时的历史传输速率,根据目标数据传输路径使用TCP传输数据报文时的传输速率和目标数据传输路径使用TCP传输数据报文时的历史传输速率,按照如下公式(4)确定目标数据传输路径的第一质量值;4. When the network performance index value is the transmission rate when using TCP to transmit data packets, obtain the historical transmission rate when the target data transmission path uses TCP to transmit data packets, and use TCP to transmit data packets according to the target data transmission path The transmission rate and the historical transmission rate when the target data transmission path uses TCP to transmit data packets, determine the first quality value of the target data transmission path according to the following formula (4);
其中,Htcp1为目标数据传输路径的第一质量值,TCPt为目标数据传输路径使用TCP传输数据报文时的传输速率,TCPavg,t为目标数据传输路径使用TCP传输数据报文时的历史传输速率。Among them, Htcp 1 is the first quality value of the target data transmission path, TCP t is the transmission rate when the target data transmission path uses TCP to transmit data packets, and TCP avg, t is the target data transmission path when using TCP to transmit data packets Historical transfer rate.
5、当网络性能指标值为使用UDP传输数据报文时的传输速率时,获取目标数据传输路径使用UDP传输数据报文时的历史传输速率,根据目标数据传输路径使用UDP传输数据报文时的传输速率和目标数据传输路径使用UDP传输数据报文时的历史传输速率,按照如下公式(5)确定目标数据传输路径的第一质量值;5. When the network performance index value is the transmission rate when using UDP to transmit data packets, obtain the historical transmission rate when the target data transmission path uses UDP to transmit data packets, and use UDP to transmit data packets according to the target data transmission path The historical transmission rate when the transmission rate and the target data transmission path use UDP to transmit data packets, determine the first quality value of the target data transmission path according to the following formula (5);
其中,Hudp1为目标数据传输路径的第一质量值,UDPt为目标数据传输路径使用UDP传输数据报文时的传输速率,UDPavg,t为目标数据传输路径使用UDP传输数据报文时的历史传输速率。Among them, Hudp 1 is the first quality value of the target data transmission path, UDP t is the transmission rate when the target data transmission path uses UDP to transmit data packets, UDP avg,t is the target data transmission path when using UDP to transmit data packets Historical transfer rate.
其次,针对目标数据传输路径的这五项网络性能指标值,分别获取目标数据传输路径的五个第二质量值。Secondly, with respect to the five network performance index values of the target data transmission path, five second quality values of the target data transmission path are acquired respectively.
1、当网络性能指标值为使用ICMP传输数据包时的传输时延时,根据目标数据传输路径使用ICMP传输数据包时的传输时延和使用ICMP传输数据包时的传输时延阈值,按照如下公式(6)确定目标数据传输路径的第二质量值;1. When the network performance index value is the transmission delay when using ICMP to transmit data packets, the transmission delay when using ICMP to transmit data packets and the transmission delay threshold when using ICMP to transmit data packets according to the target data transmission path are as follows Formula (6) determines the second quality value of the target data transmission path;
其中,HicmpD2为目标数据传输路径的第二质量值,ICMPDt为目标数据传输路径使用ICMP传输数据包时的传输时延,ICMPDlimit为使用ICMP传输数据包时的传输时延阈值。Wherein, Hicmp D2 is the second quality value of the target data transmission path, ICMPD t is the transmission delay when the target data transmission path uses ICMP to transmit data packets, and ICMPD limit is the transmission delay threshold when ICMP is used to transmit data packets.
2、当网络性能指标值为使用ICMP传输数据包时的时延抖动时,根据目标数据传输路径使用ICMP传输数据包时的时延抖动和使用ICMP传输数据包时的时延抖动阈值,按照如下公式(7)确定目标数据传输路径的第二质量值;2. When the network performance index value is the delay jitter when using ICMP to transmit data packets, the delay jitter when using ICMP to transmit data packets and the delay jitter threshold when using ICMP to transmit data packets according to the target data transmission path are as follows Formula (7) determines the second quality value of the target data transmission path;
其中,HicmpJ2为目标数据传输路径的第二质量值,ICMPJt为目标数据传输路径使用ICMP传输数据包时的时延抖动,ICMPJlimit为使用ICMP传输数据包时的时延抖动阈值。Wherein, Hicmp J2 is the second quality value of the target data transmission path, ICMPJ t is the delay jitter when the target data transmission path uses ICMP to transmit data packets, and ICMPJ limit is the delay jitter threshold when ICMP is used to transmit data packets.
3、当网络性能指标值为使用ICMP传输数据包时的丢包率时,根据目标数据传输路径使用ICMP传输数据包时的丢包率和使用ICMP传输数据包时的丢包率阈值,按照如下公式(8)确定目标数据传输路径的第二质量值;3. When the network performance index value is the packet loss rate when using ICMP to transmit data packets, the packet loss rate when using ICMP to transmit data packets according to the target data transmission path and the packet loss rate threshold when using ICMP to transmit data packets are as follows Formula (8) determines the second quality value of the target data transmission path;
其中,HicmpL2为目标数据传输路径的第二质量值,ICMPLt为目标数据传输路径使用ICMP传输数据包时的丢包率,ICMPLlimit为使用ICMP传输数据包时的丢包率阈值。Wherein, Hicmp L2 is the second quality value of the target data transmission path, ICMPL t is the packet loss rate when the target data transmission path uses ICMP to transmit data packets, and ICMPL limit is the packet loss rate threshold when ICMP is used to transmit data packets.
4、当网络性能指标值为使用TCP传输数据报文时的传输速率时,根据目标数据传输路径使用TCP传输数据报文时的传输速率和使用TCP传输数据报文时的传输速率阈值,按照如下公式(9)确定目标数据传输路径的第二质量值;4. When the network performance index value is the transmission rate when using TCP to transmit data packets, the transmission rate when using TCP to transmit data packets and the transmission rate threshold when using TCP to transmit data packets according to the target data transmission path are as follows Formula (9) determines the second quality value of the target data transmission path;
其中,Htcp2为目标数据传输路径的第二质量值,TCPt为目标数据传输路径使用TCP传输数据报文时的传输速率,TCPlimit为使用TCP传输数据报文时的传输速率阈值。Among them, Htcp 2 is the second quality value of the target data transmission path, TCP t is the transmission rate when the target data transmission path uses TCP to transmit data packets, and TCP limit is the transmission rate threshold when using TCP to transmit data packets.
5、当网络性能指标值为使用UDP传输数据报文时的传输速率时,根据目标数据传输路径使用UDP传输数据报文时的传输速率和使用UDP传输数据报文时的传输速率阈值,按照如下公式(10)确定目标数据传输路径的第二质量值;5. When the network performance index value is the transmission rate when using UDP to transmit data packets, the transmission rate when using UDP to transmit data packets and the transmission rate threshold when using UDP to transmit data packets according to the target data transmission path are as follows Formula (10) determines the second quality value of the target data transmission path;
其中,Hudp2为目标数据传输路径的第二质量值,UDPt为目标数据传输路径使用UDP传输数据报文时的传输速率,UDPlimit为使用UDP传输数据报文时的传输速率阈值。Wherein, Hudp 2 is the second quality value of the target data transmission path, UDP t is the transmission rate when the target data transmission path uses UDP to transmit data packets, and UDP limit is the transmission rate threshold when UDP is used to transmit data packets.
然后,针对目标数据传输路径的这五个网络性能指标值,分别获取目标数据传输路径的五个第三质量值。Then, for the five network performance index values of the target data transmission path, five third quality values of the target data transmission path are acquired respectively.
1、当网络性能指标值为使用ICMP传输数据包时的传输时延时,根据上述公式(1)确定的目标数据传输路径的第一质量值和上述公式(6)确定的目标数据传输路径的第二质量值,按照如下公式(11)确定目标数据传输路径的第三质量值;1. When the network performance index value is the transmission delay when using ICMP to transmit data packets, the first quality value of the target data transmission path determined according to the above formula (1) and the target data transmission path determined by the above formula (6) The second quality value is to determine the third quality value of the target data transmission path according to the following formula (11);
其中,HicmpD为目标数据传输路径的第三质量值,为使用ICMP传输数据包时的历史传输时延对应的权重,为使用ICMP传输数据包时的传输时延阈值对应的权重,且 Wherein, Hicmp D is the third quality value of the target data transmission path, is the weight corresponding to the historical transmission delay when using ICMP to transmit data packets, is the weight corresponding to the transmission delay threshold when using ICMP to transmit data packets, and
2、当网络性能指标值为使用ICMP传输数据包时的时延抖动时,根据上述公式(2)确定的目标数据传输路径的第一质量值和上述公式(7)确定的目标数据传输路径的第二质量值,按照如下公式(12)确定目标数据传输路径的第三质量值;2. When the network performance index value is the time delay jitter when using ICMP to transmit data packets, the first quality value of the target data transmission path determined according to the above formula (2) and the value of the target data transmission path determined by the above formula (7) The second quality value is to determine the third quality value of the target data transmission path according to the following formula (12);
其中,HicmpJ为目标数据传输路径的第三质量值,为使用ICMP传输数据包时的历史时延抖动对应的权重,为使用ICMP传输数据包时的时延抖动阈值对应的权重,且 Wherein, Hicmp J is the third quality value of the target data transmission path, is the weight corresponding to the historical delay jitter when using ICMP to transmit data packets, is the weight corresponding to the delay jitter threshold when using ICMP to transmit data packets, and
3、当网络性能指标值为使用ICMP传输数据包时的丢包率时,根据上述公式(3)确定的目标数据传输路径的第一质量值和上述公式(8)确定的目标数据传输路径的第二质量值,按照如下公式(13)确定目标数据传输路径的第三质量值;3. When the network performance index value is the packet loss rate when using ICMP to transmit data packets, the first quality value of the target data transmission path determined according to the above formula (3) and the target data transmission path determined by the above formula (8) The second quality value is to determine the third quality value of the target data transmission path according to the following formula (13);
其中,HicmpL为目标数据传输路径的第三质量值,为使用ICMP传输数据包时的历史丢包率对应的权重,为使用ICMP传输数据包时的丢包率阈值对应的权重,且 Wherein, Hicmp L is the third quality value of the target data transmission path, is the weight corresponding to the historical packet loss rate when using ICMP to transmit data packets, is the weight corresponding to the packet loss rate threshold when using ICMP to transmit data packets, and
4、当网络性能指标值为使用TCP传输数据报文时的传输速率时,根据上述公式(4)确定的目标数据传输路径的第一质量值和上述公式(9)确定的目标数据传输路径的第二质量值,按照如下公式(14)确定目标数据传输路径的第三质量值;4. When the network performance index value is the transmission rate when using TCP to transmit data packets, the first quality value of the target data transmission path determined according to the above formula (4) and the target data transmission path determined by the above formula (9) The second quality value is to determine the third quality value of the target data transmission path according to the following formula (14);
其中,Htcp为目标数据传输路径的第三质量值,为使用TCP传输数据报文时的历史传输速率对应的权重,为使用TCP传输数据报文时的传输速率阈值对应的权重,且 Wherein, Htcp is the third quality value of the target data transmission path, is the weight corresponding to the historical transmission rate when using TCP to transmit data packets, is the weight corresponding to the transmission rate threshold when using TCP to transmit data packets, and
5、当网络性能指标值为使用UDP传输数据报文时的传输速率时,根据上述公式(5)确定的目标数据传输路径的第一质量值和上述公式(10)确定的目标数据传输路径的第二质量值,按照如下公式(15)确定目标数据传输路径的第三质量值;5. When the network performance index value is the transmission rate when using UDP to transmit data packets, the first quality value of the target data transmission path determined according to the above formula (5) and the target data transmission path determined by the above formula (10) The second quality value is to determine the third quality value of the target data transmission path according to the following formula (15);
其中,Hudp为目标数据传输路径的第三质量值,为使用UDP传输数据报文时的历史传输速率对应的权重,为使用UDP传输数据报文时的传输速率阈值对应的权重,且 Wherein, Hudp is the third quality value of the target data transmission path, is the weight corresponding to the historical transmission rate when using UDP to transmit data packets, is the weight corresponding to the transmission rate threshold when using UDP to transmit data packets, and
最后,根据目标数据传输路径的这五个第三质量值,确定目标数据传输路径的网络质量值。Finally, according to the five third quality values of the target data transmission path, the network quality value of the target data transmission path is determined.
根据上述公式(11)确定的目标数据传输路径的第三质量值、上述公式(12)确定的目标数据传输路径的第三质量值、上述公式(13)确定的目标数据传输路径的第三质量值、上述公式(14)确定的目标数据传输路径的第三质量值和上述公式(15)确定的目标数据传输路径的第三质量值,按照如下公式(16)确定目标数据传输路径的网络质量值;The third quality value of the target data transmission path determined according to the above formula (11), the third quality value of the target data transmission path determined by the above formula (12), the third quality value of the target data transmission path determined by the above formula (13) Value, the third quality value of the target data transmission path determined by the above formula (14) and the third quality value of the target data transmission path determined by the above formula (15), determine the network quality of the target data transmission path according to the following formula (16) value;
Ht=wicmpD*HicmpD+wicmpJ*HicmpJ+wicmpL*HicmpL+wtcp*Htcp+wudp*Hudp (16)H t =w icmpD *Hicmp D +w icmpJ *Hicmp J +w icmpL *Hicmp L +w tcp *Htcp+w udp *Hudp (16)
其中,Ht为目标数据传输路径的网络质量值,wicmpD为使用ICMP传输数据包时的传输时延指示的网络性能指标对应的权重,wicmpJ为使用ICMP传输数据包时的时延抖动指示的网络性能指标对应的权重,wicmpL为使用ICMP传输数据包时的丢包率指示的网络性能指标对应的权重,wtcp为使用TCP传输数据报文时的传输速率指示的网络性能指标对应的权重,wudp为使用UDP传输数据报文时的传输速率指示的网络性能指标对应的权重,wicmpD∈[0,1],wicmpJ∈[0,1],wicmpL∈[0,1],wtcp∈[0,1],wudp∈[0,1],且wicmpD+wicmpJ+wicmpL+wtcp+wudp=1。Among them, H t is the network quality value of the target data transmission path, w icmpD is the weight corresponding to the network performance index indicated by the transmission delay when using ICMP to transmit data packets, and w icmpJ is the delay and jitter indication when using ICMP to transmit data packets w icmpL is the weight corresponding to the network performance indicator indicated by the packet loss rate when using ICMP to transmit data packets, w tcp is the corresponding weight to the network performance indicator indicated by the transmission rate when using TCP to transmit data packets Weight, w udp is the weight corresponding to the network performance index indicated by the transmission rate when using UDP to transmit data packets, w icmpD ∈ [0,1], w icmpJ ∈ [0,1], w icmpL ∈ [0,1] , w tcp ∈ [0,1], w udp ∈ [0,1], and w icmpD +w icmpJ +w icmpL +w tcp +w udp =1.
步骤304:如果该逻辑链路的网络质量值小于网络质量阈值,则确定该逻辑链路为故障链路。Step 304: If the network quality value of the logical link is less than the network quality threshold, determine that the logical link is a faulty link.
进一步地,如果该逻辑链路的网络质量值大于或等于网络质量阈值,则确定该逻辑链路不为故障链路。Further, if the network quality value of the logical link is greater than or equal to the network quality threshold, it is determined that the logical link is not a faulty link.
需要说明的是,网络质量阈值可以预先进行设置,且网络质量阈值可以设置的较大。It should be noted that the network quality threshold can be set in advance, and the network quality threshold can be set to be larger.
另外,如果该逻辑链路的网络质量值小于网络质量阈值,则表明该逻辑链路的网络质量较低,即该逻辑链路可能发生了故障,因而可以确定该逻辑链路为故障链路,这种情况下,如果第一网络测试点的应用层或第二网络测试点的应用层感知到异常现象,则由于第一网络测试点至第二网络测试点的逻辑链路为故障链路,所以可以确定该异常现象是因网络问题导致的。如果该逻辑链路的网络质量值大于或等于网络质量阈值,则表明该逻辑链路的网络质量较高,即该逻辑链路应该并未发生故障,因而可以确定该逻辑链路不为故障链路,这种情况下,如果第一网络测试点的应用层或第二网络测试点的应用层感知到异常现象,则由于第一网络测试点至第二网络测试点的逻辑链路不为故障链路,所以可以确定该异常现象不是因网络问题导致的,而是因应用问题导致的。如此,可以准确实现故障定界。In addition, if the network quality value of the logical link is less than the network quality threshold, it indicates that the network quality of the logical link is low, that is, the logical link may be faulty, so it can be determined that the logical link is a faulty link, In this case, if the application layer of the first network test point or the application layer of the second network test point perceives an abnormal phenomenon, since the logical link from the first network test point to the second network test point is a faulty link, Therefore, it can be determined that the abnormal phenomenon is caused by network problems. If the network quality value of the logical link is greater than or equal to the network quality threshold, it indicates that the network quality of the logical link is high, that is, the logical link should not be faulty, so it can be determined that the logical link is not a faulty link In this case, if the application layer of the first network test point or the application layer of the second network test point perceives an abnormal phenomenon, the logical link from the first network test point to the second network test point is not a fault Link, so it can be determined that the abnormal phenomenon is not caused by network problems, but by application problems. In this way, fault demarcation can be accurately realized.
值得注意的是,实际应用中,一个网络节点到另一个网络节点的逻辑链路往往可以由其它网络节点之间的逻辑链路组成,如图4所示,网络节点4至网络节点1的逻辑链路即是由网络节点4至网络节点2的逻辑链路和网络节点2至网络节点1的逻辑链路组成,此时可以将组成某个逻辑链路的其它逻辑链路称为这个逻辑链路的子链路。在此情况下,组成某个逻辑链路的子链路故障时,这个逻辑链路也将是故障的,所以为了避免对故障的重复检测,步骤304的操作不仅可以为:如果该逻辑链路的网络质量值小于网络质量阈值,则直接确定该逻辑链路为故障链路;如果该逻辑链路的网络质量值大于或等于网络质量阈值,则直接确定该逻辑链路不为故障链路。而且,步骤304的操作也可以为:如果该逻辑链路的网络质量值小于网络质量阈值,且如果组成该逻辑链路的子链路中不存在故障链路,则确定该逻辑链路为故障链路;如果该逻辑链路的网络质量值大于或等于网络质量阈值,和/或,如果组成该逻辑链路的子链路中存在故障链路,则确定该逻辑链路不为故障链路。如此,可以有效避免对故障链路的重复确定,进一步提高故障链路的检测准确度。It is worth noting that in practical applications, the logical link from one network node to another network node can often be composed of logical links between other network nodes. As shown in Figure 4, the logical link from network node 4 to network node 1 A link is composed of a logical link from network node 4 to network node 2 and a logical link from network node 2 to network node 1. At this time, other logical links that form a certain logical link can be called this logical link sub-links of the road. In this case, when the sub-links that make up a logical link fail, the logical link will also be faulty, so in order to avoid repeated detection of faults, the operation of step 304 can not only be: if the logical link If the network quality value of the logical link is less than the network quality threshold, it is directly determined that the logical link is a faulty link; if the network quality value of the logical link is greater than or equal to the network quality threshold, it is directly determined that the logical link is not a faulty link. Moreover, the operation of step 304 may also be: if the network quality value of the logical link is less than the network quality threshold, and if there is no faulty link in the sub-links forming the logical link, then determine that the logical link is faulty link; if the network quality value of the logical link is greater than or equal to the network quality threshold, and/or, if there is a faulty link in the sub-links that make up the logical link, then it is determined that the logical link is not a faulty link . In this way, repeated determination of the faulty link can be effectively avoided, and the detection accuracy of the faulty link can be further improved.
在本申请实施例中,确定第一网络测试点至第二网络测试点的逻辑链路对应的多条数据传输路径,第一网络测试点为网络内的多个网络测试点中的任一网络测试点,第二网络测试点为该多个网络测试点中除第一网络测试点之外的任一网络测试点,该多条数据传输路径为该多个网络测试点之间的数据传输路径中包括有该逻辑链路的数据传输路径。之后,获取该多条数据传输路径中每条数据传输路径的网络性能指标值,并根据该多条数据传输路径中每条数据传输路径的网络性能指标值,获取该逻辑链路的网络质量值。如果该逻辑链路的网络质量值小于网络质量阈值,则确定该逻辑链路为故障链路。如此,实现了对网络内的故障链路的准确检测,为故障定界提供了依据。In the embodiment of the present application, multiple data transmission paths corresponding to the logical link from the first network test point to the second network test point are determined, and the first network test point is any network among the multiple network test points in the network A test point, the second network test point is any network test point in the multiple network test points except the first network test point, and the multiple data transmission paths are data transmission paths between the multiple network test points Include the data transmission path of the logical link. After that, the network performance index value of each data transmission path in the multiple data transmission paths is obtained, and the network quality value of the logical link is obtained according to the network performance index value of each data transmission path in the multiple data transmission paths . If the network quality value of the logical link is less than the network quality threshold, it is determined that the logical link is a faulty link. In this way, accurate detection of faulty links in the network is realized, and a basis for fault demarcation is provided.
图6是本申请实施例提供的一种故障链路检测装置的结构示意图,该故障链路检测装置可以由软件、硬件或者两者的结合实现成为计算机设备的部分或者全部,该计算机设备可以为图2所示的计算机设备。参见图6,该装置包括第一确定模块601,第一获取模块602、第二获取模块603和第二确定模块604。Fig. 6 is a schematic structural diagram of a faulty link detection device provided by an embodiment of the present application. The faulty link detection device can be implemented by software, hardware or a combination of the two to become part or all of computer equipment. The computer equipment can be The computer equipment shown in Figure 2. Referring to FIG. 6 , the device includes a first determination module 601 , a first acquisition module 602 , a second acquisition module 603 and a second determination module 604 .
第一确定模块601,用于执行上述图3实施例中的步骤301;The first determination module 601 is configured to execute step 301 in the above-mentioned embodiment in FIG. 3 ;
第一获取模块602,用于执行上述图3实施例中的步骤302;The first acquiring module 602 is configured to execute step 302 in the above-mentioned embodiment in FIG. 3 ;
第二获取模块603,用于执行上述图3实施例中的步骤303;The second acquiring module 603 is configured to execute step 303 in the above-mentioned embodiment in FIG. 3 ;
第二确定模块604,用于执行上述图3实施例中的步骤304。The second determining module 604 is configured to execute step 304 in the above embodiment in FIG. 3 .
可选地,网络的网络拓扑结构为树型结构,多个网络测试点均为网络节点,多条数据传输路径均经过逻辑链路;或者,网络的网络拓扑结构为星型结构,多个网络测试点均为网络区域,多条数据传输路径为位于第一网络测试点内的多个指定网络节点至位于第二网络测试点内的多个指定网络节点的数据传输路径。Optionally, the network topology of the network is a tree structure, multiple network test points are network nodes, and multiple data transmission paths pass through logical links; or, the network topology of the network is a star structure, and multiple networks The test points are all network areas, and the multiple data transmission paths are data transmission paths from multiple specified network nodes located in the first network test point to multiple specified network nodes located in the second network test point.
可选地,网络性能指标值包括网络层的性能指标值和传输层的性能指标值。Optionally, the network performance index value includes a network layer performance index value and a transport layer performance index value.
可选地,网络层的性能指标值包括使用ICMP传输数据包时的传输时延、时延抖动和丢包率,传输层的性能指标值包括使用TCP传输数据报文时的传输速率和使用UDP传输数据报文时的传输速率。Optionally, the performance index value of the network layer includes transmission delay, delay jitter and packet loss rate when using ICMP to transmit data packets, and the performance index value of the transport layer includes transmission rate when using TCP to transmit data packets and using UDP The transmission rate when transmitting datagrams.
可选地,参见图7,第二获取模块603包括:Optionally, referring to FIG. 7, the second obtaining module 603 includes:
获取单元6031,用于根据目标数据传输路径的网络性能指标值,获取目标数据传输路径的网络质量值,目标数据传输路径为多条数据传输路径中的任意一条数据传输路径;The acquiring unit 6031 is configured to acquire the network quality value of the target data transmission path according to the network performance index value of the target data transmission path, where the target data transmission path is any one of the multiple data transmission paths;
确定单元6032,用于将多条数据传输路径的网络质量值的算数平均值确定为逻辑链路的网络质量值。A determining unit 6032, configured to determine the arithmetic mean value of the network quality values of multiple data transmission paths as the network quality value of the logical link.
可选地,参见图8,获取单元6031包括:Optionally, referring to FIG. 8, the obtaining unit 6031 includes:
第一获取子单元60311,用于获取目标数据传输路径的历史网络性能指标值;The first acquisition subunit 60311 is configured to acquire the historical network performance index value of the target data transmission path;
第二获取子单元60312,用于根据目标数据传输路径的网络性能指标值和目标数据传输路径的历史网络性能指标值,获取目标数据传输路径的第一质量值;The second acquiring subunit 60312 is configured to acquire the first quality value of the target data transmission path according to the network performance index value of the target data transmission path and the historical network performance index value of the target data transmission path;
第三获取子单元60313,用于根据目标数据传输路径的网络性能指标值和网络性能指标阈值,获取目标数据传输路径的第二质量值;The third acquiring subunit 60313 is configured to acquire the second quality value of the target data transmission path according to the network performance index value and the network performance index threshold of the target data transmission path;
第一确定子单元60314,用于将目标数据传输路径的第一质量值与第二质量值的算数平均值确定为目标数据传输路径的第三质量值;The first determination subunit 60314 is configured to determine the arithmetic mean value of the first quality value and the second quality value of the target data transmission path as the third quality value of the target data transmission path;
第二确定子单元60315,用于根据目标数据传输路径的第三质量值,确定目标数据传输路径的网络质量值。The second determining subunit 60315 is configured to determine the network quality value of the target data transmission path according to the third quality value of the target data transmission path.
可选地,第二确定模块604用于:Optionally, the second determining module 604 is used for:
如果逻辑链路的网络质量值小于网络质量阈值,且如果组成逻辑链路的子链路中不存在故障链路,则确定逻辑链路为故障链路;If the network quality value of the logical link is less than the network quality threshold, and if there is no faulty link in the sub-links forming the logical link, then determine that the logical link is a faulty link;
相应地,参见图9,该装置还包括:Correspondingly, referring to Fig. 9, the device also includes:
第三确定模块605,用于如果逻辑链路的网络质量值大于或等于网络质量阈值,和/或,如果组成逻辑链路的子链路中存在故障链路,则确定逻辑链路不为故障链路。The third determining module 605 is configured to determine that the logical link is not a fault if the network quality value of the logical link is greater than or equal to the network quality threshold, and/or, if there is a faulty link in the sub-links forming the logical link link.
在本申请实施例中,确定第一网络测试点至第二网络测试点的逻辑链路对应的多条数据传输路径,第一网络测试点为网络内的多个网络测试点中的任一网络测试点,第二网络测试点为该多个网络测试点中除第一网络测试点之外的任一网络测试点,该多条数据传输路径为该多个网络测试点之间的数据传输路径中包括有该逻辑链路的数据传输路径。之后,获取该多条数据传输路径中每条数据传输路径的网络性能指标值,并根据该多条数据传输路径中每条数据传输路径的网络性能指标值,获取该逻辑链路的网络质量值。如果该逻辑链路的网络质量值小于网络质量阈值,则确定该逻辑链路为故障链路。如此,实现了对网络内的故障链路的准确检测,为故障定界提供了依据。In the embodiment of the present application, multiple data transmission paths corresponding to the logical link from the first network test point to the second network test point are determined, and the first network test point is any network among the multiple network test points in the network A test point, the second network test point is any network test point in the multiple network test points except the first network test point, and the multiple data transmission paths are data transmission paths between the multiple network test points Include the data transmission path of the logical link. After that, the network performance index value of each data transmission path in the multiple data transmission paths is obtained, and the network quality value of the logical link is obtained according to the network performance index value of each data transmission path in the multiple data transmission paths . If the network quality value of the logical link is less than the network quality threshold, it is determined that the logical link is a faulty link. In this way, accurate detection of faulty links in the network is realized, and a basis for fault demarcation is provided.
需要说明的是:上述实施例提供的故障链路检测装置在故障链路检测时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的故障链路检测装置与故障链路检测方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: the faulty link detection device provided in the above embodiment only uses the division of the above-mentioned functional modules as an example for the faulty link detection. In practical applications, the above-mentioned functions can be assigned to different functional modules as required Module completion means that the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the faulty link detection device and the faulty link detection method embodiment provided by the above embodiment belong to the same idea, and the specific implementation process thereof is detailed in the method embodiment, and will not be repeated here.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意结合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如:同轴电缆、光纤、数据用户线(Digital Subscriber Line,DSL))或无线(例如:红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如:软盘、硬盘、磁带)、光介质(例如:数字通用光盘(Digital Versatile Disc,DVD))、或者半导体介质(例如:固态硬盘(Solid State Disk,SSD))等。In the above embodiments, all or part may be implemented by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server or data center Transmission to another website site, computer, server or data center via wired (eg coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wireless (eg infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media. The available medium may be a magnetic medium (for example: floppy disk, hard disk, magnetic tape), an optical medium (for example: Digital Versatile Disc (Digital Versatile Disc, DVD)), or a semiconductor medium (for example: Solid State Disk (Solid State Disk, SSD) )Wait.
以上所述为本申请提供的实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above-mentioned embodiments provided by the application are not intended to limit the application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the application shall be included in the protection scope of the application. Inside.
Claims (15)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810494360.XA CN108833202B (en) | 2018-05-22 | 2018-05-22 | Faulty link detection method, apparatus and computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810494360.XA CN108833202B (en) | 2018-05-22 | 2018-05-22 | Faulty link detection method, apparatus and computer-readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108833202A true CN108833202A (en) | 2018-11-16 |
CN108833202B CN108833202B (en) | 2021-02-09 |
Family
ID=64147227
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810494360.XA Active CN108833202B (en) | 2018-05-22 | 2018-05-22 | Faulty link detection method, apparatus and computer-readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108833202B (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109802855A (en) * | 2018-12-28 | 2019-05-24 | 华为技术有限公司 | A kind of Fault Locating Method and device |
CN110120887A (en) * | 2019-04-25 | 2019-08-13 | 新华三技术有限公司合肥分公司 | A kind of network quality information monitoring method, electronic equipment and storage medium |
CN110224883A (en) * | 2019-05-29 | 2019-09-10 | 中南大学 | A kind of Grey Fault Diagnosis method applied to telecommunications bearer network |
CN110311812A (en) * | 2019-06-24 | 2019-10-08 | 深圳市腾讯计算机系统有限公司 | A kind of network analysis method, device and storage medium |
CN110475161A (en) * | 2019-08-28 | 2019-11-19 | 飞思达技术(北京)有限公司 | A kind of the fault automatic location method and its system of IPTV service live streaming link |
CN111382040A (en) * | 2018-12-29 | 2020-07-07 | 中兴通讯股份有限公司 | Network performance testing method and device |
WO2020200031A1 (en) * | 2019-04-04 | 2020-10-08 | 华为技术有限公司 | Method and device for monitoring link fault |
CN112468336A (en) * | 2020-11-20 | 2021-03-09 | 中国建设银行股份有限公司 | Network quality monitoring and early warning method, device, terminal and storage medium |
CN112953736A (en) * | 2019-11-26 | 2021-06-11 | 中盈优创资讯科技有限公司 | Equipment monitoring and alarming method and device based on network connectivity test |
CN112994947A (en) * | 2021-03-30 | 2021-06-18 | 建信金融科技有限责任公司 | Network operation and maintenance method, device, storage medium and electronic equipment |
CN113365310A (en) * | 2021-05-31 | 2021-09-07 | 浙江大华技术股份有限公司 | Data transmission method and device, storage medium and electronic device |
CN113408139A (en) * | 2021-06-30 | 2021-09-17 | 中国南方电网有限责任公司 | Power communication network path control simulation verification method, device, equipment and medium |
CN114531370A (en) * | 2022-02-17 | 2022-05-24 | 湖南快乐阳光互动娱乐传媒有限公司 | Network testing method, device and equipment |
CN115361305A (en) * | 2022-07-22 | 2022-11-18 | 鹏城实验室 | Network monitoring method, system, terminal and storage medium |
CN115811483A (en) * | 2022-11-21 | 2023-03-17 | 深圳市光网视科技有限公司 | A network status monitoring method, device, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1400774A (en) * | 2002-08-22 | 2003-03-05 | 陈鸣 | Interconnection network end-to-end performance monitoring method and its system |
CN101800679A (en) * | 2010-03-10 | 2010-08-11 | 华为技术有限公司 | Message packet loss detection method and system |
US8326969B1 (en) * | 2006-06-28 | 2012-12-04 | Emc Corporation | Method and apparatus for providing scalability in resource management and analysis system- three way split architecture |
CN105656662A (en) * | 2014-12-08 | 2016-06-08 | 华为技术有限公司 | Fault locating method and apparatus |
-
2018
- 2018-05-22 CN CN201810494360.XA patent/CN108833202B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1400774A (en) * | 2002-08-22 | 2003-03-05 | 陈鸣 | Interconnection network end-to-end performance monitoring method and its system |
US8326969B1 (en) * | 2006-06-28 | 2012-12-04 | Emc Corporation | Method and apparatus for providing scalability in resource management and analysis system- three way split architecture |
CN101800679A (en) * | 2010-03-10 | 2010-08-11 | 华为技术有限公司 | Message packet loss detection method and system |
CN105656662A (en) * | 2014-12-08 | 2016-06-08 | 华为技术有限公司 | Fault locating method and apparatus |
Cited By (25)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109802855A (en) * | 2018-12-28 | 2019-05-24 | 华为技术有限公司 | A kind of Fault Locating Method and device |
CN109802855B (en) * | 2018-12-28 | 2020-08-07 | 华为技术有限公司 | A fault location method and device |
CN111382040A (en) * | 2018-12-29 | 2020-07-07 | 中兴通讯股份有限公司 | Network performance testing method and device |
US11968077B2 (en) | 2019-04-04 | 2024-04-23 | Huawei Technologies Co., Ltd. | Link fault monitoring method and apparatus |
WO2020200031A1 (en) * | 2019-04-04 | 2020-10-08 | 华为技术有限公司 | Method and device for monitoring link fault |
CN110120887A (en) * | 2019-04-25 | 2019-08-13 | 新华三技术有限公司合肥分公司 | A kind of network quality information monitoring method, electronic equipment and storage medium |
CN110120887B (en) * | 2019-04-25 | 2022-02-11 | 新华三技术有限公司合肥分公司 | Network quality information monitoring method, electronic equipment and storage medium |
CN110224883A (en) * | 2019-05-29 | 2019-09-10 | 中南大学 | A kind of Grey Fault Diagnosis method applied to telecommunications bearer network |
CN110224883B (en) * | 2019-05-29 | 2020-11-27 | 中南大学 | A Grey Fault Diagnosis Method Applied in Telecom Bearer Network |
CN110311812A (en) * | 2019-06-24 | 2019-10-08 | 深圳市腾讯计算机系统有限公司 | A kind of network analysis method, device and storage medium |
CN110311812B (en) * | 2019-06-24 | 2023-01-24 | 深圳市腾讯计算机系统有限公司 | Network analysis method, device and storage medium |
CN110475161B (en) * | 2019-08-28 | 2021-03-09 | 飞思达技术(北京)有限公司 | Automatic fault positioning method and system for IPTV service live link |
CN110475161A (en) * | 2019-08-28 | 2019-11-19 | 飞思达技术(北京)有限公司 | A kind of the fault automatic location method and its system of IPTV service live streaming link |
CN112953736A (en) * | 2019-11-26 | 2021-06-11 | 中盈优创资讯科技有限公司 | Equipment monitoring and alarming method and device based on network connectivity test |
CN112468336B (en) * | 2020-11-20 | 2022-11-25 | 中国建设银行股份有限公司 | Network quality monitoring and early warning method, device, terminal and storage medium |
CN112468336A (en) * | 2020-11-20 | 2021-03-09 | 中国建设银行股份有限公司 | Network quality monitoring and early warning method, device, terminal and storage medium |
CN112994947A (en) * | 2021-03-30 | 2021-06-18 | 建信金融科技有限责任公司 | Network operation and maintenance method, device, storage medium and electronic equipment |
CN113365310A (en) * | 2021-05-31 | 2021-09-07 | 浙江大华技术股份有限公司 | Data transmission method and device, storage medium and electronic device |
CN113408139A (en) * | 2021-06-30 | 2021-09-17 | 中国南方电网有限责任公司 | Power communication network path control simulation verification method, device, equipment and medium |
CN114531370A (en) * | 2022-02-17 | 2022-05-24 | 湖南快乐阳光互动娱乐传媒有限公司 | Network testing method, device and equipment |
CN114531370B (en) * | 2022-02-17 | 2024-08-30 | 湖南快乐阳光互动娱乐传媒有限公司 | Network testing method, device and equipment |
CN115361305A (en) * | 2022-07-22 | 2022-11-18 | 鹏城实验室 | Network monitoring method, system, terminal and storage medium |
CN115361305B (en) * | 2022-07-22 | 2023-09-26 | 鹏城实验室 | Network monitoring method, system, terminal and storage medium |
CN115811483A (en) * | 2022-11-21 | 2023-03-17 | 深圳市光网视科技有限公司 | A network status monitoring method, device, electronic equipment and storage medium |
CN115811483B (en) * | 2022-11-21 | 2024-12-31 | 深圳市光网视科技有限公司 | Network state monitoring method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108833202B (en) | 2021-02-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108833202B (en) | Faulty link detection method, apparatus and computer-readable storage medium | |
US11641319B2 (en) | Network health data aggregation service | |
US20210119890A1 (en) | Visualization of network health information | |
US10243820B2 (en) | Filtering network health information based on customer impact | |
US10911263B2 (en) | Programmatic interfaces for network health information | |
WO2016192408A1 (en) | Fault detection method and apparatus for node in cluster system | |
CN103888304B (en) | Anomaly detection method and related device for multi-node application | |
CN112532408B (en) | Method, device and storage medium for extracting fault propagation condition | |
KR102397346B1 (en) | Methods, devices and systems for monitoring data traffic | |
EP3232620B1 (en) | Data center based fault analysis method and device | |
CN107094086A (en) | A kind of information acquisition method and device | |
US10715608B2 (en) | Automatic server cluster discovery | |
CN109361547A (en) | Method and device for network slice link deployment | |
CN111740903B (en) | A data transmission method and device | |
EP4270183A1 (en) | Public cloud tenant service management method and device | |
CN114070752B (en) | Test method, test device, electronic equipment and computer readable storage medium | |
CN116055496B (en) | Monitoring data acquisition method and device, electronic equipment and storage medium | |
CN113595894B (en) | Communication method, device, equipment and medium between service nodes and client nodes | |
CN116962395A (en) | Cloud node determining method, device, equipment and computer readable storage medium | |
CN113783751A (en) | Method, electronic device and medium for detecting user broadband quality | |
CN108270605A (en) | The determining method, apparatus and equipment of a kind of important network element | |
CN106911815A (en) | Information processing method, expansion method, manager, controller and DNS | |
Horvat et al. | Real-time WSN communication for access control applications | |
CN113452609B (en) | A service path selection method and device | |
WO2022160916A1 (en) | Data processing method, apparatus and system, and storage medium |
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 |