Link quality monitoring method and device, server and storage medium

By determining the device information of the link to be monitored and obtaining the message transmission rate of the virtual link interface in the SDWAN network, the problem of low link quality monitoring efficiency in traditional technology is solved, and the effect of rapid monitoring and positioning of faults is achieved, and the operation and maintenance efficiency is improved.

CN119521290APending Publication Date: 2025-02-25CHINA TELECOM CLOUD TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411719671.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-28
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

In SDWAN networking, traditional technology is difficult to quickly confirm the abnormal link quality of the overlay link, resulting in low link quality monitoring efficiency.

Method used

By determining the device information of the link to be monitored based on the networking information, obtaining the message transmission rate of the virtual link interface corresponding to the node device, and calculating the bandwidth quality monitoring result based on the rate, quickly locate the link where packet loss occurs and generate alarm information.

Benefits of technology

It improves the efficiency of link quality monitoring, can quickly obtain the bandwidth quality monitoring results of the link to be monitored, timely locate the fault location and send alarm information, improving network operation and maintenance efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119521290A_ABST
    Figure CN119521290A_ABST
Patent Text Reader

Abstract

The invention relates to a link quality monitoring method and device, a server and a storage medium. The method comprises the following steps: determining equipment information of a link to be monitored according to networking information; the equipment information comprises information of node equipment in the link to be monitored and information of a virtual link interface corresponding to the node equipment; based on the device information, obtaining a message transmission rate of a virtual link interface corresponding to the node device in a preset time period; and obtaining a bandwidth quality monitoring result of the to-be-monitored link according to the message transmission rate. By adopting the method, the monitoring efficiency of the link quality can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of wireless communication technology, and in particular to a link quality monitoring method, device, server and storage medium. Background Art

[0002] With the development of wireless communication technology, software-defined wide area network (SDWAN) has emerged. SDWAN can deploy customer premise equipment (CPE) on the customer's multi-location network access side. CPE forms a virtual overlay link with the edge access gateway (POP). POPs form cross-regional virtual overlay interconnection links according to customer needs to achieve interconnection between customers' multi-branch / cross-regional networks. However, in actual use, the overlay link bandwidth may not meet the standard. Therefore, it is necessary to monitor the link quality of the overlay link.

[0003] However, since SDWAN networking involves multiple links, when the link quality of the overlay link is abnormal, it is impossible to quickly identify the link segment where the packet loss occurs. It is necessary to check the flow section by section to confirm the fault location. Therefore, the traditional technology has the problem of low efficiency in monitoring link quality. Summary of the invention

[0004] Based on this, it is necessary to provide a link quality monitoring method, device, server and storage medium that can improve the monitoring efficiency of link quality in response to the above technical problems.

[0005] In a first aspect, the present application provides a link quality monitoring method, comprising:

[0006] Determine the device information of the link to be monitored according to the networking information; the device information includes the information of the node device in the link to be monitored and the information of the virtual link interface corresponding to the node device;

[0007] Based on the device information, obtaining a message transmission rate of the virtual link interface corresponding to the node device within a preset time period;

[0008] According to the message transmission rate, a bandwidth quality monitoring result of the link to be monitored is obtained.

[0009] In one of the embodiments, obtaining the bandwidth quality monitoring result of the link to be monitored according to the message transmission rate includes:

[0010] According to the message transmission rate, determining the message sending rate of the sending port and the message receiving rate of the receiving port of the link to be monitored within the preset time period;

[0011] A bandwidth quality monitoring result of the link to be monitored is obtained according to the message sending rate and the message receiving rate.

[0012] In one of the embodiments, obtaining the bandwidth quality monitoring result of the link to be monitored according to the message sending rate and the message receiving rate includes:

[0013] Acquire a bandwidth quality value of the link to be monitored according to the message sending rate and the message receiving rate;

[0014] If the bandwidth quality value is less than a preset threshold, the bandwidth quality monitoring result is determined to be abnormal.

[0015] In one of the embodiments, obtaining the bandwidth quality value of the link to be monitored according to the message sending rate and the message receiving rate includes:

[0016] Obtaining a difference between the message sending rate and the message receiving rate;

[0017] The bandwidth quality value is determined according to a ratio of the difference to the message sending rate.

[0018] In one of the embodiments, obtaining the message transmission rate of the virtual link interface corresponding to the node device within a preset time period includes:

[0019] Sending a monitoring instruction to the node device; the monitoring instruction is used to instruct the node device to collect the message transmission rate of the virtual link interface corresponding to the node device;

[0020] According to the message transmission rate of the corresponding virtual link interface reported by the node device, the message transmission rate of the virtual link interface corresponding to the node device within the preset time period is determined.

[0021] In one embodiment, the method further comprises:

[0022] When it is determined that the bandwidth quality monitoring result of the link to be monitored is abnormal, generating an alarm message;

[0023] The alarm information is sent to the terminal corresponding to the alarm object according to the preset alarm method.

[0024] In a second aspect, the present application also provides a link quality monitoring device, including:

[0025] A determination module, used to determine the device information of the link to be monitored according to the networking information; the device information includes the information of the node device in the link to be monitored and the information of the virtual link interface corresponding to the node device;

[0026] An acquisition module, used to acquire the message transmission rate of the virtual link interface corresponding to the node device within a preset time period;

[0027] The monitoring module is used to obtain the bandwidth quality monitoring result of the link to be monitored according to the message transmission rate.

[0028] In a third aspect, the present application further provides a server, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0029] Determine the device information of the link to be monitored according to the networking information; the device information includes the information of the node device in the link to be monitored and the information of the virtual link interface corresponding to the node device;

[0030] Based on the device information, obtaining a message transmission rate of the virtual link interface corresponding to the node device within a preset time period;

[0031] According to the message transmission rate, a bandwidth quality monitoring result of the link to be monitored is obtained.

[0032] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:

[0033] Determine the device information of the link to be monitored according to the networking information; the device information includes the information of the node device in the link to be monitored and the information of the virtual link interface corresponding to the node device;

[0034] Based on the device information, obtaining a message transmission rate of the virtual link interface corresponding to the node device within a preset time period;

[0035] According to the message transmission rate, a bandwidth quality monitoring result of the link to be monitored is obtained.

[0036] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:

[0037] Determine the device information of the link to be monitored according to the networking information; the device information includes the information of the node device in the link to be monitored and the information of the virtual link interface corresponding to the node device;

[0038] Based on the device information, obtaining a message transmission rate of the virtual link interface corresponding to the node device within a preset time period;

[0039] According to the message transmission rate, a bandwidth quality monitoring result of the link to be monitored is obtained.

[0040] The above-mentioned link quality monitoring method, device, server and storage medium can determine the device information of the link to be monitored according to the networking information, wherein the device information of the link to be monitored includes the information of the node device in the link to be monitored and the information of the virtual link interface corresponding to the node device, so that based on the device information of the link to be monitored, the message transmission rate of the virtual link interface corresponding to the node device in the link to be monitored within a preset time period can be obtained, and the bandwidth quality of the link to be monitored is monitored according to the message transmission rate of the virtual link interface, without introducing an additional interactive process to obtain the bandwidth information of the link to be monitored and monitor the bandwidth quality, and the bandwidth quality monitoring result of the link to be monitored can be quickly obtained, thereby improving the monitoring efficiency of the link quality; in addition, based on the bandwidth quality monitoring result of the link to be monitored, the link where the packet loss occurs can be quickly located, so that the relevant alarm information can be sent to the operation and maintenance personnel in time, so that the operation and maintenance personnel can obtain the link fault location in time for troubleshooting and recovery, thereby improving the networking operation and maintenance efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0042] FIG1 is a schematic diagram of a SDWAN networking scenario in the same region according to an embodiment;

[0043] FIG2 is a schematic diagram of a cross-regional SDWAN networking scenario in one embodiment;

[0044] FIG3 is a diagram of an application environment of a link quality monitoring method in one embodiment;

[0045] FIG4 is a schematic diagram of a flow chart of a link quality monitoring method in one embodiment;

[0046] FIG5 is a schematic diagram of a cross-regional SDWAN networking scenario in another embodiment;

[0047] FIG6 is a schematic diagram of a flow chart of a link quality monitoring method in another embodiment;

[0048] FIG7 is a schematic flow chart of a link quality monitoring method in another embodiment;

[0049] FIG8 is a schematic flow chart of a link quality monitoring method in another embodiment;

[0050] FIG9 is a block diagram of a link quality monitoring device in one embodiment;

[0051] FIG10 is a block diagram of a link quality monitoring device in another embodiment;

[0052] FIG11 is a block diagram of a link quality monitoring device in another embodiment;

[0053] FIG12 is a block diagram of a link quality monitoring device in another embodiment;

[0054] FIG. 13 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0055] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0056] The link bandwidth quality monitoring method provided in the embodiment of the present application can be applied to the same-region software-defined wide area network (SDWAN) networking scenario as shown in Figure 1, or can also be applied to the cross-region SDWAN networking scenario as shown in Figure 2. Figure 1 is a same-region branch interconnection scenario, where two branch networks at the site are connected to the edge gateway (POP) of the local domain through the customer premise equipment (Customer Premise Equipment, CPE), and interconnection is achieved through POP forwarding. When the CPE accesses the POP, virtual IPsec interfaces will be established on the CPE and POP respectively. The two interfaces form an overlay link through IPsec negotiation. The traffic accessing the CPE is encrypted through the IPsec port and forwarded to the POP through the overlay link. The traffic received by the POP will also be encrypted through the corresponding IPsec port and forwarded to the corresponding CPE through the overlay link. Figure 2 shows a cross-regional branch interconnection scenario, where sites in different regions are connected to the edge gateway POP in their respective regions through CPEs, and the link in the CPE-POP segment is also an IPsec virtual link; the POPs in the two locations mainly form an overlay link by creating a vxlan tunnel to achieve cross-regional traffic forwarding. When the traffic is from A to B, it is first encrypted by the CPE device in A and then transmitted to the POP in A. The POP in A sends the traffic to the POP in B through a vxlan tunnel, and then the POP in B encrypts the traffic and transmits it to the CPE in B through IPsec, and then forwards it to the corresponding target address in B, achieving cross-regional traffic interconnection between A and B. In addition, it should be noted that the link bandwidth quality monitoring method provided in the embodiment of the present application is not only applicable to SDWAN networking, but also to other cloud network overlay networking scenarios, such as cross-cloud resource pool networking. FIG3 is an application environment diagram of link bandwidth quality monitoring provided by an embodiment of the present application. In this application environment, the control and alarm platform can be implemented through a server or a server cluster. The monitoring component is composed of monitoring devices on node devices in the network. Each monitoring device can be deployed on each node device in the network, such as CPE and POP, etc. The main function is to monitor and count the sending and receiving message rates of the corresponding interfaces of the networking overlay links in real time, and transmit them to the control and alarm platform. The control and alarm platform is the core component of the system, and its main functions include three points: first, configure the networking information and alarm conditions that need to be monitored and analyze the configuration information, and send the overlay link interface information that needs to be monitored in real time to the monitoring devices of the CPE and POP devices; second, analyze the monitoring data transmitted by the configured monitoring device to obtain the bandwidth quality of each link segment; third, determine whether to send alarm information to the alarm recipient based on the configured monitoring conditions and the current bandwidth quality of each link segment.

[0057] In an exemplary embodiment, as shown in FIG4 , a link quality monitoring method is provided, which is described by taking the method applied to the management and control alarm platform in FIG3 as an example, including:

[0058] S201, determining device information of a link to be monitored according to networking information; the device information includes information of node devices in the link to be monitored and information of virtual link interfaces corresponding to the node devices.

[0059] First, it should be noted that the networking in this embodiment can be SDWAN networking, or other cloud network overlay networking, etc. This embodiment does not limit the networking type of the application. Optionally, in this embodiment, the networking information can be parsed to analyze the node devices and related virtual link interfaces involved in the networking. For example, when the networking is SDWAN networking, the networking may involve CPE devices, POP devices, virtual link interfaces on CPE devices, and virtual link interfaces on POP devices. When the networking is overlay networking, the networking may involve cloud hosts and virtual link interfaces on cloud hosts. Further, after determining the node devices involved in the networking, the control and alarm platform can send monitoring instructions to the node devices in the networking, and the monitoring instructions may include the virtual link interface information corresponding to each node device. The monitoring instructions can be used to instruct each node device in the networking to monitor the message transmission rate of the corresponding virtual link interface, and upload the collected message transmission rate of the corresponding virtual link interface to the control and alarm platform according to the preset time interval.

[0060] Optionally, in this embodiment, the virtual links included in the networking can be determined based on the node devices involved in the networking, the connection relationship between the node devices, and the flow direction of the message, and then the link to be monitored can be determined from the virtual links included in the networking. Further, the device information of the link to be monitored can be determined based on the networking information, that is, the information of the node devices included in the link to be monitored and the information of the virtual link interface corresponding to the node devices can be determined.

[0061] S202: Based on the device information, obtain a message transmission rate of a virtual link interface corresponding to the node device within a preset time period.

[0062] Optionally, in this embodiment, after determining the node devices in the link to be monitored and the virtual link interface information corresponding to the node devices, the message transmission rates of the corresponding virtual link interfaces collected by the node devices in the link to be monitored within the preset time period can be accumulated and counted to obtain the message transmission rate of the virtual link interface corresponding to the node devices within the preset time period. Exemplarily, assuming that the networking in this embodiment is the cross-regional networking shown in FIG5, the node devices involved in the networking are CPE1, POP1, CPE2, and POP2, and the virtual link interfaces involved are ipsec100 on CPE1, ipsec100 and vxlan100 on POP1, vxlan100 and ipsec100 on POP2, and ipsec100 on CPE2. Taking the link to be monitored as the CPE1-POP1 link as an example, it is necessary to obtain the message transmission rate of the ipsec100 interface of CPE1 within the preset time period, and the message transmission rate of the ipsec100 interface of POP1.

[0063] S203: Obtain a bandwidth quality monitoring result of the link to be monitored according to the message transmission rate.

[0064] Optionally, in this embodiment, the message transmission rate of the virtual link interface corresponding to the node device in the link to be monitored can be compared with a preset threshold. If the message transmission rate of the virtual link interface corresponding to each node device in the link to be monitored is greater than or equal to the preset threshold, the bandwidth quality monitoring result of the link to be monitored is determined to be normal; if the message transmission rate of the virtual link interface corresponding to a node device in the link to be monitored is less than the preset threshold, the bandwidth quality monitoring result of the link to be monitored is determined to be abnormal.

[0065] In the above-mentioned link quality monitoring method, since the device information of the link to be monitored can be determined according to the networking information, wherein the device information of the link to be monitored includes the information of the node device in the link to be monitored and the information of the virtual link interface corresponding to the node device, the message transmission rate of the virtual link interface corresponding to the node device in the link to be monitored within a preset time period can be obtained based on the device information of the link to be monitored, and the bandwidth quality of the link to be monitored is monitored according to the message transmission rate of the virtual link interface. There is no need to introduce an additional interactive process to obtain the bandwidth information of the link to be monitored and monitor the bandwidth quality. The bandwidth quality monitoring result of the link to be monitored can be quickly obtained, thereby improving the monitoring efficiency of the link quality. In addition, based on the bandwidth quality monitoring result of the link to be monitored, the link where the packet loss occurs can be quickly located, so that relevant alarm information can be sent to the operation and maintenance personnel in time, so that the operation and maintenance personnel can obtain the link fault location in time for troubleshooting and recovery, thereby improving the networking operation and maintenance efficiency.

[0066] In this embodiment, the detailed process of obtaining the bandwidth quality monitoring result of the link to be monitored according to the message transmission rate of the virtual link interface corresponding to the node device is explained. In an exemplary embodiment, as shown in FIG6 , the above S203 includes:

[0067] S301, determining a message sending rate of a sending port and a message receiving rate of a receiving port of a link to be monitored within a preset time period according to a message transmission rate.

[0068] In this embodiment, the sending port and receiving port in the link to be monitored can be determined based on the device information of the link to be monitored, and then the message sending rate of the sending port and the message receiving rate of the receiving port of the link to be monitored within the preset time period can be determined according to the message transmission rate of the virtual link interface corresponding to the node device of the link to be monitored. Continuing to use the networking example in the above-mentioned Figure 5 as an example for explanation, taking the link to be monitored as the CPE1-POP1 link as an example, the sending port is the virtual link interface on CPE1, and the receiving port is the virtual link interface on POP1. The message sending rate can be obtained by obtaining the message transmission rate of the virtual link interface on CPE1, and the message receiving rate can be obtained by obtaining the message transmission rate of the virtual link interface on POP1.

[0069] S302: Obtain a bandwidth quality monitoring result of the link to be monitored according to a message sending rate and a message receiving rate.

[0070] Optionally, in this embodiment, the ratio of the message receiving rate to the message sending rate can be obtained, and the ratio of the message sending rate to the message receiving rate can be compared with a preset threshold to obtain the bandwidth quality monitoring result of the link to be monitored. For example, if the ratio of the message receiving rate to the message sending rate is less than 1, it can be determined that the bandwidth quality monitoring result of the link to be monitored is abnormal.

[0071] In this embodiment, according to the message transmission rate of the virtual link interface corresponding to the node device of the link to be monitored, the message sending rate of the sending port and the message receiving rate of the receiving port of the link to be monitored within a preset time period can be quickly determined, so that the bandwidth quality monitoring result of the link to be monitored can be quickly obtained according to the message sending rate and the message receiving rate, thereby ensuring the efficiency of obtaining the bandwidth quality monitoring result of the link to be monitored and being able to monitor the bandwidth quality of the link to be monitored in a timely manner.

[0072] In some scenarios, the bandwidth quality monitoring result of the link to be monitored can be obtained by obtaining the bandwidth quality value of the link to be monitored. In one embodiment, as shown in FIG7 , the above S302 includes:

[0073] S401: Obtain a bandwidth quality value of a link to be monitored according to a message sending rate and a message receiving rate.

[0074] Optionally, in this embodiment, the ratio of the message receiving rate to the message sending rate can be determined as the bandwidth quality value of the link to be monitored. Alternatively, the difference between the message sending rate and the message receiving rate can be obtained, and the bandwidth quality value of the link to be monitored can be determined based on the difference and the ratio of the message sending rate. For example, the absolute value of the difference and the ratio of the message sending rate can be determined as the bandwidth quality value of the link to be monitored. For example, assuming that the message sending rate of the sending port of the link to be monitored within a preset time period is , the message receiving rate of the receiving port is , the bandwidth quality value of the link to be monitored is , then according to the formula Determine the bandwidth quality value of the link to be monitored.

[0075] S402: If the bandwidth quality value is less than a preset threshold, determine that the bandwidth quality monitoring result is abnormal.

[0076] Optionally, in this embodiment, the bandwidth quality value of the link to be monitored can be compared with a preset threshold value. If the bandwidth quality value is less than the preset threshold value, it means that there may be packet loss in the link to be monitored and the bandwidth quality is reduced, and the bandwidth quality monitoring result of the link to be monitored can be determined to be abnormal; on the contrary, if the bandwidth quality is greater than or equal to the preset threshold value, it means that the bandwidth quality of the link to be monitored is normal, and the bandwidth quality monitoring result of the link to be monitored can be determined to be normal. As an optional implementation method, when it is determined that the bandwidth quality monitoring result of the link to be monitored is abnormal, an alarm message can be generated, and the alarm message can be sent to the terminal corresponding to the alarm object in accordance with a preset alarm method, such as SMS, email, etc., wherein the alarm object can be an operation and maintenance personnel who repairs the networked link, so that the operation and maintenance personnel can obtain the link fault location in time and conduct troubleshooting and recovery, thereby improving the operation and maintenance efficiency of the network. It can be understood that the preset threshold in this embodiment can be an empirical value determined by the control and alarm platform based on historical data; or, the preset threshold can also be determined by the control and alarm platform based on the message transmission rate of the virtual link interface corresponding to the node device of the link to be monitored. For example, the average value of the message transmission rate of the virtual link interface corresponding to all node devices of the link to be monitored can be determined as the preset threshold, or the difference between the maximum and minimum values ​​of the message transmission rate of the virtual link interface corresponding to the node device of the link to be detected can be determined as the preset threshold. This embodiment does not limit the method for determining the preset threshold.

[0077] In this embodiment, the process of obtaining the bandwidth quality value of the link to be monitored based on the message sending rate and the message receiving rate of the link to be monitored is relatively simple, and the bandwidth quality value of the link to be monitored can be quickly obtained. Therefore, when the bandwidth quality value of the link to be monitored is less than a preset threshold, it can be quickly determined that the bandwidth quality monitoring result of the link to be monitored is abnormal, thereby improving the efficiency of determining the bandwidth quality monitoring result of the link to be monitored.

[0078] In this embodiment, the specific process of obtaining the message transmission rate of the virtual link interface corresponding to the node device within the preset time period is explained. In one embodiment, as shown in FIG8 , the above S202 includes:

[0079] S501, sending a monitoring instruction to a node device; the monitoring instruction is used to instruct the node device to collect the message transmission rate of the virtual link interface corresponding to the node device.

[0080] In this embodiment, after determining the information of the node device in the link to be monitored and the information of the virtual link interface corresponding to the node device, a monitoring instruction can be sent to the node device, and the monitoring instruction can include the information of the virtual link interface corresponding to the node device. Through the monitoring instruction, the node device can be instructed to collect the message transmission rate of the corresponding virtual link interface. Continuing to use the networking example in Figure 5 as an example, a monitoring instruction can be sent to CPE1 in the link to be monitored, and the monitoring instruction includes the information of the virtual link interface ipsec100 interface corresponding to CPE1. Through the monitoring instruction, CPE1 can be instructed to collect the message transmission rate of the corresponding ipsec100 interface. The monitoring instruction is also sent to other node devices in the networking in the same way, and this embodiment will not be described one by one here.

[0081] S502: Determine the message transmission rate of the virtual link interface corresponding to the node device within a preset time period according to the message transmission rate of the corresponding virtual link interface reported by the node device.

[0082] Optionally, in this embodiment, after the node device collects the message transmission rate of the corresponding virtual link interface, it can send the message transmission rate of the virtual link interface to the management and alarm platform at a preset time interval. After the management and alarm platform receives the message transmission rate of the corresponding virtual link interface reported by the node device in the link to be monitored, it can perform statistics on the message transmission rate of the corresponding virtual link interface collected by the node device within the preset time period to determine the message transmission rate of the virtual link interface corresponding to the node device in the link to be monitored within the preset time period.

[0083] In this embodiment, by sending a monitoring instruction to the node device in the link to be monitored, the node can be instructed to collect the message transmission rate of the corresponding virtual link interface through the monitoring instruction, so that the management and control alarm platform can quickly determine the message transmission rate of the virtual link interface corresponding to the node device within a preset time period based on the message transmission rate of the corresponding virtual link interface reported by the node device in the link to be monitored, thereby improving the efficiency of determining the message transmission rate of the virtual link interface corresponding to the node device in the link to be monitored.

[0084] To facilitate understanding by those skilled in the art, the link quality monitoring method provided by the present disclosure is described in detail below. The method may include:

[0085] S1, determining device information of a link to be monitored in the network according to the networking information; the device information includes information of a node device in the link to be monitored and information of a virtual link interface corresponding to the node device.

[0086] S2, sending a monitoring instruction to a node device in the link to be monitored; the monitoring instruction is used to instruct the node device to collect the message transmission rate of the virtual link interface corresponding to the node device.

[0087] S3, determining the message transmission rate of the virtual link interface corresponding to the node device within a preset time period according to the message transmission rate of the corresponding virtual link interface reported by the node device.

[0088] S4, determining the message sending rate of the sending port and the message receiving rate of the receiving port of the link to be monitored within the preset time period according to the message transmission rate of the virtual link interface corresponding to the node device within the preset time period.

[0089] S5, obtaining a difference between a message sending rate and a message receiving rate.

[0090] S6, determining the bandwidth quality value of the link to be monitored according to the ratio of the difference and the message sending rate.

[0091] S7: If the bandwidth quality value is less than the preset threshold, the bandwidth quality monitoring result is determined to be abnormal.

[0092] S8: When it is determined that the bandwidth quality monitoring result of the link to be monitored is abnormal, generate alarm information.

[0093] S9: When it is determined that the bandwidth quality monitoring result of the link to be monitored is abnormal, generate alarm information.

[0094] It should be noted that for the description of the above steps, reference may be made to the relevant description in the above embodiment, and the effects are similar, so this embodiment will not be repeated here.

[0095] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0096] Based on the same inventive concept, the embodiment of the present application also provides a link quality monitoring device for implementing the link quality monitoring method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more link quality monitoring device embodiments provided below can refer to the limitations of the link quality monitoring method above, and will not be repeated here.

[0097] In an exemplary embodiment, as shown in Figure 9, a link quality monitoring device is provided, including: a determination module 10, an acquisition module 11 and a monitoring module 12, wherein:

[0098] The determination module 10 is used to determine the device information of the link to be monitored according to the networking information; the device information includes the information of the node device in the link to be monitored and the information of the virtual link interface corresponding to the node device;

[0099] The acquisition module 11 is used to acquire the message transmission rate of the virtual link interface corresponding to the node device within a preset time period based on the device information;

[0100] The monitoring module 12 is used to obtain the bandwidth quality monitoring result of the link to be monitored according to the message transmission rate.

[0101] The link quality monitoring device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0102] Based on the above embodiment, as shown in FIG10 , optionally, the monitoring module 12 includes: a first determining unit 121 and an acquiring unit 122, wherein:

[0103] The first determining unit 121 is configured to determine, according to the message transmission rate, a message sending rate of a sending port and a message receiving rate of a receiving port of a link to be monitored within a preset time period.

[0104] The acquisition unit 122 is used to acquire the bandwidth quality monitoring result of the link to be monitored according to the message sending rate and the message receiving rate.

[0105] The link quality monitoring device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0106] Based on the above embodiment, optionally, the acquisition unit 122 is specifically used to acquire the bandwidth quality value of the link to be monitored according to the message sending rate and the message receiving rate; if the bandwidth quality value is less than a preset threshold, the bandwidth quality monitoring result is determined to be abnormal.

[0107] The link quality monitoring device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0108] On the basis of the above embodiment, optionally, the acquisition unit 122 is specifically used to acquire the difference between the message sending rate and the message receiving rate; and determine the bandwidth quality value according to the ratio of the difference and the message sending rate.

[0109] The link quality monitoring device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0110] On the basis of the above embodiment, as shown in FIG11 , optionally, the acquisition module 11 includes: a sending unit 111 and a second determining unit 112, wherein:

[0111] The sending unit 111 is used to send a monitoring instruction to the node device; the monitoring instruction is used to instruct the node device to collect the message transmission rate of the virtual link interface corresponding to the node device.

[0112] The second determining unit 112 is configured to determine the message transmission rate of the virtual link interface corresponding to the node device within a preset time period according to the message transmission rate of the corresponding virtual link interface reported by the node device.

[0113] The link quality monitoring device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0114] On the basis of the above embodiment, as shown in FIG12 , optionally, the above device further includes: a generating module 13 and a sending module 14, wherein:

[0115] The generating module 13 is used to generate alarm information when it is determined that the bandwidth quality monitoring result of the link to be monitored is abnormal.

[0116] The sending module 14 is used to send the alarm information to the terminal corresponding to the alarm object according to the preset alarm method.

[0117] The link quality monitoring device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0118] Each module in the above-mentioned link quality monitoring device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

[0119] In an exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be shown in FIG13. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface is connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store the message transmission rate of the virtual link interface corresponding to the node device of the link to be monitored. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a link quality monitoring method is implemented.

[0120] Those skilled in the art will understand that the structure shown in FIG. 13 is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0121] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0122] Determine the device information of the link to be monitored according to the networking information; the device information includes the information of the node device in the link to be monitored and the information of the virtual link interface corresponding to the node device;

[0123] Based on the device information, obtain the message transmission rate of the virtual link interface corresponding to the node device within a preset time period;

[0124] Obtain the bandwidth quality monitoring result of the link to be monitored based on the message transmission rate.

[0125] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0126] According to the message transmission rate, determine the message sending rate of the sending port and the message receiving rate of the receiving port of the link to be monitored within a preset time period;

[0127] The bandwidth quality monitoring result of the link to be monitored is obtained according to the message sending rate and the message receiving rate.

[0128] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0129] Obtain the bandwidth quality value of the link to be monitored according to the message sending rate and the message receiving rate;

[0130] If the bandwidth quality value is less than a preset threshold, the bandwidth quality monitoring result is determined to be abnormal.

[0131] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0132] Get the difference between the message sending rate and the message receiving rate;

[0133] The bandwidth quality value is determined based on the ratio of the difference to the message sending rate.

[0134] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0135] Sending a monitoring instruction to the node device; the monitoring instruction is used to instruct the node device to collect the message transmission rate of the virtual link interface corresponding to the node device;

[0136] According to the message transmission rate of the corresponding virtual link interface reported by the node device, the message transmission rate of the virtual link interface corresponding to the node device within a preset time period is determined.

[0137] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0138] When it is determined that the bandwidth quality monitoring result of the link to be monitored is abnormal, an alarm message is generated;

[0139] Send alarm information to the terminal corresponding to the alarm object according to the preset alarm method.

[0140] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0141] Determine the device information of the link to be monitored according to the networking information; the device information includes the information of the node device in the link to be monitored and the information of the virtual link interface corresponding to the node device;

[0142] Based on the device information, obtain the message transmission rate of the virtual link interface corresponding to the node device within a preset time period;

[0143] Obtain the bandwidth quality monitoring result of the link to be monitored based on the message transmission rate.

[0144] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0145] According to the message transmission rate, determine the message sending rate of the sending port and the message receiving rate of the receiving port of the link to be monitored within a preset time period;

[0146] The bandwidth quality monitoring result of the link to be monitored is obtained according to the message sending rate and the message receiving rate.

[0147] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0148] Obtain the bandwidth quality value of the link to be monitored according to the message sending rate and the message receiving rate;

[0149] If the bandwidth quality value is less than a preset threshold, the bandwidth quality monitoring result is determined to be abnormal.

[0150] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0151] Get the difference between the message sending rate and the message receiving rate;

[0152] The bandwidth quality value is determined based on the ratio of the difference to the message sending rate.

[0153] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0154] Sending a monitoring instruction to the node device; the monitoring instruction is used to instruct the node device to collect the message transmission rate of the virtual link interface corresponding to the node device;

[0155] According to the message transmission rate of the corresponding virtual link interface reported by the node device, the message transmission rate of the virtual link interface corresponding to the node device within a preset time period is determined.

[0156] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0157] When it is determined that the bandwidth quality monitoring result of the link to be monitored is abnormal, an alarm message is generated;

[0158] Send alarm information to the terminal corresponding to the alarm object according to the preset alarm method.

[0159] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0160] Determine the device information of the link to be monitored according to the networking information; the device information includes the information of the node device in the link to be monitored and the information of the virtual link interface corresponding to the node device;

[0161] Based on the device information, obtain the message transmission rate of the virtual link interface corresponding to the node device within a preset time period;

[0162] Obtain the bandwidth quality monitoring result of the link to be monitored based on the message transmission rate.

[0163] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0164] According to the message transmission rate, determine the message sending rate of the sending port and the message receiving rate of the receiving port of the link to be monitored within a preset time period;

[0165] The bandwidth quality monitoring result of the link to be monitored is obtained according to the message sending rate and the message receiving rate.

[0166] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0167] Obtain the bandwidth quality value of the link to be monitored according to the message sending rate and the message receiving rate;

[0168] If the bandwidth quality value is less than a preset threshold, the bandwidth quality monitoring result is determined to be abnormal.

[0169] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0170] Get the difference between the message sending rate and the message receiving rate;

[0171] The bandwidth quality value is determined based on the ratio of the difference to the message sending rate.

[0172] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0173] Sending a monitoring instruction to the node device; the monitoring instruction is used to instruct the node device to collect the message transmission rate of the virtual link interface corresponding to the node device;

[0174] According to the message transmission rate of the corresponding virtual link interface reported by the node device, the message transmission rate of the virtual link interface corresponding to the node device within a preset time period is determined.

[0175] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0176] When it is determined that the bandwidth quality monitoring result of the link to be monitored is abnormal, an alarm message is generated;

[0177] Send alarm information to the terminal corresponding to the alarm object according to the preset alarm method.

[0178] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0179] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0180] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A link quality monitoring method, characterized in that: The method comprises: Determine the device information of the link to be monitored according to the networking information; the device information includes the information of the node device in the link to be monitored and the information of the virtual link interface corresponding to the node device; Based on the device information, obtaining a message transmission rate of the virtual link interface corresponding to the node device within a preset time period; According to the message transmission rate, a bandwidth quality monitoring result of the link to be monitored is obtained.

2. The method according to claim 1, characterized in that: The obtaining, according to the message transmission rate, a bandwidth quality monitoring result of the link to be monitored comprises: According to the message transmission rate, determining the message sending rate of the sending port and the message receiving rate of the receiving port of the link to be monitored within the preset time period; A bandwidth quality monitoring result of the link to be monitored is obtained according to the message sending rate and the message receiving rate.

3. The method according to claim 2, characterized in that The obtaining, according to the message sending rate and the message receiving rate, a bandwidth quality monitoring result of the link to be monitored includes: Acquire a bandwidth quality value of the link to be monitored according to the message sending rate and the message receiving rate; If the bandwidth quality value is less than a preset threshold, the bandwidth quality monitoring result is determined to be abnormal.

4. The method according to claim 3, characterized in that The acquiring, according to the message sending rate and the message receiving rate, the bandwidth quality value of the link to be monitored includes: Obtaining a difference between the message sending rate and the message receiving rate; The bandwidth quality value is determined according to a ratio of the difference to the message sending rate.

5. The method according to any one of claims 1 to 4, characterized in that: The acquiring, based on the device information, a message transmission rate of the virtual link interface corresponding to the node device within a preset time period includes: Sending a monitoring instruction to the node device; the monitoring instruction is used to instruct the node device to collect the message transmission rate of the virtual link interface corresponding to the node device; According to the message transmission rate of the corresponding virtual link interface reported by the node device, the message transmission rate of the virtual link interface corresponding to the node device within the preset time period is determined.

6. The method according to claim 1, characterized in that The method further comprises: When it is determined that the bandwidth quality monitoring result of the link to be monitored is abnormal, generating an alarm message; The alarm information is sent to the terminal corresponding to the alarm object according to the preset alarm method.

7. A link quality monitoring device, characterized in that: The device comprises: A determination module, used to determine the device information of the link to be monitored according to the networking information; the device information includes the information of the node device in the link to be monitored and the information of the virtual link interface corresponding to the node device; An acquisition module, configured to acquire, based on the device information, a message transmission rate of a virtual link interface corresponding to the node device within a preset time period; The monitoring module is used to obtain the bandwidth quality monitoring result of the link to be monitored according to the message transmission rate.

8. A server, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.