Alarm processing method and apparatus
AssigneeHuawei Technologies Co., Ltd.
InventorLiang Sun
Life of this patent
Estimating the term…
Abstract
An alarm processing method and apparatus is disclosed. Specifically, a mechanism of configuring and detecting an LOF pre-alarm is provided. A detection condition of the LOF pre-alarm is that it is detected that a frame alignment failure lasts for first duration. A detection condition of the LOF alarm is that it is detected that a frame alignment failure lasts for second duration. The second duration is less than the first duration. When detecting the LOF pre-alarm, a network device inserts a first maintenance signal frame. The first maintenance signal frame supports frame alignment. In other words, a network device that receives the first maintenance signal frame may perform normal frame alignment, so that no alarm is reported, for example, the LOF alarm is not triggered.
Claims12
An alarm processing method, comprising:
- detecting, by a second network device, that a loss of frame (LOF) pre-alarm occurs on a first working channel, wherein the first working channel connects the second network device and a first network device;
- inserting, by the second network device, a first maintenance signal frame at an ingress end, wherein the ingress end is configured to receive a data frame from the first network device through the first working channel, and wherein frame alignment is based on the first maintenance signal frame, wherein a detection condition of the LOF pre-alarm is that a frame alignment failure on the data frame from the first network device lasts for a first duration, and wherein the first duration is less than a frame alignment failure duration in a detection condition of a LOF alarm;
- detecting, by the second network device, that the LOF alarm occurs on the first working channel;
- triggering sub-network connection protection group switching of the second network device;
- and
- inserting the first maintenance signal frame at the ingress end in a third duration;
- wherein the first maintenance signal frame is a NULL-type maintenance signal, overhead of the first maintenance signal frame comprises a first value, and the first value indicates that the first maintenance signal frame is the NULL-type maintenance signal, wherein both the first network device and the second network device are configured with a sub-network connection protection group, wherein the third duration is a duration by which insertion of an AIS frame is delayed after the LOF alarm is detected, wherein the third duration is greater than or equal to a duration used by the second network device to complete sub-network connection protection group switching.
An alarm processing apparatus, comprising:
- one or more processors;
- and
- at least one non-transitory computer-readable memory connected to the one or more processors and including computer program code, wherein the at least one non-transitory computer-readable memory and the computer program code are configured, with the one or more processors, to cause the alarm processing apparatus to at least:
- detect that a loss of frame (LOF) pre-alarm occurs on a first working channel, wherein the first working channel connects a second network device and a first network device, wherein a detection condition of the LOF pre-alarm is that a frame alignment failure on a data frame from the first network device lasts for a first duration, and wherein the first duration is less than frame alignment failure duration in a detection condition of a LOF alarm;
- insert a first maintenance signal frame at an ingress end, wherein the ingress end is configured to receive the data frame from the first network device through the first working channel, and wherein frame alignment is based on the first maintenance signal frame;
- detect that the LOF alarm occurs on the first working channel, triggering sub-network connection protection group switching of the second network device, wherein both the first network device and the second network device are configured with a sub-network connection protection group;
- and
- insert the first maintenance signal frame at the ingress end in a third duration, wherein the third duration is a duration by which insertion of an AIS frame is delayed after the LOF alarm is detected, and the third duration is greater than or equal to a duration used by the second network device to complete sub-network connection protection group switching;
- wherein the first maintenance signal frame is a NULL-type maintenance signal, overhead of the first maintenance signal frame comprises a first value, and the first value indicates that the first maintenance signal frame is the NULL-type maintenance signal.
A non-transitory computer-readable storage medium storing a program to be executed by one or more processors, the program including instructions to:
- detect that a loss of frame (LOF) pre-alarm occurs on a first working channel, wherein the first working channel connects a second network device and a first network device, wherein a detection condition of the LOF pre-alarm is that a frame alignment failure on a data frame from the first network device lasts for a first duration, and wherein the first duration is less than frame alignment failure duration in a detection condition of a LOF alarm;
- insert a first maintenance signal frame at an ingress end, wherein the ingress end is configured to receive the data frame from the first network device through the first working channel, and wherein frame alignment is based on the first maintenance signal frame;
- detect that the LOF alarm occurs on the first working channel, triggering sub-network connection protection group switching of the second network device, wherein both the first network device and the second network device are configured with a sub-network connection protection group;
- and
- insert the first maintenance signal frame at the ingress end in a third duration, wherein the third duration is a duration by which insertion of an AIS frame is delayed after the LOF alarm is detected, and the third duration is greater than or equal to a duration used by the second network device to complete sub-network connection protection group switching;
- wherein the first maintenance signal frame is a NULL-type maintenance signal, overhead of the first maintenance signal frame comprises a first value, and the first value indicates that the first maintenance signal frame is the NULL-type maintenance signal.
Dependencies are inferred from the claim text.