Link quality monitoring method, device, electronic device and computer-readable storage medium

By collecting and analyzing the number of CRC error packets, received optical power and transmitted optical power in network equipment, real-time monitoring of link quality is achieved, solving the problem of lag in link quality monitoring in traditional methods, and improving the efficiency of fault diagnosis.

CN115242610BActive Publication Date: 2025-01-14CHINA TELECOM CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210861318.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-20
Publication Date
2025-01-14
Estimated Expiration
2042-07-20

AI Technical Summary

Technical Problem

The existing technology is difficult to achieve real-time and accurate monitoring of network link quality, resulting in delayed network fault diagnosis and troubleshooting, and timely failure warning and real-time positioning are not possible.

Method used

By collecting the number of CRC packets, received optical power and transmitted optical power at the target port of the target network device, and using the acquisition and analysis system to perform intelligent analysis, the link quality is judged in real time, and redundancy suppression and reporting suppression functions are supported to reduce the problem of The necessary amount of data.

Benefits of technology

Real-time accurate monitoring of link quality is realized, the storage of redundant alarm information in the log server is reduced, the efficiency of fault diagnosis and positioning is improved, and link abnormalities can be discovered in a timely manner and the cause is determined.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115242610B_ABST
    Figure CN115242610B_ABST
Patent Text Reader

Abstract

The present disclosure provides a link quality monitoring method, device, electronic device and computer-readable storage medium, which relate to the field of communication technology. The link quality monitoring method comprises: a collection and analysis system of a target network collects the number of CRC error packets, the received optical power and the transmitted optical power from a target port of a target network device of the target network; the collection and analysis system analyzes the number of CRC error packets, the received optical power and the transmitted optical power to determine the link quality of the target link corresponding to the target port. The embodiments of the present disclosure can accurately detect the link quality in the target network in real time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of communication technology, and in particular to a link quality monitoring method and device, an electronic device, and a computer-readable storage medium. Background Art

[0002] The quality of the IP (Internet Protocol) network link plays a key role in network transmission performance. Link quality degradation will cause an increase in transmission errors, leading to an increase in cyclic redundancy check (CRC) error messages, which will cause messages to be discarded by forwarding devices. If the packet loss rate of the network and services increases, it will affect the service quality.

[0003] The traditional method uses the device abnormal alarm file upload method to the log server. When the device detects that the bit error exceeds the limit or the optical module receives / sends the optical power abnormally, an alarm will be generated in the log. Since the log server stores a large amount of real-time and non-real-time redundant alarm information, it is difficult to obtain truly effective alarm information.

[0004] Therefore, when a network failure occurs, the fault is usually diagnosed and checked with the help of a log server, but it is difficult to directly provide fault warning and real-time fault location through the log server. Therefore, the lag effect of monitoring link quality abnormalities through the log server is very obvious.

[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure. Summary of the invention

[0006] The purpose of the present disclosure is to provide a link quality monitoring method, device, electronic device and computer-readable storage medium, which can realize real-time and accurate monitoring of link quality.

[0007] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.

[0008] The disclosed embodiment provides a link quality monitoring method, including: a collection and analysis system of a target network collects the number of CRC error packets, received optical power, and transmitted optical power from a target port of a target network device of the target network; the collection and analysis system analyzes the number of CRC error packets, the received optical power, and the transmitted optical power to determine the link quality of a target link corresponding to the target port.

[0009] In some embodiments, the collection and analysis system analyzes the number of CRC error packets, the received optical power, and the transmitted optical power to determine the link quality of the target link corresponding to the target port, including: the collection and analysis system analyzes the number of CRC error packets to determine that the number of CRC error packets does not exceed a first threshold but the number of CRC error packets shows a gradually increasing trend; the collection and analysis system analyzes the received optical power to determine that the received optical power deviates from a first normal range; the collection and analysis system determines that a link abnormality occurs in the target link corresponding to the target port, and the link abnormality is caused by an optical module in the target network.

[0010] In some embodiments, the acquisition and analysis system analyzes the number of CRC error packets, the received optical power, and the transmitted optical power to determine the link quality of the target link corresponding to the target port, including: the acquisition and analysis system analyzes the number of CRC error packets to determine that the frequency of the number of CRC error packets exceeding a first threshold is greater than a second threshold; the acquisition and analysis system analyzes the received optical power to determine that the frequency of the received optical power exceeding a first normal range is greater than a third threshold; the acquisition and analysis system determines that a link abnormality occurs in the target link corresponding to the target port, and the link abnormality is caused by an optical module in the target network.

[0011] In some embodiments, the collection and analysis system analyzes the number of CRC error packets, the received optical power, and the transmitted optical power to determine the link quality of the target link corresponding to the target port, including: the collection and analysis system analyzes the number of CRC error packets to determine that the number of CRC error packets does not exceed a first threshold and that the number of CRC error packets shows a gradually increasing trend; the collection and analysis system analyzes the received optical power to determine that the received optical power is within a first normal range; the collection and analysis system determines that a link abnormality occurs in the target link corresponding to the target port, and that the link abnormality is caused by improper configuration of the target port or poor contact of the target port.

[0012] In some embodiments, the collection and analysis system analyzes the number of CRC error packets, the received optical power, and the transmitted optical power to determine the link quality of the target link corresponding to the target port, including: the collection and analysis system analyzes the received optical power to determine that the frequency of the received optical power exceeding the first normal range is greater than a fourth threshold; the collection and analysis system analyzes the number of CRC error packets to determine that the number of CRC error packets does not exceed the first threshold and that the number of CRC error packets shows a gradually increasing trend; the collection and analysis system determines that a link abnormality occurs in the target link corresponding to the target port, and that the link abnormality is caused by the optical module of the target network.

[0013] In some embodiments, the collection and analysis system analyzes the number of CRC error packets, the received optical power and the transmitted optical power to determine the target link quality corresponding to the target port, including: the collection and analysis system analyzes the transmitted optical power to determine that the received optical power exceeds a second normal range; the collection and analysis system determines that the transmitted optical power affects the reception of data by the receiving port at the opposite end of the target port.

[0014] In some embodiments, before the collection and analysis system of the target network collects the number of CRC error packets, the received optical power and the transmitted optical power from the target port of the target network device of the target network, the method also includes: the target port periodically reports the number of CRC error packets, the received optical power and the transmitted optical power to the collection and analysis system of the target network; wherein the target port also supports a redundancy suppression function so as to report data to the collection and analysis system when the number of CRC error packets or the received optical power or the transmitted optical power changes, and not report data to the collection and analysis system when the number of CRC error packets or the received optical power or the transmitted optical power does not change.

[0015] In some embodiments, before the collection and analysis system of the target network collects the number of CRC error packets, the received optical power and the transmitted optical power from the target port of the target network device of the target network, the method also includes: the target port sends the number of CRC error packets, the received optical power and the transmitted optical power to the collection and analysis system when the number of CRC error packets or the received optical power or the transmitted optical power changes; wherein the target port also supports a reporting suppression function so as to report data to the collection and analysis system when a suppression timer is triggered, and not report data to the collection and analysis system when the suppression timer is not triggered.

[0016] In some embodiments, before the collection and analysis system of the target network collects the number of CRC error packets, the received optical power and the transmitted optical power from the target port of the target network device of the target network, the method also includes: the target port sends the number of CRC error packets, the received optical power and the transmitted optical power to the collection and analysis system when the number of CRC error packets exceeds a first threshold or the received optical power deviates from a first normal range or the transmitted optical power deviates from a second normal range.

[0017] The embodiment of the present disclosure provides a link quality monitoring device, including: a data acquisition module and an analysis module.

[0018] Among them, the data acquisition module is used in the collection and analysis system of the target network to collect the number of CRC error packets, the received optical power and the transmitted optical power from the target port of the target network device of the target network; the analysis module can be used in the collection and analysis system to analyze the number of CRC error packets, the received optical power and the transmitted optical power to determine the link quality of the target link corresponding to the target port.

[0019] An embodiment of the present disclosure proposes an electronic device, which includes: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, the one or more processors implement any of the link quality monitoring methods described above.

[0020] An embodiment of the present disclosure provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the link quality monitoring method as described in any one of the above items is implemented.

[0021] The embodiment of the present disclosure provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the link quality monitoring method.

[0022] The link quality monitoring method, device, electronic device and computer-readable storage medium provided in the embodiments of the present disclosure utilize a collection and analysis system to collect real-time data such as the number of port CRC error messages, received optical power and transmitted optical power from network devices in the target network in real time, and perform intelligent processing and analysis on the collected data to achieve real-time and accurate monitoring of link quality.

[0023] It is to be understood that the foregoing general description and the following detailed description are exemplary only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0025] Figure 1 The figure is a flow chart of a link quality monitoring method according to an exemplary embodiment.

[0026] Figure 2 The figure is a flow chart of a link quality monitoring method according to an exemplary embodiment.

[0027] Figure 3 The figure is a flow chart of a link quality monitoring method according to an exemplary embodiment.

[0028] Figure 4 The figure is a flow chart of a link quality monitoring method according to an exemplary embodiment.

[0029] Figure 5 The figure is a flow chart of a link quality monitoring method according to an exemplary embodiment.

[0030] Figure 6 The figure is a schematic diagram showing the variation of the amount of CRC error packet data over time according to an exemplary embodiment.

[0031] Figure 7 The figure is a schematic diagram showing a trend of optical power variation according to an exemplary embodiment.

[0032] Figure 8 The figure is a flow chart of a link quality monitoring method according to an exemplary embodiment.

[0033] Fig. 9 The figure is a flow chart of a link quality monitoring method according to an exemplary embodiment.

[0034] Fig.10 The figure is a flow chart of a link quality monitoring method according to an exemplary embodiment.

[0035] Fig.11 The figure is a flow chart of a link quality monitoring method according to an exemplary embodiment.

[0036] Fig.12 It is a schematic diagram showing a link quality detection method according to an exemplary embodiment.

[0037] Fig.13The figure is a schematic diagram showing a method for displaying link quality according to an exemplary embodiment.

[0038] Fig.14 It is a block diagram of a link quality monitoring device according to an exemplary embodiment.

[0039] Fig.15 A schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present disclosure is shown. DETAILED DESCRIPTION

[0040] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in many forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be comprehensive and complete and will fully convey the concepts of the example embodiments to those skilled in the art. The same reference numerals in the figures represent the same or similar parts, and thus their repeated description will be omitted.

[0041] The features, structures or characteristics described in the present disclosure may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known methods, devices, implementations or operations are not shown or described in detail to avoid blurring the various aspects of the present disclosure.

[0042] The accompanying drawings are only schematic diagrams of the present disclosure, and the same reference numerals in the drawings represent the same or similar parts, so their repeated description will be omitted. Some block diagrams shown in the accompanying drawings do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0043] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and steps, nor must they be executed in the order described. For example, some steps can be decomposed, and some steps can be combined or partially combined, so the actual execution order may change according to actual conditions.

[0044] In the description of this application, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. The "and / or" herein is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, "at least one" means one or more, and "plurality" means two or more. The words "first", "second", etc. do not limit the quantity and execution order, and the words "first", "second", etc. do not limit them to be different; the terms "comprising", "including" and "having" are used to express an open-ended inclusion and mean that in addition to the listed elements / components / etc., there may be additional elements / components / etc.;

[0045] In order to more clearly understand the above-mentioned objects, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.

[0046] Figure 1 The figure is a flow chart of a link quality monitoring method according to an exemplary embodiment.

[0047] Reference Figure 1 The link quality monitoring method provided by the embodiment of the present disclosure may include the following steps.

[0048] Step S102, the target network collection and analysis system collects the number of CRC error packets, received optical power, and transmitted optical power from the target port of the target network device of the target network.

[0049] In some embodiments, the target network device of the target network will collect real-time data such as port CRC error messages, received / transmitted optical power, threshold alarms, etc., and report them to the management and control system or the collection and analysis system. The target network device can be any device in the target network, such as a base station or others, and the present disclosure does not limit this.

[0050] The above-mentioned collection and analysis system can be an IP network management system or a control system in the target network, and the present disclosure does not limit the specific entity performance in the collection and analysis system.

[0051] In some embodiments, the control system of the target network or the collection and analysis system of the target network can collect the number of CRC error packets, the optical power received by the port, and the optical power sent in real time from the port output position in the network device of the target network.

[0052] Step S104: the collection and analysis system analyzes the number of CRC error packets, the received optical power, and the transmitted optical power to determine the link quality of the target link corresponding to the target port.

[0053] The above-mentioned embodiment can utilize the collection and analysis system (or management and control system) to collect real-time data such as the number of CRC error messages, optical receiving power and optical transmitting power, threshold alarms, etc. from the ports of the network equipment, and perform intelligent processing and analysis on the collected data to realize real-time and accurate monitoring of link quality.

[0054] The network devices in the above embodiments will collect real-time data such as port CRC error messages, receiving / transmitting optical power, threshold alarms, etc., and report them to the management and control system. The management and control system processes the reported link quality data in real time and intelligently, and evaluates and confirms that the link quality is abnormal or has a trend of quality degradation. This method has strong real-time performance for link quality monitoring, and overcomes the limitations of traditional methods of filtering and extracting real and effective alarm information from log servers.

[0055] Figure 2 The figure is a flow chart of a link quality monitoring method according to an exemplary embodiment.

[0056] Reference Figure 2 The link quality monitoring method provided by the embodiment of the present disclosure may include the following steps.

[0057] Step S202, the target port periodically reports the number of CRC error packets, the received optical power and the transmitted optical power to the collection and analysis system of the target network; wherein the target port also supports a redundant suppression function so as to report data to the collection and analysis system when the number of CRC error packets or the received optical power or the transmitted optical power changes, and not report data to the collection and analysis system when the number of CRC error packets or the received optical power or the transmitted optical power does not change.

[0058] In some embodiments, in order to reduce the collected and reported data, the above process also supports a redundancy suppression function, that is, during the periodic reporting process, if the collected data value has not changed, it will not be reported, but the heartbeat monitoring message must be periodically reported to the management and control system to indicate that the subscription session remains connected.

[0059] Step S204, the target network collection and analysis system collects the number of CRC error packets, received optical power, and transmitted optical power from the target port of the target network device of the target network.

[0060] Step S206: the collection and analysis system analyzes the number of CRC error packets, the received optical power, and the transmitted optical power to determine the link quality of the target link corresponding to the target port.

[0061] The technical solution provided in this embodiment, on the one hand, periodically reports the number of CRC error packets, received optical power and transmitted optical power to the collection and analysis system of the target network through the target port, so that the collection and analysis system can collect the number of CRC error packets, received optical power and transmitted optical power in the target port in real time, so as to make real-time judgment on the link quality of the target link; on the other hand, the amount of collected and reported data is reduced through the redundant suppression function.

[0062] Figure 3 The figure is a flow chart of a link quality monitoring method according to an exemplary embodiment.

[0063] Reference Figure 3 The link quality monitoring method provided by the embodiment of the present disclosure may include the following steps.

[0064] Step S302, the target port sends the number of CRC error packets, the received optical power and the transmitted optical power to the collection and analysis system when the number of CRC error packets or the received optical power or the transmitted optical power changes; wherein, the target port also supports a reporting suppression function so as to report data to the collection and analysis system when the suppression timer is triggered, and not report data to the collection and analysis system when the suppression timer is not triggered.

[0065] In some embodiments, in order to reduce the amount of excessive data caused by frequent data changes, this embodiment supports a reporting suppression function, that is, setting a suppression timer, and triggering data reporting when the timer expires and the data changes.

[0066] Step S304, the target network collection and analysis system collects the number of CRC error packets, received optical power, and transmitted optical power from the target port of the target network device of the target network.

[0067] Step S306: the collection and analysis system analyzes the number of CRC error packets, the received optical power, and the transmitted optical power to determine the link quality of the target link corresponding to the target port.

[0068] The technical solution provided in this embodiment, on the one hand, the target port sends relevant data to the collection and analysis system when the number of CRC error packets or the received optical power or the transmitted optical power changes, so that the collection and analysis system can collect the number of CRC error packets, the received optical power and the transmitted optical power in the target port in real time, so as to make a real-time judgment on the link quality of the target link; on the other hand, the amount of collected and reported data is reduced through the suppression function.

[0069] Figure 4 The figure is a flow chart of a link quality monitoring method according to an exemplary embodiment.

[0070] Reference Figure 4The link quality monitoring method provided by the embodiment of the present disclosure may include the following steps.

[0071] Step S402, when the number of CRC error packets exceeds the first threshold or the received optical power deviates from the first normal range or the transmitted optical power deviates from the second normal range, the target port sends the number of CRC error packets, the received optical power and the transmitted optical power to the collection and analysis system.

[0072] Step S404, the target network collection and analysis system collects the number of CRC error packets, received optical power, and transmitted optical power from the target port of the target network device of the target network.

[0073] Step S406: the collection and analysis system analyzes the number of CRC error packets, the received optical power, and the transmitted optical power to determine the link quality of the target link corresponding to the target port.

[0074] The technical solution provided in this embodiment is that the target port sends relevant data to the collection and analysis system when the number of CRC error packets or the received optical power or the transmitted optical power reaches a set threshold, so that the collection and analysis system can collect the number of CRC error packets, the received optical power and the transmitted optical power in the target port in real time, so as to make a real-time judgment on the link quality of the target link, thereby enabling the collection and analysis system to promptly discover abnormal conditions of the target link.

[0075] Figure 5 The figure is a flow chart of a link quality monitoring method according to an exemplary embodiment.

[0076] Reference Figure 5 The link quality monitoring method provided by the embodiment of the present disclosure may include the following steps.

[0077] Step S502, the target network collection and analysis system collects the number of CRC error packets, received optical power, and transmitted optical power from the target port of the target network device of the target network.

[0078] Step S504: the collection and analysis system analyzes the number of CRC error packets and determines that the number of CRC error packets does not exceed the first threshold but the number of CRC error packets shows a trend of gradually increasing.

[0079] Figure 6 The figure is a schematic diagram showing the variation of the amount of CRC error packet data over time according to an exemplary embodiment.

[0080] refer to Figure 6 ,Through the analysis of the CRC error packet data volume by the ,collection and analysis system, it can be seen that the CRC error packet data volume ,presents a gradually increasing trend over a period of time.

[0081] Step S506: the collection and analysis system analyzes the received optical power to determine whether the received optical power deviates from a first normal range.

[0082] Figure 7 The figure is a schematic diagram showing a trend of optical power variation according to an exemplary embodiment.

[0083] refer to Figure 7 , the above-mentioned first normal range can be a range determined according to the set normal upper limit and normal lower limit.

[0084] In some embodiments, if the collection and analysis system determines that the amount of CRC error packet data shows a gradually increasing trend over time, then the collection and analysis system will analyze the received optical power of the target port to determine whether the received optical power has deviated from the first normal range during this period of time (such as the received optical power has been completely lower than the normal lower limit or higher than the normal upper limit for a period of time, or the ratio of the received optical power below the normal lower limit and above the normal upper limit for a period of time is greater than the target threshold).

[0085] Step S508: The collection and analysis system determines that a link abnormality occurs in the target link corresponding to the target port, and the link abnormality is caused by an optical module in the target network.

[0086] In some embodiments, if the number of CRC error packets of the target port shows a gradually increasing trend, and it is determined that the received optical power deviates from the first normal range, it is determined that a link abnormality has occurred in the target link corresponding to the target port, and the link abnormality is caused by the optical module in the target network.

[0087] In some embodiments, the reported CRC error packet data and the receiving and sending optical power data of the optical module are correlated and analyzed. If the number of CRC error packets shows a trend of gradual increase, and the receiving optical power of the optical module deviates from the normal range (too strong or too weak), it can be preliminarily determined that the abnormal link quality trend may be caused by the optical module problem;

[0088] The technical solution provided in this embodiment can not only discover the abnormal situation of the target link, but also determine the cause of the abnormality of the target link through analysis.

[0089] Figure 8 The figure is a flow chart of a link quality monitoring method according to an exemplary embodiment.

[0090] Reference Figure 8 The link quality monitoring method provided by the embodiment of the present disclosure may include the following steps.

[0091] Step S802, the target network collection and analysis system collects the number of CRC error packets, received optical power, and transmitted optical power from the target port of the target network device of the target network.

[0092] Step S804: the collection and analysis system analyzes the number of CRC error packets and determines that the frequency at which the number of CRC error packets exceeds the first threshold is greater than the second threshold.

[0093] In some embodiments, the collection and analysis system may analyze the number of CRC error packets to determine the frequency at which the number of CRC error packets exceeds a first threshold within a target time period, where the target time period may refer to a period of time before data collection.

[0094] Step S806: The collection and analysis system analyzes the received optical power and determines that the frequency at which the received optical power exceeds the first normal range is greater than a third threshold.

[0095] In some embodiments, if it is determined that the frequency at which the number of CRC error packets exceeds the first threshold within the target time period is greater than the second threshold, the collection and analysis system will continue to analyze the received optical power.

[0096] Step S808: The collection and analysis system determines that a link abnormality occurs in the target link corresponding to the target port, and the link abnormality is caused by an optical module in the target network.

[0097] In some embodiments, if it is determined that the frequency at which the number of CRC error packets exceeds the first threshold within the target time period is greater than the second threshold, and the frequency at which the received optical power exceeds the first normal range is greater than the third threshold, it is determined that an abnormality has occurred in the target link corresponding to the target port, and the link abnormality is caused by the optical module in the target network.

[0098] In some embodiments, if alarms are frequently received that the CRC error packet data exceeds a threshold, and alarms are frequently received that the received optical power exceeds a threshold, it can be basically determined that the link quality is abnormal due to an optical module problem.

[0099] The technical solution provided in this embodiment can not only discover the abnormal situation of the target link, but also determine the cause of the abnormality of the target link through analysis.

[0100] Fig. 9 The figure is a flow chart of a link quality monitoring method according to an exemplary embodiment.

[0101] Reference Fig. 9 The link quality monitoring method provided by the embodiment of the present disclosure may include the following steps.

[0102] Step S902, the target network collection and analysis system collects the number of CRC error packets, received optical power, and transmitted optical power from the target port of the target network device of the target network.

[0103] Step S904: the collection and analysis system analyzes the number of CRC error packets and determines that the number of CRC error packets shows a gradually increasing trend.

[0104] Step S906: The collection and analysis system analyzes the received optical power and determines that the received optical power is within a first normal range.

[0105] In some embodiments, if the collection and analysis system determines, after analyzing the number of CRC error packets, that the number of CRC error packets does not exceed the first threshold and the number of CRC error packets shows a gradually increasing trend, the collection and analysis system will continue to analyze the received optical power to determine whether the received optical power is within the first normal range.

[0106] Step S908: The collection and analysis system determines that a link abnormality occurs in the target link corresponding to the target port, and the link abnormality is caused by improper configuration of the target port or poor contact of the target port.

[0107] In some embodiments, if the collection and analysis system determines, after analyzing the number of CRC error packets, that the number of CRC error packets shows a gradually increasing trend, and the received optical power of the target port is within the first normal range, it is determined that a link abnormality occurs in the target link corresponding to the target port, and the link abnormality is caused by improper configuration of the target port or poor contact of the target port.

[0108] In some embodiments, if the number of CRC error packets shows a gradual increasing trend and the optical module receiving optical power is within the normal range, it can be considered that the port has improper configuration or poor port contact and other problems, and further troubleshooting is required.

[0109] The technical solution provided in this embodiment can not only discover the abnormal situation of the target link, but also determine the cause of the abnormality of the target link through analysis.

[0110] Fig.10 The figure is a flow chart of a link quality monitoring method according to an exemplary embodiment.

[0111] Reference Fig.10 The link quality monitoring method provided by the embodiment of the present disclosure may include the following steps.

[0112] Step S1002, the target network collection and analysis system collects the number of CRC error packets, received optical power, and transmitted optical power from the target port of the target network device of the target network.

[0113] Step S1004: the collection and analysis system analyzes the received optical power and determines that the frequency at which the received optical power exceeds the first normal range is greater than a fourth threshold.

[0114] Step S1006: The collection and analysis system analyzes the number of CRC error packets to determine that the number of CRC error packets does not exceed the first threshold and the number of CRC error packets shows a trend of gradually increasing.

[0115] Step S1008: The collection and analysis system determines that a link abnormality occurs in a target link corresponding to the target port, and the link abnormality is caused by an optical module of the target network.

[0116] In some embodiments, if an alarm is frequently received that the received optical power exceeds a threshold value, and there is a trend that the number of CRC error packets gradually increases, it can be basically determined that the link quality is abnormal due to an optical module problem.

[0117] The technical solution provided in this embodiment can not only discover the abnormal situation of the target link, but also determine the cause of the abnormality of the target link through analysis.

[0118] Fig.11 The figure is a flow chart of a link quality monitoring method according to an exemplary embodiment.

[0119] Reference Fig.11 The link quality monitoring method provided by the embodiment of the present disclosure may include the following steps.

[0120] Step S1102, the target network collection and analysis system collects the number of CRC error packets, received optical power, and transmitted optical power from the target port of the target network device of the target network.

[0121] Step S1104: the collection and analysis system analyzes the transmitted optical power and determines that the received optical power exceeds a second normal range.

[0122] Step S1106: the collection and analysis system determines whether the transmitted optical power affects the reception of data by the receiving port at the opposite end of the target port.

[0123] In some embodiments, if an alarm is frequently received that the transmitted optical power exceeds a threshold, there may be a problem that affects the reception of data by the port of the opposite device, and further inspection of the fault is required.

[0124] The technical solution provided in this embodiment can not only discover the abnormal situation of the target link, but also determine the cause of the abnormality of the target link through analysis.

[0125] Fig.12 The figure is a flow chart of a method for monitoring link quality according to an exemplary embodiment.

[0126] First, the collection and analysis system or the control system configures the target port of the target device to report and subscribe to key data reflecting the link quality, including: the number of CRC error packets, the receiving optical power of the optical module, the transmitting optical power, the alarm reporting when the number of CRC error packets exceeds the set threshold, and the alarm reporting when the receiving and transmitting optical powers of the optical module exceed the set threshold values.

[0127] The link quality detection method may include the following steps:

[0128] Step (1): The device collection data reporting method of the target port of the target device can adopt any one or more of the following methods:

[0129] (1) Periodic reporting: The target port periodically reports the number of CRC error packets, the optical module's received optical power, the transmitted optical power and other data to the management and control system. The reporting period is configurable and should support a sub-second minimum reporting period. In order to reduce the amount of data collected and reported, the redundancy suppression function should also be supported. That is, if the collected data value has not changed, it will not be reported, but the heartbeat monitoring message needs to be periodically reported to the management and control system to indicate that the subscription will remain connected.

[0130] (2) On-change reporting: The target port will report the collected data such as the number of CRC error packets, the optical module's received optical power, and the transmitted optical power after the first report. In order to reduce the amount of data reported due to frequent data changes, the reporting suppression function should also be supported, that is, a suppression timer is set, and the data reporting is triggered when the timer expires.

[0131] (3) Threshold-triggered reporting: The CRC error packet number threshold, the optical module receive optical power threshold, and the transmit optical power threshold are preset. When the collected data reaches or exceeds the threshold, a report is triggered. The reporting frequency can be set.

[0132] The network equipment collects and encapsulates the above data into telemetry (a remote data collection technology for monitoring device performance and faults) messages according to the subscription configuration and data reporting method, and carries the collected timestamp information and collection node information to report to the management and control system.

[0133] refer to Fig.12 , the periodic reporting and threshold-triggered reporting can be used to report the number of CRC error packets, the receiving optical power of the optical module, the transmitting optical power and other data.

[0134] Step (ii): The management and control system performs real-time intelligent processing on the reported link quality data, including at least one of the following methods:

[0135] (1) Perform correlation analysis on the reported CRC error packet data and the optical module's receiving and sending optical power data. If the number of CRC error packets is gradually increasing and the optical module's receiving optical power deviates from the normal range (too strong or too weak), Figure 6 As shown, we can preliminarily judge the abnormal link quality trend that may be caused by optical module problems.

[0136] (2) If the CRC error packet data exceeds the threshold and the received optical power exceeds the threshold, the link quality abnormality can be basically determined to be caused by the optical module problem.

[0137] (3) If the number of CRC error packets increases gradually and the optical module receiving optical power is within the normal range, it can be considered that the port is improperly configured or the port is in poor contact. Further troubleshooting is required.

[0138] (4) If the alarm that the received optical power exceeds the threshold is frequently received and the number of CRC error packets is gradually increasing, it can be basically determined that the link quality is abnormal due to the optical module problem.

[0139] (5) If you frequently receive alarms indicating that the transmit optical power exceeds the threshold, there may be a problem that affects the data reception of the receiving port of the peer device, and further troubleshooting is required.

[0140] Step (III): The management and control system provides real-time visualization of link quality status (such as Fig.13 shown):

[0141] (1) When real-time link quality detection shows abnormalities, the abnormal links should be marked with eye-catching colors (such as dark red) or special shapes (such as stars) to indicate major faults.

[0142] (2) When the real-time detection link quality shows an abnormal trend, the link with the abnormal trend should be marked with a light color (such as yellow) or a characteristic shape to indicate potential faults.

[0143] The network equipment in the above-mentioned embodiments can report in real time the CRC error packet count, receiving / emitting power data, threshold alarm information, etc. that reflect the link quality; the management and control system performs real-time intelligent processing and correlation analysis on the reported link quality data, and can monitor the link quality status in real time, accurately predict the abnormal trend of link quality, and visualize the links with quality abnormalities, thereby greatly improving the efficiency of fault diagnosis and root cause analysis.

[0144] This embodiment can obtain real-time data and alarm information reflecting link quality from network devices, and the management and control system can perform real-time correlation analysis and intelligent processing on the reported data, thereby evaluating and determining link quality anomalies or abnormal trends.

[0145] Based on the same inventive concept, the present disclosure also provides a link quality monitoring device, such as the following embodiment. Since the principle of solving the problem in the device embodiment is similar to that in the above method embodiment, the implementation of the device embodiment can refer to the implementation of the above method embodiment, and the repeated parts will not be repeated.

[0146] Fig.14 is a block diagram of a link quality monitoring device according to an exemplary embodiment. Fig.14 The link quality monitoring device 1400 provided in the embodiment of the present disclosure may include: a data collection module 1401 and an analysis module 1402 .

[0147] Among them, the data acquisition module 1401 can be used to collect the number of CRC error packets, the received optical power and the transmitted optical power from the target port of the target network device of the target network through the collection and analysis system of the target network; the analysis module 1402 can be used to analyze the number of CRC error packets, the received optical power and the transmitted optical power through the collection and analysis system to determine the link quality of the target link corresponding to the target port.

[0148] It should be noted that the above data acquisition module 1401 and analysis module 1402 correspond to S102 to S104 in the method embodiment, and the examples and application scenarios implemented by the above modules and corresponding steps are the same, but are not limited to the contents disclosed in the above method embodiment. It should be noted that the above modules, as part of the device, can be executed in a computer system such as a set of computer executable instructions.

[0149] In some embodiments, the analysis module 1402 may include: a first error packet analysis unit, a first optical power analysis unit, and a first abnormality judgment unit.

[0150] Among them, the first error packet analysis unit can be used for the collection and analysis system to analyze the number of CRC error packets, and determine that the number of CRC error packets does not exceed the first threshold but the number of CRC error packets shows a gradually increasing trend; the first optical power analysis unit can be used for the collection and analysis system to analyze the received optical power, and determine that the received optical power deviates from the first normal range; the first abnormality judgment unit can be used for the collection and analysis system to determine that a link abnormality occurs in the target link corresponding to the target port, and the link abnormality is caused by the optical module in the target network.

[0151] In some embodiments, the analysis module 1402 may include: a second error packet analysis unit, a second optical power analysis unit, and a second abnormality judgment unit.

[0152] Among them, the second error packet analysis unit can be used for the collection and analysis system to analyze the number of CRC error packets, and determine that the frequency of the number of CRC error packets exceeding the first threshold is greater than the second threshold; the second optical power analysis unit can be used for the collection and analysis system to analyze the received optical power, and determine that the frequency of the received optical power exceeding the first normal range is greater than the third threshold; the second abnormality judgment unit can be used for the collection and analysis system to determine that a link abnormality has occurred in the target link corresponding to the target port, and the link abnormality is caused by the optical module in the target network.

[0153] In some embodiments, the analysis module 1402 may include: a third error packet analysis unit, a third optical power analysis unit, and a third abnormality judgment unit.

[0154] Among them, the third error packet analysis unit can be used for the collection and analysis system to analyze the number of CRC error packets and determine that the number of CRC error packets shows a gradually increasing trend; the third optical power analysis unit can be used for the collection and analysis system to analyze the received optical power and determine that the received optical power is within the first normal range; the third abnormality judgment unit can be used for the collection and analysis system to determine that a link abnormality occurs in the target link corresponding to the target port, and the link abnormality is caused by improper configuration of the target port or poor contact of the target port.

[0155] In some embodiments, a fourth error packet analysis unit, a fourth optical power analysis unit and a fourth abnormality judgment unit.

[0156] Among them, the fourth optical power analysis unit can be used for the collection and analysis system to analyze the received optical power, and determine that the frequency of the received optical power exceeding the first normal range is greater than the fourth threshold; the fourth error packet analysis unit can be used for the collection and analysis system to analyze the number of CRC error packets, and determine that the number of CRC error packets does not exceed the first threshold and the number of CRC error packets shows a gradually increasing trend; the fourth abnormality judgment unit can be used for the collection and analysis system to determine that the target link corresponding to the target port has a link abnormality, and the link abnormality is caused by the optical module of the target network.

[0157] In some embodiments, a fifth optical power analysis unit and a fifth abnormality judgment unit.

[0158] The fifth optical power analysis unit may be used for the collection and analysis system to analyze the transmitted optical power and determine that the received optical power exceeds the second normal range;

[0159] The collection and analysis system determines that the transmitted optical power affects the reception of data by the opposite receiving port of the target port.

[0160] In some embodiments, the link quality monitoring device may further include: a periodic reporting module.

[0161] Among them, the periodic reporting module can be used for the target port to periodically report the number of CRC error packets, received optical power and transmitted optical power to the collection and analysis system of the target network before the collection and analysis system of the target network collects the number of CRC error packets, received optical power and transmitted optical power from the target port of the target network device of the target network; wherein the target port also supports a redundant suppression function so as to report data to the collection and analysis system when the number of CRC error packets or the received optical power or the transmitted optical power changes, and not report data to the collection and analysis system when the number of CRC error packets or the received optical power or the transmitted optical power does not change.

[0162] In some embodiments, the link quality monitoring device may further include: a change reporting module.

[0163] Among them, the change reporting module can be used for the target port to send the number of CRC error packets, received optical power and transmitted optical power to the collection and analysis system when the number of CRC error packets, received optical power or transmitted optical power changes, before the collection and analysis system of the target network collects the number of CRC error packets, received optical power and transmitted optical power from the target port of the target network device of the target network. Among them, the target port also supports a reporting suppression function so as to report data to the collection and analysis system when the suppression timer is triggered, and not report data to the collection and analysis system when the suppression timer is not triggered.

[0164] In some embodiments, the link quality monitoring device may further include: a threshold trigger reporting module.

[0165] Among them, the threshold triggered reporting module can be used to collect the number of CRC error packets, received optical power and transmitted optical power from the target port of the target network device of the target network before the collection and analysis system of the target network collects the number of CRC error packets, received optical power and transmitted optical power. When the number of CRC error packets exceeds a first threshold or the received optical power deviates from a first normal range or the transmitted optical power deviates from a second normal range, the target port sends the number of CRC error packets, received optical power and transmitted optical power to the collection and analysis system.

[0166] Since the functions of the device 1400 have been described in detail in the corresponding method embodiments, the present disclosure will not elaborate on them here.

[0167] The modules / or units involved in the embodiments described in the present application may be implemented by software or hardware. The modules / or units described may also be arranged in a processor. The names of these modules / or units do not, in some cases, constitute limitations on the modules / or units themselves.

[0168] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the above-mentioned module, program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0169] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.

[0170] Fig.15 The structure diagram of the electronic device suitable for implementing the embodiment of the present disclosure is shown. It should be noted that: Fig.15 The electronic device 1500 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0171] like Fig.15 As shown, the electronic device 1500 includes a central processing unit (CPU) 1501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1502 or a program loaded from a storage part 1508 into a random access memory (RAM) 1503. In the RAM 1503, various programs and data required for the operation of the electronic device 1500 are also stored. The CPU 1501, the ROM 1502, and the RAM 1503 are connected to each other via a bus 1504. An input / output (I / O) interface 1505 is also connected to the bus 1504.

[0172] The following components are connected to the I / O interface 1505: an input section 1506 including a keyboard, a mouse, etc.; an output section 1507 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1508 including a hard disk, etc.; and a communication section 1509 including a network interface card such as a LAN card, a modem, etc. The communication section 1509 performs communication processing via a network such as the Internet. A drive 1510 is also connected to the I / O interface 1505 as needed. A removable medium 1511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1510 as needed, so that a computer program read therefrom is installed into the storage section 1508 as needed.

[0173] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable storage medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part 1509, and / or installed from a removable medium 1511. When the computer program is executed by a central processing unit (CPU) 1501, the above-mentioned functions defined in the system of the present application are executed.

[0174] It should be noted that the computer-readable storage medium shown in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium may also be any computer-readable storage medium other than a computer-readable storage medium that can send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0175] As another aspect, the present application also provides a computer-readable storage medium, which may be included in the device described in the above embodiment; or it may exist independently without being assembled into the device. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed by a device, the device can realize functions including: the target network collection and analysis system collects the number of CRC error packets, the received optical power and the transmitted optical power from the target port of the target network device of the target network; the collection and analysis system analyzes the number of CRC error packets, the received optical power and the transmitted optical power to determine the link quality of the target link corresponding to the target port.

[0176] According to one aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method provided in various optional implementations of the above-mentioned embodiments.

[0177] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software, or by combining software with necessary hardware. Therefore, the technical solution of the embodiment of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including a number of instructions for a computing device (which can be a personal computer, a server, a mobile terminal, or a smart device, etc.) to execute the method according to the embodiment of the present disclosure, for example Figure 1 to Figure 5 , Figure 8 to Figure 11 One or more of the steps shown.

[0178] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the disclosure disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not applied for by the present disclosure. The specification and examples are to be regarded as exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.

[0179] It should be understood that the present disclosure is not limited to the detailed structures, drawings or implementations shown herein, but rather the present disclosure is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims

1. A link quality monitoring method, characterized in that: include: The target network collection and analysis system collects the number of CRC error packets, received optical power, and transmitted optical power from the target port of the target network device of the target network; The collection and analysis system analyzes the number of CRC error packets, the received optical power, and the transmitted optical power to determine the link quality of the target link corresponding to the target port; The step of analyzing the number of CRC error packets, the received optical power, and the transmitted optical power to determine the link quality of the target link corresponding to the target port includes: Analyze the number of CRC error packets to determine that the number of CRC error packets does not exceed the first threshold but the number of CRC error packets shows a gradually increasing trend; analyze the received optical power to determine that the received optical power deviates from the first normal range; determine that a link abnormality occurs in a target link corresponding to the target port, and the link abnormality is caused by an optical module in the target network; Analyze the number of CRC error packets to determine that the number of CRC error packets shows a gradually increasing trend; analyze the received optical power to determine that the received optical power is within a first normal range; determine that a link abnormality occurs in a target link corresponding to the target port, and that the link abnormality is caused by improper configuration of the target port or poor contact of the target port; The target network collection and analysis system collects the number of CRC error packets, received optical power, and transmitted optical power from the target port of the target network device of the target network, including: The target port reports the number of CRC error packets, the received optical power, and the transmitted optical power to the collection and analysis system when the number of CRC error packets, the received optical power, or the transmitted optical power changes.

2. The method according to claim 1, characterized in that: The collection and analysis system analyzes the CRC error packet quantity, the received optical power, and the transmitted optical power data to determine the link quality of the target link corresponding to the target port, and further includes: The collection and analysis system analyzes the number of CRC error packets and determines that the frequency at which the number of CRC error packets exceeds the first threshold is greater than the second threshold; The collection and analysis system analyzes the received optical power and determines that the frequency at which the received optical power exceeds the first normal range is greater than a third threshold; The collection and analysis system determines that a link abnormality occurs in a target link corresponding to the target port, and the link abnormality is caused by an optical module in the target network.

3. The method according to claim 1, characterized in that: The collection and analysis system analyzes the CRC error packet quantity, the received optical power, and the transmitted optical power data to determine the link quality of the target link corresponding to the target port, and further includes: The collection and analysis system analyzes the received optical power and determines that the frequency at which the received optical power exceeds the first normal range is greater than a fourth threshold; The collection and analysis system analyzes the number of CRC error packets to determine that the number of CRC error packets does not exceed a first threshold and that the number of CRC error packets shows a gradually increasing trend; the collection and analysis system determines that a link abnormality occurs in a target link corresponding to the target port, and that the link abnormality is caused by an optical module of the target network.

4. The method according to claim 1, characterized in that: The collection and analysis system analyzes the number of CRC error packets, the received optical power, and the transmitted optical power to determine the target link quality corresponding to the target port, including: The collection and analysis system analyzes the transmitted optical power to determine that the transmitted optical power exceeds a second normal range, or the collection and analysis system receives an alarm indicating that the transmitted optical power exceeds a threshold value; The collection and analysis system determines that the transmitted optical power affects the reception of data by the opposite receiving port of the target port.

5. The method according to claim 1, characterized in that: The target network collection and analysis system collects the number of CRC error packets, received optical power, and transmitted optical power from the target port of the target network device of the target network, including: The target port periodically reports the number of CRC error packets, the received optical power, and the transmitted optical power to the collection and analysis system of the target network; Among them, the target port also supports a redundancy suppression function so as to report data to the collection and analysis system when the number of CRC error packets or the received optical power or the transmitted optical power changes, and not report data to the collection and analysis system when the number of CRC error packets or the received optical power or the transmitted optical power does not change.

6. The method according to claim 1, characterized in that: The target port also supports a reporting suppression function so as to report data to the collection and analysis system when a suppression timer is triggered, and not report data to the collection and analysis system when the suppression timer is not triggered.

7. The method according to claim 1, characterized in that: The target network collection and analysis system collects the number of CRC error packets, received optical power, and transmitted optical power from the target port of the target network device of the target network, including: The target port reports the number of CRC error packets, the received optical power and the transmitted optical power data to the collection and analysis system when the number of CRC error packets exceeds a first threshold or the received optical power deviates from a first normal range or the transmitted optical power deviates from a second normal range.

8. The method according to claim 5, 6 or 7, characterized in that: The target network collection and analysis system collects the number of CRC error packets, received optical power, and transmitted optical power from the target port of the target network device of the target network, including: The target network device encapsulates the collected data into messages, and carries the collection timestamp information and the collection node information.

9. A link quality monitoring device, characterized in that: include: A data acquisition module, used for the acquisition and analysis system of the target network to collect the number of CRC error packets, received optical power and transmitted optical power from the target port of the target network device of the target network; An analysis module, used for the collection and analysis system to analyze the number of CRC error packets, the received optical power and the transmitted optical power to determine the link quality of the target link corresponding to the target port; The CRC error packet number, the received optical power, and the transmitted optical power data are analyzed to determine the link quality of the target link corresponding to the target port, including: analyzing the CRC error packet number to determine that the CRC error packet number does not exceed the first threshold but the CRC error packet number shows a gradually increasing trend; analyzing the received optical power to determine that the received optical power deviates from the first normal range; the acquisition and analysis system determines that a link abnormality occurs in the target link corresponding to the target port, and the link abnormality is caused by an optical module in the target network; Analyze the number of CRC error packets to determine that the number of CRC error packets shows a gradually increasing trend; analyze the received optical power to determine that the received optical power is within a first normal range; determine that a link abnormality occurs in a target link corresponding to the target port, and that the link abnormality is caused by improper configuration of the target port or poor contact of the target port; The target network collection and analysis system collects the number of CRC error packets, received optical power, and transmitted optical power from the target port of the target network device of the target network, including: The target port reports the number of CRC error packets, the received optical power and the transmitted optical power data to the collection and analysis system when the number of CRC error packets, the received optical power or the transmitted optical power changes.

10. An electronic device, characterized in that: include: Memory; as well as A processor coupled to the memory, the processor being configured to execute the link quality monitoring method according to any one of claims 1 to 8 based on instructions stored in the memory.

11. A computer-readable storage medium having a program stored thereon, wherein when the program is executed by a processor, the link quality monitoring method according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Optical fibre link quality monitoring method and apparatus

    CN105763251A

  • Optical fiber link detection method, network equipment and storage medium

    CN113810105A