[go: up one dir, main page]

CN114221881A - Method, device and storage medium for realizing signal degradation and failure detection based on OAM - Google Patents

Method, device and storage medium for realizing signal degradation and failure detection based on OAM Download PDF

Info

Publication number
CN114221881A
CN114221881A CN202111543274.1A CN202111543274A CN114221881A CN 114221881 A CN114221881 A CN 114221881A CN 202111543274 A CN202111543274 A CN 202111543274A CN 114221881 A CN114221881 A CN 114221881A
Authority
CN
China
Prior art keywords
signal
storage medium
threshold
signal degradation
preset value
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
Application number
CN202111543274.1A
Other languages
Chinese (zh)
Inventor
单哲
王子晗
刘亚波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Centec Communications Co Ltd
Original Assignee
Suzhou Centec Communications Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Centec Communications Co Ltd filed Critical Suzhou Centec Communications Co Ltd
Priority to CN202111543274.1A priority Critical patent/CN114221881A/en
Publication of CN114221881A publication Critical patent/CN114221881A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • H04L43/0829Packet loss

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明揭示了一种基于OAM实现信号劣化及失效检测的方法、装置及存储介质,方法包括判断当前检测周期内是否接收到CCM报文;根据判断结果,将存储介质的最低位置为第一预设值或第二预设值;在当前检测周期结束时,统计存储介质中第一预设值的数量,并判断该数量是否小于信号失效产生门限;当数量小于信号失效产生门限时产生信号失效告警,并将存储介质中数据左移一位;否则,判断该数量是否小于信号劣化产生门限;当数量小于信号劣化产生门限,则产生信号劣化告警,将存储介质中数据左移一位。本发明能够准确且连续的进行信号劣化及失效检测。

Figure 202111543274

The invention discloses a method, device and storage medium for realizing signal degradation and failure detection based on OAM. The method includes judging whether a CCM message is received in the current detection period; set value or the second preset value; at the end of the current detection period, count the number of the first preset value in the storage medium, and determine whether the number is less than the signal failure generation threshold; when the number is less than the signal failure generation threshold, a signal failure is generated alarm, and shift the data in the storage medium by one bit to the left; otherwise, determine whether the number is less than the signal degradation threshold; when the number is less than the signal degradation threshold, a signal degradation alarm is generated, and the data in the storage medium is shifted left by one bit. The present invention can accurately and continuously perform signal degradation and failure detection.

Figure 202111543274

Description

Method, device and storage medium for realizing signal degradation and failure detection based on OAM
Technical Field
The present invention relates to the field of network communication technologies, and in particular, to a method for implementing signal degradation and signal failure detection based on OAM, and an apparatus and a storage medium for implementing the method.
Background
Currently, timing connectivity detection through a Connectivity Check Message (CCM) is a basic function of the ethernet OAM. The result of the connectivity check is usually linked to the Protection Switching function of the system, such as an APS (Automatic Protection Switching) function. During implementation, the ethernet OAM performs connectivity detection in a pre-configured sending and receiving period through the CCM packet, and if a certain OAM session does not receive a correct CCM packet within 3.5 periods, a LOC (loss of connectivity) alarm is generated and reported to an upper system. After receiving the LOC alarm, the upper layer system processes the LOC alarm into a signal with a failed signal and informs an APS protocol module to perform protection switching processing.
For the protection switching module, it needs to distinguish the signal failure signal and the signal degradation signal according to its protocol. When distinguishing signal failure from signal degradation, the physical signal quality of the detection port is usually adopted, or the judgment is performed according to data packet loss statistics. However, from the service perspective, the physical signal quality of the port cannot directly reflect the signal state of the service, and using the data packet loss statistics may consume additional storage space for storage and packet loss calculation, which has a high requirement on hardware. In addition, when performing packet loss statistics, usually, only the packet loss rate is periodically calculated. When packet loss occurs between two adjacent periods, a packet loss rate according to signal failure or signal degradation may be generated. However, packet loss is distributed in two periods, and it may be erroneously determined that the packet loss threshold is not reached, and a signal failure or a signal degradation alarm cannot be reported, so that it is difficult to perform smooth continuous signal quality detection.
Disclosure of Invention
The invention aims to provide a method for realizing signal degradation and failure detection based on OAM, which can accurately and continuously detect signal degradation and failure. Meanwhile, an apparatus and a storage medium for implementing the method are also provided.
In order to achieve the above object, the present invention provides a method for detecting signal degradation and failure based on OAM, the method comprising:
s10, judging whether a CCM message is received in the current detection period;
s20, in response to the judgment result of S10, setting the lowest position of the storage medium to a first preset value or a second preset value, wherein the bit width of the storage medium is at least N, the N is the number of detection cycles included in a detection interval, the N is an integer greater than 1, the first preset value is used for identifying that a CCM message is received, and the second preset value is used for identifying that the CCM message is not received;
s30, when the current detection period is over, counting the number of the first preset values in the storage medium, and judging whether the number is less than the signal failure generation threshold;
s40, responding to the number smaller than the signal failure generating threshold, generating a signal failure alarm, further shifting the data in the storage medium by one bit to the left, and executing S10-S30, or responding to the number not smaller than the signal failure generating threshold, further executing S50;
s50, determining whether the number is less than a signal degradation generation threshold;
s60, in response to the number being less than the signal degradation generation threshold, generating a signal degradation alarm, shifting the data in the storage medium by one bit to the left, and executing S10-S30.
As a modification of the method of the present invention, after S60, the method further includes:
s70, judging whether the number is larger than the signal degradation clearing threshold;
s80, in response to the number is larger than the signal degradation clearing threshold, clearing the signal degradation alarm, further shifting the data in the storage medium by one bit to the left, and executing S10-S30, or in response to the number is not larger than the signal degradation clearing threshold, executing S90;
s90, judging whether the number is larger than the signal failure clearing threshold;
s100, in response to the number being greater than the signal failure clearing threshold, clearing the signal failure alarm, further shifting the data in the storage medium by one bit to the left, and executing S10-S30.
As a modification of the method of the present invention, the first preset value is 1, the second preset value is 0, and all data of the storage medium is initially set to the first preset value.
As an improvement of the method of the present invention, it is determined whether the current detection period is over by a timer.
The invention also discloses a device for realizing signal degradation and failure detection based on OAM, which comprises:
the first judgment module is used for judging whether a CCM message is received in the current detection period;
the storage module is used for setting the lowest position of the storage medium to a first preset value or a second preset value according to the judgment result of the first judgment module, the bit width of the storage medium is at least N, the N is the number of detection cycles included in a detection interval, the N is an integer greater than 1, the first preset value is used for identifying that a CCM message is received, and the second preset value is used for identifying that the CCM message is not received;
the second judging module is used for counting the number of the first preset values in the storage medium when the current detection period is finished and judging whether the number is smaller than a signal failure generation threshold or not;
the first alarm generating module is used for generating a signal failure alarm when the second judging module judges that the number is less than the signal failure generating threshold, and shifting the data in the storage medium by one bit to the left;
a third judging module, configured to further judge whether the number is smaller than the signal degradation generation threshold when the second judging module judges that the number is not smaller than the signal failure generation threshold;
and the second alarm generating module is used for generating a signal degradation alarm when the third judging module judges that the number is less than the signal degradation generating threshold, and shifting the data in the storage medium by one bit to the left.
As an improvement of the apparatus of the present invention, the apparatus further comprises:
the fourth judging module is used for further judging whether the number is larger than the signal degradation clearing threshold or not when the third judging module judges that the number is not smaller than the signal degradation generating threshold;
the first clearing alarm module is used for clearing the signal degradation alarm when the fourth judgment module judges that the number is greater than the signal degradation clearing threshold and shifting the data in the storage medium by one bit to the left;
a fifth judging module, configured to further judge whether the number is greater than the signal failure clearing threshold when the fourth judging module judges that the number is not greater than the signal degradation clearing threshold;
and the second clearing alarm module is used for clearing the signal failure alarm when the fifth judgment module judges that the number is greater than the signal failure clearing threshold and shifting the data in the storage medium by one bit to the left.
As an improvement of the apparatus of the present invention, the first preset value is 1, the second preset value is 0, and all data of the storage medium is initially set to the first preset value.
The invention also discloses a device for realizing signal degradation and failure detection based on OAM, which comprises:
at least one processor; and
at least one memory coupled to the at least one processor and storing a computer program for execution by the at least one processor, the computer program, when executed by the at least one processor, causing the apparatus to perform the method described above.
The invention also discloses a computer readable storage medium on which a computer program is stored, which computer program, when being executed by a machine, realizes the above-mentioned method.
The invention has the beneficial effects that:
(1) the invention makes the data in the storage medium move left periodically to free the lowest bit for the next detection period to record whether the CCM message is received, that is, the window sliding is realized by the periodic displacement of the data in the storage medium, the condition of the CCM message received in the continuous N detection periods can be smoothly recorded, the number of the CCM messages received in the continuous N detection periods can be counted, and then the signal failure and signal degradation detection can be accurately carried out according to the number.
(2) The invention can also cooperate with the original LOC detection mechanism to provide richer link service state information for the upper system and assist the upper system to make processing strategy decisions.
Drawings
Fig. 1 is a flowchart of a method for implementing signal degradation and failure detection based on OAM in an embodiment of the present invention;
FIG. 2 is a signal degradation and signal failure detection flow diagram;
FIG. 3 is a schematic view of a detection interval;
fig. 4 is a block diagram of an apparatus for implementing signal degradation and failure detection based on OAM in an embodiment of the present invention.
Detailed Description
The technical solution of the embodiment of the present invention will be clearly and completely described below with reference to the accompanying drawings of the present invention.
The method for realizing signal degradation and failure detection based on OAM can accurately and continuously detect signal degradation and failure. Specifically, referring to fig. 1 and fig. 2, the method for detecting signal degradation and failure based on OAM disclosed in the present invention includes the following steps:
s10, judging whether a CCM message is received in the current detection period;
specifically, for connectivity detection, in ethernet OAM, connectivity detection may be performed according to its preconfigured sending and receiving periods through CCM messages. The invention can judge the signal quality through the connectivity detection result, so the invention uses CCM message to detect the signal deterioration and signal failure.
As shown in fig. 3, before performing signal degradation and signal failure detection, a detection interval (which may also be referred to as a sliding window) is configured, and the detection interval includes N consecutive detection cycles. In each detection period, the CCM message may be received, or the CCM message may not be received, so that the signal degradation and the signal failure may be determined by the number of the CCM messages received in the detection interval, that is, the number of the CCM messages received in N consecutive detection periods is counted, and the signal degradation and the signal failure may be determined. As shown in the figure, in the detection interval 1, when counting the number of CCM messages, counting the number of CCM messages received from the first detection period to the nth detection period; and in the detection interval 2, counting the number of the CCM messages received from the second detection period to the (N + 1) th detection period when counting the number of the CCM messages. That is, at the next detection period, the detection interval is shifted by one detection period.
In this embodiment, N may be customized according to actual requirements, for example, N is 128, or N is 256, and the like, and may be set according to actual requirements.
Furthermore, before performing signal degradation and signal failure detection, a storage medium is configured, and the bit width of the storage medium corresponds to the detection section, that is, the bit width of the storage medium is at least N, where N is the number of detection cycles included in the detection section. Each bit may identify whether a CCM message is received within the current detection period. In implementation, when a CCM message is received in a current detection period, a corresponding bit may be set to a first preset value, and when a CCM message is not received in the current detection period, a corresponding bit may be set to a second preset value. Therefore, the number of the CCM messages received in the detection interval can be determined according to the number of the first preset values in the storage medium. For example, a storage medium with a bit width of 256, may determine the number of CCM messages received in 256 detection cycles according to the stored content.
In this embodiment, the first preset value is 1, and the second preset value is 0, that is, when a CCM packet is received in the current detection period, the value of the corresponding bit is 1, and when a CCM packet is not received in the current detection period, the value of the corresponding bit is 0.
After the detection interval and the corresponding storage medium are configured, signal degradation and signal failure detection can be performed. And when signal degradation and signal failure detection is carried out, judging whether a CCM message is received in the current detection period. In implementation, whether the received message is a CCM message or not can be determined by analyzing the received message.
S20, in response to the judgment result of S10, setting the lowest position of the storage medium to a first preset value or a second preset value, wherein the bit width of the storage medium is at least N, the N is the number of detection cycles included in a detection interval, the N is an integer greater than 1, the first preset value is used for identifying that a CCM message is received, and the second preset value is used for identifying that the CCM message is not received;
specifically, when a CCM message is received in a current detection period, the lowest position of the storage medium is set to a first preset value to identify that the CCM message is received in the latest detection period, and for example, the lowest position of the storage medium is set to 1 to identify that the CCM message is received in the current detection period. And when the CCM message is not received in the current detection period, setting the lowest position of the storage medium to be a second preset value to identify that the CCM message is received in the latest detection period, and if the lowest position of the storage medium is set to be 0, identifying that the CCM message is not received in the current detection period. Initially, all bit data of the storage medium is set to a first preset value. And when the CCM message is not received in the first detection period, the lowest position of the storage medium is set to be a second preset value.
S30, when the current detection period is over, counting the number of the first preset values in the storage medium, and judging whether the number is less than the signal failure generation threshold;
s40, responding to the number smaller than the signal failure generating threshold, generating a signal failure alarm, further shifting the data in the storage medium by one bit to the left, and executing S10-S30, or responding to the number not smaller than the signal failure generating threshold, further executing S50;
s50, determining whether the number is less than a signal degradation generation threshold;
s60, in response to the number being less than the signal degradation generation threshold, generating a signal degradation alarm, shifting the data in the storage medium by one bit to the left, and executing S10-S30.
Specifically, when the current detection period ends, the number of the first preset values in the storage medium may be counted, that is, the number of CCM messages received in the past N consecutive detection periods may be obtained. And if the current detection period is ended, calculating the number of 1 s in the current storage medium, so as to obtain the number of CCM messages received in the past continuous 256 detection periods. In practice, the counting may be performed by a timer to trigger counting the number of preset values in the storage medium at the end of the detection period.
Further, the number of received CCM messages is compared with a signal degradation generation threshold and a signal failure generation threshold, respectively, to determine whether to generate a signal degradation alarm or a signal failure alarm. When the CCM generating method is implemented, the number of the received CCM messages is compared with a signal failure generating threshold, and whether the number of the received CCM messages is smaller than the signal failure generating threshold or not is judged. And when the number of the received CCM messages is less than the signal failure generation threshold, setting a signal failure alarm mark and reporting a signal failure alarm, namely generating and reporting the signal failure alarm. The data in the storage medium is further shifted to the left by one bit, i.e. a periodic window sliding is performed, so as to discard the leftmost data (with the longest duration) and free the lowest bit for the next detection cycle to record whether the CCM message is received or not.
And when the number of the received CCM messages is not less than the signal failure generation threshold, further judging whether the number of the received CCM messages is less than the signal degradation generation threshold. And when the number of the received CCM messages is less than the signal degradation generation threshold, setting a signal degradation alarm flag and reporting a signal degradation alarm, namely generating and reporting the signal degradation alarm. The data in the storage medium is further shifted to the left by one bit, i.e. a periodic window sliding is performed, so as to discard the leftmost data (with the longest duration) and free the lowest bit for the next detection cycle to record whether the CCM message is received or not.
As shown in fig. 2, in implementation, the CCM messages are further compared with the signal degradation clear threshold and the signal failure clear threshold according to the number of the received CCM messages, so as to determine whether to generate a signal degradation clear alarm or a signal failure clear alarm. And when the number of the received CCM messages is not less than the signal degradation generation threshold, further judging whether the number of the received CCM messages is more than the signal degradation clearing threshold. And when the number of the received CCM messages is larger than the signal degradation clearing threshold, clearing the signal degradation warning mark and reporting a signal degradation clearing warning, namely generating the signal degradation clearing warning and reporting. The data in the storage medium is further shifted to the left by one bit, i.e. a periodic window sliding is performed, so as to discard the leftmost data (with the longest duration) and free the lowest bit for the next detection cycle to record whether the CCM message is received or not.
And when the number of the received CCM messages is smaller than the signal degradation clearing threshold, further judging whether the number of the received CCM messages is larger than the signal failure clearing threshold. When the number of the received CCM messages is larger than the signal failure clearing threshold, clearing the signal failure warning mark and reporting the signal failure clearing warning, namely generating the signal failure clearing warning and reporting. The data in the storage medium is further shifted to the left by one bit, i.e. a periodic window sliding is performed, so as to discard the leftmost data (with the longest duration) and free the lowest bit for the next detection cycle to record whether the CCM message is received or not.
As shown in fig. 4, the present invention further discloses a device for implementing signal degradation and failure detection based on OAM, which includes a first determining module, a storage module, a second determining module, a first alarm processing module, a third determining module, a second alarm generating module, a fourth determining module, a first clearing alarm module, a fifth determining module, and a second clearing alarm module, wherein the first determining module is configured to determine whether a CCM message is received in a current detection period; the storage module is used for responding to the received CCM message and setting the lowest position of the storage medium to a preset value, the bit width of the storage medium is at least N, the N is the number of detection cycles contained in the detection interval, and the N is an integer greater than 1; the second judging module is used for counting the number of the first preset values in the storage medium when the current detection period is finished, and judging whether the number is smaller than a signal failure generation threshold or not; the first alarm generating module is used for generating a signal failure alarm when the second judging module judges that the number is less than the signal failure generating threshold, and shifting the data in the storage medium by one bit to the left; the third judging module further judges whether the number is less than the signal degradation generation threshold when the second judging module judges that the number is not less than the signal failure generation threshold; the second alarm generating module is used for generating a signal degradation alarm when the third judging module judges that the number is less than the signal degradation generating threshold and shifting the data in the storage medium by one bit to the left; the fourth judging module is used for further judging whether the number is larger than the signal degradation clearing threshold or not when the third judging module judges that the number is not smaller than the signal degradation generating threshold; the first clearing alarm module is used for clearing the signal degradation alarm when the fourth judgment module judges that the number is greater than the signal degradation clearing threshold, and shifting the data in the storage medium by one bit to the left; the fifth judging module is used for further judging whether the number is greater than the signal failure clearing threshold or not when the fourth judging module judges that the number is not greater than the signal degradation clearing threshold; the second clearing alarm module is used for clearing the signal failure alarm and shifting the data in the storage medium by one bit to the left when the fifth judgment module judges that the number is larger than the signal failure clearing threshold.
Specifically, when signal degradation and signal failure detection is performed, whether a CCM message is received in a current detection period is judged through the first judgment module. When a CCM message is received in the current detection period, the lowest position of the storage medium is set to be a first preset value through the storage module so as to identify that the CCM message is received in the latest detection period. And when the CCM message is not received in the current detection period, setting the lowest position of the storage medium as a second preset value so as to identify that the CCM message is received in the latest detection period.
Further, when the current detection period ends, the number of the first preset values in the storage medium can be counted through the second judgment module, that is, the number of the CCM messages received in the past N consecutive detection periods can be obtained. And further comparing the number of the received CCM messages with a signal degradation generation threshold and a signal failure generation threshold respectively to determine whether to generate a signal degradation alarm or a signal failure alarm. When the CCM generating method is implemented, the number of the received CCM messages is compared with a signal failure generating threshold, and whether the number of the received CCM messages is smaller than the signal failure generating threshold or not is judged. When the number of the received CCM messages is smaller than the signal failure generation threshold, a first alarm generation module sets a signal failure alarm mark and reports a signal failure alarm, and data in the storage medium is shifted to the left by one bit, namely, periodic window sliding is carried out, so that the leftmost data (with the longest storage time) is discarded, and the lowest bit is vacated, and whether the CCM messages are received or not is recorded in the next detection period.
And when the number of the received CCM messages is not less than the signal failure generation threshold, further judging whether the number of the received CCM messages is less than the signal degradation generation threshold through a third judging module. When the number of the received CCM messages is smaller than the signal degradation generation threshold, a second alarm module sets a signal degradation alarm flag and reports a signal degradation alarm, and data in the storage medium is shifted to the left by one bit, namely, periodic window sliding is carried out, so that the leftmost data (with the longest storage time) is discarded, and the lowest bit is vacated for the next detection period to record whether the CCM messages are received or not.
When the number of the received CCM messages is not less than the signal degradation generation threshold, whether the number of the received CCM messages is greater than the signal degradation clearing threshold or not is further judged through a fourth judging module. When the number of the received CCM messages is larger than the signal degradation clearing threshold, clearing the signal degradation warning mark and reporting the signal degradation clearing warning through the first clearing warning module, namely generating the signal degradation clearing warning and reporting, and shifting the data in the storage medium by one bit to the left, namely performing periodic window sliding to discard the leftmost data (with the longest duration) and free the lowest bit for recording whether the CCM messages are received or not in the next detection period.
And when the number of the received CCM messages is smaller than the signal degradation clearing threshold, further judging whether the number of the received CCM messages is larger than the signal failure clearing threshold through a fifth judging module. When the number of the received CCM messages is larger than the signal failure clearing threshold, the second clearing alarm module clears the signal failure alarm mark and reports the signal failure clearing alarm, namely, the signal failure clearing alarm is generated and reported. The data in the storage medium is further shifted to the left by one bit, i.e. a periodic window sliding is performed, so as to discard the leftmost data (with the longest duration) and free the lowest bit for the next detection cycle to record whether the CCM message is received or not.
The invention also discloses a device for realizing signal degradation and failure detection based on OAM, which comprises a memory, a processor and a calculator program, wherein the calculator program is stored in the processor and can run in the processor, such as a program for realizing signal degradation and failure detection based on OAM. In implementation, when the processor executes the computer program, each step in the above method may be implemented, such as a step of determining whether a CCM message is received in a current detection period.
Illustratively, the computer program may be divided into one or more units, which are stored in and executed by the memory, to carry out the invention. One or more of the elements may be a sequence of computer program instruction segments for describing the execution of a computer program in the apparatus, which can perform the specified functions.
The invention also discloses a computer readable storage medium, in which a computer program is stored, which, when executed by a processor, implements the above method. Wherein the computer program comprises computer program code, which may be in source code form, an executable file or some intermediate form, etc., and the computer readable medium may comprise any entity or device capable of carrying the computer program code, a recording medium, a usb disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a Random Access Memory (RAM), etc.
The invention makes the data in the storage medium move left periodically to free the lowest bit for the next detection period to record whether the CCM message is received, that is, the window sliding is realized by the periodic displacement of the data in the storage medium, the condition of the CCM message received in the continuous N detection periods can be smoothly recorded, the number of the CCM messages received in the continuous N detection periods can be counted, and then the signal failure and signal degradation detection can be accurately carried out according to the number.
In addition, the invention can also cooperate with the original LOC detection mechanism to provide richer link service state information for the upper-layer system and assist the upper-layer system to make processing strategy decisions.
Therefore, the scope of the present invention should not be limited to the disclosure of the embodiments, but includes various alternatives and modifications without departing from the scope of the present invention, which is defined by the claims of the present patent application.

Claims (9)

1.一种基于OAM实现信号劣化及失效检测的方法,其特征在于,所述方法包括:1. a method for realizing signal degradation and failure detection based on OAM, is characterized in that, described method comprises: S10,判断当前检测周期内是否接收到CCM报文;S10, judging whether a CCM message is received in the current detection period; S20,响应于S10的判断结果,将存储介质的最低位置为第一预设值或第二预设值,所述存储介质的位宽至少为N,所述N为检测区间所包含的检测周期的数量,N为大于1的整数,所述第一预设值用于标识接收到CCM报文,第二预设值用于标识未接收到CCM报文;S20, in response to the judgment result of S10, set the lowest position of the storage medium as the first preset value or the second preset value, the bit width of the storage medium is at least N, and N is the detection period included in the detection interval The number of N is an integer greater than 1, the first preset value is used to identify that the CCM message is received, and the second preset value is used to identify that the CCM message has not been received; S30,在当前检测周期结束时,统计存储介质中第一预设值的数量,并判断该数量是否小于信号失效产生门限;S30, at the end of the current detection period, count the number of the first preset value in the storage medium, and determine whether the number is less than the signal failure generation threshold; S40,响应于数量小于信号失效产生门限,则产生信号失效告警,进一步将存储介质中数据左移一位,并执行S10~S30,或者响应于数量不小于信号失效产生门限,则进一步执行S50;S40, in response to the quantity being less than the signal failure generation threshold, generate a signal failure alarm, further shift the data in the storage medium by one bit to the left, and execute S10 to S30, or in response to the quantity not being less than the signal failure generation threshold, then further execute S50; S50,判断该数量是否小于信号劣化产生门限;S50, determine whether the number is less than the signal degradation threshold; S60,响应于数量小于信号劣化产生门限,则产生信号劣化告警,将存储介质中数据左移一位,并执行S10~S30。S60, in response to the quantity being less than the signal degradation generation threshold, a signal degradation alarm is generated, the data in the storage medium is shifted to the left by one bit, and S10 to S30 are executed. 2.根据权利要求1所述的方法,在S60之后,还包括:2. The method according to claim 1, after S60, further comprising: S70,判断该数量是否大于信号劣化清除门限;S70, judging whether the number is greater than the signal degradation clearing threshold; S80,响应于数量大于信号劣化清除门限,则清除信号劣化告警,进一步将存储介质中数据左移一位,并执行S10~S30,或者响应于数量不大于信号劣化清除门限,则执行S90;S80, in response to the quantity being greater than the signal degradation clearing threshold, clear the signal degradation alarm, further shift the data in the storage medium to the left by one bit, and execute S10 to S30, or in response to the quantity not being greater than the signal degradation clearing threshold, execute S90; S90,判断该数量是否大于信号失效清除门限;S90, judging whether the number is greater than the signal failure clearing threshold; S100,响应于数量大于信号失效清除门限,则清除信号失效告警,进一步将存储介质中数据左移一位,并执行S10~S30。S100, in response to the quantity being greater than the signal failure clearing threshold, clear the signal failure alarm, further shift the data in the storage medium by one bit to the left, and execute S10-S30. 3.根据权利要求1所述的方法,所述第一预设值为1,所述第二预设值为0,且所述存储介质在初始时所有数据均设为第一预设值。3 . The method according to claim 1 , wherein the first preset value is 1, the second preset value is 0, and all data of the storage medium is initially set to the first preset value. 4 . 4.根据权利要求1所述的方法,通过定时器确定当前检测周期是否结束。4. The method according to claim 1, determining whether the current detection period ends by a timer. 5.一种基于OAM实现信号劣化及失效检测的装置,其特征在于,所述装置包括:5. A device for realizing signal degradation and failure detection based on OAM, wherein the device comprises: 第一判断模块,用于判断当前检测周期内是否接收到CCM报文;The first judgment module is used for judging whether the CCM message is received in the current detection period; 存储模块,用于根据第一判断模块的判断结果,将存储介质的最低位置为第一预设值或第二预设值,所述存储介质的位宽至少为N,所述N为检测区间所包含的检测周期的数量,N为大于1的整数,所述第一预设值用于标识接收到CCM报文,第二预设值用于标识未接收到CCM报文;The storage module is configured to set the lowest position of the storage medium as the first preset value or the second preset value according to the judgment result of the first judgment module, the bit width of the storage medium is at least N, and the N is the detection interval The number of included detection cycles, where N is an integer greater than 1, the first preset value is used to identify that a CCM message is received, and the second preset value is used to identify that a CCM message has not been received; 第二判断模块,用于在当前检测周期结束时,统计存储介质中第一预设值的数量,并判断该数量是否小于信号失效产生门限;The second judgment module is configured to count the number of the first preset value in the storage medium when the current detection period ends, and judge whether the number is less than the signal failure generation threshold; 第一告警产生模块,用于在第二判断模块判断数量小于信号失效产生门限时产生信号失效告警,并将存储介质中数据左移一位;a first alarm generating module, configured to generate a signal failure alarm when the number determined by the second judgment module is less than the signal failure generation threshold, and shift the data in the storage medium to the left by one bit; 第三判断模块,用于在第二判断模块判断数量不小于信号失效产生门限时进一步判断该数量是否小于信号劣化产生门限;a third judgment module, configured to further judge whether the quantity is less than the signal degradation generation threshold when the second judgment module judges that the quantity is not less than the signal failure generation threshold; 第二告警产生模块,用于在第三判断模块判断数量小于信号劣化产生门限时产生信号劣化告警,并将存储介质中数据左移一位。The second alarm generating module is configured to generate a signal degradation alarm when the number determined by the third judging module is less than the signal degradation generation threshold, and shift the data in the storage medium by one bit to the left. 6.根据权利要求5所述的装置,所述装置还包括:6. The apparatus of claim 5, further comprising: 第四判断模块,用于在第三判断模块判断数量不小于信号劣化产生门限时进一步判断该数量是否大于信号劣化清除门限;a fourth judging module, configured to further judge whether the quantity is greater than the signal degradation clearing threshold when the third judging module judges that the quantity is not less than the signal degradation generation threshold; 第一清除告警模块,用于在第四判断模块判断数量大于信号劣化清除门限时清除信号劣化告警,并将存储介质中数据左移一位;The first clearing alarm module is used for clearing the signal deterioration alarm when the fourth judgment module judges that the number is greater than the signal deterioration clearing threshold, and shifts the data in the storage medium by one bit to the left; 第五判断模块,用于在第四判断模块判断数量不大于信号劣化清除门限时进一步判断该数量是否大于信号失效清除门限;a fifth judging module, configured to further judge whether the quantity is greater than the signal failure clearing threshold when the fourth judging module judges that the quantity is not greater than the signal degradation clearing threshold; 第二清除告警模块,用于在第五判断模块判断数量大于信号失效清除门限时清除信号失效告警,并将存储介质中数据左移一位。The second clearing alarm module is configured to clear the signal failure alarm when the number determined by the fifth judging module is greater than the signal failure clearing threshold, and shift the data in the storage medium by one bit to the left. 7.根据权利要求5所述的装置,所述第一预设值为1,所述第二预设值为0,且所述存储介质在初始时所有数据均设为第一预设值。7 . The device of claim 5 , wherein the first preset value is 1, the second preset value is 0, and all data of the storage medium is initially set to the first preset value. 8 . 8.一种基于OAM实现信号劣化及失效检测的装置,其特征在于,所述装置包括:8. A device for realizing signal degradation and failure detection based on OAM, wherein the device comprises: 至少一个处理器;以及at least one processor; and 至少一个存储器,所述至少一个存储器被耦合到所述至少一个处理器并且存储用于由所述至少一个处理器执行的计算机程序,所述计算机程序由所述至少一个处理器执行时,使得所述装置执行根据权利要求1至4任一项所述的方法。At least one memory coupled to the at least one processor and storing a computer program for execution by the at least one processor that, when executed by the at least one processor, causes all The apparatus performs the method according to any one of claims 1 to 4. 9.一种计算机可读存储介质,其特征在于,其上存储有计算机程序,所述计算机程序被机器执行时实现根据权利要求1至4中任一项所述的方法。9. A computer-readable storage medium, characterized in that a computer program is stored thereon, and when the computer program is executed by a machine, the method according to any one of claims 1 to 4 is implemented.
CN202111543274.1A 2021-12-16 2021-12-16 Method, device and storage medium for realizing signal degradation and failure detection based on OAM Pending CN114221881A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111543274.1A CN114221881A (en) 2021-12-16 2021-12-16 Method, device and storage medium for realizing signal degradation and failure detection based on OAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111543274.1A CN114221881A (en) 2021-12-16 2021-12-16 Method, device and storage medium for realizing signal degradation and failure detection based on OAM

Publications (1)

Publication Number Publication Date
CN114221881A true CN114221881A (en) 2022-03-22

Family

ID=80703177

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111543274.1A Pending CN114221881A (en) 2021-12-16 2021-12-16 Method, device and storage medium for realizing signal degradation and failure detection based on OAM

Country Status (1)

Country Link
CN (1) CN114221881A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030086369A1 (en) * 2001-10-29 2003-05-08 Junichi Ishiwatari Signal transmitter and signal quality monitoring device
CN101399697A (en) * 2007-09-30 2009-04-01 华为技术有限公司 System and method for automatically protection switching
CN102185740A (en) * 2011-05-13 2011-09-14 北京星网锐捷网络技术有限公司 Heartbeat detection method and network equipment
CN102281168A (en) * 2011-05-10 2011-12-14 中兴通讯股份有限公司 Link fault processing method and device based on OAM (Operation Administration and Maintenance) alarm detection
CN102724086A (en) * 2012-06-21 2012-10-10 中兴通讯股份有限公司 Method and device for detecting quality of transmission link
JP2015154124A (en) * 2014-02-12 2015-08-24 株式会社日立製作所 Communication system, and communication apparatus
CN105634844A (en) * 2014-10-31 2016-06-01 中兴通讯股份有限公司 Method and device for carrying out signal degradation state detection in PTN (Packet Transport Network)
CN107517117A (en) * 2016-06-17 2017-12-26 中兴通讯股份有限公司 A kind of IP layer OAM warning method, device and network node
CN111431786A (en) * 2020-03-17 2020-07-17 华信塞姆(成都)科技有限公司 A steering mode ring protection method for FlexE ring network in SPN
CN112737871A (en) * 2020-12-11 2021-04-30 北京东土军悦科技有限公司 Link fault detection method and device, computer equipment and storage medium
WO2021098477A1 (en) * 2019-11-20 2021-05-27 中兴通讯股份有限公司 Signal degradation processing method, apparatus and system

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030086369A1 (en) * 2001-10-29 2003-05-08 Junichi Ishiwatari Signal transmitter and signal quality monitoring device
CN101399697A (en) * 2007-09-30 2009-04-01 华为技术有限公司 System and method for automatically protection switching
CN102281168A (en) * 2011-05-10 2011-12-14 中兴通讯股份有限公司 Link fault processing method and device based on OAM (Operation Administration and Maintenance) alarm detection
CN102185740A (en) * 2011-05-13 2011-09-14 北京星网锐捷网络技术有限公司 Heartbeat detection method and network equipment
CN102724086A (en) * 2012-06-21 2012-10-10 中兴通讯股份有限公司 Method and device for detecting quality of transmission link
JP2015154124A (en) * 2014-02-12 2015-08-24 株式会社日立製作所 Communication system, and communication apparatus
CN105634844A (en) * 2014-10-31 2016-06-01 中兴通讯股份有限公司 Method and device for carrying out signal degradation state detection in PTN (Packet Transport Network)
CN107517117A (en) * 2016-06-17 2017-12-26 中兴通讯股份有限公司 A kind of IP layer OAM warning method, device and network node
WO2021098477A1 (en) * 2019-11-20 2021-05-27 中兴通讯股份有限公司 Signal degradation processing method, apparatus and system
CN111431786A (en) * 2020-03-17 2020-07-17 华信塞姆(成都)科技有限公司 A steering mode ring protection method for FlexE ring network in SPN
CN112737871A (en) * 2020-12-11 2021-04-30 北京东土军悦科技有限公司 Link fault detection method and device, computer equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
何韬;: "一种基于滑动窗判决的自适应门限扩频同步技术", 电子世界, no. 18, 23 September 2018 (2018-09-23) *
张杰等: "《光网络新业务与支撑技术》", 31 October 2005, 北京邮电大学出版社, pages: 32 - 35 *

Similar Documents

Publication Publication Date Title
CN110149220B (en) Method and device for managing data transmission channel
EP3675398B1 (en) Check code processing method, electronic device, and storage medium
WO2015076708A1 (en) Method and first network node for managing a first ip path used by a connection
US20240106737A1 (en) Application-aware links
TWI700938B (en) Management method, device and equipment when threshold pair changes
CN112242971A (en) Flow abnormity detection method, device, network equipment and storage medium
JP2009232300A (en) Congestion detecting method, congestion detection device, and congestion detection program
CN113507396B (en) Network state analysis method, device, equipment and machine-readable storage medium
US11190208B2 (en) Techniques for link partner error reporting
CN109617905B (en) Multicast attack processing method, device and implementation device
CN114221881A (en) Method, device and storage medium for realizing signal degradation and failure detection based on OAM
CN107666417B (en) Method for realizing IPFIX random sampling
CN109005053A (en) A kind of port status determines method and forwarding device
CN105162719B (en) The packet loss detection system and method for Packet Transport Network
WO2023116178A1 (en) Root cause locating method for wireless-side network, and running control apparatus and storage medium
CN109495311A (en) A kind of network fault detecting method and device
CN111131065A (en) A method and device for optimizing forwarding path quality under load balancing
CN112152865B (en) Network performance measuring device and method
CN112988463A (en) Fault node isolation method and device
CN114938346B (en) Method and device for realizing service fast switching by cooperation of chip and CPU
CN119232745B (en) A data processing method and system based on communication network
CN114884839B (en) Method for detecting unidirectional link quality
CN113268422B (en) Graded quantization-based katon detection method, device, equipment and storage medium
CN104283621A (en) A channel transmission quality monitoring method
CN114095421B (en) Network routing method, device, equipment and computer readable 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20220322