WO2016177048A1 - Method and apparatus for generating operation, administration and maintenance alarm, and storage medium - Google Patents

Method and apparatus for generating operation, administration and maintenance alarm, and storage medium Download PDF

Info

Publication number
WO2016177048A1
WO2016177048A1 PCT/CN2016/075230 CN2016075230W WO2016177048A1 WO 2016177048 A1 WO2016177048 A1 WO 2016177048A1 CN 2016075230 W CN2016075230 W CN 2016075230W WO 2016177048 A1 WO2016177048 A1 WO 2016177048A1
Authority
WO
WIPO (PCT)
Prior art keywords
oam
service board
alarm
information
state
Prior art date
Application number
PCT/CN2016/075230
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 WO2016177048A1 publication Critical patent/WO2016177048A1/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
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]

Definitions

  • the present invention relates to an operation, management, and maintenance (OAM) related technology in the field of Multi-Protocol Label Switching (MPLS), and in particular, to a method, an apparatus, and a storage medium for generating an OAM alarm.
  • OAM operation, management, and maintenance
  • the configuration of the OAM is usually placed on the service board to facilitate the detection and detection of OAM detection packets.
  • the protection switching decision module is usually on the main control board.
  • the OAM module on the service card of the OAM is used to detect the OAM detection packet. If an alarm is detected, the alarm is sent to the protection switching module of the main control board to perform the switching decision. The alarm is generated on the service board. If the service board is faulty, the alarm cannot be transmitted to the main control board in time for protection switching. As a result, the service carried on the service board is interrupted.
  • the embodiment of the present invention is to provide a method, a device, and a storage medium for generating an OAM alarm. After the service board is faulty, the service on the faulty board is switched to the protection board in time. Recovery to ensure the reliability of communication.
  • the embodiment of the invention provides a method for generating an operation, managing and maintaining an OAM alarm.
  • the methods include:
  • the method before the determining that the working state of the current service board is changed from the first state to the second state, the method further includes:
  • the corresponding relationship between the storage of the service board and the OAM on the service board includes:
  • the slot information of the service board is obtained, and the slot information of the service board and the identifier information of each OAM on the service board are corresponding to the service board information table.
  • the corresponding OAM alarms generated for each OAM on the service board include:
  • the method further includes:
  • the set OAM alarm timer expires and the OAM alarm is cleared.
  • the embodiment of the invention further provides a device for generating an OAM alarm, the device comprising: a monitoring module and an alarm module; wherein
  • the monitoring module is configured to trigger the alarm module when determining that the working state of the current service board changes from the first state to the second state;
  • the alarm module is configured to generate a corresponding one for each OAM on the service board.
  • the OAM alarm is used to trigger a protection switching corresponding to the OAM.
  • the device further includes an obtaining module, configured to obtain the identifier information of each OAM on the service board, and store the corresponding relationship between the service board and the OAM on the service board.
  • the acquiring module is configured to obtain the slot information of the service board, and correspondingly store the slot information of the service board and the identifier information of each OAM on the service board to the service board.
  • Information Sheet is configured to obtain the slot information of the service board, and correspondingly store the slot information of the service board and the identifier information of each OAM on the service board to the service board.
  • the monitoring module is configured to monitor the working status of the service board, and determine that the alarm module is triggered when the working status of the current service board changes from the online status to the offline status;
  • the alarm module is configured to read the stored identification information of each OAM corresponding to the service board, and generate a corresponding OAM alarm for each OAM.
  • the alarm module is further configured to determine that the set OAM alarm timer expires and clear the OAM alarm.
  • the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores a computer program configured to perform the foregoing method for generating an OAM alarm according to an embodiment of the present invention.
  • the method, the device, and the storage medium for generating an OAM alarm determine that each OAM of the service board is generated when the working state of the current service board is changed from the first state to the second state.
  • the OAM alarm is used to trigger a protection switching corresponding to the OAM. In this way, after the service board is faulty, the service on the faulty board can be switched to the protection board in time, so that the service can be restored and the reliability of communication can be ensured.
  • FIG. 1 is a schematic flowchart of a method for generating an OAM alarm according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a system of a distributed communication system according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of a method for generating an OAM alarm according to Embodiment 2 of the present invention.
  • FIG. 4 is a schematic structural diagram of a device for generating an OAM alarm according to an embodiment of the present invention.
  • a corresponding OAM alarm is generated for each OAM on the service board; the OAM alarm is used to trigger Corresponding to the protection switching of the OAM.
  • FIG. 1 is a schematic flowchart of a method for generating an OAM alarm according to an embodiment of the present invention. As shown in FIG. 1 , a method for generating an OAM alarm according to an embodiment of the present invention includes:
  • Step 101 Determine that the working state of the current service board changes from the first state to the second state.
  • Step 102 Generate a corresponding OAM alarm for each OAM on the service board.
  • the service board is a board that carries the communication service in the distributed communication system.
  • the main control board is a distributed communication system
  • the service board is a service board.
  • the board where the control unit is located, as shown in FIG. 2 is a schematic diagram of the system architecture of the distributed communication system;
  • Each of the OAMs is an OAM entity; the first state may be an online state, and the second state may be an offline state;
  • the OAM alarm is used to trigger protection switching corresponding to the OAM
  • the method of the embodiment includes: the main control board monitors the working status of the service board, and determines that each of the service boards corresponding to the service is read when the working status of the current service board changes from the online status to the offline status.
  • the OAM identification information is generated for each OAM.
  • the monitoring may be real-time monitoring or periodic monitoring; when the monitoring is periodic monitoring, the period may be set according to actual needs;
  • the reading, by the reading, the identifier information of each OAM corresponding to the service board includes:
  • the main control board reads the identifier information of each OAM corresponding to the slot information of the service board stored in the service board information table;
  • the slot information of the service board is used to identify the location information of the service board: the location number of the service board installed on the rack; the slot of the service board is the same as the service board. A correspondence.
  • the method before step 101, the method further includes:
  • the master board obtains the identifier information of each OAM on the service board, and stores the corresponding relationship between the service board and the OAM on the service board.
  • the obtaining the identifier information of each OAM on the service board includes:
  • the master control board obtains the identifier information of each OAM on the service board that is reported on the service board; where the identifier information of the OAM may be the OAM ID (Identification) information of the OAM;
  • the corresponding relationship between the storage of the service board and the OAM on the service board includes:
  • the obtaining the slot information of the service board includes:
  • the main control board receives the slot information of the service board reported on the service card.
  • the service board reports the slot information of the service board and the service order.
  • the identification information of each OAM on the board is sent to the main control board.
  • the method further includes: before the storage of the slot information of the service board and the identifier information of each OAM on the service board to the service board information table, the method further includes:
  • the main control board creates a service board information table for storing the slot information of the service board and the identifier information of each OAM on the service board.
  • the description is made on the creation of the service board information table. It can be executed only when the method for generating an OAM alarm according to the embodiment of the present invention is applied for the first time, and can be directly applied subsequently.
  • the method before the obtaining the identifier information of each OAM on the service board, the method further includes:
  • the service board determines that the configuration of the OAM is completed, and reads the slot information of the OAM and the corresponding identifier information of each OAM.
  • the method further includes: receiving, by the main control board, an update message sent by the service board, and updating information corresponding to the service board in the service board information table according to the update message;
  • the update message includes: slot information of the service board and OAM identification information to be deleted, and the like;
  • the updating the information corresponding to the service board in the service board information table according to the update message includes:
  • the method further includes: determining that the current working state of the service board changes from the second state to the first state, or the current service board does not change, the state information is ignored, and the state information is not performed. deal with.
  • the method further includes:
  • the protection switching triggered by the OAM alarm does not switch back, but receives the The OAM alarm clearing command sent by the service board performs a failback operation corresponding to the protection switching of the OAM; and the OAM alarm clearing command is sent when the service board detects that the OAM actual alarm has been cleared.
  • the method determines that the set OAM alarm timer expires before the method
  • the method further includes: setting an OAM alarm timer, where the duration of the OAM alarm timer can be set according to actual needs, but the duration of the OAM alarm timer needs to ensure that the protection switching can be completed;
  • the setting of the alarm timer may be set only when the method for generating an OAM alarm according to the embodiment of the present invention is applied for the first time, and may be directly applied subsequently.
  • the method further includes: performing protection switching corresponding to the OAM according to the OAM alarm.
  • FIG. 3 is a schematic flowchart of a method for generating an OAM alarm according to Embodiment 2 of the present invention. As shown in FIG. 3, the method for generating an OAM alarm according to an embodiment of the present invention includes:
  • Step 301 The master board obtains the identifier information of each OAM on the service board, and stores the corresponding relationship between the service board and the OAM on the service board.
  • each OAM is an OAM entity
  • the obtaining the identifier information of each OAM on the service board includes:
  • the master control board obtains the identifier information of each OAM on the service board that is reported on the service board; where the identifier information of the OAM may be the OAM ID information of the OAM;
  • the corresponding relationship between the storage of the service board and the OAM on the service board includes:
  • the obtaining the slot information of the service board includes:
  • the main control board receives the slot information of the service board reported on the service card.
  • the service board reports the slot information of the service board and the service order.
  • the identification information of each OAM on the board is sent to the main control board.
  • the method further includes: before the storage of the slot information of the service board and the identifier information of each OAM on the service board to the service board information table, the method further includes:
  • the main control board creates a service board information table for storing the slot information of the service board and the identifier information of each OAM on the service board.
  • the description is made on the creation of the service board information table. It can be executed only when the method for generating an OAM alarm according to the embodiment of the present invention is applied for the first time, and can be directly applied subsequently.
  • the method before the step, further includes: determining, by the service board, that the configuration of the OAM is completed, and reading the slot information of the OAM and the corresponding identifier information of each OAM;
  • the configuration of the OAM implemented by the service board mainly includes the configuration of the delivery period, the detection period, and the allocation of the OAM ID.
  • the method further includes: receiving, by the main control board, an update message sent by the service board, and updating information corresponding to the service board in the service board information table according to the update message;
  • the update message includes: slot information of the service board and OAM identification information to be deleted, and the like;
  • the updating the information corresponding to the service board in the service board information table according to the update message includes:
  • Step 302 Monitor the working status of the service board, and determine whether the working status of the current service board changes from the first status to the second status. If yes, go to step 303; otherwise, go to step 302;
  • the monitoring may be real-time monitoring or periodic monitoring; when the monitoring is periodic monitoring, the period may be set according to actual needs;
  • the work of each service board in the real-time monitoring system of the main control board The first state may be an online state, and the second state may be an offline state.
  • the main control board determines that the working state of the current service board changes from the second state to the first state, or the current service board When the working status has not changed, the status information is ignored and no processing is performed.
  • Step 303 The identifier information of each OAM corresponding to the current service card is read, and a corresponding OAM alarm is generated for each OAM.
  • the reading the stored identification information of each OAM corresponding to the service board includes:
  • the main control board reads the identifier information of each OAM corresponding to the slot information of the service board stored in the service board information table;
  • the OAM alarm is used to trigger a protection switching corresponding to the OAM
  • the slot information of the service board is used to identify the location information of the service board as the location number of the service board installed on the rack.
  • the slot of the service board is in one-to-one correspondence with the service board. relationship.
  • Step 304 Perform protection switching according to the generated OAM alarm.
  • Step 305 Determine that the set OAM alarm timer expires, and clear the OAM alarm.
  • the protection switching triggered by the OAM alarm does not fail back, but when the OAM alarm clearing instruction sent by the service board is received, the corresponding execution is performed.
  • the OAM alarm clearing command is sent when the service board detects that the actual alarm of the OAM has been cleared.
  • the method before the determining that the set OAM alarm timer expires, the method further includes: setting an OAM alarm timer, where the duration of the OAM alarm timer can be set according to actual needs, but The duration of the OAM alarm timer needs to be ensured that the protection switching can be completed. It should be noted that the setting of the OAM alarm timer can be set only when the method for generating an OAM alarm according to the embodiment of the present invention is applied for the first time. Can be applied directly.
  • the device for generating an OAM alarm according to an embodiment of the present invention includes: a monitoring module 41 and an alarm module 42. ;among them,
  • the monitoring module 41 is configured to trigger the alarm module when determining that the working state of the current service board changes from the first state to the second state;
  • the alarm module 42 is configured to generate a corresponding OAM alarm for each OAM on the service board.
  • each OAM is an OAM entity; the first state may be an online state, and the second state may be an offline state;
  • the OAM alarm is used to trigger the protection switching of the OAM.
  • the device further includes a protection switching module 43 configured to perform protection switching corresponding to the OAM according to the OAM alarm.
  • the device further includes an obtaining module 44, configured to acquire identification information of each OAM on the service board, and store a corresponding relationship between the service board and the OAM on the service board.
  • the identifier information of the OAM may be OAM ID information of the OAM
  • the obtaining, by the obtaining module 44, the identifier information of each OAM on the service board includes:
  • the obtaining module 44 obtains the identifier information of each OAM on the service board reported on the service card;
  • the obtaining, by the obtaining module 44, the correspondence between the service board and the OAM on the service board includes:
  • the obtaining module 44 obtains the slot information of the service board, and correspondingly stores the slot information of the service board and the identifier information of each OAM on the service board to the service board information table;
  • the slot information of the service board is used to identify the location information of the service board as follows: The location number of the service board installed on the rack.
  • the slot of the service board is in one-to-one correspondence with the service board.
  • the obtaining, by the obtaining module 44, the slot information of the service board includes:
  • the obtaining module 44 receives the slot information of the service board reported on the service card.
  • the obtaining module 44 is further configured to create a service board information table for storing slot information of the service board and the identifier information of each OAM on the service board.
  • the obtaining module 44 is further configured to receive an update message sent by the service board, and update information corresponding to the service board in the service board information table according to the update message;
  • the update message includes: slot information of the service board and OAM identification information to be deleted, and the like;
  • the obtaining module 44 is configured to: according to the slot information of the service card in the update message, index the OAM identification information of the service card in the service card information table, and delete the service board.
  • the monitoring module 41 is configured to monitor the working status of the service board, and determine that the alarm module is triggered when the working status of the current service board changes from the online status to the offline status;
  • the alarm module 42 is configured to read the stored identification information of each OAM corresponding to the service board, and generate a corresponding OAM alarm for each OAM;
  • the monitoring may be real-time monitoring or periodic monitoring; when the monitoring is periodic monitoring, the period may be set according to actual needs;
  • the alarm module 42 reads the stored identification information of each OAM corresponding to the service board, including:
  • the alarm module 42 reads the slot corresponding to the service board stored in the service board information table. Identification information of each OAM of the bit information.
  • the alarm module 42 is further configured to set an OAM alarm timer, and the duration of the OAM alarm timer may be set according to actual needs, but the duration of the OAM alarm timer needs to be protected. Switching can be done.
  • the alarm module 42 is further configured to determine that the set OAM alarm timer expires and clear the OAM alarm.
  • the monitoring module 41, the alarm module 42, the protection switching module 43, and the obtaining module 44 may be implemented by a processor, and may also be implemented by a specific logic circuit; in practical applications, the processor It can be a central processing unit (CPU), a microprocessor (MPU), or a field programmable gate array (FPGA).
  • CPU central processing unit
  • MPU microprocessor
  • FPGA field programmable gate array
  • the foregoing method for generating an operation, managing, and maintaining an OAM alarm is implemented in the form of a software function module, and is sold or used as a stand-alone product, it may also be stored in a computer readable storage medium.
  • the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions.
  • a computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk.
  • program codes such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk.
  • the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores a computer program for performing the foregoing method for generating an OAM alarm according to an embodiment of the present invention.
  • a corresponding OAM alarm is generated for each OAM on the service board; the OAM alarm is used to trigger the corresponding The protection switching of OAM.

Landscapes

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

Abstract

Disclosed is a method for generating an operation, administration and maintenance (OAM) alarm. The method comprises: when it is determined that a working status of a current service single board changes into a second status from a first status, generating the corresponding OAM alarm for each OAM on the service single board, wherein the OAM alarm is used to trigger protection switching corresponding to the OAM. Further disclosed are an apparatus for generating an OAM alarm and a storage medium.

Description

产生操作、管理和维护告警的方法、装置及存储介质Method, device and storage medium for generating operation, management and maintenance alarms 技术领域Technical field
本发明涉及多协议标签交换(MPLS,Multi-Protocol Label Switching)领域中的操作、管理和维护(OAM,Operation Administration and Maintenance)相关技术,尤其涉及一种产生OAM告警的方法、装置及存储介质。The present invention relates to an operation, management, and maintenance (OAM) related technology in the field of Multi-Protocol Label Switching (MPLS), and in particular, to a method, an apparatus, and a storage medium for generating an OAM alarm.
背景技术Background technique
在分布式通信系统中,OAM的配置通常是放在业务单板上,以便于OAM检测报文的收发检测;保护倒换决策模块通常是在主控单板上,以便于单板故障后,能够正常进行倒换决策;OAM归属业务单板上的OAM模块,进行OAM检测报文的检测,如果检测出告警,则把告警上送到主控单板的保护倒换模块,进行倒换决策;然而,由于告警是在业务单板产生的,如果业务单板突然故障,则告警不能及时的传送到主控单板以进行保护倒换,导致在这个业务单板上承载的业务中断。In a distributed communication system, the configuration of the OAM is usually placed on the service board to facilitate the detection and detection of OAM detection packets. The protection switching decision module is usually on the main control board. The OAM module on the service card of the OAM is used to detect the OAM detection packet. If an alarm is detected, the alarm is sent to the protection switching module of the main control board to perform the switching decision. The alarm is generated on the service board. If the service board is faulty, the alarm cannot be transmitted to the main control board in time for protection switching. As a result, the service carried on the service board is interrupted.
因此,提供一种产生OAM告警的技术方案,能够在业务单板故障后,及时将故障单板上的业务倒换到保护单板上,从而使得业务可以恢复,保证通信的可靠性,已成为亟待解决的技术问题。Therefore, a technical solution for generating an OAM alarm is provided. After the service board is faulty, the service on the faulty board can be switched to the protection board in time, so that the service can be restored and the reliability of the communication is ensured. Solved technical problems.
发明内容Summary of the invention
有鉴于此,本发明实施例期望提供一种产生OAM告警的方法、装置及存储介质,能够在业务单板故障后,及时将故障单板上的业务倒换到保护单板上,从而使得业务可以恢复,保证通信的可靠性。In view of the above, the embodiment of the present invention is to provide a method, a device, and a storage medium for generating an OAM alarm. After the service board is faulty, the service on the faulty board is switched to the protection board in time. Recovery to ensure the reliability of communication.
为达到上述目的,本发明实施例的技术方案是这样实现的:To achieve the above objective, the technical solution of the embodiment of the present invention is implemented as follows:
本发明实施例提供了一种产生操作、管理和维护OAM告警的方法,所 述方法包括:The embodiment of the invention provides a method for generating an operation, managing and maintaining an OAM alarm. The methods include:
确定当前业务单板的工作状态由第一状态变为第二状态时,为所述业务单板上的每个OAM生成对应的OAM告警;所述OAM告警用于触发对应所述OAM的保护倒换。When the working status of the current service board is changed from the first state to the second state, a corresponding OAM alarm is generated for each OAM on the service board; the OAM alarm is used to trigger the protection switching corresponding to the OAM. .
上述方案中,所述确定当前业务单板的工作状态由第一状态变为第二状态之前,所述方法还包括:In the above solution, before the determining that the working state of the current service board is changed from the first state to the second state, the method further includes:
获取所述业务单板上每个OAM的标识信息,并存储所述业务单板与所述业务单板上OAM的对应关系。Obtaining the identifier information of each OAM on the service board, and storing the correspondence between the service board and the OAM on the service board.
上述方案中,所述存储所述业务单板与所述业务单板上OAM的对应关系包括:The corresponding relationship between the storage of the service board and the OAM on the service board includes:
获取所述业务单板的槽位信息,对应存储所述业务单板的槽位信息与所述业务单板上每个OAM的标识信息至业务单板信息表。The slot information of the service board is obtained, and the slot information of the service board and the identifier information of each OAM on the service board are corresponding to the service board information table.
上述方案中,所述确定当前业务单板的工作状态由第一状态变为第二状态时,为所述业务单板上的每个OAM生成对应的OAM告警包括:In the above solution, when the working status of the current service board is changed from the first state to the second state, the corresponding OAM alarms generated for each OAM on the service board include:
对业务单板的工作状态进行监测,确定当前业务单板的工作状态由在线状态变为离线状态时,读取存储的对应所述业务单板的每个OAM的标识信息,为每个OAM生成对应的OAM告警。When the working status of the service board is monitored, and the current working status of the service board is changed from the online status to the offline status, the stored information of each OAM corresponding to the service board is read and generated for each OAM. Corresponding OAM alarm.
上述方案中,所述为所述业务单板上的每个OAM生成对应的OAM告警之后,所述方法还包括:After the method of generating the corresponding OAM alarm for each OAM on the service board, the method further includes:
确定设定的OAM告警定时器超时,清除所述OAM告警。The set OAM alarm timer expires and the OAM alarm is cleared.
本发明实施例还提供了一种产生OAM告警的装置,所述装置包括:监测模块及告警模块;其中,The embodiment of the invention further provides a device for generating an OAM alarm, the device comprising: a monitoring module and an alarm module; wherein
所述监测模块,配置为在确定当前业务单板的工作状态由第一状态变为第二状态时,触发所述告警模块;The monitoring module is configured to trigger the alarm module when determining that the working state of the current service board changes from the first state to the second state;
所述告警模块,配置为为所述业务单板上的每个OAM生成对应的 OAM告警;所述OAM告警用于触发对应所述OAM的保护倒换。The alarm module is configured to generate a corresponding one for each OAM on the service board. The OAM alarm is used to trigger a protection switching corresponding to the OAM.
上述方案中,所述装置还包括获取模块,配置为获取所述业务单板上每个OAM的标识信息,并存储所述业务单板与所述业务单板上OAM的对应关系。In the above solution, the device further includes an obtaining module, configured to obtain the identifier information of each OAM on the service board, and store the corresponding relationship between the service board and the OAM on the service board.
上述方案中,所述获取模块,配置为获取所述业务单板的槽位信息,对应存储所述业务单板的槽位信息与所述业务单板上每个OAM的标识信息至业务单板信息表。In the above solution, the acquiring module is configured to obtain the slot information of the service board, and correspondingly store the slot information of the service board and the identifier information of each OAM on the service board to the service board. Information Sheet.
上述方案中,所述监测模块,配置为对业务单板的工作状态进行监测,确定当前业务单板的工作状态由在线状态变为离线状态时,触发所述告警模块;In the above solution, the monitoring module is configured to monitor the working status of the service board, and determine that the alarm module is triggered when the working status of the current service board changes from the online status to the offline status;
相应的,所述告警模块,配置为读取存储的对应所述业务单板的每个OAM的标识信息,为每个OAM生成对应的OAM告警。Correspondingly, the alarm module is configured to read the stored identification information of each OAM corresponding to the service board, and generate a corresponding OAM alarm for each OAM.
上述方案中,所述告警模块,还配置为确定设定的OAM告警定时器超时,清除所述OAM告警。In the above solution, the alarm module is further configured to determine that the set OAM alarm timer expires and clear the OAM alarm.
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质存储有计算机程序,该计算机程序配置为执行本发明实施例的上述产生OAM告警的方法。The embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores a computer program configured to perform the foregoing method for generating an OAM alarm according to an embodiment of the present invention.
本发明实施例所提供的产生OAM告警的方法、装置及存储介质,确定当前业务单板的工作状态由第一状态变为第二状态时,为所述业务单板上的每个OAM生成对应的OAM告警;所述OAM告警用于触发对应所述OAM的保护倒换。如此,能够在业务单板故障后,及时将故障单板上的业务倒换到保护单板上,从而使得业务可以恢复,保证通信的可靠性。The method, the device, and the storage medium for generating an OAM alarm according to the embodiment of the present invention determine that each OAM of the service board is generated when the working state of the current service board is changed from the first state to the second state. The OAM alarm is used to trigger a protection switching corresponding to the OAM. In this way, after the service board is faulty, the service on the faulty board can be switched to the protection board in time, so that the service can be restored and the reliability of communication can be ensured.
附图说明DRAWINGS
图1为本发明实施例一产生OAM告警的方法流程示意图;FIG. 1 is a schematic flowchart of a method for generating an OAM alarm according to an embodiment of the present invention;
图2为本发明实施例分布式通信系统的系统架构示意图; 2 is a schematic structural diagram of a system of a distributed communication system according to an embodiment of the present invention;
图3为本发明实施例二产生OAM告警的方法流程示意图;3 is a schematic flowchart of a method for generating an OAM alarm according to Embodiment 2 of the present invention;
图4为本发明实施例产生OAM告警的装置组成结构示意图。FIG. 4 is a schematic structural diagram of a device for generating an OAM alarm according to an embodiment of the present invention.
具体实施方式detailed description
在本发明实施例中,确定当前业务单板的工作状态由第一状态变为第二状态时,为所述业务单板上的每个OAM生成对应的OAM告警;所述OAM告警用于触发对应所述OAM的保护倒换。In the embodiment of the present invention, when the working state of the current service board is changed from the first state to the second state, a corresponding OAM alarm is generated for each OAM on the service board; the OAM alarm is used to trigger Corresponding to the protection switching of the OAM.
实施例一 Embodiment 1
图1所示为本发明实施例一产生OAM告警的方法流程示意图,如图1所示,本发明实施例产生OAM告警的方法包括:FIG. 1 is a schematic flowchart of a method for generating an OAM alarm according to an embodiment of the present invention. As shown in FIG. 1 , a method for generating an OAM alarm according to an embodiment of the present invention includes:
步骤101:确定当前业务单板的工作状态由第一状态变为第二状态;Step 101: Determine that the working state of the current service board changes from the first state to the second state.
步骤102:为所述业务单板上的每个OAM生成对应的OAM告警。Step 102: Generate a corresponding OAM alarm for each OAM on the service board.
这里,所述业务单板为分布式通信系统中承载通信业务的单板,在分布式通信系统中可以有一个或多个业务单板,主控单板为分布式通信系统中,业务单板控制单元所在的单板,如图2所示为分布式通信系统的系统架构示意图;The service board is a board that carries the communication service in the distributed communication system. In the distributed communication system, there may be one or more service boards. The main control board is a distributed communication system, and the service board is a service board. The board where the control unit is located, as shown in FIG. 2 is a schematic diagram of the system architecture of the distributed communication system;
所述每个OAM为一个OAM实体;所述第一状态可以为在线状态,所述第二状态可以为离线状态;Each of the OAMs is an OAM entity; the first state may be an online state, and the second state may be an offline state;
所述OAM告警用于触发对应所述OAM的保护倒换;The OAM alarm is used to trigger protection switching corresponding to the OAM;
本实施例的方法包括:主控单板对业务单板的工作状态进行监测,确定当前业务单板的工作状态由在线状态变为离线状态时,读取存储的对应所述业务单板的每个OAM的标识信息,为每个OAM生成对应的OAM告警;The method of the embodiment includes: the main control board monitors the working status of the service board, and determines that each of the service boards corresponding to the service is read when the working status of the current service board changes from the online status to the offline status. The OAM identification information is generated for each OAM.
其中,所述监测可以为实时监测或周期性监测;当所述监测为周期性监测时,所述周期可以依据实际需要进行设定;The monitoring may be real-time monitoring or periodic monitoring; when the monitoring is periodic monitoring, the period may be set according to actual needs;
所述读取存储的对应所述业务单板的每个OAM的标识信息包括: And the reading, by the reading, the identifier information of each OAM corresponding to the service board includes:
主控单板读取业务单板信息表中存储的对应所述业务单板的槽位信息的每个OAM的标识信息;The main control board reads the identifier information of each OAM corresponding to the slot information of the service board stored in the service board information table;
这里,所述业务单板的槽位信息用于标识所述业务单板的位置信息为:所述业务单板在机架上安装的位置编号;业务单板的槽位与业务单板为一一对应关系。The slot information of the service board is used to identify the location information of the service board: the location number of the service board installed on the rack; the slot of the service board is the same as the service board. A correspondence.
在一实施例中,步骤101之前,所述方法还包括:In an embodiment, before step 101, the method further includes:
主控单板获取所述业务单板上每个OAM的标识信息,并存储所述业务单板与所述业务单板上OAM的对应关系;The master board obtains the identifier information of each OAM on the service board, and stores the corresponding relationship between the service board and the OAM on the service board.
其中,所述获取所述业务单板上每个OAM的标识信息包括:The obtaining the identifier information of each OAM on the service board includes:
主控单板获取所述业务单板上报的所述业务单板上每个OAM的标识信息;这里,所述OAM的标识信息可以为所述OAM的OAM身份标识(ID,Identification)信息;The master control board obtains the identifier information of each OAM on the service board that is reported on the service board; where the identifier information of the OAM may be the OAM ID (Identification) information of the OAM;
所述存储所述业务单板与所述业务单板上OAM的对应关系包括:The corresponding relationship between the storage of the service board and the OAM on the service board includes:
获取所述业务单板的槽位信息,对应存储所述业务单板的槽位信息与所述业务单板上每个OAM的标识信息至业务单板信息表;Obtaining the slot information of the service board, and correspondingly storing the slot information of the service board and the identifier information of each OAM on the service board to the service board information table;
这里,所述获取所述业务单板的槽位信息包括:Here, the obtaining the slot information of the service board includes:
主控单板接收所述业务单板上报的所述业务单板的槽位信息;在本发明实施例中,所述业务单板同时上报所述业务单板的槽位信息与所述业务单板上每个OAM的标识信息至主控单板。The main control board receives the slot information of the service board reported on the service card. In the embodiment of the present invention, the service board reports the slot information of the service board and the service order. The identification information of each OAM on the board is sent to the main control board.
在一实施例中,所述对应存储所述业务单板的槽位信息与所述业务单板上每个OAM的标识信息至业务单板信息表之前,所述方法还包括:In an embodiment, the method further includes: before the storage of the slot information of the service board and the identifier information of each OAM on the service board to the service board information table, the method further includes:
主控单板创建用于存储业务单板的槽位信息与所述业务单板上每个OAM的标识信息的业务单板信息表;需要说明的是,所述对业务单板信息表的创建仅在首次应用本发明实施例所述产生OAM告警的方法时执行即可,后续可直接应用。 The main control board creates a service board information table for storing the slot information of the service board and the identifier information of each OAM on the service board. The description is made on the creation of the service board information table. It can be executed only when the method for generating an OAM alarm according to the embodiment of the present invention is applied for the first time, and can be directly applied subsequently.
在一实施例中,所述获取所述业务单板上每个OAM的标识信息之前,所述方法还包括:In an embodiment, before the obtaining the identifier information of each OAM on the service board, the method further includes:
所述业务单板确定对自身OAM的配置已完成,读取自身的槽位信息及对应的每个OAM的标识信息。The service board determines that the configuration of the OAM is completed, and reads the slot information of the OAM and the corresponding identifier information of each OAM.
在一实施例中,所述方法还包括:主控单板接收所述业务单板发送的更新消息,并依据所述更新消息更新业务单板信息表中对应所述业务单板的信息;In an embodiment, the method further includes: receiving, by the main control board, an update message sent by the service board, and updating information corresponding to the service board in the service board information table according to the update message;
这里,所述更新消息包括:所述业务单板的槽位信息及待删除的OAM标识信息等;Here, the update message includes: slot information of the service board and OAM identification information to be deleted, and the like;
相应的,所述依据所述更新消息更新业务单板信息表中对应所述业务单板的信息包括:Correspondingly, the updating the information corresponding to the service board in the service board information table according to the update message includes:
依据所述更新消息中所述业务单板的槽位信息索引业务单板信息表中对应所述业务单板的OAM标识信息,删除所述业务单板信息表中对应所述业务单板的OAM标识信息中待删除的OAM标识信息。Deleting the OAM identification information corresponding to the service card in the service card information table of the service card in the update message, and deleting the OAM corresponding to the service card in the service card information table. The OAM identification information to be deleted in the identification information.
在一实施例中,所述方法还包括:确定当前业务单板的工作状态由第二状态变为第一状态,或当前业务单板的工作状态未发生变化时,忽略该状态信息,不进行处理。In an embodiment, the method further includes: determining that the current working state of the service board changes from the second state to the first state, or the current service board does not change, the state information is ignored, and the state information is not performed. deal with.
在一实施例中,所述为所述业务单板上的每个OAM生成对应的OAM告警之后,所述方法还包括:In an embodiment, after the generating the corresponding OAM alarm for each OAM on the service board, the method further includes:
确定设定的OAM告警定时器超时,清除所述OAM告警;在本发明实施例中,所述OAM告警清除后,由所述OAM告警触发的保护倒换并不回切,而是在接收到所述业务单板发送的OAM告警清除指令时,执行对应所述OAM的保护倒换的回切操作;而所述OAM告警清除指令在所述业务单板检测到所述OAM的实际告警已经清除时发送。Determining that the set OAM alarm timer expires, and clearing the OAM alarm; in the embodiment of the present invention, after the OAM alarm is cleared, the protection switching triggered by the OAM alarm does not switch back, but receives the The OAM alarm clearing command sent by the service board performs a failback operation corresponding to the protection switching of the OAM; and the OAM alarm clearing command is sent when the service board detects that the OAM actual alarm has been cleared. .
在一实施例中,所述确定设定的OAM告警定时器超时之前,所述方法 还包括:设定OAM告警定时器,所述OAM告警定时器的时长可以依据实际需要进行设定,但所述OAM告警定时器的时长需保证保护倒换可以完成;需要说明的是,所述OAM告警定时器的设定仅在首次应用本发明实施例所述产生OAM告警的方法时设定即可,后续可直接应用。In an embodiment, the method determines that the set OAM alarm timer expires before the method The method further includes: setting an OAM alarm timer, where the duration of the OAM alarm timer can be set according to actual needs, but the duration of the OAM alarm timer needs to ensure that the protection switching can be completed; The setting of the alarm timer may be set only when the method for generating an OAM alarm according to the embodiment of the present invention is applied for the first time, and may be directly applied subsequently.
在一实施例中,所述为所述业务单板上的每个OAM生成对应的OAM告警之后,所述方法还包括:依据所述OAM告警进行对应所述OAM的保护倒换。In an embodiment, after the generating the corresponding OAM alarm for each OAM on the service board, the method further includes: performing protection switching corresponding to the OAM according to the OAM alarm.
实施例二 Embodiment 2
图3为本发明实施例二产生OAM告警的方法流程示意图;如图3所示,本发明实施例产生OAM告警的方法包括:FIG. 3 is a schematic flowchart of a method for generating an OAM alarm according to Embodiment 2 of the present invention; as shown in FIG. 3, the method for generating an OAM alarm according to an embodiment of the present invention includes:
步骤301:主控单板获取业务单板上每个OAM的标识信息,并存储所述业务单板与所述业务单板上OAM的对应关系;Step 301: The master board obtains the identifier information of each OAM on the service board, and stores the corresponding relationship between the service board and the OAM on the service board.
这里,所述每个OAM为一个OAM实体;Here, each OAM is an OAM entity;
所述获取所述业务单板上每个OAM的标识信息包括:The obtaining the identifier information of each OAM on the service board includes:
主控单板获取所述业务单板上报的所述业务单板上每个OAM的标识信息;这里,所述OAM的标识信息可以为所述OAM的OAM ID信息;The master control board obtains the identifier information of each OAM on the service board that is reported on the service board; where the identifier information of the OAM may be the OAM ID information of the OAM;
所述存储所述业务单板与所述业务单板上OAM的对应关系包括:The corresponding relationship between the storage of the service board and the OAM on the service board includes:
获取所述业务单板的槽位信息,对应存储所述业务单板的槽位信息与所述业务单板上每个OAM的标识信息至业务单板信息表;Obtaining the slot information of the service board, and correspondingly storing the slot information of the service board and the identifier information of each OAM on the service board to the service board information table;
其中,所述获取所述业务单板的槽位信息包括:The obtaining the slot information of the service board includes:
主控单板接收所述业务单板上报的所述业务单板的槽位信息;在本发明实施例中,所述业务单板同时上报所述业务单板的槽位信息与所述业务单板上每个OAM的标识信息至主控单板。The main control board receives the slot information of the service board reported on the service card. In the embodiment of the present invention, the service board reports the slot information of the service board and the service order. The identification information of each OAM on the board is sent to the main control board.
在一实施例中,所述对应存储所述业务单板的槽位信息与所述业务单板上每个OAM的标识信息至业务单板信息表之前,所述方法还包括: In an embodiment, the method further includes: before the storage of the slot information of the service board and the identifier information of each OAM on the service board to the service board information table, the method further includes:
主控单板创建用于存储业务单板的槽位信息与所述业务单板上每个OAM的标识信息的业务单板信息表;需要说明的是,所述对业务单板信息表的创建仅在首次应用本发明实施例所述产生OAM告警的方法时执行即可,后续可直接应用。The main control board creates a service board information table for storing the slot information of the service board and the identifier information of each OAM on the service board. The description is made on the creation of the service board information table. It can be executed only when the method for generating an OAM alarm according to the embodiment of the present invention is applied for the first time, and can be directly applied subsequently.
在一实施例中,本步骤之前,所述方法还包括:所述业务单板确定对自身OAM的配置已完成,读取自身的槽位信息及对应的每个OAM的标识信息;In an embodiment, before the step, the method further includes: determining, by the service board, that the configuration of the OAM is completed, and reading the slot information of the OAM and the corresponding identifier information of each OAM;
这里,业务单板实现的对OAM的配置主要包括对发包周期、检测周期的配置及OAM ID的分配等。Here, the configuration of the OAM implemented by the service board mainly includes the configuration of the delivery period, the detection period, and the allocation of the OAM ID.
在一实施例中,所述方法还包括:主控单板接收所述业务单板发送的更新消息,并依据所述更新消息更新业务单板信息表中对应所述业务单板的信息;In an embodiment, the method further includes: receiving, by the main control board, an update message sent by the service board, and updating information corresponding to the service board in the service board information table according to the update message;
这里,所述更新消息包括:所述业务单板的槽位信息及待删除的OAM标识信息等;Here, the update message includes: slot information of the service board and OAM identification information to be deleted, and the like;
相应的,所述依据所述更新消息更新业务单板信息表中对应所述业务单板的信息包括:Correspondingly, the updating the information corresponding to the service board in the service board information table according to the update message includes:
依据所述更新消息中所述业务单板的槽位信息索引业务单板信息表中对应所述业务单板的OAM标识信息,删除所述业务单板信息表中对应所述业务单板的OAM标识信息中待删除的OAM标识信息。Deleting the OAM identification information corresponding to the service card in the service card information table of the service card in the update message, and deleting the OAM corresponding to the service card in the service card information table. The OAM identification information to be deleted in the identification information.
步骤302:监测业务单板的工作状态,并判断当前业务单板的工作状态是否由第一状态变为第二状态,如果是,执行步骤303;否则,执行步骤302;Step 302: Monitor the working status of the service board, and determine whether the working status of the current service board changes from the first status to the second status. If yes, go to step 303; otherwise, go to step 302;
这里,所述监测可以为实时监测或周期性监测;当所述监测为周期性监测时,所述周期可以依据实际需要进行设定;Here, the monitoring may be real-time monitoring or periodic monitoring; when the monitoring is periodic monitoring, the period may be set according to actual needs;
在本发明实施例中,主控单板实时监测系统中的每个业务单板的工作 状态;所述第一状态可以为在线状态,所述第二状态可以为离线状态,当主控单板确定当前业务单板的工作状态由第二状态变为第一状态,或当前业务单板的工作状态未发生变化时,忽略该状态信息,不进行处理。In the embodiment of the present invention, the work of each service board in the real-time monitoring system of the main control board The first state may be an online state, and the second state may be an offline state. When the main control board determines that the working state of the current service board changes from the second state to the first state, or the current service board When the working status has not changed, the status information is ignored and no processing is performed.
步骤303:读取存储的对应当前的业务单板的每个OAM的标识信息,为每个OAM生成对应的OAM告警;Step 303: The identifier information of each OAM corresponding to the current service card is read, and a corresponding OAM alarm is generated for each OAM.
这里,所述读取存储的对应所述业务单板的每个OAM的标识信息包括:Here, the reading the stored identification information of each OAM corresponding to the service board includes:
主控单板读取业务单板信息表中存储的对应所述业务单板的槽位信息的每个OAM的标识信息;The main control board reads the identifier information of each OAM corresponding to the slot information of the service board stored in the service board information table;
这里,所述OAM告警用于触发对应所述OAM的保护倒换;Here, the OAM alarm is used to trigger a protection switching corresponding to the OAM;
所述业务单板的槽位信息用于标识所述业务单板的位置信息为:所述业务单板在机架上安装的位置编号;业务单板的槽位与业务单板为一一对应关系。The slot information of the service board is used to identify the location information of the service board as the location number of the service board installed on the rack. The slot of the service board is in one-to-one correspondence with the service board. relationship.
步骤304:依据生成的OAM告警进行保护倒换;Step 304: Perform protection switching according to the generated OAM alarm.
进行保护倒换的过程为现有技术,此处不再赘述。The process of performing protection switching is a prior art and will not be described here.
步骤305:确定设定的OAM告警定时器超时,清除所述OAM告警;Step 305: Determine that the set OAM alarm timer expires, and clear the OAM alarm.
在本发明实施例中,所述OAM告警清除后,由所述OAM告警触发的保护倒换并不回切,而是在接收到所述业务单板发送的OAM告警清除指令时,执行对应所述OAM的保护倒换的回切操作;而所述OAM告警清除指令在所述业务单板检测到所述OAM的实际告警已经清除时发送。In the embodiment of the present invention, after the OAM alarm is cleared, the protection switching triggered by the OAM alarm does not fail back, but when the OAM alarm clearing instruction sent by the service board is received, the corresponding execution is performed. The OAM alarm clearing command is sent when the service board detects that the actual alarm of the OAM has been cleared.
在一实施例中,所述确定设定的OAM告警定时器超时之前,所述方法还包括:设定OAM告警定时器,所述OAM告警定时器的时长可以依据实际需要进行设定,但所述OAM告警定时器的时长需保证保护倒换可以完成;需要说明的是,所述OAM告警定时器的设定仅在首次应用本发明实施例所述产生OAM告警的方法时设定即可,后续可直接应用。 In an embodiment, before the determining that the set OAM alarm timer expires, the method further includes: setting an OAM alarm timer, where the duration of the OAM alarm timer can be set according to actual needs, but The duration of the OAM alarm timer needs to be ensured that the protection switching can be completed. It should be noted that the setting of the OAM alarm timer can be set only when the method for generating an OAM alarm according to the embodiment of the present invention is applied for the first time. Can be applied directly.
实施例三 Embodiment 3
图4为本发明实施例产生OAM告警的装置组成结构示意图;所述装置位于主控单板,如图4所示,本发明实施例产生OAM告警的装置组成包括:监测模块41及告警模块42;其中,4 is a schematic structural diagram of a device for generating an OAM alarm according to an embodiment of the present invention; the device is located on a main control board, as shown in FIG. 4, the device for generating an OAM alarm according to an embodiment of the present invention includes: a monitoring module 41 and an alarm module 42. ;among them,
所述监测模块41,配置为在确定当前业务单板的工作状态由第一状态变为第二状态时,触发所述告警模块;The monitoring module 41 is configured to trigger the alarm module when determining that the working state of the current service board changes from the first state to the second state;
所述告警模块42,配置为为所述业务单板上的每个OAM生成对应的OAM告警;The alarm module 42 is configured to generate a corresponding OAM alarm for each OAM on the service board.
这里,所述每个OAM为一个OAM实体;所述第一状态可以为在线状态,所述第二状态可以为离线状态;Here, each OAM is an OAM entity; the first state may be an online state, and the second state may be an offline state;
所述OAM告警用于触发对应所述OAM的保护倒换;相应的,所述装置还包括保护倒换模块43,配置为依据所述OAM告警进行对应所述OAM的保护倒换。The OAM alarm is used to trigger the protection switching of the OAM. Correspondingly, the device further includes a protection switching module 43 configured to perform protection switching corresponding to the OAM according to the OAM alarm.
在一实施例中,所述装置还包括获取模块44,配置为获取所述业务单板上每个OAM的标识信息,并存储所述业务单板与所述业务单板上OAM的对应关系;In an embodiment, the device further includes an obtaining module 44, configured to acquire identification information of each OAM on the service board, and store a corresponding relationship between the service board and the OAM on the service board.
这里,所述OAM的标识信息可以为所述OAM的OAM ID信息;Here, the identifier information of the OAM may be OAM ID information of the OAM;
所述获取模块44获取所述业务单板上每个OAM的标识信息包括:The obtaining, by the obtaining module 44, the identifier information of each OAM on the service board includes:
所述获取模块44获取所述业务单板上报的所述业务单板上每个OAM的标识信息;The obtaining module 44 obtains the identifier information of each OAM on the service board reported on the service card;
所述获取模块44存储所述业务单板与所述业务单板上OAM的对应关系包括:The obtaining, by the obtaining module 44, the correspondence between the service board and the OAM on the service board includes:
所述获取模块44获取所述业务单板的槽位信息,对应存储所述业务单板的槽位信息与所述业务单板上每个OAM的标识信息至业务单板信息表;The obtaining module 44 obtains the slot information of the service board, and correspondingly stores the slot information of the service board and the identifier information of each OAM on the service board to the service board information table;
其中,所述业务单板的槽位信息用于标识所述业务单板的位置信息为: 所述业务单板在机架上安装的位置编号;业务单板的槽位与业务单板为一一对应关系;The slot information of the service board is used to identify the location information of the service board as follows: The location number of the service board installed on the rack. The slot of the service board is in one-to-one correspondence with the service board.
所述获取模块44获取所述业务单板的槽位信息包括:The obtaining, by the obtaining module 44, the slot information of the service board includes:
所述获取模块44接收所述业务单板上报的所述业务单板的槽位信息。The obtaining module 44 receives the slot information of the service board reported on the service card.
在一实施例中,所述获取模块44,还配置为创建用于存储业务单板的槽位信息与所述业务单板上每个OAM的标识信息的业务单板信息表。In an embodiment, the obtaining module 44 is further configured to create a service board information table for storing slot information of the service board and the identifier information of each OAM on the service board.
在一实施例中,所述获取模块44,还配置为接收所述业务单板发送的更新消息,并依据所述更新消息更新业务单板信息表中对应所述业务单板的信息;In an embodiment, the obtaining module 44 is further configured to receive an update message sent by the service board, and update information corresponding to the service board in the service board information table according to the update message;
这里,所述更新消息包括:所述业务单板的槽位信息及待删除的OAM标识信息等;Here, the update message includes: slot information of the service board and OAM identification information to be deleted, and the like;
相应的,所述获取模块44,配置为依据所述更新消息中所述业务单板的槽位信息索引业务单板信息表中对应所述业务单板的OAM标识信息,删除所述业务单板信息表中对应所述业务单板的OAM标识信息中待删除的OAM标识信息。Correspondingly, the obtaining module 44 is configured to: according to the slot information of the service card in the update message, index the OAM identification information of the service card in the service card information table, and delete the service board. The OAM identification information to be deleted in the OAM identification information of the service card in the information table.
在一实施例中,所述监测模块41,配置为对业务单板的工作状态进行监测,确定当前业务单板的工作状态由在线状态变为离线状态时,触发所述告警模块;In an embodiment, the monitoring module 41 is configured to monitor the working status of the service board, and determine that the alarm module is triggered when the working status of the current service board changes from the online status to the offline status;
相应的,所述告警模块42,配置为读取存储的对应所述业务单板的每个OAM的标识信息,为每个OAM生成对应的OAM告警;Correspondingly, the alarm module 42 is configured to read the stored identification information of each OAM corresponding to the service board, and generate a corresponding OAM alarm for each OAM;
其中,所述监测可以为实时监测或周期性监测;当所述监测为周期性监测时,所述周期可以依据实际需要进行设定;The monitoring may be real-time monitoring or periodic monitoring; when the monitoring is periodic monitoring, the period may be set according to actual needs;
所述告警模块42读取存储的对应所述业务单板的每个OAM的标识信息包括:The alarm module 42 reads the stored identification information of each OAM corresponding to the service board, including:
所述告警模块42读取业务单板信息表中存储的对应所述业务单板的槽 位信息的每个OAM的标识信息。The alarm module 42 reads the slot corresponding to the service board stored in the service board information table. Identification information of each OAM of the bit information.
在一实施例中,所述告警模块42,还配置为设定OAM告警定时器,所述OAM告警定时器的时长可以依据实际需要进行设定,但所述OAM告警定时器的时长需保证保护倒换可以完成。In an embodiment, the alarm module 42 is further configured to set an OAM alarm timer, and the duration of the OAM alarm timer may be set according to actual needs, but the duration of the OAM alarm timer needs to be protected. Switching can be done.
在一实施例中,所述告警模块42,还配置为确定设定的OAM告警定时器超时,清除所述OAM告警。In an embodiment, the alarm module 42 is further configured to determine that the set OAM alarm timer expires and clear the OAM alarm.
本发明实施例中提出的所述监测模块41、告警模块42、保护倒换模块43及获取模块44均可以通过处理器来实现,当然也可通过具体的逻辑电路实现;在实际应用中,处理器可以为中央处理器(CPU)、微处理器(MPU)或现场可编程门阵列(FPGA)等。The monitoring module 41, the alarm module 42, the protection switching module 43, and the obtaining module 44, which are proposed in the embodiments of the present invention, may be implemented by a processor, and may also be implemented by a specific logic circuit; in practical applications, the processor It can be a central processing unit (CPU), a microprocessor (MPU), or a field programmable gate array (FPGA).
本发明实施例中,如果以软件功能模块的形式实现上述产生操作、管理和维护OAM告警的方法,并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read Only Memory,ROM)、磁碟或者光盘等各种可以存储程序代码的介质。这样,本发明实施例不限制于任何特定的硬件和软件结合。In the embodiment of the present invention, if the foregoing method for generating an operation, managing, and maintaining an OAM alarm is implemented in the form of a software function module, and is sold or used as a stand-alone product, it may also be stored in a computer readable storage medium. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions. A computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention. The foregoing storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
相应地,本发明实施例还提供一种计算机存储介质,该计算机存储介质中存储有计算机程序,该计算机程序用于执行本发明实施例的上述产生OAM告警的方法。Correspondingly, the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores a computer program for performing the foregoing method for generating an OAM alarm according to an embodiment of the present invention.
以上所述仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。 The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.
工业实用性Industrial applicability
本发明实施例在确定当前业务单板的工作状态由第一状态变为第二状态时,为所述业务单板上的每个OAM生成对应的OAM告警;所述OAM告警用于触发对应所述OAM的保护倒换。如此,能够在业务单板故障后,及时将故障单板上的业务倒换到保护单板上,从而使得业务可以恢复,保证通信的可靠性。 In the embodiment of the present invention, when determining that the working state of the current service board changes from the first state to the second state, a corresponding OAM alarm is generated for each OAM on the service board; the OAM alarm is used to trigger the corresponding The protection switching of OAM. In this way, after the service board is faulty, the service on the faulty board can be switched to the protection board in time, so that the service can be restored and the reliability of communication can be ensured.

Claims (11)

  1. 一种产生操作、管理和维护OAM告警的方法,所述方法包括:A method of generating an operation, managing, and maintaining an OAM alarm, the method comprising:
    确定当前业务单板的工作状态由第一状态变为第二状态时,为所述业务单板上的每个OAM生成对应的OAM告警;所述OAM告警用于触发对应所述OAM的保护倒换。When the working status of the current service board is changed from the first state to the second state, a corresponding OAM alarm is generated for each OAM on the service board; the OAM alarm is used to trigger the protection switching corresponding to the OAM. .
  2. 根据权利要求1所述方法,其中,所述确定当前业务单板的工作状态由第一状态变为第二状态之前,所述方法还包括:The method of claim 1, wherein before the determining that the working state of the current service board changes from the first state to the second state, the method further includes:
    获取所述业务单板上每个OAM的标识信息,并存储所述业务单板与所述业务单板上OAM的对应关系。Obtaining the identifier information of each OAM on the service board, and storing the correspondence between the service board and the OAM on the service board.
  3. 根据权利要求2所述方法,其中,所述存储所述业务单板与所述业务单板上OAM的对应关系包括:The method of claim 2, wherein the storing the correspondence between the service board and the OAM on the service board comprises:
    获取所述业务单板的槽位信息,对应存储所述业务单板的槽位信息与所述业务单板上每个OAM的标识信息至业务单板信息表。The slot information of the service board is obtained, and the slot information of the service board and the identifier information of each OAM on the service board are corresponding to the service board information table.
  4. 根据权利要求1或2所述方法,其中,所述确定当前业务单板的工作状态由第一状态变为第二状态时,为所述业务单板上的每个OAM生成对应的OAM告警包括:The method according to claim 1 or 2, wherein the determining that the OAM alarm is generated for each OAM on the service board when the working status of the current service board is changed from the first state to the second state is included. :
    对业务单板的工作状态进行监测,确定当前业务单板的工作状态由在线状态变为离线状态时,读取存储的对应所述业务单板的每个OAM的标识信息,为每个OAM生成对应的OAM告警。When the working status of the service board is monitored, and the current working status of the service board is changed from the online status to the offline status, the stored information of each OAM corresponding to the service board is read and generated for each OAM. Corresponding OAM alarm.
  5. 根据权利要求1或2所述方法,其中,所述为所述业务单板上的每个OAM生成对应的OAM告警之后,所述方法还包括:The method of claim 1 or 2, wherein after the generating the corresponding OAM alarm for each OAM on the service board, the method further includes:
    确定设定的OAM告警定时器超时,清除所述OAM告警。The set OAM alarm timer expires and the OAM alarm is cleared.
  6. 一种产生OAM告警的装置,所述装置包括:监测模块及告警模块;其中,A device for generating an OAM alarm, the device comprising: a monitoring module and an alarm module; wherein
    所述监测模块,配置为在确定当前业务单板的工作状态由第一状态变 为第二状态时,触发所述告警模块;The monitoring module is configured to determine that the working state of the current service board is changed from the first state When the second state is the second state, the alarm module is triggered;
    所述告警模块,配置为为所述业务单板上的每个OAM生成对应的OAM告警;所述OAM告警用于触发对应所述OAM的保护倒换。The alarm module is configured to generate a corresponding OAM alarm for each OAM on the service board; the OAM alarm is used to trigger protection switching corresponding to the OAM.
  7. 根据权利要求6所述装置,其中,所述装置还包括获取模块,配置为获取所述业务单板上每个OAM的标识信息,并存储所述业务单板与所述业务单板上OAM的对应关系。The device according to claim 6, wherein the device further comprises an obtaining module, configured to acquire identification information of each OAM on the service board, and store the service board and the OAM of the service board. Correspondence relationship.
  8. 根据权利要求7所述装置,其中,所述获取模块,配置为获取所述业务单板的槽位信息,对应存储所述业务单板的槽位信息与所述业务单板上每个OAM的标识信息至业务单板信息表。The device of claim 7, wherein the obtaining module is configured to acquire slot information of the service board, and correspondingly store slot information of the service board and each OAM of the service board. The identification information is sent to the service board information table.
  9. 根据权利要求6或7所述装置,其中,所述监测模块,配置为对业务单板的工作状态进行监测,确定当前业务单板的工作状态由在线状态变为离线状态时,触发所述告警模块;The device according to claim 6 or 7, wherein the monitoring module is configured to monitor the working status of the service board, and determine that the alarm is triggered when the working status of the current service board changes from the online status to the offline status. Module
    相应的,所述告警模块,配置为读取存储的对应所述业务单板的每个OAM的标识信息,为每个OAM生成对应的OAM告警。Correspondingly, the alarm module is configured to read the stored identification information of each OAM corresponding to the service board, and generate a corresponding OAM alarm for each OAM.
  10. 根据权利要求6或7所述装置,其中,所述告警模块,还配置为确定设定的OAM告警定时器超时,清除所述OAM告警。The device according to claim 6 or 7, wherein the alarm module is further configured to determine that the set OAM alarm timer expires and clear the OAM alarm.
  11. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令用于执行权利要求1至5任一项所述的产生OAM告警的方法。 A computer storage medium having stored therein computer executable instructions for performing the method of generating an OAM alert according to any one of claims 1 to 5.
PCT/CN2016/075230 2015-07-27 2016-03-01 Method and apparatus for generating operation, administration and maintenance alarm, and storage medium WO2016177048A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510447904.3 2015-07-27
CN201510447904.3A CN106656530A (en) 2015-07-27 2015-07-27 Method and device for generating Operation, Administration and Maintenance alarm

Publications (1)

Publication Number Publication Date
WO2016177048A1 true WO2016177048A1 (en) 2016-11-10

Family

ID=57217348

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/075230 WO2016177048A1 (en) 2015-07-27 2016-03-01 Method and apparatus for generating operation, administration and maintenance alarm, and storage medium

Country Status (2)

Country Link
CN (1) CN106656530A (en)
WO (1) WO2016177048A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106789711A (en) * 2016-12-30 2017-05-31 杭州迪普科技股份有限公司 The distribution method and device of a kind of flow
CN107395425A (en) * 2017-07-31 2017-11-24 烽火通信科技股份有限公司 A kind of flexibly Ethernet 1+1 protection switches implementation method

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111953524B (en) * 2020-07-21 2022-04-19 烽火通信科技股份有限公司 Protection switching method of pipeline mechanism and communication equipment
CN113965452B (en) * 2021-11-02 2023-11-03 烽火通信科技股份有限公司 Equipment switching state acquisition method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102223258A (en) * 2011-08-02 2011-10-19 杭州华三通信技术有限公司 Method and device for preventing BFD (bidirectional forwarding detection) conversation interruption
CN103138996A (en) * 2011-11-25 2013-06-05 中兴通讯股份有限公司 State detecting method of distributed system and distributed system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102820981A (en) * 2011-06-08 2012-12-12 中兴通讯股份有限公司 Single board switching method and protective single board
CN103139066B (en) * 2013-01-29 2017-04-05 大唐移动通信设备有限公司 A kind of changing method of resource, main control device and node device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102223258A (en) * 2011-08-02 2011-10-19 杭州华三通信技术有限公司 Method and device for preventing BFD (bidirectional forwarding detection) conversation interruption
CN103138996A (en) * 2011-11-25 2013-06-05 中兴通讯股份有限公司 State detecting method of distributed system and distributed system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106789711A (en) * 2016-12-30 2017-05-31 杭州迪普科技股份有限公司 The distribution method and device of a kind of flow
CN107395425A (en) * 2017-07-31 2017-11-24 烽火通信科技股份有限公司 A kind of flexibly Ethernet 1+1 protection switches implementation method

Also Published As

Publication number Publication date
CN106656530A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
WO2016177048A1 (en) Method and apparatus for generating operation, administration and maintenance alarm, and storage medium
CN107995049B (en) Cross-region synchronous fault monitoring method, device and system for power safety region
JP6827501B2 (en) Hot backup system, hot backup method, and computer equipment
CN109164780A (en) A kind of industrial field device control method based on edge calculations, apparatus and system
CN108156046B (en) Distributed routing detection method and device
WO2016192212A1 (en) Method and apparatus for processing power down warning information of optical network unit onu
JP2017517060A (en) Fault processing method, related apparatus, and computer
EP3439237A1 (en) Exception monitoring and alarming method and device
US20200033928A1 (en) Method of periodically recording for events
CN112804333A (en) Exception handling method, device and equipment for out-of-block node and storage medium
US11930292B2 (en) Device state monitoring method and apparatus
CN108353005B (en) Method and device for monitoring a control system
WO2015143801A1 (en) Method and apparatus for processing anomaly of clock synchronization network element, and system thereof
CN104954190A (en) Method and device for detecting faults of application server
US20230359514A1 (en) Operation-based event suppression
US11012315B2 (en) Retroactively detecting state change in a network fabric across times
CN107612755A (en) The management method and its device of a kind of cloud resource
US12074757B2 (en) Identifying network connectivity issues using topology graphs
CN104394033B (en) Monitoring system, method and device across data center
CN110752972A (en) Network card state monitoring method, device, equipment and medium
WO2014040470A1 (en) Alarm message processing method and device
KR100953510B1 (en) apparatus having function for managing restart information
JP6513001B2 (en) Failure detection device, failure detection method, and program
CN114815745A (en) Disaster recovery method and device for industrial monitoring equipment and industrial monitoring system
WO2016026403A1 (en) Security service auditing method and apparatus

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: 16789042

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: 16789042

Country of ref document: EP

Kind code of ref document: A1