CN105099832A - Method and system for detecting degradation condition of link signal - Google Patents
Method and system for detecting degradation condition of link signal Download PDFInfo
- Publication number
- CN105099832A CN105099832A CN201510562751.7A CN201510562751A CN105099832A CN 105099832 A CN105099832 A CN 105099832A CN 201510562751 A CN201510562751 A CN 201510562751A CN 105099832 A CN105099832 A CN 105099832A
- Authority
- CN
- China
- Prior art keywords
- frame
- link
- frame count
- theoretical
- alarm
- 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.)
- Granted
Links
Landscapes
- Maintenance And Management Of Digital Transmission (AREA)
Abstract
The invention discloses a method and a system for detecting a degradation condition of a link signal. The method comprises: ensuring that a link has no relevant port alarm and activating VS layer CV frame enabling; performing CV frame statistic counting, and recording a CV frame count and actual performing time when the times of performing reach theoretical performing times; when a ratio of the CV frame count to actual performing time is smaller than a ratio of a theoretical CV frame count to theoretical performing time, determining link signal degradation, triggering a signal degradation alarm and discarding VP layer CV frames via the alarm port; otherwise, determining that the link is free from signal degradation and recovering VP layer CV frame transmission. According to the method, whether signal degradation occurs in the link is judged by comparing the ratio of the CV frame count to the actual performing time with the ratio of the theoretical CV frame count to the theoretical performing time; besides, the statistical accuracy is improved by increasing a CV frame transmission speed, and a theoretical CV frame count sum is adjusted according to actual link quality, and therefore, the judgment result of link signal degradation is more accurate.
Description
Technical field
The present invention relates to optical-fiber network technical field, be specifically related to a kind of method and system detecting link signal deterioration state.
Background technology
CC (ContinuitycheckandConnectivityVerification, continuity detects and Connectivity Verification) function operation is at aggressive mode, source MEP (MEGEndPoint, MEG end points) periodically send OAM (OperationAdministrationandMaintenance, Operations, Administration and Maintenance) message, egress MEP detects the Loss of continuity (LOC between two maintaining end points, lossofcontinuity) fault, and miss failure of connectivitys such as merging, by mistake connect.
The frame transmitting CC information is CV frame; as a kind of OAM of initiative; can be used for fault management, performance monitoring and pretection switch; detect identical MEG (MaintenanceEntityGroup; management entity group) Loss of continuity fault in territory between any pair MEP; also undesirable connectedness (mistake is mixed into) between two MEG can be detected; failure of connectivity in MEG and between a MEP do not required (unexpected MEP), and other failure condition (such as unexpected MEG grade, unexpected cycle etc.).The transmission cycle of CV frame is that 3.3ms/10ms/100ms/1s, MEP carry out breakdown judge to the CV frame received, if do not receive the correct CV frame of opposite end MEP within 3.5 times of transmission cycles, then produces LOC alarm, and must report the unmatched CC message received.For transmission link Signal Degrade fault common in optical-fiber network; because the OAM message of transmission is partially discarded; most of CV frame for detection of connectivity and Connectivity Verification still can be received by the equipment at two ends; cause failing to produce LOC alarm; cannot switch by trigger protection; make business via the link transmission of deterioration, cause damage.
In order to solve the problem, the execution cycle having scheme to propose to utilize CV frame count to add up and number of times are to add up CV number of frames, and the mode compared with theoretical count value judges whether transmission link exists Signal Degrade, but, the polling mechanism that CV frame count statistics task runs based on device software, the time of implementation of statistics task can be subject to the interference of the factors such as miscellaneous equipment running software situation and extend, thus CV number of frames may be caused to add up too much, the judged result of transmission link Signal Degrade is not accurate enough.
Summary of the invention
Technical problem to be solved by this invention solves prior art according to execution cycle of statistics task and number of times to add up CV number of frames, and the mode compared with theoretical count value judges whether transmission link exists Signal Degrade, time of implementation due to statistics task can be interfered and extend, CV frame count is caused to be added up too much, the problem that the judged result of transmission link Signal Degrade is not accurate enough.
In order to solve the problems of the technologies described above, the technical solution adopted in the present invention is to provide a kind of method detecting link signal deterioration state, comprises the following steps:
Guaranteeing under the prerequisite of link without related port alarm, opening VS layer CV frame enable;
Perform CV frame count statistics task, when perform number of times reach theoretical perform number of times time, record CV frame count and and actual execution time;
Judge CV frame count and whether be less than theoretical CV frame count and the ratio with the theoretical time of implementation with the ratio of actual execution time, if be less than, then judge that link exists Signal Degrade, triggering signal deterioration alarm, foundation abandons stream, abandons the VP layer CV frame via alarm port; Otherwise, judge that link does not exist Signal Degrade, Signal Degrade alarm clearance, delete and abandon stream, recover the transmission of VP layer CV frame.
In technique scheme, after judging that described link exists Signal Degrade, the transmission speed of described VS layer CV frame is brought up to more than 10 times or 10 times, again perform CV frame count statistics task, and to described theoretical CV frame count with synchronously change.
In technique scheme, according to the actual conditions of described link, to described theoretical CV frame count and adjusting accordingly, to judge the Signal Degrade state of described link more accurately.
In technique scheme, after triggering described Signal Degrade alarm, keep the connection of described link and continue to perform described CV frame count statistics task.
Present invention also offers a kind of system detecting link signal deterioration state, comprising:
Enable unit, is guaranteeing under the prerequisite of link without related port alarm, opens VS layer CV frame enable;
Statistic unit, performs CV frame count statistics task, when perform number of times reach theoretical perform number of times time, record CV frame count and and actual execution time;
Signal Degrade judging unit, judge CV frame count and whether be less than theoretical CV frame count and the ratio with the theoretical time of implementation with the ratio of actual execution time, if be less than, then judge that link exists Signal Degrade, triggering signal deterioration alarm, foundation abandons stream, abandons the VP layer CV frame via alarm port; Otherwise, judge that link does not exist Signal Degrade, Signal Degrade alarm clearance, delete and abandon stream, recover the transmission of VP layer CV frame.
In technique scheme, Signal Degrade judging unit is after judging that described link exists Signal Degrade, the transmission speed of described VS layer CV frame is brought up to more than 10 times or 10 times, again performs CV frame count statistics task, and to described theoretical CV frame count with synchronously change.
In technique scheme, also comprise adjustment unit, according to the actual conditions of described link, to described theoretical CV frame count and adjusting accordingly.
In technique scheme, after Signal Degrade judging unit triggering signal deterioration alarm, keep the connection of link, statistic unit continues to perform described CV frame count statistics task.
The present invention, by compare CV frame count and with the ratio of actual execution time and theoretical CV frame count and the ratio size with the theoretical time of implementation, judge whether link exists Signal Degrade, during link signal deterioration, triggering signal deterioration alarm, and abandon stream by foundation, abandon the VP layer CV frame via alarm port, trigger protection is switched, after Signal Degrade alarm disappears, recover the transmission of VP layer CV frame, and improve statistical accuracy by improving CV frame transmission speed, according to physical link quality carry out theoretical CV frame count and adjustment, make the judged result of link signal deterioration more accurate.
Accompanying drawing explanation
A kind of method flow diagram detecting link signal deterioration state that Fig. 1 provides for the embodiment of the present invention;
A kind of system schematic detecting link signal deterioration state that Fig. 2 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with specification drawings and specific embodiments, the present invention is described in detail.
Embodiments provide a kind of method detecting link signal deterioration state, by performing CV frame count statistics task, when execution number of times reaches theoretical execution number of times, record CV frame count and and actual execution time, judge CV frame count and whether be less than theoretical CV frame count and the ratio with the theoretical time of implementation with the ratio of actual execution time, if be less than, then judge that link exists Signal Degrade, triggering signal deterioration alarm, foundation abandons stream, and then by abandoning the VP (Virtual via this alarm port, Path, Virtual Channel) mode of layer CV frame, trigger the pretection switch via this link, and after Signal Degrade alarm disappears, deletion abandons stream, recover the transmission of CP layer CV frame, as shown in Figure 1, said method comprising the steps of:
Step 101, determining that link is without RLOS (ReceiveLossofSignal, receiver side dropout), under the prerequisite of the related port alarm such as LINKLOS (connection signal loss) or VSLOC, open VS (VirtualSection, virtual segment) layer CV frame is enable, and its middle port is NNI (Network-Node Interface).
Step 102, execution CV frame count statistics task, judge that whether perform number of times reaches theoretical execution number of times, if so, goes to step 103; Otherwise, go to step 102.
It should be noted that, the theoretical number of times that performs calculated according to the execution cycle of theoretical time of implementation and statistics task, and such as: the execution cycle of statistics task is 5ms, the theoretical time of implementation is 20s, then theory performs number of times is 4000 times.
Step 103, removing perform number of times, and record CV frame count and and actual execution time.
Step 104, judge CV frame count and whether be less than theoretical CV frame count and the ratio with the theoretical time of implementation with the ratio of actual execution time, if be less than, go to step 105; Otherwise, go to step 106.
It should be noted that, the execution cycle due to statistics task is 5ms, theoretical time of implementation=execution cycle × theory perform number of times, it is such as theoretical that to perform number of times is 4000 times, then theory time of implementation=5ms × 4000=20000ms=20s; The transmission cycle due to CV frame is 3.3ms/10ms/100ms/1s, sending the cycle is the soonest 3.3ms, namely 300 frames (CV frame transmission speed) are sent 1 second, then theoretical CV frame count and=theoretical time of implementation × CV frame transmission speed, i.e. theoretical CV frame count and=20 seconds × 300 frames/second=6000 frames.
Further, after judging transmission link Signal Degrade, in order to improve statistical accuracy, judge whether transmission link Signal Degrade is that other unexpected factors cause further, the transmission speed of CV frame is brought up to more than 10 times or 10 times, again perform CV frame count statistics task, and to theoretical CV frame count with synchronously change.
Optionally, because different links is different to the tolerances of Signal Degrade, can also store CV frame count in a period of time and some minimum values, and can inquire about in network management interface, to check link actual conditions during practical application, according to CV frame count and situation of change to theoretical CV frame count and adjusting accordingly, to judge the Signal Degrade state of link more accurately.
Step 105, judge that link exists Signal Degrade, triggering signal deterioration alarm, remove CV frame count and and actual execution time, set up and abandon stream, abandon the VP layer CV frame via alarm port.
Step 106, judge that link does not exist Signal Degrade, Signal Degrade alarm clearance, remove CV frame count and and actual execution time, delete and abandon stream, recover the transmission of VP layer CV frame.
It should be noted that, after Signal Degrade alarm produces, shutoff operation is not carried out to the port of link and optical module, keep the connection of link, to proceed the counting statistics task of VS layer CV frame and to judge the Signal Degrade state of link.Meanwhile, for trigger VP layer relevant linear/looped network protection, need to set up for alarm port to abandon stream, abandon the VP layer CV frame via this alarm port, trigger protection is switched, and after Signal Degrade alarm disappears, deletes and abandon stream, recovers the transmission of VP layer CV frame.
The embodiment of the present invention additionally provides a kind of system detecting link signal deterioration state, as shown in Figure 2, comprising:
Enable unit 10, is guaranteeing under the prerequisite of link without related port alarm, opens VS layer CV frame enable;
Statistic unit 20, performs CV frame count statistics task, when perform number of times reach theoretical perform number of times time, record CV frame count and and actual execution time;
Signal Degrade judging unit 30, judge CV frame count and whether be less than theoretical CV frame count and the ratio with the theoretical time of implementation with the ratio of actual execution time, if be less than, then judge that link exists Signal Degrade, triggering signal deterioration alarm, foundation abandons stream, abandons the VP layer CV frame via alarm port; Otherwise, judge that link does not exist Signal Degrade, Signal Degrade alarm clearance, delete and abandon stream, recover the transmission of VP layer CV frame.
The present invention is not limited to above-mentioned preferred forms, and anyone should learn the structural change made under enlightenment of the present invention, and every have identical or close technical scheme with the present invention, all falls within protection scope of the present invention.
Claims (8)
1. detect a method for link signal deterioration state, it is characterized in that, comprise the following steps:
Guaranteeing under the prerequisite of link without related port alarm, opening VS layer CV frame enable;
Perform CV frame count statistics task, when perform number of times reach theoretical perform number of times time, record CV frame count and and actual execution time;
Judge CV frame count and whether be less than theoretical CV frame count and the ratio with the theoretical time of implementation with the ratio of actual execution time, if be less than, then judge that link exists Signal Degrade, triggering signal deterioration alarm, foundation abandons stream, abandons the VP layer CV frame via alarm port; Otherwise, judge that link does not exist Signal Degrade, Signal Degrade alarm clearance, delete and abandon stream, recover the transmission of VP layer CV frame.
2. the method for claim 1, it is characterized in that, after judging that described link exists Signal Degrade, the transmission speed of described VS layer CV frame is brought up to more than 10 times or 10 times, again perform CV frame count statistics task, and to described theoretical CV frame count with synchronously change.
3. the method for claim 1, is characterized in that, according to the actual conditions of described link, to described theoretical CV frame count and adjusting accordingly, to judge the Signal Degrade state of described link more accurately.
4. the method for claim 1, is characterized in that, after triggering described Signal Degrade alarm, keeps the connection of described link and continues to perform described CV frame count statistics task.
5. detect a system for link signal deterioration state, it is characterized in that, comprising:
Enable unit, is guaranteeing under the prerequisite of link without related port alarm, opens VS layer CV frame enable;
Statistic unit, performs CV frame count statistics task, when perform number of times reach theoretical perform number of times time, record CV frame count and and actual execution time;
Signal Degrade judging unit, judge CV frame count and whether be less than theoretical CV frame count and the ratio with the theoretical time of implementation with the ratio of actual execution time, if be less than, then judge that link exists Signal Degrade, triggering signal deterioration alarm, foundation abandons stream, abandons the VP layer CV frame via alarm port; Otherwise, judge that link does not exist Signal Degrade, Signal Degrade alarm clearance, delete and abandon stream, recover the transmission of VP layer CV frame.
6. system as claimed in claim 5, it is characterized in that, Signal Degrade judging unit is after judging that described link exists Signal Degrade, the transmission speed of described VS layer CV frame is brought up to more than 10 times or 10 times, again perform CV frame count statistics task, and to described theoretical CV frame count with synchronously change.
7. system as claimed in claim 5, is characterized in that, also comprise adjustment unit, according to the actual conditions of described link, to described theoretical CV frame count with adjust accordingly.
8. system as claimed in claim 5, is characterized in that, after Signal Degrade judging unit triggering signal deterioration alarm, keep the connection of link, statistic unit continues to perform described CV frame count statistics task.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510562751.7A CN105099832B (en) | 2015-09-07 | 2015-09-07 | A kind of method and system for detecting link signal deterioration state |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510562751.7A CN105099832B (en) | 2015-09-07 | 2015-09-07 | A kind of method and system for detecting link signal deterioration state |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105099832A true CN105099832A (en) | 2015-11-25 |
CN105099832B CN105099832B (en) | 2018-05-29 |
Family
ID=54579443
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510562751.7A Active CN105099832B (en) | 2015-09-07 | 2015-09-07 | A kind of method and system for detecting link signal deterioration state |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105099832B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080279103A1 (en) * | 2007-05-10 | 2008-11-13 | Futurewei Technologies, Inc. | Network Availability Enhancement Technique for Packet Transport Networks |
CN101719843A (en) * | 2009-12-18 | 2010-06-02 | 烽火通信科技股份有限公司 | Method of LSP linear protection switching in PTN |
CN102386997A (en) * | 2010-08-30 | 2012-03-21 | 中兴通讯股份有限公司 | Method and system for detecting signal degradation state of grouping paths |
CN102724086A (en) * | 2012-06-21 | 2012-10-10 | 中兴通讯股份有限公司 | Method and device for detecting quality of transmission link |
CN102790702A (en) * | 2011-05-19 | 2012-11-21 | 中兴通讯股份有限公司 | Method, device and system for detecting signal degradation of packet path |
-
2015
- 2015-09-07 CN CN201510562751.7A patent/CN105099832B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080279103A1 (en) * | 2007-05-10 | 2008-11-13 | Futurewei Technologies, Inc. | Network Availability Enhancement Technique for Packet Transport Networks |
CN101719843A (en) * | 2009-12-18 | 2010-06-02 | 烽火通信科技股份有限公司 | Method of LSP linear protection switching in PTN |
CN102386997A (en) * | 2010-08-30 | 2012-03-21 | 中兴通讯股份有限公司 | Method and system for detecting signal degradation state of grouping paths |
CN102790702A (en) * | 2011-05-19 | 2012-11-21 | 中兴通讯股份有限公司 | Method, device and system for detecting signal degradation of packet path |
CN102724086A (en) * | 2012-06-21 | 2012-10-10 | 中兴通讯股份有限公司 | Method and device for detecting quality of transmission link |
Also Published As
Publication number | Publication date |
---|---|
CN105099832B (en) | 2018-05-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100687739B1 (en) | Method for monitoring link performance and diagnosing active status of link for Ethernet Passive Optical Network | |
CN102404069B (en) | The method and system of a kind of data encapsulation packet loss of link and out of order statistics | |
WO2013097882A1 (en) | Technique for handling a status change in an interconnect node | |
US20070022331A1 (en) | Single-ended ethernet management system and method | |
EP1592171B1 (en) | Silent datapath failure detection | |
EP1733506B1 (en) | Fault management in an ethernet based communication system | |
EP4246913A2 (en) | Method, device and computer-readable medium for measuring traffic hit time during path switch | |
CN114285767A (en) | Service forwarding performance detection device for time-triggered Ethernet switch | |
CN1783837A (en) | Method for detecting route unit fault | |
CA3103276A1 (en) | Application-aware links | |
CN103001808A (en) | Switch for detecting port faults and achieving method | |
CN105099832A (en) | Method and system for detecting degradation condition of link signal | |
CN104348676B (en) | A kind of chain circuit detecting method and equipment based on operation management maintainance OAM | |
CN103874106A (en) | Method for self-adaptively closing base station radio frequency in wireless communication | |
CN101741647B (en) | Method and device for measuring switching time of Ethernet ring network | |
CN101442766B (en) | Apparatus and method for detecting access channel fault | |
US9509584B2 (en) | OAM name state event trigger | |
CN113727222A (en) | Method and device for detecting MAC address drift in PON system | |
US8571182B2 (en) | Systems and methods of masking non-service affecting alarms in a communication system | |
JP2006197176A (en) | Method of monitoring physical line in packet communication | |
CN110138446B (en) | Detection method for redundancy degradation fault of dual-redundancy fiber channel network | |
CN114384792B (en) | Safe and redundant PLC communication control system | |
Babu et al. | Method and apparatus for automated link failure detection in networks using machine learning | |
KR20060126619A (en) | Fault management in a ethernet based communication system | |
CN115865742A (en) | Method and system for detecting unidirectional link fault of white box switch |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20180321 Address after: 430074 Wuhan, Hongshan Province District Road, Department of mail, No. 88 hospital Applicant after: Fenghuo Communication Science &. Technology Co., Ltd. Applicant after: WUHAN FIBERHOME TECHNICAL SERVICES CO., LTD. Address before: 430074 East Lake Development Zone, Hubei, Optics Valley Venture Street, No. 67, No. Applicant before: Fenghuo Communication Science &. Technology Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |