CN102281168A - Link fault processing method and device based on OAM (Operation Administration and Maintenance) alarm detection - Google Patents
Link fault processing method and device based on OAM (Operation Administration and Maintenance) alarm detection Download PDFInfo
- Publication number
- CN102281168A CN102281168A CN2011101200124A CN201110120012A CN102281168A CN 102281168 A CN102281168 A CN 102281168A CN 2011101200124 A CN2011101200124 A CN 2011101200124A CN 201110120012 A CN201110120012 A CN 201110120012A CN 102281168 A CN102281168 A CN 102281168A
- Authority
- CN
- China
- Prior art keywords
- link
- state
- fault recovery
- oam
- detecting
- 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
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a link fault processing method and device based on OAM (Operation Administration and Maintenance) alarm detection. The method comprises the following steps of: A, when connectivity fault recovery of a data forwarding link is detected, marking a link state as a fault recovery state, and monitoring a OAM detection cycle and a timeout duration of a timer by starting the timer; B, when a set OAM detection cycle is passed every time, detecting whether the link state is in the fault recovery state still, if so, executing a step C, and if not, returning to continuously execute the step A; C, judging whether the timeout duration of the timer is due or not, if so, executing the step D, and if not, returning to execute the step B; and D, noticing an upper-layer link of fault recovery of the data forwarding link. According to the method, the link state switching oscillation caused by state oscillation during link fault recovery is avoided, and the system performance is improved.
Description
Technical field
The present invention relates to communication technical field, refer to a kind of link failure processing method and device especially based on the OAM alarm detection.
Background technology
Packet Transport Network (Packet Transport Network; PTN) survivability of network realizes by network protection and recovery technology; need realizing can rapidly self-healing, can resist network objectives such as single point failure; to reach existing SDH (Synchronous Digital Hierarchy) (Synchronous Digital Hierarchy, SDH) rank of network protection.And Operations, Administration and Maintenance (Operation Administration and Maintenance, OAM) promptness of alarm detection and the stable performance index that directly determined network protection and recovery.
Data forwarding link configuration in the network has OAM to detect and the protection switch function.On the data forwarding link failure of connectivity takes place, this fault is detected by OAM, can notify other module to carry out operations such as link switchover and alarm demonstration immediately.When the failure of connectivity of the data forwarding link that breaks down recovers, the state of this link can be detected by OAM, notifies other module to carry out link simultaneously and returns and cut and operation such as former chain circuit alarming removing.
In the application of network reality, when the data forwarding link occurs fault, in a period of time that faulty link has just recovered, its forwarding state might be unsettled, can cause the detected Link State of OAM also is concussion, may alternately detect link connected trouble and fault recovery, and the OAM detection can notify other module to carry out corresponding operating, as link switchover, alarm etc.
Therefore OAM detects the alarm concussion that the Link State concussion causes and will inevitably cause that the operating state of other module also produces concussion during link-recovery, thereby influences data forwarding, even causes system that link switchover frequently takes place, and influences systematic function.
Summary of the invention
The embodiment of the invention provides a kind of link failure processing method and device based on the OAM alarm detection, the Link State that the detected state concussion that exists when solving existing link failure recovery based on the 0AM alarm detection causes switches concussion, influences the problem of systematic function.
A kind of link failure processing method based on the OAM alarm detection comprises:
A, when detecting the fault recovery of data forwarding connectivity of link, the labeled link state is the fault recovery state, and starts the timer monitoring and return to form sense cycle and timer expiry time;
B, every sense cycle that returns to form through setting detect Link State and whether still are the fault recovery state; If, execution in step C; Continue to carry out A otherwise return;
C, judge whether the timer expiry time expires; If, execution in step D; Return step B otherwise carry out;
D, to upper strata link advertisement data forwarding link failure recovery.
A kind of link failure processing unit based on the OAM alarm detection comprises: state detection unit, state judging unit, overtime judging unit and state advertisement unit;
Described state detection unit is used for when detecting the fault recovery of data forwarding connectivity of link, and the labeled link state is the fault recovery state, and starts timer monitoring OAM sense cycle and timer expiry time;
Described state judging unit is used for every OAM sense cycle through setting, and detects Link State and whether still is the fault recovery state; If notify described overtime judging unit; Otherwise described notify status detecting unit;
Described overtime judging unit is used to judge whether the timer expiry time expires; If notify described state advertisement unit; Otherwise notify described state judging unit;
Described state advertisement unit is used for to upper strata link advertisement data forwarding link failure recovery.
Beneficial effect of the present invention is as follows:
Link failure processing method and device that the embodiment of the invention provides based on the OAM alarm detection, when detecting the fault recovery of data forwarding connectivity of link, start timer, be implemented in when detecting link failure recovery and wait for a period of time, after link is stable, reinform the upper strata link, thus the state concussion when having avoided link-recovery, the frequent switching problem of the link that is caused is avoided frequent switching because of link to influence data and is normally transmitted.This method has improved the stability of systematic function and system, has avoided the state concussion, and realizes simply, conveniently, is a kind of reliable link failure recovery reason mechanism.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes a part of the present invention, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, does not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is one of flow chart of link failure processing method in the embodiment of the invention;
Fig. 2 be link failure processing method in the embodiment of the invention flow chart two;
Fig. 3 is the structural representation of link fault treating apparatus in the embodiment of the invention.
Embodiment
In order to make technical problem to be solved by this invention, technical scheme and beneficial effect clearer, clear,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The link failure processing method based on the OAM alarm detection that the embodiment of the invention provides, the handling process when detecting the connectivity of link fault recovery comprises the steps: as shown in Figure 1
Step S11: the data conversion link is carried out detection of connectivity.
Data forwarding link generation failure of connectivity and when recovering, alarm detector can detect the connectivity of link fault recovery.
Step S12: when detecting the fault recovery of data forwarding connectivity of link, the labeled link state is the fault recovery state, and starts timer monitoring OAM sense cycle and timer expiry time.
By the Link State flag bit labeled link state in the detection example table is malfunction or fault recovery state.When detecting the fault recovery of data forwarding connectivity of link, revising the Link State flag bit that detects in the example table is the fault recovery state, and waits for the generation of next link failure or fault recovery incident.
Preferably, the timer expiry time is the setting multiple of monitoring periods of returning to form.Preferably, the monitoring periods that returns to form is determined according to the OAM sense cycle.
For example: start timer t=0, the time-out time of timer is set to T*N, and T and N can join; Wherein, T is the monitoring periods that returns to form, and is a time value of determining according to the OAM sense cycle, the detection number of times of N for setting, and general time T should be greater than 3.5 times of OAM sense cycle.
Step S13: monitor the monitoring periods that returns to form and whether expire.
Promptly monitor the monitoring periods T that returns to form and whether expire,
If whether execution in step S14 expires otherwise execution in step S13 continues to monitor the monitoring periods that returns to form.
Step S14: detect Link State and whether still be the fault recovery state.
After detecting link failure recovery, every monitoring periods that returns to form through setting confirms whether a Link State still is the fault recovery state.Specifically can determine whether Link State still is the fault recovery state by detecting the Link State flag bit in the example table.
If, execution in step S15; Continue execution in step S11 otherwise return, even link is a malfunction, then waits for the generation of link failure recovery time next time.
Step S15: judge whether the timer expiry time expires.
If, execution in step S16; Return step S13 otherwise carry out.
Step S16: to upper strata link advertisement data forwarding link failure recovery.
The link failure processing method that the embodiment of the invention provides based on the OAM alarm detection, also comprise when detecting the connectivity of link fault recovery handling process as shown in Figure 2, carry out following steps:
Step S21: the data conversion link is carried out detection of connectivity.
Data forwarding link generation failure of connectivity, alarm detector can detect the connectivity of link fault.
Step S22: when detecting the connectivity of link fault, the labeled link state is a malfunction.
By the Link State flag bit labeled link state in the detection example table is malfunction or fault recovery state.When detecting data forwarding connectivity of link fault, revising the Link State flag bit that detects in the example table is malfunction, and waits for the generation of next link failure or fault recovery incident.
Step S23: to upper strata link advertisement data forwarding link generation failure of connectivity.
When detecting data forwarding connectivity of link fault, the upper strata link can be known immediately, and carry out associative operations such as link switchover, alarm.
The execution sequence of step S22 and step S23 in no particular order.
The link failure processing method that provides based on the embodiment of the invention based on the OAM alarm detection, the embodiment of the invention also provides a kind of link failure processing unit based on the OAM alarm detection, this device can be realized by the OAM module, its structure comprises as shown in Figure 3: state detection unit 10, state judging unit 20, overtime judging unit 30 and state advertisement unit 40.
Preferably, above-mentioned state detection unit 10 also is used for: when detecting the connectivity of link fault, notify status notification unit 40 is to upper strata link advertisement data forwarding link generation failure of connectivity, and the labeled link state is a malfunction.
Preferably, above-mentioned state detection unit 10 specifically is used for: the Link State flag bit labeled link state by the detection example table is malfunction or fault recovery state.
Preferably, above-mentioned state judging unit 20 specifically is used for: by detecting the Link State flag bit of example table, determine whether Link State still is the fault recovery state.
The link failure processing method that the embodiment of the invention provides based on the OAM alarm detection, when detecting the generation of data forwarding connectivity of link fault, announce the upper strata link immediately, when detecting the fault recovery of data forwarding connectivity of link, wait for a period of time, after link is stable, reinform the upper strata link, thereby the state when having avoided link-recovery concussion, the frequent switching problem of the link that is caused is avoided frequent switching because of link to influence data and is normally transmitted.This method has improved systematic function, has avoided the Link State concussion, and realizes simple, convenient.
Above-mentioned explanation illustrates and has described a preferred embodiment of the present invention, but as previously mentioned, be to be understood that the present invention is not limited to the disclosed form of this paper, should not regard eliminating as to other embodiment, and can be used for various other combinations, modification and environment, and can in invention contemplated scope described herein, change by the technology or the knowledge of above-mentioned instruction or association area.And change that those skilled in the art carried out and variation do not break away from the spirit and scope of the present invention, then all should be in the protection range of claims of the present invention.
Claims (10)
1. the link failure processing method based on the OAM alarm detection is characterized in that, comprising:
A, when detecting the fault recovery of data forwarding connectivity of link, the labeled link state is the fault recovery state, and starts the timer monitoring and return to form sense cycle and timer expiry time;
B, every sense cycle that returns to form through setting detect Link State and whether still are the fault recovery state; If, execution in step C; Continue to carry out A otherwise return;
C, judge whether the timer expiry time expires; If, execution in step D; Return step B otherwise carry out;
D, to upper strata link advertisement data forwarding link failure recovery.
2. the method for claim 1 is characterized in that, also comprises:
When detecting the connectivity of link fault, to upper strata link advertisement data forwarding link generation failure of connectivity, and the labeled link state is a malfunction.
3. method as claimed in claim 1 or 2 is characterized in that, is malfunction or fault recovery state by the Link State flag bit labeled link state that detects in the example table.
4. method as claimed in claim 3 is characterized in that, whether described detection Link State still is the fault recovery state, specifically comprises:
By detecting the Link State flag bit in the example table, determine whether Link State still is the fault recovery state.
5. method as claimed in claim 1 or 2 is characterized in that, the setting multiple that the described timer expiry time is the described monitoring periods that returns to form.
6. method as claimed in claim 5 is characterized in that, the described monitoring periods that returns to form is determined according to the OAM sense cycle.
7. the link failure processing unit based on the OAM alarm detection is characterized in that, comprising: state detection unit, state judging unit, overtime judging unit and state advertisement unit;
Described state detection unit is used for when detecting the fault recovery of data forwarding connectivity of link, and the labeled link state is the fault recovery state, and starts timer monitoring OAM sense cycle and timer expiry time;
Described state judging unit is used for every OAM sense cycle through setting, and detects Link State and whether still is the fault recovery state; If notify described overtime judging unit; Otherwise described notify status detecting unit;
Described overtime judging unit is used to judge whether the timer expiry time expires; If notify described state advertisement unit; Otherwise notify described state judging unit;
Described state advertisement unit is used for to upper strata link advertisement data forwarding link failure recovery.
8. device as claimed in claim 1, it is characterized in that described state detection unit also is used for: when detecting the connectivity of link fault, notify described state advertisement unit to upper strata link advertisement data forwarding link generation failure of connectivity, and the labeled link state is a malfunction.
9. method as claimed in claim 8 or 9 is characterized in that state detection unit specifically is used for: the Link State flag bit labeled link state by detecting example table is malfunction or fault recovery state.
10. method as claimed in claim 9 is characterized in that, described state judging unit specifically is used for:
By detecting the Link State flag bit in the example table, determine whether Link State still is the fault recovery state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011101200124A CN102281168A (en) | 2011-05-10 | 2011-05-10 | Link fault processing method and device based on OAM (Operation Administration and Maintenance) alarm detection |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011101200124A CN102281168A (en) | 2011-05-10 | 2011-05-10 | Link fault processing method and device based on OAM (Operation Administration and Maintenance) alarm detection |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102281168A true CN102281168A (en) | 2011-12-14 |
Family
ID=45106365
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011101200124A Pending CN102281168A (en) | 2011-05-10 | 2011-05-10 | Link fault processing method and device based on OAM (Operation Administration and Maintenance) alarm detection |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102281168A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102780576A (en) * | 2012-04-18 | 2012-11-14 | 中兴通讯股份有限公司 | Method and device for submitting fault generation and fault disappearing |
CN102882700A (en) * | 2012-08-03 | 2013-01-16 | 中国科学院声学研究所 | Warning information management method and device of network management system |
WO2013185567A1 (en) * | 2012-07-25 | 2013-12-19 | 中兴通讯股份有限公司 | Apparatus and method for protecting and switching packet transport network |
CN106878096A (en) * | 2015-12-10 | 2017-06-20 | 中国电信股份有限公司 | VNF state-detections notifying method, device and system |
CN108367681A (en) * | 2015-12-18 | 2018-08-03 | 裕罗有限公司 | The automatic reclosing device and method of electric vehicle charging thread control device |
CN108540379A (en) * | 2018-04-19 | 2018-09-14 | 南方电网科学研究院有限责任公司 | Time synchronization disturbance switching method, time synchronism apparatus and system based on IEEE 1588V2 |
CN109039681A (en) * | 2017-06-09 | 2018-12-18 | 杭州达乎科技有限公司 | Method for optimizing route, storage device and the network equipment based on SDN |
CN110995585A (en) * | 2019-12-10 | 2020-04-10 | 武汉瑞盈通网络技术有限公司 | Link non-load sharing protection method |
CN111918316A (en) * | 2019-05-10 | 2020-11-10 | 大唐移动通信设备有限公司 | Base station maintenance method and base station maintenance device |
CN114221881A (en) * | 2021-12-16 | 2022-03-22 | 苏州盛科通信股份有限公司 | Method, device and storage medium for realizing signal degradation and failure detection based on OAM |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030165119A1 (en) * | 2002-03-04 | 2003-09-04 | Hsu Ivy Pei-Shan | Network configuration protocol and method for rapid traffic recovery and loop avoidance in ring topologies |
CN1983890A (en) * | 2005-12-16 | 2007-06-20 | 中兴通讯股份有限公司 | Method for restoring failure node service in SDII system |
CN101141364A (en) * | 2006-09-07 | 2008-03-12 | 华为技术有限公司 | Method and device for implementing protection rearrangement in ring ethernet |
CN101686158A (en) * | 2008-09-22 | 2010-03-31 | 中兴通讯股份有限公司 | Control method for Ethernet loop guard fault recovery and Ethernet loop node |
-
2011
- 2011-05-10 CN CN2011101200124A patent/CN102281168A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030165119A1 (en) * | 2002-03-04 | 2003-09-04 | Hsu Ivy Pei-Shan | Network configuration protocol and method for rapid traffic recovery and loop avoidance in ring topologies |
CN1983890A (en) * | 2005-12-16 | 2007-06-20 | 中兴通讯股份有限公司 | Method for restoring failure node service in SDII system |
CN101141364A (en) * | 2006-09-07 | 2008-03-12 | 华为技术有限公司 | Method and device for implementing protection rearrangement in ring ethernet |
CN101686158A (en) * | 2008-09-22 | 2010-03-31 | 中兴通讯股份有限公司 | Control method for Ethernet loop guard fault recovery and Ethernet loop node |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013155940A1 (en) * | 2012-04-18 | 2013-10-24 | 中兴通讯股份有限公司 | Method and device for reporting fault generation and disappearance |
CN102780576B (en) * | 2012-04-18 | 2015-06-03 | 中兴通讯股份有限公司 | Method and device for submitting fault generation and fault disappearing |
CN102780576A (en) * | 2012-04-18 | 2012-11-14 | 中兴通讯股份有限公司 | Method and device for submitting fault generation and fault disappearing |
WO2013185567A1 (en) * | 2012-07-25 | 2013-12-19 | 中兴通讯股份有限公司 | Apparatus and method for protecting and switching packet transport network |
EP2866378A4 (en) * | 2012-07-25 | 2015-07-01 | Zte Corp | Apparatus and method for protecting and switching packet transport network |
KR101537633B1 (en) * | 2012-07-25 | 2015-07-17 | 지티이 코포레이션 | Apparatus and method for protecting and switching packet transport network |
CN102882700A (en) * | 2012-08-03 | 2013-01-16 | 中国科学院声学研究所 | Warning information management method and device of network management system |
CN106878096B (en) * | 2015-12-10 | 2019-12-06 | 中国电信股份有限公司 | VNF state detection notification method, device and system |
CN106878096A (en) * | 2015-12-10 | 2017-06-20 | 中国电信股份有限公司 | VNF state-detections notifying method, device and system |
CN108367681A (en) * | 2015-12-18 | 2018-08-03 | 裕罗有限公司 | The automatic reclosing device and method of electric vehicle charging thread control device |
CN109039681A (en) * | 2017-06-09 | 2018-12-18 | 杭州达乎科技有限公司 | Method for optimizing route, storage device and the network equipment based on SDN |
CN108540379A (en) * | 2018-04-19 | 2018-09-14 | 南方电网科学研究院有限责任公司 | Time synchronization disturbance switching method, time synchronism apparatus and system based on IEEE 1588V2 |
CN111918316A (en) * | 2019-05-10 | 2020-11-10 | 大唐移动通信设备有限公司 | Base station maintenance method and base station maintenance device |
CN111918316B (en) * | 2019-05-10 | 2022-05-03 | 大唐移动通信设备有限公司 | Base station maintenance method and base station maintenance device |
CN110995585A (en) * | 2019-12-10 | 2020-04-10 | 武汉瑞盈通网络技术有限公司 | Link non-load sharing protection method |
CN114221881A (en) * | 2021-12-16 | 2022-03-22 | 苏州盛科通信股份有限公司 | Method, device and storage medium for realizing signal degradation and failure detection based on OAM |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102281168A (en) | Link fault processing method and device based on OAM (Operation Administration and Maintenance) alarm detection | |
CN1874201B (en) | Method and equipment for triggering protection of optical network under shared configuration of receiving devices | |
CN101141364A (en) | Method and device for implementing protection rearrangement in ring ethernet | |
JP2006229477A (en) | Failure detector | |
CN101436975B (en) | Method, apparatus and system for implementing rapid convergence in looped network | |
CN102571457B (en) | A kind of method, bypass equipment changing method and device triggering bypass equipment and switch | |
CN100403698C (en) | Method and apparatus for testing ethernet connection damage | |
US9013977B2 (en) | Method and system for reducing traffic disturbance in a communication network caused by intermittent failure | |
CN103634131A (en) | A method and device for detecting interconnection links of virtualization network devices | |
CN103346944A (en) | Multi-channel looped network node device with multi-point collaboration detection and detection method | |
CN104135417B (en) | A kind of method of the fast quick-recovery of ethernet ring network link down and corresponding ethernet ring network | |
CN105790965A (en) | Method and device for link switching and line card | |
CN102571458A (en) | Switching method and device for tunnel protection sets | |
CN101163059B (en) | Network node detection method and apparatus | |
CN101197591B (en) | Protection recovery method and apparatus for ASON | |
CN101741618A (en) | Service processing method of data communication equipment and data communication equipment | |
CN105634774A (en) | Method, service line card and system for recovering link communication | |
CN101980478A (en) | Method and device for detecting and processing equipment failures and network equipment | |
CN107682188B (en) | Fault sensing method and device | |
CN104348676A (en) | Link detection method and device based on operation administration and maintenance | |
CN102780576B (en) | Method and device for submitting fault generation and fault disappearing | |
CN103404091A (en) | Business protecting method, device and system | |
CN104202193A (en) | Distributed protection link fault detection method | |
WO2014040470A1 (en) | Alarm message processing method and device | |
CN101321094A (en) | Connectivity fault positioning device and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20111214 |
|
RJ01 | Rejection of invention patent application after publication |