CN115242610A - Link quality monitoring method and device, electronic equipment and computer readable storage medium - Google Patents
Link quality monitoring method and device, electronic equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN115242610A CN115242610A CN202210861318.3A CN202210861318A CN115242610A CN 115242610 A CN115242610 A CN 115242610A CN 202210861318 A CN202210861318 A CN 202210861318A CN 115242610 A CN115242610 A CN 115242610A
- Authority
- CN
- China
- Prior art keywords
- optical power
- target
- acquisition
- analysis system
- crc
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 78
- 238000012544 monitoring process Methods 0.000 title claims abstract description 54
- 230000003287 optical effect Effects 0.000 claims abstract description 296
- 238000004458 analytical method Methods 0.000 claims abstract description 149
- 230000005856 abnormality Effects 0.000 claims description 26
- 230000001629 suppression Effects 0.000 claims description 23
- 230000006870 function Effects 0.000 claims description 21
- 230000001960 triggered effect Effects 0.000 claims description 11
- 238000004806 packaging method and process Methods 0.000 claims 1
- 238000004891 communication Methods 0.000 abstract description 6
- 238000010586 diagram Methods 0.000 description 32
- 230000002159 abnormal effect Effects 0.000 description 23
- 238000007726 management method Methods 0.000 description 14
- 238000004590 computer program Methods 0.000 description 12
- 238000012545 processing Methods 0.000 description 9
- 230000008569 process Effects 0.000 description 8
- 238000012806 monitoring device Methods 0.000 description 6
- 230000000737 periodic effect Effects 0.000 description 6
- 230000008859 change Effects 0.000 description 5
- 238000010219 correlation analysis Methods 0.000 description 4
- 125000004122 cyclic group Chemical group 0.000 description 4
- 238000013480 data collection Methods 0.000 description 3
- 238000013024 troubleshooting Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000015556 catabolic process Effects 0.000 description 2
- 238000006731 degradation reaction Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 230000002829 reductive effect Effects 0.000 description 2
- 230000003252 repetitive effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000002401 inhibitory effect Effects 0.000 description 1
- 230000000670 limiting effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0631—Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/07—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
- H04B10/075—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
- H04B10/079—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
- H04B10/0795—Performance monitoring; Measurement of transmission parameters
- H04B10/07955—Monitoring or measuring power
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/004—Arrangements for detecting or preventing errors in the information received by using forward error control
- H04L1/0056—Systems characterized by the type of code used
- H04L1/0061—Error detection codes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/16—Threshold monitoring
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Environmental & Geological Engineering (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Optical Communication System (AREA)
Abstract
The disclosure provides a link quality monitoring method and device, electronic equipment and a computer readable storage medium, and relates to the technical field of communication. The link quality monitoring method comprises the following steps: the acquisition and analysis system of the target network acquires the CRC error packet quantity, the receiving optical power and the sending optical power from a target port of target network equipment of the target network; and the acquisition and analysis system analyzes the CRC packet error quantity, the receiving optical power and the sending optical power to determine the link quality of a target link corresponding to the target port. The embodiment of the disclosure can accurately detect the link quality in the target network in real time.
Description
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a link quality monitoring method and apparatus, an electronic device, and a computer-readable storage medium.
Background
IP (Internet Protocol) network link quality plays a key role in network transmission performance. The link quality degradation will cause transmission error to increase, resulting in an increase of Cyclic Redundancy Check (CRC) error messages, and thus causing the messages to be discarded by the forwarding device. If the packet loss rate of the network and the service is increased, the service quality of the service will be affected.
The traditional method adopts a mode of uploading an equipment abnormity alarm file to a log server, and alarms are generated when equipment detects that error codes exceed the limit and the receiving/sending optical power of an optical module is abnormal. When the equipment detects that the error code exceeds the limit or the receiving/transmitting optical power of the optical module is abnormal, an alarm is generated in the log. Because the log server stores massive real-time and non-real-time redundant alarm information, the real effective alarm information is difficult to obtain.
Therefore, when a network fails, the fault is usually diagnosed and checked by means of a log server, and it is difficult to directly perform fault early warning and fault real-time positioning by the log server. The hysteresis effect of monitoring link quality anomalies by the log server is very significant.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present disclosure.
Disclosure of Invention
The present disclosure provides a link quality monitoring method, a link quality monitoring device, an electronic device, and a computer-readable storage medium, which can implement real-time accurate monitoring of link quality.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of the disclosure.
The embodiment of the disclosure provides a link quality monitoring method, which includes: the acquisition and analysis system of the target network acquires the CRC error packet number, the receiving optical power and the sending optical power from a target port of target network equipment of the target network; and the acquisition and analysis system analyzes the CRC packet error number, the receiving optical power and the transmitting optical power to determine the link quality of a target link corresponding to the target port.
In some embodiments, the analyzing, by the collecting and analyzing system, the CRC packet error number, the received optical power, and the transmitted optical power to determine the link quality of the target link corresponding to the target port includes: the acquisition and analysis system analyzes the CRC packet error amount, and determines that the CRC packet error amount does not exceed a first threshold but shows a gradually increasing trend; the acquisition and analysis system analyzes the received optical power and determines that the received optical power deviates from a first normal range; and the acquisition and analysis system determines that a link abnormity occurs in a target link corresponding to the target port, and the link abnormity is caused by an optical module in the target network.
In some embodiments, the analyzing, by the collecting and analyzing system, the CRC packet error number, the received optical power, and the transmitted optical power to determine the link quality of the target link corresponding to the target port includes: the acquisition and analysis system analyzes the CRC packet error amount and determines that the frequency of the CRC packet error amount exceeding a first threshold is greater than a second threshold; the acquisition and analysis system analyzes the received optical power and determines that the frequency of the received optical power exceeding a first normal range is greater than a third threshold; and the acquisition and analysis system determines that a link abnormity occurs in a target link corresponding to the target port, and the link abnormity is caused by an optical module in the target network.
In some embodiments, the analyzing, by the collecting and analyzing system, the CRC packet error number, the received optical power, and the transmitted optical power to determine the link quality of the target link corresponding to the target port includes: the acquisition and analysis system analyzes the CRC packet error quantity, and determines that the CRC packet error quantity does not exceed a first threshold and the CRC packet error quantity shows a gradually increasing trend; the acquisition and analysis system analyzes the received optical power and determines that the received optical power is in a first normal range; the acquisition 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 improper configuration of the target port or poor contact of the target port.
In some embodiments, the analyzing, by the collecting and analyzing system, the CRC packet error number, the received optical power, and the transmitted optical power to determine the link quality of the target link corresponding to the target port includes: the acquisition and analysis system analyzes the received optical power and determines that the frequency of the received optical power exceeding a first normal range is greater than a fourth threshold; the acquisition and analysis system analyzes the CRC packet error quantity, and determines that the CRC packet error quantity does not exceed a first threshold and the CRC packet error quantity shows a gradually increasing trend; and the acquisition and analysis system determines that a link abnormity occurs in a target link corresponding to the target port, and the link abnormity is caused by an optical module of the target network.
In some embodiments, the analyzing the CRC packet error number, the received optical power, and the transmitted optical power by the collecting and analyzing system to determine the target link quality corresponding to the target port includes: the acquisition and analysis system analyzes the transmitted optical power and determines that the received optical power exceeds a second normal range; and the acquisition and analysis system determines that the sending light power influences the receiving of the opposite end receiving port of the target port on the data.
In some embodiments, before the collecting and analyzing system of the target network collects the CRC error packet number, the received optical power, and the transmitted optical power from the target port of the target network device of the target network, the method further comprises: the target port reports the CRC error packet number, the receiving optical power and the sending optical power to an acquisition and analysis system of the target network periodically; the target port further supports a redundancy suppression function so as to report data to the acquisition 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 acquisition and analysis system when neither the number of CRC error packets or the received optical power nor the transmitted optical power changes.
In some embodiments, before the collecting and analyzing system of the target network collects the CRC error packet number, the received optical power, and the transmitted optical power from the target port of the target network device of the target network, the method further comprises: the target port sends the CRC error packet number, the receiving optical power and the sending optical power to the acquisition and analysis system when the CRC error packet number or the receiving optical power or the sending optical power changes; the target port further supports a report suppression function so as to report data to the acquisition and analysis system when a suppression timer is triggered and not report data to the acquisition and analysis system when the suppression timer is not triggered.
In some embodiments, before the collecting and analyzing 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 further comprises: and the target port sends the CRC error packet quantity, the receiving optical power and the sending optical power to the acquisition and analysis system when the CRC error packet quantity exceeds a first threshold value, or the receiving optical power deviates from a first normal range, or the sending optical power deviates from a second normal range.
The embodiment of the present disclosure provides a link quality monitoring device, including: the device comprises a data acquisition module and an analysis module.
The data acquisition module is used for acquiring the CRC error packet quantity, the receiving optical power and the sending optical power from a target port of target network equipment of a target network by an acquisition and analysis system of the target network; the analysis module may be configured to analyze, by the acquisition and analysis system, the CRC packet error number, the received optical power, and the transmitted optical power to determine a link quality of a target link corresponding to the target port.
An embodiment of the present disclosure provides an electronic device, including: one or more processors; a storage device for storing one or more programs that, when executed by the one or more processors, cause the one or more processors to implement the link quality monitoring method of any one of the above.
The disclosed embodiment provides a computer-readable storage medium, on which a computer program is stored, where the program is executed by a processor to implement the link quality monitoring method according to any one of the above-mentioned items.
Embodiments of the present disclosure propose a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and executes the computer instructions, so that the computer device executes the above-mentioned link quality monitoring method.
The link quality monitoring method and device, the electronic device, and the computer-readable storage medium provided by the embodiments of the present disclosure collect, in real time, real-time data such as port CRC error message number, received optical power, and transmitted optical power from a network device of a target network by using a collection and analysis system, and perform intelligent processing and analysis on the collected data, thereby realizing real-time and accurate monitoring of link quality.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty.
Fig. 1 is a flow diagram illustrating a method of link quality monitoring in accordance with an example embodiment.
Fig. 2 is a flow diagram illustrating a method of link quality monitoring in accordance with an example embodiment.
Fig. 3 is a flow diagram illustrating a method of link quality monitoring in accordance with an example embodiment.
Fig. 4 is a flow diagram illustrating a method of link quality monitoring in accordance with an example embodiment.
Fig. 5 is a flow diagram illustrating a method of link quality monitoring in accordance with an example embodiment.
Fig. 6 is a schematic diagram illustrating a CRC error packet data amount over time, according to an example embodiment.
Fig. 7 is a graph illustrating a trend of optical power changes according to an exemplary embodiment.
Fig. 8 is a flow diagram illustrating a method of link quality monitoring in accordance with an example embodiment.
Fig. 9 is a flow diagram illustrating a method of link quality monitoring in accordance with an example embodiment.
Fig. 10 is a flow diagram illustrating a method of link quality monitoring in accordance with an example embodiment.
Fig. 11 is a flow diagram illustrating a method of link quality monitoring in accordance with an example embodiment.
Fig. 12 is a diagram illustrating a method of link quality detection according to an example embodiment.
Fig. 13 is a diagram illustrating a link quality display method according to an example embodiment.
Fig. 14 is a block diagram illustrating a link quality monitoring apparatus according to an example embodiment.
FIG. 15 shows a schematic structural diagram of an electronic device suitable for use in implementing embodiments of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different 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 thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The same reference numerals denote the same or similar parts in the drawings, and thus, a repetitive description thereof will be omitted.
The described features, structures, or characteristics of the disclosure may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the subject matter of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and the like. In other instances, well-known methods, devices, implementations, or operations have not been shown or described in detail to avoid obscuring aspects of the disclosure.
The drawings are merely schematic illustrations of the present disclosure, in which the same reference numerals denote the same or similar parts, and thus, a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and steps nor must they be performed in the order described. For example, some steps may be decomposed, and some steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
In the description of this application, "/" means "or" unless otherwise stated, for example, A/B may mean A or B. "and/or" herein is merely an association relationship describing an associated object, and means that there may be three relationships, for example, a and/or B, and may mean: a exists alone, A and B exist simultaneously, and B exists alone. Further, "at least one" means one or more, "a plurality" means two or more. The terms "first", "second", and the like do not necessarily limit the number or the execution order, and the terms "first", "second", and the like do not necessarily limit the difference; the terms "comprising," "including," and "having" are intended to be inclusive and mean that there may be additional elements/components/etc. other than the listed elements/components/etc.;
in order that the above objects, features and advantages of the present invention can be more clearly understood, the present invention will be described in further detail below with reference to the accompanying drawings and specific embodiments, it being understood that the embodiments and features of the embodiments of the present application can be combined with each other without conflict.
Fig. 1 is a flow diagram illustrating a method of link quality monitoring in accordance with an example embodiment.
Referring to fig. 1, a link quality monitoring method provided by an embodiment of the present disclosure may include the following steps.
Step S102, the acquisition and analysis system of the target network acquires the CRC error packet number, the receiving optical power and the sending optical power from the target port of the target network equipment of the target network.
In some embodiments, the target network device of the target network may collect real-time data such as a port CRC error message, a received/transmitted optical power, a threshold alarm, and the like in real time, and report the real-time data to the management and control system or the collection and analysis system. The target network device may be any device in the target network, such as a base station or others, and the disclosure is not limited thereto.
The acquisition and analysis system can be an IP network management or management and control system in a target network, and the specific entity performance in the acquisition and analysis system is not limited by the disclosure.
In some embodiments, the policing system of the target network or the acquisition and analysis system of the target network may acquire the number of CRC error packets, the optical power received by the port, and the optical power transmitted in real time from the port egress location in the network device of the target network.
Step S104, the collecting and analyzing system analyzes the CRC error packet quantity, the receiving optical power and the sending optical power to determine the link quality of the target link corresponding to the target port.
In the embodiment, the acquisition and analysis system (or the management and control system) can be used for acquiring real-time data such as the number of CRC error messages, the light receiving power, the light sending power, the threshold value alarm and the like from the port of the network equipment, and intelligently processing and analyzing the acquired data to realize real-time accurate monitoring of the link quality.
The network device in the above embodiment may collect real-time data such as port CRC error messages, received/transmitted optical power, threshold value alarms, and so on in real time, and report the real-time data to the management and control system. The management and control system carries out real-time and intelligent processing on the reported link quality data, and evaluates and confirms the link quality abnormity or the trend of quality degradation. The method has strong real-time performance on link quality monitoring, and overcomes the limitation of filtering and extracting real and effective alarm information from a log server in the prior art.
Fig. 2 is a flow diagram illustrating a method of link quality monitoring in accordance with an example embodiment.
Referring to fig. 2, a link quality monitoring method provided by an embodiment of the present disclosure may include the following steps.
Step S202, the target port reports the CRC error packet number, the receiving optical power and the sending optical power to the acquisition and analysis system of the target network periodically; the target port also supports a redundancy suppression function so as to report data to the acquisition and analysis system when the CRC packet error number or the receiving optical power or the transmitting optical power changes, and not report data to the acquisition and analysis system when the CRC packet error number or the receiving optical power or the transmitting optical power does not change.
In some embodiments, in order to reduce the data collected and reported, the above process also supports a redundancy suppression function, that is, in the periodic reporting process, if the collected data value is not changed, the data is not reported, but a heartbeat monitoring message needs to be periodically reported to the management and control system, which indicates that the subscription session maintains the connection state.
Step S204, the acquisition and analysis system of the target network acquires the CRC error packet number, the receiving optical power and the sending optical power from the target port of the target network equipment of the target network.
Step S206, the collecting and analyzing system analyzes the CRC error packet number, the received optical power, and the transmitted optical power to determine the link quality of the target link corresponding to the target port.
In the technical scheme provided by this embodiment, on one hand, the number of CRC error packets, the receiving optical power, and the transmitting optical power are periodically reported to the acquisition and analysis system of the target network through the target port, so that the acquisition and analysis system can acquire the number of CRC error packets, the receiving optical power, and the transmitting optical power in the target port in real time, so as to judge the link quality of the target link in real time; on the other hand, the data volume of the collected report is reduced through the redundancy suppression function.
Fig. 3 is a flow diagram illustrating a method of link quality monitoring in accordance with an example embodiment.
Referring to fig. 3, a link quality monitoring method provided by an embodiment of the present disclosure may include the following steps.
Step S302, when the CRC error packet number or the receiving optical power or the sending optical power changes, the target port sends the CRC error packet number, the receiving optical power and the sending optical power to the acquisition and analysis system; the target port also supports a report suppression function so as to report data to the acquisition and analysis system when the suppression timer is triggered and not report data to the acquisition and analysis system when the suppression timer is not triggered.
In some embodiments, in order to reduce the excessive data amount caused by frequent data changes, the present embodiment supports the report suppression function, that is, a suppression timer is set, and when the timer expires and data changes, data reporting is triggered.
Step S304, the collecting and analyzing system of the target network collects the CRC error packet number, the receiving optical power and the transmitting optical power from the target port of the target network device of the target network.
Step S306, the collecting and analyzing system analyzes the CRC packet error number, the received optical power, and the transmitted optical power to determine the link quality of the target link corresponding to the target port.
According to the technical scheme provided by the embodiment, on one hand, the target port sends related data to the acquisition and analysis system when the number of CRC (cyclic redundancy check) error packets or the receiving optical power or the sending optical power changes, so that the acquisition and analysis system can acquire the number of CRC error packets, the receiving optical power and the sending optical power in the target port in real time, and the link quality of a target link can be judged in real time; on the other hand, the data volume of the collected report is reduced through the inhibiting function.
Fig. 4 is a flow diagram illustrating a method of link quality monitoring in accordance with an example embodiment.
Referring to fig. 4, a link quality monitoring method provided by an embodiment of the present disclosure may include the following steps.
Step S402, the destination port sends the CRC error packet number, the received optical power and the transmitted optical power to the acquisition and analysis system when the CRC error packet number 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.
Step S404, the collecting and analyzing system of the target network collects the CRC error packet number, the receiving optical power and the transmitting optical power from the target port of the target network device of the target network.
Step S406, the collecting and analyzing system analyzes the CRC error packet number, the received optical power, and the transmitted optical power to determine the link quality of the target link corresponding to the target port.
According to the technical scheme provided by the embodiment, the target port sends related data to the acquisition and analysis system when the CRC (cyclic redundancy check) packet error number or the receiving optical power or the sending optical power reaches the set threshold, so that the acquisition and analysis system can acquire the CRC packet error number, the receiving optical power and the sending optical power in the target port in real time, the link quality of the target link can be judged in real time, and the acquisition and analysis system can timely find the abnormal condition of the target link.
Fig. 5 is a flow diagram illustrating a method of link quality monitoring in accordance with an example embodiment.
Referring to fig. 5, a link quality monitoring method provided by an embodiment of the present disclosure may include the following steps.
Step S502, the collecting and analyzing system of the target network collects the CRC error packet number, the receiving optical power, and the transmitting optical power from the target port of the target network device of the target network.
Step S504, the collecting and analyzing system analyzes the CRC number of erroneous packets, and determines that the CRC number of erroneous packets does not exceed the first threshold but shows a gradually increasing trend.
Fig. 6 is a schematic diagram illustrating a CRC error packet data amount over time, according to an example embodiment.
Referring to fig. 6, the CRC error packet data amount shows a gradually increasing trend in a period of time by analyzing the CRC error packet data amount by the collecting and analyzing system.
Step S506, the collecting and analyzing system analyzes the received optical power, and determines that the received optical power deviates from the first normal range.
Fig. 7 is a graph illustrating a trend of optical power according to an exemplary embodiment.
Referring to fig. 7, the above-described first normal range may be a range determined according to the set upper and lower normal limits.
In some embodiments, if the collection and analysis system analyzes that the CRC error packet data amount shows a gradually increasing trend over time, the collection and analysis system analyzes the received optical power of the destination port to determine whether the received optical power has deviated from the first normal range within the period of time (e.g., the received optical power has been completely lower than the lower normal limit or higher than the upper normal limit within the period of time, or the received optical power has been lower than the lower normal limit and higher than the upper normal limit within the period of time by more than a target threshold).
Step S508, acquiring a link abnormality of a target link corresponding to the target port determined by the analysis system, where the link abnormality is caused by an optical module in the target network.
In some embodiments, if the CRC packet error number 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 occurs in a target link corresponding to the target port, and the link abnormality is caused by an optical module in the target network.
In some embodiments, the reported CRC error packet data and the received and transmitted optical power data of the optical module are subjected to correlation analysis, and if the CRC error packet number is gradually increased and the received optical power of the optical module deviates from a normal range (too strong or too weak), a link quality abnormal trend possibly caused by the optical module problem can be preliminarily determined;
the technical scheme provided by the embodiment can not only find the abnormal condition of the target link, but also determine the abnormal reason of the target link through analysis.
Fig. 8 is a flow diagram illustrating a method of link quality monitoring in accordance with an example embodiment.
Referring to fig. 8, a link quality monitoring method provided by an embodiment of the present disclosure may include the following steps.
Step S802, the collecting and analyzing system of the target network collects the CRC error packet number, the receiving optical power, and the transmitting optical power from the target port of the target network device of the target network.
Step S804, the collecting and analyzing system analyzes the CRC number of erroneous packets, and determines that the frequency of the CRC number exceeding the first threshold is greater than the second threshold.
In some embodiments, the acquisition and analysis system may analyze the number of CRC error packets to determine a frequency at which the number of CRC error packets exceeds the first threshold for a target time period, which may refer to an amount of time prior to data acquisition.
Step S806, the collecting and analyzing system analyzes the received optical power, and determines that the frequency of the received optical power exceeding the first normal range is greater than a third threshold.
In some embodiments, if it is determined that the frequency with which the number of CRC error packets exceeds the first threshold within the target time period is greater than the second threshold, the acquisition and analysis system may continue to analyze the received optical power.
Step S808, collecting link anomalies occurring in the target link corresponding to the target port determined by the analysis system, where the link anomalies are caused by an optical module in the target network.
In some embodiments, if it is determined that the frequency of the CRC packet error number exceeding the first threshold in the target time period is greater than the second threshold, and the frequency of the received optical power exceeding the first normal range is greater than the third threshold, it is determined that an 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.
In some embodiments, if an alarm that CRC error packet data exceeds a threshold is frequently received and an alarm that received optical power exceeds a threshold is frequently received, it may be basically determined that link quality is abnormal due to an optical module problem.
The technical scheme provided by the embodiment can not only discover the abnormal condition of the target link, but also determine the abnormal reason of the target link through analysis.
Fig. 9 is a flow diagram illustrating a method of link quality monitoring in accordance with an example embodiment.
Referring to fig. 9, a link quality monitoring method provided by an embodiment of the present disclosure may include the following steps.
Step S902, the collecting and analyzing system of the target network collects the CRC error packet number, the received optical power and the transmitted optical power from the target port of the target network device of the target network.
Step S904, the collecting and analyzing system analyzes the CRC number of erroneous packets, and determines that the CRC number of erroneous packets shows a gradually increasing trend.
Step S906, the collecting and analyzing system analyzes the received optical power, and determines that the received optical power is within a first normal range.
In some embodiments, if the number of CRC error packets is determined not to exceed the first threshold and the number of CRC error packets shows a gradually increasing trend after the acquisition and analysis system analyzes the number of CRC error packets, the acquisition and analysis system may continue to analyze the received optical power to determine whether the received optical power is within the first normal range.
Step S908, the link abnormality of the target link corresponding to the target port determined by the acquisition and analysis system is caused by improper configuration of the target port or poor contact of the target port.
In some embodiments, if it is determined that the CRC number of erroneous packets is in a gradually increasing trend and the received optical power of the target port is within the first normal range after the acquisition and analysis system analyzes the CRC number of erroneous packets, 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.
In some embodiments, if the number of CRC error packets is gradually increased and the receiving optical power of the optical module is in a normal range, the problems of improper port configuration, poor port contact and the like may be considered, and further troubleshooting is required.
The technical scheme provided by the embodiment can not only find the abnormal condition of the target link, but also determine the abnormal reason of the target link through analysis.
Fig. 10 is a flow diagram illustrating a method of link quality monitoring in accordance with an example embodiment.
Referring to fig. 10, a link quality monitoring method provided by an embodiment of the present disclosure may include the following steps.
Step S1002, the acquisition and analysis system of the target network acquires the CRC error packet number, the received optical power, and the transmitted optical power from the target port of the target network device of the target network.
Step S1004, the collecting and analyzing system analyzes the received optical power, and determines that the frequency of the received optical power exceeding the first normal range is greater than a fourth threshold.
Step S1006, the collecting and analyzing system analyzes the CRC error packet number, and determines that the CRC error packet number does not exceed the first threshold and the CRC error packet number shows a gradually increasing trend.
Step S1008, acquiring a link abnormality of a target link corresponding to the target port determined by the analysis system, where the link abnormality is caused by an optical module of the target network.
In some embodiments, if an alarm that the received optical power exceeds the threshold value is frequently received and the number of CRC error packets gradually increases, it may be basically determined that the link quality is abnormal due to the optical module problem.
The technical scheme provided by the embodiment can not only find the abnormal condition of the target link, but also determine the abnormal reason of the target link through analysis.
Fig. 11 is a flow diagram illustrating a method of link quality monitoring in accordance with an example embodiment.
Referring to fig. 11, a link quality monitoring method provided by an embodiment of the present disclosure may include the following steps.
Step S1102, the acquisition and analysis system of the target network acquires the CRC error packet number, the received optical power, and the transmitted optical power from the target port of the target network device of the target network.
Step S1104, the collecting and analyzing system analyzes the transmitted optical power and determines that the received optical power exceeds a second normal range.
Step S1106, the collecting and analyzing system determines that the transmitting optical power affects the receiving of the data by the receiving port at the opposite end of the target port.
In some embodiments, if an alarm that the transmitted optical power exceeds the threshold is frequently received, there may be a problem that the port of the peer device is affected to receive data, and further checking for a fault is required.
The technical scheme provided by the embodiment can not only find the abnormal condition of the target link, but also determine the abnormal reason of the target link through analysis.
Fig. 12 is a flow chart illustrating a method of link quality monitoring according to an example embodiment.
Firstly, a collection and analysis system or a management and control system configures key data reporting subscription of a target port of target equipment reflecting link quality, and the subscription comprises the following steps: the CRC packet error number, the receiving optical power and the sending optical power of the optical module, the alarm report that the CRC packet error number exceeds a set threshold value, and the alarm report that the receiving optical power and the sending optical power of the optical module exceed the set threshold value.
The link quality detection method may include the steps of:
step (I): the device data collection reporting mode of the target port of the target device may adopt any one or more of the following modes:
(1) Periodic (periodic) reporting: the target port reports the acquired data such as the CRC error packet number, the receiving optical power of the optical module, the transmitting optical power and the like to the control system periodically, the reporting period is configurable, and the minimum reporting period of a sub-second level should be supported. In order to reduce the data amount of the collection report, a redundancy suppression function should be supported, that is, if the collected data value is not changed, the data is not reported, but a heartbeat monitoring message needs to be periodically reported to the management and control system, which indicates that the subscription can keep the connection state.
(2) Change (on-change) reporting: the target port reports the acquired data such as CRC packet error quantity, receiving optical power of an optical module, sending optical power and the like after the first reporting, and reports the data when the subsequent data value changes. In order to reduce the amount of data reported due to frequent data changes, a report suppression function is also supported, that is, a suppression timer is set, and the data reporting is triggered when the timer times out.
(3) Triggering and reporting a threshold value: and presetting a CRC (cyclic redundancy check) packet error quantity threshold, a receiving optical power threshold and a sending optical power threshold of an optical module, triggering reporting when the acquired data reaches or exceeds the thresholds, wherein the reporting frequency can be set.
The network device collects the data and packages a telemetrology (a remote data collection technology for monitoring the performance and faults of the device) message according to a subscription configuration and data reporting mode, carries the collected timestamp information and the collected node information, and reports the timestamp information and the collected node information to the management and control system.
Referring to fig. 12, a joint reporting mode of periodic reporting and threshold triggered reporting may be used to report data such as the number of CRC error packets, the received optical power of the optical module, and the transmitted optical power.
Step (II): the step of the management and control system performing real-time intelligent processing on the reported link quality data comprises at least one of the following modes:
(1) The reported CRC error packet data and the received and transmitted optical power data of the optical module are subjected to correlation analysis, and if the CRC error packet number is gradually increased and the received optical power of the optical module deviates from a normal range (too strong or too weak), as shown in fig. 6, a link quality abnormal trend possibly caused by the problem of the optical module can be preliminarily determined.
(2) If the alarm that the CRC error packet data exceeds the threshold value is frequently received and the alarm that the received optical power exceeds the threshold value is frequently received, the abnormal link quality caused by the optical module problem can be basically determined.
(3) If the number of CRC error packets is gradually increased and the received optical power of the optical module is in a normal range, the problems of improper port configuration, poor port contact and the like can be considered, and further troubleshooting is required.
(4) If the alarm that the received optical power exceeds the threshold value is frequently received and the CRC error packet number is in a trend of gradually increasing, the link quality abnormity caused by the optical module problem can be basically determined.
(5) If an alarm that the transmitted optical power exceeds the threshold value is frequently received, the problem that the receiving port of the opposite terminal equipment receives data may be influenced, and further troubleshooting is needed.
Step (three): real-time visual presentation of link quality status by the management and control system (as shown in fig. 13):
(1) When the link quality is detected in real time, the abnormal link should be marked with a striking color (such as dark red) or a special shape (such as star) to indicate a major failure.
(2) When the link quality is detected to have abnormal trend in real time, the link with the abnormal trend is marked by light color (such as yellow) or characteristic shape, and the hidden trouble is prompted.
The network device in the above embodiment can report CRC packet error count, reception/emission power data, threshold alarm information, and the like, which reflect link quality, in real time; the management and control system carries out real-time intelligent processing and correlation analysis on the reported link quality data, can monitor the link quality condition in real time, accurately predicts the abnormal trend of the link quality, and visually presents the link with abnormal quality, thereby greatly improving the efficiency of fault diagnosis and root cause analysis.
According to the embodiment, the real-time data reflecting the link quality and the alarm information are obtained from the network equipment, and the management and control system performs real-time correlation analysis and intelligent processing on the reported data, so that the link quality abnormity or the abnormity trend is evaluated and determined.
Based on the same inventive concept, the embodiment of the present disclosure further provides a link quality monitoring device, such as the following embodiments. Because the principle of the embodiment of the apparatus for solving the problem is similar to that of the embodiment of the method, the embodiment of the apparatus can be implemented by referring to the implementation of the embodiment of the method, and repeated details are not described again.
Fig. 14 is a block diagram illustrating a link quality monitoring apparatus according to an example embodiment. Referring to fig. 14, a link quality monitoring apparatus 1400 provided by an embodiment of the present disclosure may include: a data collection module 1401 and an analysis module 1402.
The data acquisition module 1401 may be configured to acquire, through an acquisition and analysis system of a target network, the number of CRC error packets, the receiving optical power, and the transmitting optical power from a target port of a target network device of the target network; the analysis module 1402 may be configured to analyze the CRC error packet number, the received optical power, and the transmitted optical power through the collecting and analyzing system to determine the link quality of the target link corresponding to the target port.
It should be noted here that the data acquisition module 1401 and the analysis module 1402 correspond to S102 to S104 in the method embodiment, and the modules are the same as the examples and application scenarios realized by the corresponding steps, but are not limited to the disclosure of the method embodiment. It should be noted that the modules described above as part of an apparatus may be implemented in a computer system such as a set of computer-executable instructions.
In some embodiments, the analysis module 1402 may include: the device comprises a first error packet analysis unit, a first optical power analysis unit and a first abnormity judgment unit.
The first packet error analysis unit may be configured to analyze, by the acquisition and analysis system, the number of CRC packet errors, and determine that the number of CRC packet errors does not exceed the first threshold but shows a gradually increasing trend; the first optical power analysis unit can be used for analyzing the received optical power by the acquisition and analysis system and determining that the received optical power deviates from a first normal range; the first abnormality judgment unit may be configured to collect a link abnormality occurring in a target link corresponding to a target port determined by the analysis system, where the link abnormality is caused by an optical module in a target network.
In some embodiments, the analysis module 1402 may include: the second error packet analysis unit, the second optical power analysis unit and the second abnormity judgment unit.
The second packet error analysis unit may be configured to analyze, by the acquisition and analysis system, the number of CRC packet errors, and determine that a frequency at which the number of CRC packet errors exceeds the first threshold is greater than a second threshold; the second optical power analysis unit may be configured to analyze the received optical power by the acquisition and analysis system, and determine that a frequency at which the received optical power exceeds the first normal range is greater than a third threshold; the second abnormality judgment unit may be configured to collect a link abnormality occurring in a target link corresponding to the target port determined by the analysis system, where the link abnormality is caused by an optical module in the target network.
In some embodiments, the analysis module 1402 may include: a third error packet analysis unit, a third optical power analysis unit and a third anomaly judgment unit.
The third error packet analysis unit can be used for analyzing the CRC error packet quantity by the acquisition and analysis system and determining that the CRC error packet quantity shows a gradually increasing trend; the third optical power analysis unit may be configured to analyze the received optical power with the acquisition and analysis system, and determine that the received optical power is within a first normal range; the third anomaly determination unit may be configured to collect a link anomaly occurring on a target link corresponding to the target port determined by the analysis system, where the link anomaly is caused by improper configuration of the target port or poor contact of the target port.
In some embodiments, the fourth error packet analysis unit, the fourth optical power analysis unit and the fourth abnormality determination unit.
The fourth receiving optical power analysis unit may be configured to analyze the receiving optical power by the acquisition and analysis system, and determine that a frequency at which the receiving optical power exceeds the first normal range is greater than a fourth threshold; the fourth packet error analysis unit can be used for analyzing the CRC packet error quantity by the acquisition and analysis system, and determining that the CRC packet error quantity does not exceed the first threshold value and shows a gradually increasing trend; the fourth abnormality judgment unit may be configured to acquire a link abnormality occurring in a target link corresponding to the target port determined by the analysis system, where the link abnormality is caused by an optical module of the target network.
In some embodiments, a fifth optical power analysis unit and a fifth abnormality determination unit.
The fifth optical power analysis unit may be configured to analyze the transmitted optical power by the acquisition and analysis system, and determine that the received optical power exceeds a second normal range;
the acquisition and analysis system determines that the transmitting optical power affects the reception of data by the opposite receiving port of the target port.
In some embodiments, the link quality monitoring device may further include: and a periodic reporting module.
The periodic reporting module may be configured to periodically report, by the target port, the CRC packet error number, the received optical power, and the transmitted optical power to the acquisition and analysis system of the target network before the acquisition and analysis system of the target network acquires the CRC packet error number, the received optical power, and the transmitted optical power from the target port of the target network device of the target network; the target port also supports a redundancy suppression function so as to report data to the acquisition and analysis system when the CRC packet error number or the receiving optical power or the transmitting optical power changes, and not report data to the acquisition and analysis system when the CRC packet error number or the receiving optical power or the transmitting optical power does not change.
In some embodiments, the link quality monitoring device may further include: and a change reporting module.
The change reporting module may be configured to, before the acquisition and analysis system of the target network acquires the CRC error packet number, the received optical power, and the transmitted optical power from the target port of the target network device of the target network, send the CRC error packet number, the received optical power, and the transmitted optical power to the acquisition and analysis system when the CRC error packet number, the received optical power, or the transmitted optical power changes; the target port also supports a report suppression function so as to report data to the acquisition and analysis system when the suppression timer is triggered and not report data to the acquisition and analysis system when the suppression timer is not triggered.
In some embodiments, the link quality monitoring device may further include: and triggering a reporting module by a threshold value.
The threshold triggering and reporting module may be configured to, before the acquisition and analysis system of the target network acquires the CRC error packet number, the received optical power, and the transmitted optical power from the target port of the target network device of the target network, send the CRC error packet number, the received optical power, and the transmitted optical power to the acquisition and analysis system when the CRC error packet number 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.
Since the functions of the apparatus 1400 have been described in detail in the corresponding method embodiments, the disclosure is not repeated herein.
The modules and/or units described in the embodiments of the present application may be implemented by software or hardware. The described modules and/or units may also be provided in a processor. Wherein the names of the modules and/or units in some cases do not constitute a limitation of the modules and/or units themselves.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Furthermore, the above-described figures are merely schematic illustrations of processes included in methods according to exemplary embodiments of the present disclosure, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed, for example, synchronously or asynchronously in multiple modules.
FIG. 15 shows a schematic structural diagram of an electronic device suitable for use in implementing embodiments of the present disclosure. It should be noted that the electronic device 1500 shown in fig. 15 is only an example, and should not bring any limitation to the functions and the scope of the embodiments of the present disclosure.
As shown in fig. 15, the electronic apparatus 1500 includes a Central Processing Unit (CPU) 1501 which can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM) 1502 or a program loaded from a storage section 1508 into a Random Access Memory (RAM) 1503. In the RAM 1503, various programs and data necessary for the operation of the electronic apparatus 1500 are also stored. The CPU 1501, the ROM 1502, and the RAM 1503 are connected to each other by a bus 1504. An input/output (I/O) interface 1505 is also connected to bus 1504.
The following components are connected to the I/O interface 1505: an input portion 1506 including a keyboard, a mouse, and the like; an output portion 1507 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 1508 including a hard disk and the like; and a communication section 1509 including a network interface card such as a LAN card, a modem, or the like. 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, or the like is mounted on the drive 1510 as necessary, so that a computer program read out therefrom is installed into the storage section 1508 as necessary.
In particular, the processes described above with reference to the flow diagrams may be implemented as computer software programs, according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable storage medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 1509, and/or installed from the removable media 1511. The above-described functions defined in the system of the present application are executed when the computer program is executed by the Central Processing Unit (CPU) 1501.
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 two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable storage medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
As another aspect, the present application also provides a computer-readable storage medium, which may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable storage medium carries one or more programs which, when executed by a device, cause the device to perform functions including: the acquisition and analysis system of the target network acquires the CRC error packet quantity, the receiving optical power and the sending optical power from a target port of target network equipment of the target network; and the acquisition and analysis system analyzes the CRC packet error quantity, the receiving optical power and the transmitting optical power to determine the link quality of a target link corresponding to the target port.
According to an aspect of the application, a computer program product or computer program is provided, comprising computer instructions, the computer instructions being stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the method provided in the various alternative implementations of the embodiments described above.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution of the embodiment of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.), and includes several instructions for enabling a computing device (which may 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, such as the steps shown in one or more of fig. 1 to 5 and fig. 8 to 11.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the disclosure is not limited to the details of construction, the arrangements of the drawings, or the manner of implementation that have been set forth herein, but on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.
Claims (13)
1. A method for link quality monitoring, comprising:
the acquisition and analysis system of the target network acquires the CRC error packet quantity, the receiving optical power and the sending optical power from a target port of target network equipment of the target network;
and the acquisition and analysis system analyzes the CRC packet error quantity, the receiving optical power and the sending optical power to determine the link quality of a target link corresponding to the target port.
2. The method of claim 1, wherein the analyzing the CRC error number, the received optical power, and the transmitted optical power data by the collecting and analyzing system to determine the link quality of the target link corresponding to the target port comprises:
the acquisition and analysis system analyzes the CRC packet error amount, and determines that the CRC packet error amount does not exceed a first threshold but shows a gradually increasing trend;
the acquisition and analysis system analyzes the received optical power and determines that the received optical power deviates from a first normal range;
and the acquisition and analysis system determines that a link abnormity occurs in a target link corresponding to the target port, and the link abnormity is caused by an optical module in the target network.
3. The method of claim 1, wherein the analyzing the CRC error number, the received optical power, and the transmitted optical power data by the collecting and analyzing system to determine the link quality of the target link corresponding to the target port comprises:
the acquisition and analysis system analyzes the CRC packet error quantity and determines that the frequency of the CRC packet error quantity exceeding a first threshold is greater than a second threshold;
the acquisition and analysis system analyzes the received optical power and determines that the frequency of the received optical power exceeding a first normal range is greater than a third threshold;
and the acquisition and analysis system determines that a link abnormity occurs in a target link corresponding to the target port, and the link abnormity is caused by an optical module in the target network.
4. The method of claim 1, wherein the analyzing the CRC error number, the received optical power, and the transmitted optical power data by the collecting and analyzing system to determine the link quality of the target link corresponding to the target port comprises:
the acquisition and analysis system analyzes the CRC packet error amount and determines that the CRC packet error amount shows a gradually increasing trend;
the acquisition and analysis system analyzes the received optical power and determines that the received optical power is in a first normal range;
the acquisition 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 improper configuration of the target port or poor contact of the target port.
5. The method of claim 1, wherein the analyzing the CRC error number, the received optical power, and the transmitted optical power data by the collecting and analyzing system to determine the link quality of the target link corresponding to the target port comprises:
the acquisition and analysis system analyzes the received optical power and determines that the frequency of the received optical power exceeding a first normal range is greater than a fourth threshold;
the acquisition and analysis system analyzes the CRC packet error quantity, and determines that the CRC packet error quantity does not exceed a first threshold and the CRC packet error quantity shows a gradually increasing trend;
and the acquisition and analysis system determines that a link abnormity occurs in a target link corresponding to the target port, and the link abnormity is caused by an optical module of the target network.
6. The method of claim 1, wherein the analyzing the CRC error number, the received optical power, and the transmitted optical power by the collecting and analyzing system to determine the target link quality corresponding to the target port comprises:
the acquisition and analysis system analyzes the transmitted optical power and determines that the transmitted optical power exceeds a second normal range;
and the acquisition and analysis system determines that the sending light power influences the receiving of the opposite end receiving port of the target port on the data.
7. The method of claim 1, wherein the collecting and analyzing 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, comprising:
the target port reports the CRC error packet number, the receiving optical power and the sending optical power to an acquisition and analysis system of the target network periodically;
the target port further supports a redundancy suppression function so as to report data to the acquisition 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 acquisition and analysis system when neither the number of CRC error packets or the received optical power nor the transmitted optical power changes.
8. The method of claim 1, wherein the collecting and analyzing 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, comprising:
when the CRC error packet number or the receiving optical power or the transmitting optical power changes, the target port reports the CRC error packet number, the receiving optical power and the transmitting optical power data to the acquisition and analysis system;
the target port further supports a report suppression function so as to report data to the acquisition and analysis system when a suppression timer is triggered and not report data to the acquisition and analysis system when the suppression timer is not triggered.
9. The method of claim 1, wherein the collecting and analyzing 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, comprising:
and the target port reports the CRC error packet number, the receiving optical power and the transmitting optical power data to the acquisition and analysis system when the CRC error packet number exceeds a first threshold value, or the receiving optical power deviates from a first normal range, or the transmitting optical power deviates from a second normal range.
10. A method as claimed in claim 7, 8 or 9, wherein the collecting and analyzing 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, comprising:
and the target network equipment performs message packaging on the acquired data and carries acquisition timestamp information and acquisition node information.
11. A link quality monitoring apparatus, comprising:
the data acquisition module is used for acquiring the CRC error packet quantity, the receiving optical power and the sending optical power from a target port of target network equipment of a target network by an acquisition and analysis system of the target network;
and the analysis module is used for analyzing the CRC packet error number, the receiving optical power and the sending optical power by the acquisition and analysis system so as to determine the link quality of a target link corresponding to the target port.
12. An electronic device, comprising:
a memory; and
a processor coupled to the memory, the processor being configured to perform the link quality monitoring method of any of claims 1-9 based on instructions stored in the memory.
13. A computer-readable storage medium, on which a program is stored which, when executed by a processor, implements the link quality monitoring method according to any one of claims 1 to 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210861318.3A CN115242610A (en) | 2022-07-20 | 2022-07-20 | Link quality monitoring method and device, electronic equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210861318.3A CN115242610A (en) | 2022-07-20 | 2022-07-20 | Link quality monitoring method and device, electronic equipment and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115242610A true CN115242610A (en) | 2022-10-25 |
Family
ID=83676226
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210861318.3A Pending CN115242610A (en) | 2022-07-20 | 2022-07-20 | Link quality monitoring method and device, electronic equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115242610A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116436825A (en) * | 2022-10-27 | 2023-07-14 | 中国电信股份有限公司 | Packet loss processing method and system and network equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101682425A (en) * | 2007-06-05 | 2010-03-24 | 思科技术公司 | Optical link quality monitoring in a computer network |
US20120008506A1 (en) * | 2010-07-12 | 2012-01-12 | International Business Machines Corporation | Detecting intermittent network link failures |
CN105763251A (en) * | 2016-04-19 | 2016-07-13 | 广东睿江云计算股份有限公司 | Optical fibre link quality monitoring method and apparatus |
CN110365406A (en) * | 2019-07-16 | 2019-10-22 | 中国联合网络通信集团有限公司 | IP network optical port method of evaluating performance and equipment |
CN113595833A (en) * | 2021-08-05 | 2021-11-02 | 中国工商银行股份有限公司 | CRC exception handling method and system |
CN113810105A (en) * | 2020-06-15 | 2021-12-17 | 中兴通讯股份有限公司 | Optical fiber link detection method, network device and storage medium |
-
2022
- 2022-07-20 CN CN202210861318.3A patent/CN115242610A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101682425A (en) * | 2007-06-05 | 2010-03-24 | 思科技术公司 | Optical link quality monitoring in a computer network |
US20120008506A1 (en) * | 2010-07-12 | 2012-01-12 | International Business Machines Corporation | Detecting intermittent network link failures |
CN105763251A (en) * | 2016-04-19 | 2016-07-13 | 广东睿江云计算股份有限公司 | Optical fibre link quality monitoring method and apparatus |
CN110365406A (en) * | 2019-07-16 | 2019-10-22 | 中国联合网络通信集团有限公司 | IP network optical port method of evaluating performance and equipment |
CN113810105A (en) * | 2020-06-15 | 2021-12-17 | 中兴通讯股份有限公司 | Optical fiber link detection method, network device and storage medium |
CN113595833A (en) * | 2021-08-05 | 2021-11-02 | 中国工商银行股份有限公司 | CRC exception handling method and system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116436825A (en) * | 2022-10-27 | 2023-07-14 | 中国电信股份有限公司 | Packet loss processing method and system and network equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210006484A1 (en) | Fault detection method, apparatus, and system | |
CN112422344A (en) | Log abnormity warning method and device, storage medium and electronic device | |
US20180198693A1 (en) | System and method of troubleshooting network source inefficiency | |
JP2004528648A (en) | Automatic detection of limiting factor in TCP connection | |
CN113507436B (en) | Power grid embedded terminal fuzzy test method aiming at GOOSE protocol | |
US20120147757A1 (en) | Method, System and Apparatus for Diagnosing Physical Downlink Failure | |
CN110954849B (en) | Abnormity detection system and method for electrical equipment and monitoring terminal | |
KR102455332B1 (en) | Methods and devices for determining the state of a network device | |
CN116647671A (en) | Fault locating method, fault locating device, fault locating system, electronic equipment and computer readable medium | |
CN115242610A (en) | Link quality monitoring method and device, electronic equipment and computer readable storage medium | |
CN105825641A (en) | Service alarm method and apparatus | |
CN114172796B (en) | Fault positioning method and related device for communication network | |
CN110896544B (en) | Fault delimiting method and device | |
CN110224872B (en) | Communication method, device and storage medium | |
CN116204386B (en) | Method, system, medium and equipment for automatically identifying and monitoring application service relationship | |
CN113810238A (en) | Network monitoring method, electronic device and storage medium | |
KR20100060335A (en) | Network apparatus and method for controlling the same | |
CN115835275A (en) | Method and device for diagnosing faults of 5G CPE (customer premises equipment) | |
CN113064890A (en) | Quality evaluation method, device, server and medium for operator data | |
CN114253799A (en) | Fault processing system, method, server and readable storage medium | |
CN111988172A (en) | Network information management platform, device and security management method | |
CN117255005B (en) | CDN-based service alarm processing method, device, equipment and medium | |
CN114173370B (en) | Fault positioning method, device, equipment and storage medium | |
KR101356683B1 (en) | System for analysing iec61850 network | |
CN118483976B (en) | Distributed control system, switch ring network monitoring method, device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |