WO2015154439A1 - Alarm management method, apparatus and packet transport device - Google Patents

Alarm management method, apparatus and packet transport device Download PDF

Info

Publication number
WO2015154439A1
WO2015154439A1 PCT/CN2014/089602 CN2014089602W WO2015154439A1 WO 2015154439 A1 WO2015154439 A1 WO 2015154439A1 CN 2014089602 W CN2014089602 W CN 2014089602W WO 2015154439 A1 WO2015154439 A1 WO 2015154439A1
Authority
WO
WIPO (PCT)
Prior art keywords
alarm
module
port
state
unconfigured
Prior art date
Application number
PCT/CN2014/089602
Other languages
French (fr)
Chinese (zh)
Inventor
廖昌业
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2015154439A1 publication Critical patent/WO2015154439A1/en

Links

Images

Classifications

    • 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
    • H04L41/0686Additional information in the notification, e.g. enhancement of specific meta-data

Definitions

  • the present invention relates to the field of communications, and in particular, to an alarm management method, apparatus, and packet transmission device.
  • PTN Packet Transport Network
  • the alarm pre-input function is designed to handle alarms generated by ports on the device that are not loaded with services.
  • One of the most important functions is automatic reporting of alarm reports.
  • the pre-input function is configured for the LOS (Loss of Signal, LOS) alarm. If the LOS alarm is generated on the port, the alarm will not be reported to suppress the alarm. After the port is changed from the unloaded service to the loaded service, the LOS alarm is detected. In this case, the message that the port alarm is pre-input canceled is reported. The service of the module configured with this function is restored. The pre-input configuration is canceled and the port is restored. The normal actual alarm is reported.
  • LOS Location of Signal
  • the method for implementing the alarm pre-input function of the PTN device is to set the alarm pre-input configuration to the LOS alarm of the port.
  • the network is started, not only the optical fiber is not connected, but even the optical module is not inserted.
  • This configuration method will result in the alarm module not being installed in the optical module, and the alarm is not expected by the user; If there is no association between the alarm and the LOS alarm, the LOS alarm is not detected when the optical module is not inserted. Therefore, if the LOS alarm is pre-invested, the LOS alarm will be pre-invested. The configuration is cancelled in advance.
  • the LOS alarm detected at this time will be reported to the user because the pre-input configuration of the LOS alarm has been canceled. It can be seen that the prior art has the problem that the alarm information that is not reasonably reported is not reported to the user.
  • the main technical problem to be solved by the present invention is to provide an alarm management method, a device, and a packet transmission device, which solves the problem that the alarm information that should not be reported is reported to the user in the existing alarm management.
  • an alarm management method including:
  • the pre-alarm state of the port is set to be that the second module is not configured with the alarm suppression state; and the second module is not configured with the associated alarm that the first module is not configured with the alarm;
  • the alarm suppression state is not configured in the second module, and the detected alarm message is not reported in the second module of the detected port;
  • the first module is an optical module, the first module is not configured with an alarm that the optical module is not configured with an alarm; the second module is an optical fiber, and the second module is not configured with an alarm. Alarm for signal loss.
  • the pre-alarm state is an alarm pre-input state
  • Setting the pre-alarm state of the port to the first module is not configured with an alarm suppression state: setting a pre-input state of the first module unconfigured alarm of the port to be automatically restored; and/or, predicting the port
  • the alarm state is set to the second module is not configured with the alarm suppression state: the pre-input state of the second module unconfigured alarm of the port is set to be automatically restored.
  • a module unconfigured alarm disappears to send a cancel message canceling the port pre-alarm state
  • the setting the pre-alarm state of the port to be that the second module is not configured with the alarm suppression state includes:
  • the second module is not configured with the alarm suppression state.
  • the method when it is determined that the canceled message is sent according to the first module unconfigured alarm disappearing, the method further includes canceling the reporting of the canceled message.
  • the present invention further provides an alarm management apparatus, including a first configuration module, a first detection module, a second configuration module, a second detection module, and a second cancellation module;
  • the first configuration module is configured to set a pre-alarm state of the port in which the packet transmitting device is not configured with the first module to a first module that is not configured with an alarm suppression state, and the first module does not configure an alarm suppression state, and the detected The first module of the port is not configured with an alarm message and is not reported.
  • the first detecting module is configured to detect whether the first module unconfigured alarm of the port disappears
  • the second configuration module is configured to: after the first detection module detects that the first module unconfigured alarm of the port disappears, set a pre-alarm state of the port to be that the second module is not configured with an alarm suppression state; The module is not configured with an alarm that is not configured with an alarm for the first module; the alarm suppression state is not configured for the second module, and no alarm message is configured for the detected second module of the port;
  • the second detecting module is configured to detect whether the second module unconfigured alarm of the port disappears
  • the second canceling module is configured to cancel the pre-alarm state of the port after the second detecting module detects that the second module unconfigured alarm of the port disappears.
  • the first module is an optical module, the first module is not configured with an alarm that the optical module is not configured with an alarm; the second module is an optical fiber, and the second module is not configured with an alarm. Alarm for signal loss.
  • the pre-alarm state is an alarm pre-input state
  • the first configuration module sets the pre-alarm state of the port to be that the first module is not configured with an alarm suppression state: setting a pre-input state of the first module unconfigured alarm of the port to be automatically restored; and/or,
  • the second configuration module sets the pre-alarm state of the port to the second module unconfigured alarm suppression state: the pre-input state of the second module unconfigured alarm of the port is set to be automatically restored.
  • the method further includes a first canceling module, configured to: after the first detecting module detects that the first module unconfigured alarm of the port disappears, the second configuration module sets the port Before the pre-alarm state is that the second module is not configured with the alarm suppression state, the cancel message of canceling the port pre-alarm state is sent according to the first module not configured alarm disappearing;
  • the second configuration module sets the pre-alarm state of the port to be that the second module is not configured with the alarm suppression state, including: analyzing whether the canceled packet is sent according to the first module unconfigured alarm disappearing trigger, and if so, setting the The pre-alarm status of the port is that the second module is not configured with an alarm suppression state.
  • the present invention also provides a packet transfer device comprising at least one port, a processor and a memory; the memory being arranged to store at least one program module, the processor being arranged to call at least one program module to perform the following steps:
  • the pre-alarm state of the port that is not configured with the first module is set to that the first module is not configured with the alarm suppression state, and the alarm suppression state is not configured in the first module, and the detected alarm message of the first module of the port is not reported. ;
  • the pre-alarm state of the port is set to be that the second module is not configured with the alarm suppression state; and the second module is not configured with the associated alarm that the first module is not configured with the alarm;
  • the alarm suppression state is not configured in the second module, and the detected alarm message is not reported in the second module of the detected port;
  • the alarm management method, device and packet transmission device provided by the present invention set the pre-alarm state of the port of the packet transmission device not configured with the first module to the first module without the alarm suppression state, and the first of the detected ports If the module is not configured with an alarm message, it will not be reported. Then, when the first module is not configured with the alarm, the pre-alarm status of the port is set to the second module. The alarm is not configured. The second module is not configured with the alarm. If the alarm is not configured, the alarm is not configured. The alarm is not configured in the second module. The alarm is not configured in the first module. The alarm is not configured in the first module. The alarm is not configured on the second module of the detected port.
  • the message is not reported; when the second module of the port is detected that the alarm is not configured, the pre-alarm status of the port is canceled. It can be seen that the solution provided by the present invention can not report the optical module without inserting an alarm when the optical module is not inserted, and does not report the corresponding LOS alarm to the user when the optical fiber is not inserted after the subsequent insertion of the optical module. The information can be used to report the alarm information that should not be reported to the user, which improves the satisfaction of the user experience.
  • FIG. 1 is a schematic flowchart of an alarm management method according to Embodiment 1 of the present invention.
  • FIG. 2 is a schematic diagram of an alarm of a port according to Embodiment 1 of the present invention.
  • FIG. 3 is a schematic structural diagram 1 of an alarm management apparatus according to Embodiment 2 of the present invention.
  • FIG. 4 is a schematic structural diagram 2 of an alarm management apparatus according to Embodiment 2 of the present invention.
  • FIG. 5 is a schematic flowchart of an alarm management method according to Embodiment 3 of the present invention.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • Figure 1 includes:
  • Step 101 Set a pre-alarm state of the port in which the packet transmitting device is not configured with the first module to a first module that is not configured with an alarm suppression state; in the first module, an alarm suppression state is not configured, and the first module of the detected port is not configured. The alarm message is not reported.
  • Step 102 It is detected that the first module of the port is not configured with alarm information, and is not reported;
  • Step 103 When it is detected that the first module of the port is not configured with the alarm disappearing, the pre-alarm state of the port is set to be that the second module is not configured with the alarm suppression state; at this time, the second module of the detected port is not configured with an alarm message. Not reported;
  • Step 104 It is detected that the second module of the port is not configured with alarm information, and is not reported;
  • Step 105 When it is detected that the second module of the port is not configured with the alarm disappearing, cancel the pre-alarm state of the port; notify the user that the port is restored to the normal actual alarm reporting state.
  • the second module in this embodiment does not configure an alarm as an associated alarm that the first module does not configure an alarm.
  • the first module unconfigured alarm is first set to the suppression state, so that the first module does not configure the alarm information not generated by the port, and the first module does not configure the alarm to disappear;
  • the alarm is set to the suppression state of the two modules, so that the second module generated by the port is not configured with alarm information and is not reported.
  • the alarm that the user does not want to see is reported to the user, thereby improving the satisfaction of the user experience.
  • the port of the packet transmission device can be associated with multiple alarms. As shown in FIG. 2, at least one group of associated alarms exists in multiple alarms. An alarm that occurs after an alarm disappears, for example, an unrelated optical alarm is an associated alarm that is not inserted into the optical module alarm.
  • the above-mentioned management method provided by the embodiment can be used for effective management and control, so as to avoid reporting the alarms that the user does not want to see to the user.
  • the first module in this embodiment may be an optical module, and the corresponding module is not configured with an alarm that the optical module is not configured with an alarm;
  • the second module may be an optical fiber, and the second module is not configured with an alarm, and the corresponding module is not inserted.
  • the fiber alarm is specifically characterized by the LOS alarm.
  • setting the suppression state of each alarm may be implemented by the alarm pre-input state.
  • the pre-alarm state of the port is the alarm pre-input state; and the pre-alarm state of the port is set to the first module not configured with the alarm suppression state.
  • set the pre-input state of the first module's unconfigured alarm to automatic recovery set the pre-alarm status of the port to the second module.
  • the alarm suppression status is: the pre-input of the second module of the port is not configured.
  • the status is set to automatic recovery.
  • the suppression of one of the two alarms associated with the alarm may be implemented by the alarm pre-input state function, and the other is implemented by other suppression methods.
  • the solution provided in this embodiment is not limited to the case where the associated alarm is two alarms, and is also applicable to three or more situations, and only needs to switch the pre-alarm of the setting port according to the corresponding relationship of each alarm.
  • the status is OK.
  • the pre-alarm state of the port is set to be that the second module is not configured with the alarm suppression state, and the second module is not configured to send the alarm disappearing according to the port. Cancel the cancel message of the port pre-alarm status
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • the embodiment provides an alarm management apparatus, including a first configuration module, a first detection module, a second configuration module, a second detection module, and a second cancellation module.
  • the first configuration module is configured to set a pre-alarm state of the port of the packet transmitting device not configured with the first module to a first module that is not configured with an alarm suppression state, and the first module does not configure an alarm suppression state, and the detected port is The first module does not configure an alarm message and does not report it.
  • the first detecting module is configured to detect whether the first module unconfigured alarm of the port disappears
  • the second configuration module is configured to: after the first detection module detects that the first module unconfigured alarm of the port disappears, the pre-alarm state of the set port is that the second module is not configured with an alarm suppression state; The alarm is not configured in the module. The alarm suppression state is not configured in the second module. The alarm is not reported on the second module of the detected port.
  • the second detecting module is configured to detect whether the second module of the port is not configured with an alarm
  • the second canceling module is configured to cancel the pre-alarm state of the port after the second detecting module detects that the second module unconfigured alarm of the port disappears, and inform the user that the port is restored to the normal actual alarm reporting state.
  • the associated alarm in this embodiment is that the subsequent alarm is generated after the previous alarm disappears. For example, if the optical fiber alarm is not inserted, the associated alarm is not inserted into the optical module alarm.
  • the above-mentioned management method provided by the embodiment can be used for effective management and control, so as to avoid reporting the alarms that the user does not want to see to the user.
  • the first module in this embodiment may be an optical module, and the corresponding module is not configured with an alarm that the optical module is not configured with an alarm;
  • the second module may be an optical fiber, and the second module is not configured with an alarm, and the corresponding module is not inserted.
  • the fiber alarm is specifically characterized by the LOS alarm.
  • the setting of the suppression state of each alarm may be specifically implemented by the alarm pre-input state.
  • the pre-alarm state of the port is the alarm pre-input state; the first configuration module sets the pre-alarm state of the port to the first module.
  • Configure the alarm suppression state to: set the pre-input state of the first module's unconfigured alarm to automatic recovery; the second configuration module sets the pre-alarm status of the port to the second module.
  • the alarm suppression status is: The pre-input status of the two modules not configured with alarms is set to automatic recovery.
  • the suppression of one of the two alarms associated with the alarm may be implemented by the alarm pre-input state function, and the other is implemented by other suppression methods.
  • the solution provided in this embodiment is not limited to the case where the associated alarm is two alarms, and is also applicable to three or more situations, and only needs to switch the pre-alarm of the setting port according to the corresponding relationship of each alarm.
  • the status is OK.
  • the alarm management apparatus further includes a first canceling module, configured to: after the first detecting module detects that the first module unconfigured alarm of the port disappears, the second configuration module sets the pre-alarm state of the port to be the second Before the module is not configured with the alarm suppression state, the cancel message of canceling the port pre-alarm status is sent according to the failure of the first module not configured.
  • a first canceling module configured to: after the first detecting module detects that the first module unconfigured alarm of the port disappears, the second configuration module sets the pre-alarm state of the port to be the second Before the module is not configured with the alarm suppression state, the cancel message of canceling the port pre-alarm status is sent according to the failure of the first module not configured.
  • the second configuration module sets the pre-alarm status of the port to be that the second module is not configured with the alarm suppression state, including: analyzing whether the canceled message is sent according to the first module unconfigured alarm disappearing, and if so, setting the pre-alarm of the port The status of the second module is not configured with the alarm suppression state; the report is not reported. Otherwise, the packet is normally reported to cancel the pre-alarm status of the port.
  • Embodiment 3 is a diagrammatic representation of Embodiment 3
  • the embodiment provides a packet transfer device, including at least one port, a processor, and a memory; the memory is configured to store at least one program module, and the processor is configured to call the at least one program module to perform the following steps:
  • the first module of the port is configured with no alarm information and is not reported.
  • the pre-alarm state of the port is set to be the second module is not configured with the alarm suppression state; the alarm message of the second module of the detected port is not configured.
  • the second module of the port is configured with no alarm information and is not reported.
  • the pre-alarm status of the port is canceled; the user is notified that the port is restored to the normal alarm reporting status.
  • the first module is an optical module, the first module is not configured with an alarm, and the optical module is not configured with an alarm; the second module is an optical fiber, and the second module is not configured with an alarm for the LOS alarm as an example, and the alarm is passed.
  • the pre-input state realizes the suppression state of each alarm as an example, and further describes the present invention.
  • Step 501 Receive a configuration message that the alarm pre-input state is automatically restored.
  • Step 502 Set the pre-input state of the alarm that the optical module of the port A is not installed to be automatically restored.
  • Step 503 The alarm is not reported when the optical module of the detected port A is not installed.
  • Step 504 It is detected that the alarm that the port A optical module is not installed disappears
  • Step 505 Set the pre-input state of the alarm that the port A optical module is not installed to no pre-input; report the police pre-input cancellation message;
  • Step 506 It is detected that an alarm pre-input cancellation message is reported
  • Step 507 Perform analysis on the message packet.
  • Step 508 Determine whether the pre-input cancel message is triggered by the optical module not installing the alarm disappearance, if yes, go to step 509; otherwise, go to step 514;
  • Step 509 Cancel the reporting of the pre-input cancellation message
  • Step 510 Set the pre-input state of the LOS alarm under the port A to automatic recovery.
  • Step 511 The LOS alarm of the detected port A is not reported
  • Step 512 After inserting the optical fiber on the optical module, detecting that the LOS alarm disappears;
  • Step 513 Set the pre-input state of the LOS alarm to no pre-input, and go to step 514;
  • Step 514 The alarm pre-input cancellation message is reported, and the pre-input state of the port A is cancelled, and the user A is returned to the normal actual alarm reporting state.
  • the alarm pre-input configuration is first set to the optical module without an alarm, and when the optical module is not installed with the alarm pre-input cancellation, the pre-input configuration is set to the LOS alarm, which effectively solves the port that does not load the service.
  • the alarm is not installed on the optical module, and the LOS alarm is not reported when the optical module is inserted. If the optical module is not inserted, the alarm is not reported to the user. .
  • an alarm management method, apparatus, and packet transmission apparatus provided by an embodiment of the present invention have the following beneficial effects: setting a pre-alarm state of a port of a packet transmission device that is not configured with the first module to an alarm suppression of the first module that is not configured.
  • Status In this case, the first module of the detected port is not configured with an alarm message and is not reported; then, when the first module is not configured with the alarm that the port is detected, the pre-alarm status of the port is set to the second module. In the state, the second module is not configured with the alarm that the alarm is not configured for the first module. In this case, the alarm is not reported on the second module of the detected port. When it is, the pre-alarm status of the port is canceled.
  • the alarm is not inserted into the optical module when the optical module is not inserted, and is not reported to the user when the optical module is not inserted after the subsequent insertion of the optical module.
  • the LOS alarm information should be reported, so that the alarm information that should not be reported is reported to the user, which improves the satisfaction of the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Optical Communication System (AREA)

Abstract

Disclosed in the present invention are an alarm management method, an apparatus and a packet transport device, comprising: the pre-alarm status of a port of the packet transport device that a first module of a port is not configured is set to the state of suppressing the alarm that the first module is not configured, when detecting the alarm message that the first module of the port is not configured, it will not be reported; and when detecting the disappearance of the alarm message that the first module of the port is not configured, the pre-alarm status of the port is set to the state of suppressing the alarm that the second module is not configured, the alarm that the second module is not configured being the associated alarm of the alarm that the first module is not configured; when detecting the alarm message that the second module of the port is not configured, it will not be reported; when detecting the alarm that the second module of the port is not configured disappears, the pre-alarm status of the port is canceled. It can be seen that the present invention can not only realize that the alarm that the optical module is not inserted will not be reported to the user when the optical module is not inserted, and after a subsequent optical module is inserted, the corresponding LOS alarm information will also not be reported to the user when the fiber is not inserted.

Description

告警管理方法、装置及分组传送设备Alarm management method, device and packet transmission device 技术领域Technical field
本发明涉及通信领域,具体涉及一种告警管理方法、装置及分组传送设备。The present invention relates to the field of communications, and in particular, to an alarm management method, apparatus, and packet transmission device.
背景技术Background technique
PTN(Packet Transport Network,分组传送网,以下简称:PTN)设备在开局的时候,PTN设备的一些端口还没有加载业务,甚至都没有***光模块,或没有连接光纤,这个时候是会有告警的,但是用户并不想看到这些告警,因为这是正常的。另外就是在现网中的PTN设备,有一些端口目前并没有使用到(这些端口为以后的业务扩展用),所以可能不会插上光模块或者光纤,这个时候也会有告警,用户也不想看到。When a PTN (Packet Transport Network, PTN) device is deployed, some ports of the PTN device are not loaded with services, or even optical modules are not inserted, or no optical fibers are connected. At this time, there will be an alarm. , but the user does not want to see these alerts because this is normal. In addition, in the PTN equipment in the existing network, some ports are not currently used (these ports are used for future service expansion), so the optical module or optical fiber may not be plugged in. At this time, there will be an alarm, and the user does not want to. see.
告警预投入功能就是为了处理设备中未加载业务的端口所产生的告警而设计的,其中一个最主要功能就是告警上报自动恢复。应用告警上报自动恢复功能时,设备中未加载业务端口的对应的告警消息则不上报。假设对LOS(Loss of Signal,信号丢失,以下简称:LOS)告警配置了预投入功能,则在端口存在LOS告警情况下,并不会上报此告警,以达到对该告警的抑制的目的。当端口由未加载业务转为加载业务后,会检测到LOS告警消失,这时就需要上报端口告警预投入取消的消息,告知配置此功能的模块业务恢复正常,预投入配置取消,端口恢复到正常的实际告警上报状态。The alarm pre-input function is designed to handle alarms generated by ports on the device that are not loaded with services. One of the most important functions is automatic reporting of alarm reports. When the alarm is reported to be automatically restored, the corresponding alarm message of the service port that is not loaded on the device is not reported. Assume that the pre-input function is configured for the LOS (Loss of Signal, LOS) alarm. If the LOS alarm is generated on the port, the alarm will not be reported to suppress the alarm. After the port is changed from the unloaded service to the loaded service, the LOS alarm is detected. In this case, the message that the port alarm is pre-input canceled is reported. The service of the module configured with this function is restored. The pre-input configuration is canceled and the port is restored. The normal actual alarm is reported.
目前PTN设备实现告警预投入功能的方法都是将告警预投入配置设置到端口的LOS告警中。但如果开局的时候,不仅是没有连光纤,甚至连光模块也没有***,这样的配置方法就会导致有光模块未安装告警上报,而该报警并不是用户期望看到的;另外,由于光模块未安装告警和LOS告警之间存在关联关系,在没插光模块的时候,是检测不到LOS告警的,因此如果这时对LOS告警配置预投入,会因为LOS告警不存在而将预投入配置提前取消。后面再***光模块时,如果没连光纤,这时检测到的LOS告警则会因为LOS告警的预投入配置已经取消而往上报,呈现给用户。可见,现有技术存在对关联的告警管理不合理导致不应该上报的告警信息上报给了用户的问题。At present, the method for implementing the alarm pre-input function of the PTN device is to set the alarm pre-input configuration to the LOS alarm of the port. However, if the network is started, not only the optical fiber is not connected, but even the optical module is not inserted. This configuration method will result in the alarm module not being installed in the optical module, and the alarm is not expected by the user; If there is no association between the alarm and the LOS alarm, the LOS alarm is not detected when the optical module is not inserted. Therefore, if the LOS alarm is pre-invested, the LOS alarm will be pre-invested. The configuration is cancelled in advance. When the optical module is inserted later, if the optical fiber is not connected, the LOS alarm detected at this time will be reported to the user because the pre-input configuration of the LOS alarm has been canceled. It can be seen that the prior art has the problem that the alarm information that is not reasonably reported is not reported to the user.
发明内容Summary of the invention
本发明要解决的主要技术问题是,提供一种告警管理方法、装置及分组传送设备,解决现有告警管理中存在的将不应该上报的告警信息上报给用户的问题。 The main technical problem to be solved by the present invention is to provide an alarm management method, a device, and a packet transmission device, which solves the problem that the alarm information that should not be reported is reported to the user in the existing alarm management.
为解决上述技术问题,本发明提供了一种告警管理方法,包括:To solve the above technical problem, the present invention provides an alarm management method, including:
将分组传送设备未配置第一模块的端口的预报警状态设置为第一模块未配置告警抑制状态,在第一模块未配置告警抑制状态,对检测到的所述端口的第一模块未配置告警消息不上报;Setting the pre-alarm state of the port of the first module to the first module is not configured with the alarm suppression state, the alarm suppression state is not configured in the first module, and the first module of the detected port is not configured with an alarm. The message is not reported;
检测到所述端口的第一模块未配置告警消失时,设置所述端口的预报警状态为第二模块未配置告警抑制状态;第二模块未配置告警为第一模块未配置告警的关联告警;在第二模块未配置告警抑制状态,对检测到的所述端口的第二模块未配置告警消息不上报;When the first module unconfigured alarm of the port is detected to be lost, the pre-alarm state of the port is set to be that the second module is not configured with the alarm suppression state; and the second module is not configured with the associated alarm that the first module is not configured with the alarm; The alarm suppression state is not configured in the second module, and the detected alarm message is not reported in the second module of the detected port;
检测到所述端口的第二模块未配置告警消失时,取消所述端口的预报警状态。When it is detected that the second module unconfigured alarm of the port disappears, the pre-alarm state of the port is cancelled.
在本发明的一种实施例中,所述第一模块为光模块,所述第一模块未配置告警为光模块未配置告警;所述第二模块为光纤,所述第二模块未配置告警为信号丢失告警。In an embodiment of the present invention, the first module is an optical module, the first module is not configured with an alarm that the optical module is not configured with an alarm; the second module is an optical fiber, and the second module is not configured with an alarm. Alarm for signal loss.
在本发明的一种实施例中,所述预报警状态为告警预投入状态;In an embodiment of the present invention, the pre-alarm state is an alarm pre-input state;
将所述端口的预报警状态设置为第一模块未配置告警抑制状态为:将所述端口的第一模块未配置告警的预投入状态设置为自动恢复;和/或,将所述端口的预报警状态设置为第二模块未配置告警抑制状态为:将所述端口的第二模块未配置告警的预投入状态设置为自动恢复。Setting the pre-alarm state of the port to the first module is not configured with an alarm suppression state: setting a pre-input state of the first module unconfigured alarm of the port to be automatically restored; and/or, predicting the port The alarm state is set to the second module is not configured with the alarm suppression state: the pre-input state of the second module unconfigured alarm of the port is set to be automatically restored.
在本发明的一种实施例中,检测到所述端口的第一模块未配置告警消失后,设置所述端口的预报警状态为第二模块未配置告警抑制状态之前,还包括根据所述第一模块未配置告警消失发送取消所述端口预报警状态的取消报文;In an embodiment of the present invention, after detecting that the first module unconfigured alarm of the port disappears, setting the pre-alarm state of the port to be that the second module is not configured with the alarm suppression state, A module unconfigured alarm disappears to send a cancel message canceling the port pre-alarm state;
所述设置所述端口的预报警状态为第二模块未配置告警抑制状态包括:The setting the pre-alarm state of the port to be that the second module is not configured with the alarm suppression state includes:
分析所述取消报文是否是根据第一模块未配置告警消失触发发送的,如是,设置所述端口的预报警状态为第二模块未配置告警抑制状态。If the canceled message is sent according to the first module unconfigured alarm disappearing, if the pre-alarm status of the port is set, the second module is not configured with the alarm suppression state.
在本发明的一种实施例中,当判断所述取消报文是根据第一模块未配置告警消失触发发送时,还包括取消所述取消报文的上报。In an embodiment of the present invention, when it is determined that the canceled message is sent according to the first module unconfigured alarm disappearing, the method further includes canceling the reporting of the canceled message.
为了解决上述问题,本发明还提供了一种告警管理装置,包括第一配置模块、第一检测模块、第二配置模块、第二检测模块以及第二取消模块; In order to solve the above problem, the present invention further provides an alarm management apparatus, including a first configuration module, a first detection module, a second configuration module, a second detection module, and a second cancellation module;
所述第一配置模块设置为将分组传送设备未配置第一模块的端口的预报警状态设置为第一模块未配置告警抑制状态,在第一模块未配置告警抑制状态,对检测到的所述端口的第一模块未配置告警消息不上报;The first configuration module is configured to set a pre-alarm state of the port in which the packet transmitting device is not configured with the first module to a first module that is not configured with an alarm suppression state, and the first module does not configure an alarm suppression state, and the detected The first module of the port is not configured with an alarm message and is not reported.
所述第一检测模块设置为检测所述端口的第一模块未配置告警是否消失;The first detecting module is configured to detect whether the first module unconfigured alarm of the port disappears;
所述第二配置模块设置为在所述第一检测模块检测到所述端口的第一模块未配置告警消失后,设置所述端口的预报警状态为第二模块未配置告警抑制状态;第二模块未配置告警为第一模块未配置告警的关联告警;在第二模块未配置告警抑制状态,对检测到的所述端口的第二模块未配置告警消息不上报;The second configuration module is configured to: after the first detection module detects that the first module unconfigured alarm of the port disappears, set a pre-alarm state of the port to be that the second module is not configured with an alarm suppression state; The module is not configured with an alarm that is not configured with an alarm for the first module; the alarm suppression state is not configured for the second module, and no alarm message is configured for the detected second module of the port;
所述第二检测模块设置为检测所述端口的第二模块未配置告警是否消失;The second detecting module is configured to detect whether the second module unconfigured alarm of the port disappears;
所述第二取消模块设置为在所述第二检测模块检测到所述端口的第二模块未配置告警消失后,取消所述端口的预报警状态。The second canceling module is configured to cancel the pre-alarm state of the port after the second detecting module detects that the second module unconfigured alarm of the port disappears.
在本发明的一种实施例中,所述第一模块为光模块,所述第一模块未配置告警为光模块未配置告警;所述第二模块为光纤,所述第二模块未配置告警为信号丢失告警。In an embodiment of the present invention, the first module is an optical module, the first module is not configured with an alarm that the optical module is not configured with an alarm; the second module is an optical fiber, and the second module is not configured with an alarm. Alarm for signal loss.
在本发明的一种实施例中,所述预报警状态为告警预投入状态;In an embodiment of the present invention, the pre-alarm state is an alarm pre-input state;
所述第一配置模块将所述端口的预报警状态设置为第一模块未配置告警抑制状态为:将所述端口的第一模块未配置告警的预投入状态设置为自动恢复;和/或,所述第二配置模块将所述端口的预报警状态设置为第二模块未配置告警抑制状态为:将所述端口的第二模块未配置告警的预投入状态设置为自动恢复。The first configuration module sets the pre-alarm state of the port to be that the first module is not configured with an alarm suppression state: setting a pre-input state of the first module unconfigured alarm of the port to be automatically restored; and/or, The second configuration module sets the pre-alarm state of the port to the second module unconfigured alarm suppression state: the pre-input state of the second module unconfigured alarm of the port is set to be automatically restored.
在本发明的一种实施例中,还包括第一取消模块,设置为在所述第一检测模块检测到所述端口的第一模块未配置告警消失后,第二配置模块设置所述端口的预报警状态为第二模块未配置告警抑制状态之前,根据所述第一模块未配置告警消失发送取消所述端口预报警状态的取消报文;In an embodiment of the present invention, the method further includes a first canceling module, configured to: after the first detecting module detects that the first module unconfigured alarm of the port disappears, the second configuration module sets the port Before the pre-alarm state is that the second module is not configured with the alarm suppression state, the cancel message of canceling the port pre-alarm state is sent according to the first module not configured alarm disappearing;
所述第二配置模块设置所述端口的预报警状态为第二模块未配置告警抑制状态包括:分析所述取消报文是否是根据第一模块未配置告警消失触发发送的,如是,设置所述端口的预报警状态为第二模块未配置告警抑制状态。The second configuration module sets the pre-alarm state of the port to be that the second module is not configured with the alarm suppression state, including: analyzing whether the canceled packet is sent according to the first module unconfigured alarm disappearing trigger, and if so, setting the The pre-alarm status of the port is that the second module is not configured with an alarm suppression state.
本发明还提供了一种分组传送设备,包括至少一个端口、处理器以及存储器;所述存储器设置为存储至少一个程序模块,所述处理器设置为调用至少一个程序模块执行以下步骤: The present invention also provides a packet transfer device comprising at least one port, a processor and a memory; the memory being arranged to store at least one program module, the processor being arranged to call at least one program module to perform the following steps:
将未配置第一模块的端口的预报警状态设置为第一模块未配置告警抑制状态,在第一模块未配置告警抑制状态,对检测到的所述端口的第一模块未配置告警消息不上报;The pre-alarm state of the port that is not configured with the first module is set to that the first module is not configured with the alarm suppression state, and the alarm suppression state is not configured in the first module, and the detected alarm message of the first module of the port is not reported. ;
检测到所述端口的第一模块未配置告警消失时,设置所述端口的预报警状态为第二模块未配置告警抑制状态;第二模块未配置告警为第一模块未配置告警的关联告警;在第二模块未配置告警抑制状态,对检测到的所述端口的第二模块未配置告警消息不上报;When the first module unconfigured alarm of the port is detected to be lost, the pre-alarm state of the port is set to be that the second module is not configured with the alarm suppression state; and the second module is not configured with the associated alarm that the first module is not configured with the alarm; The alarm suppression state is not configured in the second module, and the detected alarm message is not reported in the second module of the detected port;
检测到所述端口的第二模块未配置告警消失时,取消所述端口的预报警状态。When it is detected that the second module unconfigured alarm of the port disappears, the pre-alarm state of the port is cancelled.
本发明的有益效果是:The beneficial effects of the invention are:
本发明提供的告警管理方法、装置及分组传送设备,将分组传送设备未配置第一模块的端口的预报警状态设置为第一模块未配置告警抑制状态,此时对检测到的端口的第一模块未配置告警消息则不上报;然后在检测到端口的第一模块未配置告警消失时,设置端口的预报警状态为第二模块未配置告警抑制状态,第二模块未配置告警为第一模块未配置告警的关联告警(例如第二模块未配置告警未为未***光纤告警,第一模块未配置告警为未***光模块告警);此时则对检测到的端口的第二模块未配置告警消息不上报;检测到端口的第二模块未配置告警也消失时,则取消该端口的预报警状态。可见,通过本发明提供的方案,既能实现在未***光模块时不会向用户上报光模块未***告警,在后续***光模块之后未***光纤时,也不会向用户上报对应的LOS报警信息,因此可避免将不应该上报的告警信息上报给用户,提升了用户体验的满意度。The alarm management method, device and packet transmission device provided by the present invention set the pre-alarm state of the port of the packet transmission device not configured with the first module to the first module without the alarm suppression state, and the first of the detected ports If the module is not configured with an alarm message, it will not be reported. Then, when the first module is not configured with the alarm, the pre-alarm status of the port is set to the second module. The alarm is not configured. The second module is not configured with the alarm. If the alarm is not configured, the alarm is not configured. The alarm is not configured in the second module. The alarm is not configured in the first module. The alarm is not configured in the first module. The alarm is not configured on the second module of the detected port. The message is not reported; when the second module of the port is detected that the alarm is not configured, the pre-alarm status of the port is canceled. It can be seen that the solution provided by the present invention can not report the optical module without inserting an alarm when the optical module is not inserted, and does not report the corresponding LOS alarm to the user when the optical fiber is not inserted after the subsequent insertion of the optical module. The information can be used to report the alarm information that should not be reported to the user, which improves the satisfaction of the user experience.
附图说明DRAWINGS
图1为本发明实施例一提供的告警管理方法流程示意图;1 is a schematic flowchart of an alarm management method according to Embodiment 1 of the present invention;
图2为本发明实施例一提供的端口的告警示意图;2 is a schematic diagram of an alarm of a port according to Embodiment 1 of the present invention;
图3为本发明实施例二提供的告警管理装置结构示意图一;3 is a schematic structural diagram 1 of an alarm management apparatus according to Embodiment 2 of the present invention;
图4为本发明实施例二提供的告警管理装置结构示意图二;4 is a schematic structural diagram 2 of an alarm management apparatus according to Embodiment 2 of the present invention;
图5为本发明实施例三提供的告警管理方法流程示意图。 FIG. 5 is a schematic flowchart of an alarm management method according to Embodiment 3 of the present invention.
具体实施方式detailed description
下面通过具体实施方式结合附图对本发明作进一步详细说明。The present invention will be further described in detail below with reference to the accompanying drawings.
实施例一:Embodiment 1:
本实施例提供的告警管理方法请参见图1所示,包括:For the alarm management method provided in this embodiment, refer to Figure 1, which includes:
步骤101:将分组传送设备未配置第一模块的端口的预报警状态设置为第一模块未配置告警抑制状态;在第一模块未配置告警抑制状态,对检测到的该端口的第一模块未配置告警消息不上报;Step 101: Set a pre-alarm state of the port in which the packet transmitting device is not configured with the first module to a first module that is not configured with an alarm suppression state; in the first module, an alarm suppression state is not configured, and the first module of the detected port is not configured. The alarm message is not reported.
步骤102:检测到该端口的第一模块未配置告警信息,不上报;Step 102: It is detected that the first module of the port is not configured with alarm information, and is not reported;
步骤103:检测到该端口的第一模块未配置告警消失时,设置端口的预报警状态为第二模块未配置告警抑制状态;此时对检测到的所述端口的第二模块未配置告警消息不上报;Step 103: When it is detected that the first module of the port is not configured with the alarm disappearing, the pre-alarm state of the port is set to be that the second module is not configured with the alarm suppression state; at this time, the second module of the detected port is not configured with an alarm message. Not reported;
步骤104:检测到该端口的第二模块未配置告警信息,不上报;Step 104: It is detected that the second module of the port is not configured with alarm information, and is not reported;
步骤105:检测到该端口的第二模块未配置告警消失时,取消该端口的预报警状态;告知用户该端口恢复到正常的实际告警上报状态。Step 105: When it is detected that the second module of the port is not configured with the alarm disappearing, cancel the pre-alarm state of the port; notify the user that the port is restored to the normal actual alarm reporting state.
本实施例中的第二模块未配置告警为第一模块未配置告警的关联告警。可见,本实施例先将第一模块未配置告警设置为抑制状态,以使该端口产生的第一模块未配置告警信息不上报;在第一模块未配置告警消失后,则将该端口的第二模块未配置告警设置为抑制状态,以使该端口产生的第二模块未配置告警信息也不上报。进而可避免将用户不希望看到的报警上报给用户,提升用户体验的满意度。The second module in this embodiment does not configure an alarm as an associated alarm that the first module does not configure an alarm. It can be seen that, in this embodiment, the first module unconfigured alarm is first set to the suppression state, so that the first module does not configure the alarm information not generated by the port, and the first module does not configure the alarm to disappear; The alarm is set to the suppression state of the two modules, so that the second module generated by the port is not configured with alarm information and is not reported. In addition, the alarm that the user does not want to see is reported to the user, thereby improving the satisfaction of the user experience.
本实施例中分组传送设备的端口可对应有多种告警,请参见图2所示,且多种告警中,会存在至少一组关联告警,此处的关联告警是指后面的告警是在前一告警消失之后才会出现的,例如未***光纤告警就为未***光模块告警的关联告警。对于这类关联告警都可采用本实施例提供的上述管理方法进行有效管控,避免将用户不希望看到的报警上报给用户。In this embodiment, the port of the packet transmission device can be associated with multiple alarms. As shown in FIG. 2, at least one group of associated alarms exists in multiple alarms. An alarm that occurs after an alarm disappears, for example, an unrelated optical alarm is an associated alarm that is not inserted into the optical module alarm. For the related alarms, the above-mentioned management method provided by the embodiment can be used for effective management and control, so as to avoid reporting the alarms that the user does not want to see to the user.
具体的,本实施例中的第一模块可为光模块,对应的第一模块未配置告警为光模块未配置告警;第二模块可为光纤,第二模块未配置告警则对应的为未***光纤告警,具体表征为LOS告警。 Specifically, the first module in this embodiment may be an optical module, and the corresponding module is not configured with an alarm that the optical module is not configured with an alarm; the second module may be an optical fiber, and the second module is not configured with an alarm, and the corresponding module is not inserted. The fiber alarm is specifically characterized by the LOS alarm.
在本实施例中,设置各告警的抑制状态具体可通过告警预投入状态实现,此时端口的预报警状态为告警预投入状态;将端口的预报警状态设置为第一模块未配置告警抑制状态为:将端口的第一模块未配置告警的预投入状态设置为自动恢复;将端口的预报警状态设置为第二模块未配置告警抑制状态为:将端口的第二模块未配置告警的预投入状态设置为自动恢复。当然,本实施例中,也可对关联告警的两个告警中,对其中一个告警的抑制通过告警预投入状态功能实现,另一个则通过其他抑制方式实现。In this embodiment, setting the suppression state of each alarm may be implemented by the alarm pre-input state. At this time, the pre-alarm state of the port is the alarm pre-input state; and the pre-alarm state of the port is set to the first module not configured with the alarm suppression state. To: set the pre-input state of the first module's unconfigured alarm to automatic recovery; set the pre-alarm status of the port to the second module. The alarm suppression status is: the pre-input of the second module of the port is not configured. The status is set to automatic recovery. Of course, in this embodiment, the suppression of one of the two alarms associated with the alarm may be implemented by the alarm pre-input state function, and the other is implemented by other suppression methods.
应当理解的是,本实施例提供的方案并不仅限于关联告警为两个告警的情况,也适用于三个或三个以上的情况,只需按照各告警的对应关系对应切换设置端口的预报警状态即可。It should be understood that the solution provided in this embodiment is not limited to the case where the associated alarm is two alarms, and is also applicable to three or more situations, and only needs to switch the pre-alarm of the setting port according to the corresponding relationship of each alarm. The status is OK.
在本实施例中,在检测到端口的第一模块未配置告警消失后,设置端口的预报警状态为第二模块未配置告警抑制状态之前,还包括根据该端口第一模块未配置告警消失发送取消端口预报警状态的取消报文;In this embodiment, after the first module unconfigured alarm of the port is detected to be lost, the pre-alarm state of the port is set to be that the second module is not configured with the alarm suppression state, and the second module is not configured to send the alarm disappearing according to the port. Cancel the cancel message of the port pre-alarm status;
设置端口的预报警状态为第二模块未配置告警抑制状态时,包括:When the pre-alarm status of the port is set to the alarm suppression state of the second module, the following:
分析该取消报文是否是根据第一模块未配置告警消失触发发送的,如是,设置该端口的预报警状态为第二模块未配置告警抑制状态;并取消该取消报文的上报;以避免将该端口的预报警状态直接取消了。Analyzing whether the canceled message is sent according to the first module unconfigured alarm disappearing, if yes, setting the pre-alarm status of the port to the second module is not configured with the alarm suppression state; and canceling the report of the canceled message; The pre-alarm status of this port is directly cancelled.
实施例二:Embodiment 2:
请参见图3所示,本实施例提供了一种告警管理装置,包括第一配置模块、第一检测模块、第二配置模块、第二检测模块以及第二取消模块;其中:As shown in FIG. 3, the embodiment provides an alarm management apparatus, including a first configuration module, a first detection module, a second configuration module, a second detection module, and a second cancellation module.
第一配置模块设置为将分组传送设备未配置第一模块的端口的预报警状态设置为第一模块未配置告警抑制状态,在第一模块未配置告警抑制状态,对检测到的所述端口的第一模块未配置告警消息不上报;The first configuration module is configured to set a pre-alarm state of the port of the packet transmitting device not configured with the first module to a first module that is not configured with an alarm suppression state, and the first module does not configure an alarm suppression state, and the detected port is The first module does not configure an alarm message and does not report it.
第一检测模块设置为检测所述端口的第一模块未配置告警是否消失;The first detecting module is configured to detect whether the first module unconfigured alarm of the port disappears;
第二配置模块设置为在第一检测模块检测到所述端口的第一模块未配置告警消失后,设置端口的预报警状态为第二模块未配置告警抑制状态;第二模块未配置告警为第一模块未配置告警的关联告警;在第二模块未配置告警抑制状态,对检测到的端口的第二模块未配置告警消息不上报;The second configuration module is configured to: after the first detection module detects that the first module unconfigured alarm of the port disappears, the pre-alarm state of the set port is that the second module is not configured with an alarm suppression state; The alarm is not configured in the module. The alarm suppression state is not configured in the second module. The alarm is not reported on the second module of the detected port.
第二检测模块设置为检测端口的第二模块未配置告警是否消失; The second detecting module is configured to detect whether the second module of the port is not configured with an alarm;
第二取消模块设置为在第二检测模块检测到所述端口的第二模块未配置告警消失后,取消端口的预报警状态,告知用户该端口恢复到正常的实际告警上报状态。The second canceling module is configured to cancel the pre-alarm state of the port after the second detecting module detects that the second module unconfigured alarm of the port disappears, and inform the user that the port is restored to the normal actual alarm reporting state.
本实施例中的关联告警是指后面的告警是在前一告警消失之后才会出现的,例如未***光纤告警就为未***光模块告警的关联告警。对于这类关联告警都可采用本实施例提供的上述管理方法进行有效管控,避免将用户不希望看到的报警上报给用户。The associated alarm in this embodiment is that the subsequent alarm is generated after the previous alarm disappears. For example, if the optical fiber alarm is not inserted, the associated alarm is not inserted into the optical module alarm. For the related alarms, the above-mentioned management method provided by the embodiment can be used for effective management and control, so as to avoid reporting the alarms that the user does not want to see to the user.
具体的,本实施例中的第一模块可为光模块,对应的第一模块未配置告警为光模块未配置告警;第二模块可为光纤,第二模块未配置告警则对应的为未***光纤告警,具体表征为LOS告警。Specifically, the first module in this embodiment may be an optical module, and the corresponding module is not configured with an alarm that the optical module is not configured with an alarm; the second module may be an optical fiber, and the second module is not configured with an alarm, and the corresponding module is not inserted. The fiber alarm is specifically characterized by the LOS alarm.
在本实施例中,设置各告警的抑制状态具体可通过告警预投入状态实现,此时端口的预报警状态为告警预投入状态;第一配置模块将端口的预报警状态设置为第一模块未配置告警抑制状态为:将端口的第一模块未配置告警的预投入状态设置为自动恢复;第二配置模块将端口的预报警状态设置为第二模块未配置告警抑制状态为:将端口的第二模块未配置告警的预投入状态设置为自动恢复。当然,本实施例中,也可对关联告警的两个告警中,对其中一个告警的抑制通过告警预投入状态功能实现,另一个则通过其他抑制方式实现。In this embodiment, the setting of the suppression state of each alarm may be specifically implemented by the alarm pre-input state. At this time, the pre-alarm state of the port is the alarm pre-input state; the first configuration module sets the pre-alarm state of the port to the first module. Configure the alarm suppression state to: set the pre-input state of the first module's unconfigured alarm to automatic recovery; the second configuration module sets the pre-alarm status of the port to the second module. The alarm suppression status is: The pre-input status of the two modules not configured with alarms is set to automatic recovery. Of course, in this embodiment, the suppression of one of the two alarms associated with the alarm may be implemented by the alarm pre-input state function, and the other is implemented by other suppression methods.
应当理解的是,本实施例提供的方案并不仅限于关联告警为两个告警的情况,也适用于三个或三个以上的情况,只需按照各告警的对应关系对应切换设置端口的预报警状态即可。It should be understood that the solution provided in this embodiment is not limited to the case where the associated alarm is two alarms, and is also applicable to three or more situations, and only needs to switch the pre-alarm of the setting port according to the corresponding relationship of each alarm. The status is OK.
请参见图4所示,告警管理装置还包括第一取消模块,设置为在第一检测模块检测到端口的第一模块未配置告警消失后,第二配置模块设置端口的预报警状态为第二模块未配置告警抑制状态之前,根据第一模块未配置告警消失发送取消端口预报警状态的取消报文;As shown in FIG. 4, the alarm management apparatus further includes a first canceling module, configured to: after the first detecting module detects that the first module unconfigured alarm of the port disappears, the second configuration module sets the pre-alarm state of the port to be the second Before the module is not configured with the alarm suppression state, the cancel message of canceling the port pre-alarm status is sent according to the failure of the first module not configured.
第二配置模块设置端口的预报警状态为第二模块未配置告警抑制状态的过程包括:分析该取消报文是否是根据第一模块未配置告警消失触发发送的,如是,设置该端口的预报警状态为第二模块未配置告警抑制状态;并取消该报文的上报;否则,允许该报文正常上报,以将该端口的预报警状态直接取消。The second configuration module sets the pre-alarm status of the port to be that the second module is not configured with the alarm suppression state, including: analyzing whether the canceled message is sent according to the first module unconfigured alarm disappearing, and if so, setting the pre-alarm of the port The status of the second module is not configured with the alarm suppression state; the report is not reported. Otherwise, the packet is normally reported to cancel the pre-alarm status of the port.
实施例三: Embodiment 3:
本实施例提供了一种分组传送设备,包括至少一个端口、处理器以及存储器;存储器设置为存储至少一个程序模块,处理器设置为调用至少一个程序模块执行以下步骤:The embodiment provides a packet transfer device, including at least one port, a processor, and a memory; the memory is configured to store at least one program module, and the processor is configured to call the at least one program module to perform the following steps:
将分组传送设备未配置第一模块的端口的预报警状态设置为第一模块未配置告警抑制状态;在第一模块未配置告警抑制状态,对检测到的该端口的第一模块未配置告警消息不上报;Setting the pre-alarm state of the port of the first module to the first module is not configured with the alarm suppression state; the alarm suppression state is not configured in the first module, and the first module of the detected port is not configured with the alarm message. Not reported;
检测到该端口的第一模块未配置告警信息,不上报;The first module of the port is configured with no alarm information and is not reported.
检测到该端口的第一模块未配置告警消失时,设置端口的预报警状态为第二模块未配置告警抑制状态;此时对检测到的所述端口的第二模块未配置告警消息不上报;When the first module is not configured with the alarm disappearing, the pre-alarm state of the port is set to be the second module is not configured with the alarm suppression state; the alarm message of the second module of the detected port is not configured.
检测到该端口的第二模块未配置告警信息,不上报;The second module of the port is configured with no alarm information and is not reported.
检测到该端口的第二模块未配置告警消失时,取消该端口的预报警状态;告知用户该端口恢复到正常的实际告警上报状态。When the second module of the port is detected that the alarm is not configured, the pre-alarm status of the port is canceled; the user is notified that the port is restored to the normal alarm reporting status.
为了更好的理解本发明,下面以第一模块为光模块,第一模块未配置告警为光模块未配置告警;第二模块为光纤,第二模块未配置告警为LOS告警为例,通过告警预投入状态实现各告警的抑制状态为例,对本发明做进一步的说明。In order to better understand the present invention, the first module is an optical module, the first module is not configured with an alarm, and the optical module is not configured with an alarm; the second module is an optical fiber, and the second module is not configured with an alarm for the LOS alarm as an example, and the alarm is passed. The pre-input state realizes the suppression state of each alarm as an example, and further describes the present invention.
对于分组传送设备某业务单板没有插光模块的端口A,其告警管理过程请参见图5所示,包括:For the port A of a packet transmission device that does not have a optical module, see Figure 5 for the alarm management process, including:
步骤501:收到告警预投入状态为自动恢复的配置消息;Step 501: Receive a configuration message that the alarm pre-input state is automatically restored.
步骤502:将端口A下光模块未安装告警的预投入状态设置为自动恢复;Step 502: Set the pre-input state of the alarm that the optical module of the port A is not installed to be automatically restored.
步骤503:对检测到的端口A的光模块未安装告警不上报;Step 503: The alarm is not reported when the optical module of the detected port A is not installed.
步骤504:检测到端口A光模块未安装告警消失;Step 504: It is detected that the alarm that the port A optical module is not installed disappears;
步骤505:将端口A光模块未安装告警的预投入状态设置为无预投入;上报告警预投入取消消息;Step 505: Set the pre-input state of the alarm that the port A optical module is not installed to no pre-input; report the police pre-input cancellation message;
步骤506:检测到有告警预投入取消消息上报;Step 506: It is detected that an alarm pre-input cancellation message is reported;
步骤507:对该消息报文进行分析; Step 507: Perform analysis on the message packet.
步骤508:判断此预投入取消报文是否是光模块未安装告警消失触发的,如是,转至步骤509;否则,转至步骤514;Step 508: Determine whether the pre-input cancel message is triggered by the optical module not installing the alarm disappearance, if yes, go to step 509; otherwise, go to step 514;
步骤509:取消该预投入取消消息的上报;Step 509: Cancel the reporting of the pre-input cancellation message;
步骤510:将此端口A下的LOS告警的预投入状态设置为自动恢复;Step 510: Set the pre-input state of the LOS alarm under the port A to automatic recovery.
步骤511:对检测到的端口A的LOS告警不上报;Step 511: The LOS alarm of the detected port A is not reported;
步骤512:在光模块上***光纤后,检测到LOS告警消失;Step 512: After inserting the optical fiber on the optical module, detecting that the LOS alarm disappears;
步骤513:将LOS告警的预投入状态设置为无预投入,并转至步骤514;Step 513: Set the pre-input state of the LOS alarm to no pre-input, and go to step 514;
步骤514:上报告警预投入取消消息,取消该端口A的预投入状态,告知用户端口A恢复到正常的实际告警上报状态。Step 514: The alarm pre-input cancellation message is reported, and the pre-input state of the port A is cancelled, and the user A is returned to the normal actual alarm reporting state.
可见,本发明通过将告警预投入配置先设置到光模块未安装告警,在光模块未安装告警预投入取消的时候,再将预投入配置设置到LOS告警,有效的解决了不加载业务的端口上报光模块未安装告警的问题,并且在***光模块,未插光纤的情况下,也不会上报LOS告警;可避免将用户不希望看到的告警上报给用户,进而提升用户体验的满意度。It can be seen that the alarm pre-input configuration is first set to the optical module without an alarm, and when the optical module is not installed with the alarm pre-input cancellation, the pre-input configuration is set to the LOS alarm, which effectively solves the port that does not load the service. The alarm is not installed on the optical module, and the LOS alarm is not reported when the optical module is inserted. If the optical module is not inserted, the alarm is not reported to the user. .
以上内容是结合具体的实施方式对本发明所作的进一步详细说明,不能认定本发明的具体实施只局限于这些说明。对于本发明所属技术领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干简单推演或替换,都应当视为属于本发明的保护范围。The above is a further detailed description of the present invention in connection with the specific embodiments, and the specific embodiments of the present invention are not limited to the description. It will be apparent to those skilled in the art that the present invention may be made without departing from the spirit and scope of the invention.
工业实用性Industrial applicability
如上所述,本发明实施例提供的一种告警管理方法、装置及分组传送设备具有以下有益效果:将分组传送设备未配置第一模块的端口的预报警状态设置为第一模块未配置告警抑制状态,此时对检测到的端口的第一模块未配置告警消息则不上报;然后在检测到端口的第一模块未配置告警消失时,设置端口的预报警状态为第二模块未配置告警抑制状态,第二模块未配置告警为第一模块未配置告警的关联告警;此时则对检测到的端口的第二模块未配置告警消息不上报;检测到端口的第二模块未配置告警也消失时,则取消该端口的预报警状态。由此既能实现在未***光模块时不会向用户上报光模块未***告警,在后续***光模块之后未***光纤时,也不会向用户上报对 应的LOS报警信息,因此可避免将不应该上报的告警信息上报给用户,提升了用户体验的满意度。 As described above, an alarm management method, apparatus, and packet transmission apparatus provided by an embodiment of the present invention have the following beneficial effects: setting a pre-alarm state of a port of a packet transmission device that is not configured with the first module to an alarm suppression of the first module that is not configured. Status: In this case, the first module of the detected port is not configured with an alarm message and is not reported; then, when the first module is not configured with the alarm that the port is detected, the pre-alarm status of the port is set to the second module. In the state, the second module is not configured with the alarm that the alarm is not configured for the first module. In this case, the alarm is not reported on the second module of the detected port. When it is, the pre-alarm status of the port is canceled. Therefore, the alarm is not inserted into the optical module when the optical module is not inserted, and is not reported to the user when the optical module is not inserted after the subsequent insertion of the optical module. The LOS alarm information should be reported, so that the alarm information that should not be reported is reported to the user, which improves the satisfaction of the user experience.

Claims (10)

  1. 一种告警管理方法,包括:An alarm management method includes:
    将分组传送设备未配置第一模块的端口的预报警状态设置为第一模块未配置告警抑制状态,在第一模块未配置告警抑制状态,对检测到的所述端口的第一模块未配置告警消息不上报;Setting the pre-alarm state of the port of the first module to the first module is not configured with the alarm suppression state, the alarm suppression state is not configured in the first module, and the first module of the detected port is not configured with an alarm. The message is not reported;
    检测到所述端口的第一模块未配置告警消失时,设置所述端口的预报警状态为第二模块未配置告警抑制状态;第二模块未配置告警为第一模块未配置告警的关联告警;在第二模块未配置告警抑制状态,对检测到的所述端口的第二模块未配置告警消息不上报;When the first module unconfigured alarm of the port is detected to be lost, the pre-alarm state of the port is set to be that the second module is not configured with the alarm suppression state; and the second module is not configured with the associated alarm that the first module is not configured with the alarm; The alarm suppression state is not configured in the second module, and the detected alarm message is not reported in the second module of the detected port;
    检测到所述端口的第二模块未配置告警消失时,取消所述端口的预报警状态。When it is detected that the second module unconfigured alarm of the port disappears, the pre-alarm state of the port is cancelled.
  2. 如权利要求1所述的告警管理方法,其中,所述第一模块为光模块,所述第一模块未配置告警为光模块未配置告警;所述第二模块为光纤,所述第二模块未配置告警为信号丢失告警。The alarm management method according to claim 1, wherein the first module is an optical module, the first module is not configured with an alarm that the optical module is not configured with an alarm; the second module is an optical fiber, and the second module is The alarm is not configured as a signal loss alarm.
  3. 如权利要求1或2所述的告警管理方法,其中,所述预报警状态为告警预投入状态;The alarm management method according to claim 1 or 2, wherein the pre-alarm state is an alarm pre-input state;
    将所述端口的预报警状态设置为第一模块未配置告警抑制状态为:将所述端口的第一模块未配置告警的预投入状态设置为自动恢复;和/或,将所述端口的预报警状态设置为第二模块未配置告警抑制状态为:将所述端口的第二模块未配置告警的预投入状态设置为自动恢复。Setting the pre-alarm state of the port to the first module is not configured with an alarm suppression state: setting a pre-input state of the first module unconfigured alarm of the port to be automatically restored; and/or, predicting the port The alarm state is set to the second module is not configured with the alarm suppression state: the pre-input state of the second module unconfigured alarm of the port is set to be automatically restored.
  4. 如权利要求1或2所述的告警管理方法,其中,检测到所述端口的第一模块未配置告警消失后,设置所述端口的预报警状态为第二模块未配置告警抑制状态之前,还包括根据所述第一模块未配置告警消失发送取消所述端口预报警状态的取消报文;The alarm management method according to claim 1 or 2, wherein after detecting that the first module unconfigured alarm of the port disappears, setting the pre-alarm state of the port to be that the second module is not configured with the alarm suppression state, The sending a cancel message that cancels the port pre-alarm state according to the first module unconfigured alarm disappearing;
    所述设置所述端口的预报警状态为第二模块未配置告警抑制状态包括:The setting the pre-alarm state of the port to be that the second module is not configured with the alarm suppression state includes:
    分析所述取消报文是否是根据第一模块未配置告警消失触发发送的,如是,设置所述端口的预报警状态为第二模块未配置告警抑制状态。 If the canceled message is sent according to the first module unconfigured alarm disappearing, if the pre-alarm status of the port is set, the second module is not configured with the alarm suppression state.
  5. 如权利要求4所述的告警管理方法,其中,当判断所述取消报文是根据第一模块未配置告警消失触发发送时,还包括取消所述取消报文的上报。The alarm management method of claim 4, wherein when it is determined that the canceled message is sent according to the first module unconfigured alarm disappearing, the method further includes canceling the reporting of the canceled message.
  6. 一种告警管理装置,包括第一配置模块、第一检测模块、第二配置模块、第二检测模块以及第二取消模块;An alarm management device includes a first configuration module, a first detection module, a second configuration module, a second detection module, and a second cancellation module;
    所述第一配置模块设置为将分组传送设备未配置第一模块的端口的预报警状态设置为第一模块未配置告警抑制状态,在第一模块未配置告警抑制状态,对检测到的所述端口的第一模块未配置告警消息不上报;The first configuration module is configured to set a pre-alarm state of the port in which the packet transmitting device is not configured with the first module to a first module that is not configured with an alarm suppression state, and the first module does not configure an alarm suppression state, and the detected The first module of the port is not configured with an alarm message and is not reported.
    所述第一检测模块设置为检测所述端口的第一模块未配置告警是否消失;The first detecting module is configured to detect whether the first module unconfigured alarm of the port disappears;
    所述第二配置模块设置为在所述第一检测模块检测到所述端口的第一模块未配置告警消失后,设置所述端口的预报警状态为第二模块未配置告警抑制状态;第二模块未配置告警为第一模块未配置告警的关联告警;在第二模块未配置告警抑制状态,对检测到的所述端口的第二模块未配置告警消息不上报;The second configuration module is configured to: after the first detection module detects that the first module unconfigured alarm of the port disappears, set a pre-alarm state of the port to be that the second module is not configured with an alarm suppression state; The module is not configured with an alarm that is not configured with an alarm for the first module; the alarm suppression state is not configured for the second module, and no alarm message is configured for the detected second module of the port;
    所述第二检测模块设置为检测所述端口的第二模块未配置告警是否消失;The second detecting module is configured to detect whether the second module unconfigured alarm of the port disappears;
    所述第二取消模块设置为在所述第二检测模块检测到所述端口的第二模块未配置告警消失后,取消所述端口的预报警状态。The second canceling module is configured to cancel the pre-alarm state of the port after the second detecting module detects that the second module unconfigured alarm of the port disappears.
  7. 如权利要求6所述的告警管理装置,其中,所述第一模块为光模块,所述第一模块未配置告警为光模块未配置告警;所述第二模块为光纤,所述第二模块未配置告警为信号丢失告警。The alarm management device of claim 6, wherein the first module is an optical module, the first module is not configured with an alarm that the optical module is not configured with an alarm; the second module is an optical fiber, and the second module is The alarm is not configured as a signal loss alarm.
  8. 如权利要求6或7所述的告警管理装置,其中,所述预报警状态为告警预投入状态;The alarm management device according to claim 6 or 7, wherein the pre-alarm state is an alarm pre-input state;
    所述第一配置模块将所述端口的预报警状态设置为第一模块未配置告警抑制状态为:将所述端口的第一模块未配置告警的预投入状态设置为自动恢复;和/或,所述第二配置模块将所述端口的预报警状态设置为第二模块未配置告警抑制状态为:将所述端口的第二模块未配置告警的预投入状态设置为自动恢复。The first configuration module sets the pre-alarm state of the port to be that the first module is not configured with an alarm suppression state: setting a pre-input state of the first module unconfigured alarm of the port to be automatically restored; and/or, The second configuration module sets the pre-alarm state of the port to the second module unconfigured alarm suppression state: the pre-input state of the second module unconfigured alarm of the port is set to be automatically restored.
  9. 如权利要求6或7所述的告警管理装置,其中,还包括第一取消模块,设置为在所述第一检测模块检测到所述端口的第一模块未配置告警消失后,第二配置模块设置所述端口的预报警状态为第二模块未配置告警抑制状态之前,根据所述第一模块未配置告警消失发送取消所述端口预报警状态的取消报文; The alarm management device according to claim 6 or 7, further comprising a first canceling module, configured to: after the first detecting module detects that the first module unconfigured alarm of the port disappears, the second configuration module Before the pre-alarm state of the port is set, the canceling message of canceling the port pre-alarm state is sent according to the first module not configured alarm disappearing state before the second module is not configured with the alarm suppression state;
    所述第二配置模块设置所述端口的预报警状态为第二模块未配置告警抑制状态包括:分析所述取消报文是否是根据第一模块未配置告警消失触发发送的,如是,设置所述端口的预报警状态为第二模块未配置告警抑制状态。The second configuration module sets the pre-alarm state of the port to be that the second module is not configured with the alarm suppression state, including: analyzing whether the canceled packet is sent according to the first module unconfigured alarm disappearing trigger, and if so, setting the The pre-alarm status of the port is that the second module is not configured with an alarm suppression state.
  10. 一种分组传送设备,包括至少一个端口、处理器以及存储器;所述存储器设置为存储至少一个程序模块,所述处理器设置为调用至少一个程序模块执行以下步骤:A packet transfer device comprising at least one port, a processor and a memory; the memory being arranged to store at least one program module, the processor being arranged to invoke at least one program module to perform the following steps:
    将未配置第一模块的端口的预报警状态设置为第一模块未配置告警抑制状态,在第一模块未配置告警抑制状态,对检测到的所述端口的第一模块未配置告警消息不上报;The pre-alarm state of the port that is not configured with the first module is set to that the first module is not configured with the alarm suppression state, and the alarm suppression state is not configured in the first module, and the detected alarm message of the first module of the port is not reported. ;
    检测到所述端口的第一模块未配置告警消失时,设置所述端口的预报警状态为第二模块未配置告警抑制状态;第二模块未配置告警为第一模块未配置告警的关联告警;在第二模块未配置告警抑制状态,对检测到的所述端口的第二模块未配置告警消息不上报;When the first module unconfigured alarm of the port is detected to be lost, the pre-alarm state of the port is set to be that the second module is not configured with the alarm suppression state; and the second module is not configured with the associated alarm that the first module is not configured with the alarm; The alarm suppression state is not configured in the second module, and the detected alarm message is not reported in the second module of the detected port;
    检测到所述端口的第二模块未配置告警消失时,取消所述端口的预报警状态。 When it is detected that the second module unconfigured alarm of the port disappears, the pre-alarm state of the port is cancelled.
PCT/CN2014/089602 2014-08-04 2014-10-27 Alarm management method, apparatus and packet transport device WO2015154439A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410379958.6 2014-08-04
CN201410379958.6A CN105323104B (en) 2014-08-04 2014-08-04 Alarm management method and device and packet transmission equipment

Publications (1)

Publication Number Publication Date
WO2015154439A1 true WO2015154439A1 (en) 2015-10-15

Family

ID=54287202

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/089602 WO2015154439A1 (en) 2014-08-04 2014-10-27 Alarm management method, apparatus and packet transport device

Country Status (2)

Country Link
CN (1) CN105323104B (en)
WO (1) WO2015154439A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107517114B (en) * 2016-06-16 2022-08-02 中兴通讯股份有限公司 Method and device for updating link state of communication port
CN109818800B (en) * 2019-02-19 2019-12-17 深圳市欧博凯科技有限公司 received signal alarm and alarm removing value testing method suitable for optical module
CN112152829B (en) * 2019-06-27 2022-08-02 烽火通信科技股份有限公司 Alarm shielding method and system
CN116074660A (en) * 2021-11-01 2023-05-05 中兴通讯股份有限公司 Method and device for pre-input validation of related alarms, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101820360A (en) * 2010-04-02 2010-09-01 中兴通讯股份有限公司 Alarm platform and method for implementing alarm thereof
WO2012037797A1 (en) * 2010-09-20 2012-03-29 中兴通讯股份有限公司 Method and apparatus for processing warnings under energy-saving mode in passive optical network (pon) system
CN102638373A (en) * 2012-04-18 2012-08-15 烽火通信科技股份有限公司 Method for realizing alarm standby of access equipment
CN102833115A (en) * 2012-09-04 2012-12-19 瑞斯康达科技发展股份有限公司 Alarm processing method and system of port
CN103392304A (en) * 2013-01-25 2013-11-13 华为技术有限公司 Alarming inhibiting method and optical network device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000063233A (en) * 2000-05-27 2000-11-06 이원상 Supervisory apparatus, remote supervisory method and computer readable medium having stored thereon computer executable instruction for performing the method
US6694364B1 (en) * 2000-06-16 2004-02-17 Cisco Technology, Inc. System and method for suppressing out-of-order side-effect alarms in heterogeneous integrated wide area data and telecommunication networks
CN101145841B (en) * 2007-06-27 2012-05-30 中兴通讯股份有限公司 A method for optical transmission network processing reporting alarming information
CN101582807B (en) * 2009-07-02 2011-10-05 北京讯风光通信技术开发有限责任公司 Method and system based on northbound interface to realize network management

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101820360A (en) * 2010-04-02 2010-09-01 中兴通讯股份有限公司 Alarm platform and method for implementing alarm thereof
WO2012037797A1 (en) * 2010-09-20 2012-03-29 中兴通讯股份有限公司 Method and apparatus for processing warnings under energy-saving mode in passive optical network (pon) system
CN102638373A (en) * 2012-04-18 2012-08-15 烽火通信科技股份有限公司 Method for realizing alarm standby of access equipment
CN102833115A (en) * 2012-09-04 2012-12-19 瑞斯康达科技发展股份有限公司 Alarm processing method and system of port
CN103392304A (en) * 2013-01-25 2013-11-13 华为技术有限公司 Alarming inhibiting method and optical network device

Also Published As

Publication number Publication date
CN105323104A (en) 2016-02-10
CN105323104B (en) 2020-04-03

Similar Documents

Publication Publication Date Title
WO2015154439A1 (en) Alarm management method, apparatus and packet transport device
US20070204068A1 (en) Ring network and master node
CN106789386B (en) Wrong method and the error detector for network system on detection communication bus
MX2021011509A (en) Transferring monitoring event information during a mobility procedure.
WO2016095344A1 (en) Link switching method and device, and line card
CN103810076A (en) Monitoring method and device for data reproduction
CN102035695A (en) Bidirectional forwarding detection method and device
JP6388434B2 (en) Network device, communication method, program, recording medium
JP6491955B2 (en) Seismic isolation system
WO2018171745A1 (en) Protection switching method and device for ring network
WO2016065751A1 (en) Method for recovering link communication, service line card and system
WO2014113966A1 (en) Alarm inhibition method and optical network device
WO2023107700A1 (en) On-premises communication bridges for premises security systems
KR101003567B1 (en) The remote disaster management system using a cctv image
JP4798286B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, AND ACCESS CONTROL METHOD
KR100986304B1 (en) The disaster prevention system generating a repairing and checking signal
TWI662436B (en) Method and system for managing computer sequences
JP5865762B2 (en) Equipment monitoring device and equipment monitoring method
CN110610107A (en) Network interface, interface device, physical intrusion prevention method, device and storage medium
JP6204397B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND PROGRAM
JP7226733B2 (en) SECURITY CENTER AND CONTROL METHOD OF SECURITY CENTER
CN102300132B (en) A kind of method for the configuration that synchronization is found automatically
JP6381059B1 (en) Security device, security system, report transmission method and program
JP6304528B2 (en) Fire receiver
JP4661778B2 (en) Wired communication system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14888870

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14888870

Country of ref document: EP

Kind code of ref document: A1