WO2020244306A1 - Alarm reporting method and apparatus - Google Patents

Alarm reporting method and apparatus Download PDF

Info

Publication number
WO2020244306A1
WO2020244306A1 PCT/CN2020/084012 CN2020084012W WO2020244306A1 WO 2020244306 A1 WO2020244306 A1 WO 2020244306A1 CN 2020084012 W CN2020084012 W CN 2020084012W WO 2020244306 A1 WO2020244306 A1 WO 2020244306A1
Authority
WO
WIPO (PCT)
Prior art keywords
alarm
alarms
database
module
overdue
Prior art date
Application number
PCT/CN2020/084012
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 WO2020244306A1 publication Critical patent/WO2020244306A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/06Generation of reports
    • 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/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • 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/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • H04L41/064Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis involving time analysis
    • 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/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications

Definitions

  • the present invention relates to the field of communication, and in particular to an alarm reporting method and device.
  • the North Bounding Interface (NBI) of the network management is the interface software provided by the EMS network management to the integrated network management (OSS) to connect to the EMS network management. It can provide the integrated network management with public management functions, security management functions, configuration management functions, and performance management Functions and fault management functions, among which fault management is one of the main monitoring methods for integrated network management to monitor various devices through the northbound interface.
  • the embodiment of the present invention provides an alarm reporting method and device.
  • an alarm reporting method includes: subscribing to an alarm from a network element management system EMS; adding an alarm stream identifier to the subscribed alarm, and saving the alarm to an alarm database; The alarm is reported to the northbound interface.
  • an alarm reporting device which includes: a subscription module for subscribing to alarms from a network element management system EMS; a storage module for adding an alarm stream identifier to the subscribed alarms, and The alarm is saved to the alarm database; the reporting module is used to report the alarm to the northbound interface.
  • a storage medium in which a computer program is stored, wherein the computer program is configured to execute the steps in the foregoing method embodiment when running.
  • an electronic device including a memory and a processor, the memory is stored with a computer program, and the processor is configured to run the computer program to execute the foregoing method embodiments Steps in.
  • Figure 1 is a flowchart of an alarm reporting method according to an embodiment of the present invention
  • Figure 2 is a structural block diagram of an alarm reporting device according to an embodiment of the present invention.
  • FIG. 3 is a structural block diagram of an alarm reporting device according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of an alarm supplement collection device according to another embodiment of the present invention.
  • FIG. 5 is a processing flowchart of an alarm standardization processing module according to an embodiment of the present invention.
  • Fig. 6 is a processing flowchart of an alarm database storage module according to an embodiment of the present invention.
  • Fig. 7 is a processing flowchart of an alarm continuity monitoring module according to an embodiment of the present invention.
  • Fig. 8 is a processing flowchart of an automatic alarm supplement collection module according to an embodiment of the present invention.
  • FIG. 1 is a flowchart according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps:
  • Step S102 subscribe to the alarm from the network element management system EMS;
  • Step S104 adding an alarm stream flag to the subscribed alarm, and saving the alarm in the alarm database
  • Step S106 Report the alarm to the northbound interface.
  • step S102 various generated alarms and message alarms can be obtained from the EMS network manager through subscription.
  • step S104 the main purpose of adding the alarm stream ID is to facilitate monitoring whether the alarms are continuous.
  • Using a separate database table can store the generated and disappeared alarms in the same table in the database, which is convenient for judging the continuity of the alarms, and can also be solved
  • alarms were reported directly after being subscribed through EMS. If the alarm is lost, it will not be able to synchronize to the problem of the lost alarm.
  • the database can be cleared regularly and the expiration time can be configured in advance according to different network scales. If the alarm in the database table exceeds the configured time, the overdue alarm will be automatically cleared to reduce the pressure on the database. Because the overdue time is a configurable content, the project site can be flexibly configured according to the on-site network scale and alarm volume.
  • step S106 after the standardization processing of the alarm is completed, the alarm is also reported to the northbound interface in real time while it is stored in the database.
  • the northbound interface after the northbound interface receives the reported alarm, it can judge whether the reported alarm is continuous through the alarm continuity monitoring system. If it is not continuous, the automatic alarm supplement collection module will be automatically activated, and the alarm automatic supplement collection module will pass the alarm The ID accurately locates the missing alarms, and then supplements the missing alarms from the database.
  • the targeted alarm supplementary collection of this embodiment can ensure that there is no repetition of the alarms collected from the supplementary collection, and the automatic monitoring and supplementary collection of connectivity can increase the speed of detecting missing alarms.
  • the user has not yet sensed the loss of alarms.
  • the alarm supplementary mining has been completed.
  • the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is Better implementation.
  • the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to enable a terminal device (which may be a computer, a server, or a network device, etc.) to execute the method described in each embodiment of the present invention.
  • module can implement a combination of software and/or hardware with predetermined functions.
  • devices described in the following embodiments are preferably implemented by software, hardware or a combination of software and hardware is also possible and conceived.
  • FIG. 2 is a structural block diagram of an alarm reporting device according to an embodiment of the present invention. As shown in FIG. 2, the device includes a subscription module 10, a storage module 20, and a reporting module 30.
  • the subscription module 10 is used to subscribe to alarms from the network element management system EMS.
  • the storage module 20 is configured to add an alarm flow identifier to the subscribed alarms, and save the alarms to the alarm database.
  • the reporting module 30 is configured to report the alarm to the northbound interface.
  • the alarm reporting device may also include a standardized processing module 40, a monitoring module 50, an alarm supplement collection module 60, and an overdue alarm clearing module 70.
  • the standardized processing module 40 is configured to perform standardized processing on the subscribed alarms before adding the alarm stream identifier.
  • the monitoring module 50 is configured to, after receiving the alarm at the northbound interface, determine whether there is an alarm loss according to the continuity of the alarm running flag.
  • the alarm supplemental collection module 60 is configured to supplementally collect the lost alarm from the database in the case of a lost alarm.
  • the overdue alarm cleaning module 70 is used to determine whether there are overdue alarms in the database, and if there are overdue alarms, delete the overdue alarms.
  • a technical solution for automatic alarm collection based on the northbound interface is provided.
  • subscribe to the alarms from the EMS and perform standardized conversion of the subscribed alarms according to the TMF international standard, and then add an alarm serial ID to each alarm for subsequent alarm continuity monitoring.
  • the converted alarms are reported to the northbound interface and stored in the alarm database at the same time.
  • the northbound interface After the northbound interface receives the alarm, it will use the alarm continuity monitoring module to determine whether the alarm is lost according to the alarm flow ID. If the alarm is lost, it will automatically start the automatic recovery of the alarm and re-collect the missing alarm from the database and report it to the upper network management.
  • the introduction of the database table to store the alarms can solve the problem that the northbound interface directly subscribes to the report alarms. If the alarms are lost, the missing alarms cannot be re-obtained. Adding the alarm serial ID to the standardized alarms can accurately monitor the missing alarms. , And quickly make up for missing alarms.
  • this embodiment is different from the previous embodiment in the division of functional modules. Specifically, as shown in FIG. 4, this embodiment includes an alarm standardization processing module 100, an alarm database storage module 200, an alarm continuity monitoring module 300, The alarm automatic supplement collection module 400. In this embodiment, the above-mentioned four modules are used to complete the precise identification of the northbound interface loss alarm and automatic supplementation, thereby solving the problem of the northbound interface alarm loss.
  • the alarm standardization processing module 100 is mainly responsible for initiating an alarm subscription to the EMS network manager, standardizing the subscribed alarms, and then adding an alarmSeqID value that will be used to determine the continuity of the alarm. As shown in Figure 5, it includes the following steps:
  • Step S501 Initialize the alarm standardization processing module.
  • Step S502 subscribe to an alert to the EMS, if the subscription fails, then subscribe to the underlying EMS for a notification at regular intervals, if the subscription is successful, then go to step S503
  • Step S503 Monitor and receive the alarm reported on the EMS.
  • Step S504 Standardize the alarm based on the TMF international standard, and move forward the standardized processing of the alarm to ensure that the reported alarm is consistent with the inbound alarm.
  • Step S505 Add an alarm sequence ID (alarmSeqID) for each alarm.
  • Each additional alarmSeqID will add 1 to the alarm.
  • the introduction of alarmSeqID can ensure that each alarm has a unique alarm ID for subsequent alarm continuity monitoring modules
  • the alarmSeqID can be used to determine whether the alarm is missing, and determine the specific missing alarms, and then automatically fill in the missing alarms from the database according to the alarmSeqID, and report to the upper-layer network management.
  • Step S506 Store the standardized alarms in a database table, and the database table will store all alarms, which may include generating an alarm, acknowledging an alarm, or clearing an alarm.
  • Step S507 Report the standardized alarm to the upper network management.
  • the alarm data storage module 200 is mainly used to store all the alarms reported by the EMS that have undergone standardized processing, in order to ensure that the alarms generated on the network management are stored without loss.
  • all alarms, including generated alarms, confirmed alarms, disappeared alarms, etc. are not limited to these types of alarms after all alarmSeqIDs are added and stored in the same table in the database.
  • the present invention adds a configuration function for the alarm table. Users can adjust the amount of alarms stored in the alarm table according to different network management scales and alarms.
  • the alarm data storage module 200 mainly includes the following processing flow steps:
  • Step S601 The network management database is started, and the northbound alarm storage database table is then initialized.
  • Step S602 Set the storage duration of the northbound interface database table data through the configuration file according to the size of the network and the alarm volume of the network management. If not set, the default configuration duration will be used. Database alarm table alarms that exceed the configured time will be deleted, and the deletion mechanism will be performed at a fixed time every day. In this embodiment, the alarm volume of the database table can be flexibly controlled through the configuration file.
  • Step S603 After the network management is started, the database connection is automatically performed
  • Step S604 Database connection control, if the connection fails, the connection will be tried again. The connection is successful and enter step S605;
  • Step S605 store all the alarms completed by the standardized processing in the database
  • Step S606 Start the database clearing mechanism at a fixed time every day
  • Step S607 Access the database alarm generation time, determine whether the alarm exceeds the time configured for the configuration file, if it exceeds, proceed to step S608, if it does not exceed, continue to receive the alarm without clearing any alarm;
  • Step S608 Clear all overdue alarms to reduce database pressure.
  • the alarm continuity monitoring module 300 is mainly responsible for monitoring whether the reported alarm is missing. If the alarm is missing, it will automatically start the alarm automatic supplement collection module to accurately collect the missing alarm. If the alarm is continuous, the alarm will be reported to the upper network management. As shown in FIG. 7, the alarm continuity monitoring module 300 in this embodiment mainly includes the following processing procedures:
  • Step S701 monitor and receive new alarms
  • Step S702 extract each alarm alarmSeqID and store it in the buffer to provide judgment conditions for the next alarm continuity judgment
  • Step S703 The alarmSeqID of the newly received alarm is continuously compared with the alarmSeqID of the previous alarm, and the next step is determined according to the judgment result;
  • Step S704 If it is determined in step 303 that the alarmSeqID is not continuous, it is considered that the alarm is missing, and the alarm automatic supplementary acquisition system is activated to automatically supplement and collect the lost alarm;
  • Step S705 If it is determined in step 303 that the alarmSeqID is continuous, it is considered that the alarm is not lost, and the alarm is directly reported to the upper network management.
  • the alarm continuity monitoring module 300 can use the alarmSeqID to perform a continuity ratio to automatically determine whether the alarm is lost.
  • the alarm automatic replenishment module 400 is mainly responsible.
  • the alarm continuity monitoring module monitors that the reported alarm is missing
  • the alarm automatic replenishment collection module is automatically activated, and the alarm automatic replenishment module can accurately determine the specific loss.
  • Alarm and then accurately supplement the specific missing alarms and then report to the upper-layer network management in a notification manner.
  • the present invention only supplements the missing alarms to ensure that all reported alarms are not lost and repeated.
  • the alarm automatic supplementary mining module 400 mainly includes the following processing procedures:
  • Step S801 After the alarm continuity monitoring module determines that the alarm is lost, it will automatically start the alarm automatic supplementary mining module;
  • Step S802 Obtain the latest received alarm alarmSeqID_1 from the cache
  • Step S803 Obtain the previous alarm alarmSeqID_2 from the cache
  • Step S804 Connect to the database and prepare to retrieve the loss alarm from the database
  • Step S805 the database judges, if the connection is successful, it starts to obtain a loss alarm, and if the database connection fails, the connection is tried again;
  • Step S806 Issue a SQL command to the database to obtain the missing alarms from alarmSeqID_2 to alarmSeqID_1;
  • Step S807 Step 408 is executed if the acquisition of the loss alarm is successful, and step S806 is executed again if the acquisition of the loss alarm fails to acquire the loss alarm.
  • Step S808 After the loss alarm is successfully obtained, it will be reported to the upper-layer network management through notification.
  • the alarm continuity monitoring module can use alarmSeqID to accurately judge and automatically supplement the missing alarms to ensure that all reported alarms are not lost or repeated.
  • the alarm identification alarmSeqID is added to each reported alarm, and continuous monitoring is performed on the reported alarms through the alarmSeqID.
  • the alarmSeqID can automatically determine which alarms are missing, and use the automatic supplementary acquisition module to accurately supplement the lost alarms to ensure that the reported alarms are not lost or repeated.
  • each of the above modules can be implemented by software or hardware.
  • it can be implemented in the following manner, but not limited to this: the above modules are all located in the same processor; or, the above modules are combined in any combination The forms are located in different processors.
  • the embodiment of the present application also provides a storage medium in which a computer program is stored, wherein the computer program is configured to execute the steps in the foregoing method embodiment when running.
  • the foregoing storage medium may be configured to store a computer program for executing the following steps:
  • the foregoing storage medium may include, but is not limited to: U disk, Read-Only Memory (Read-Only Memory, ROM for short), Random Access Memory (Random Access Memory, RAM for short), Various media that can store computer programs, such as mobile hard disks, magnetic disks, or optical disks.
  • the embodiment of the present application also provides an electronic device, including a memory and a processor, the memory is stored with a computer program, and the processor is configured to run the computer program to execute the steps in the foregoing method embodiment.
  • modules or steps of this application can be implemented by a general computing device, and they can be concentrated on a single computing device or distributed in a network composed of multiple computing devices.
  • they can be implemented with program codes executable by the computing device, so that they can be stored in the storage device for execution by the computing device, and in some cases, can be executed in a different order than here.

Landscapes

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

Abstract

Provided are an alarm reporting method and apparatus. The method comprises: subscribing to an alarm from an element management system (EMS); adding an alarm serial identifier to the alarm which has been subscribed to, and storing the alarm in an alarm database; and reporting the alarm to a northbound interface. In the present invention, before an alarm is reported to a northbound interface, an alarm serial ID is added to the alarm and the alarm is stored in an alarm database. In this way, after the northbound interface receives the alarm, whether the alarm is lost can be determined according to the alarm serial ID, such that the lost alarm can be re-collected from the database.

Description

告警上报方法及装置Alarm reporting method and device
相关申请的交叉引用Cross references to related applications
本申请基于申请号为201910477364.1、申请日为2019年6月3日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此以引入方式并入本申请。This application is filed based on a Chinese patent application whose application number is 201910477364.1, and the filing date is June 3, 2019, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby incorporated into this application by way of introduction.
技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种告警上报方法及装置。The present invention relates to the field of communication, and in particular to an alarm reporting method and device.
背景技术Background technique
网管的北向接口(North Bounding Interface,NBI)是EMS网管向综合网管(OSS)提供的接入EMS网管的接口软件,其可向综合网管提供公共管理功能、安全管理功能、配置管理功能、性能管理功能和故障管理功能,其中故障管理是综合网管通过北向接口监管各类设备的主要监管方法之一。The North Bounding Interface (NBI) of the network management is the interface software provided by the EMS network management to the integrated network management (OSS) to connect to the EMS network management. It can provide the integrated network management with public management functions, security management functions, configuration management functions, and performance management Functions and fault management functions, among which fault management is one of the main monitoring methods for integrated network management to monitor various devices through the northbound interface.
随着通讯行业的快速发展,通讯设备的类型和数量在不断增加,告警数量与日俱增,为更好的进行网络设备的监护和维护,需要北向接口可以实时上报告警,并且对上报的告警的完整性、及时性提出了更高的要求。但由于各种原因,可能出现北向上报告警和EMS告警不一致,出现告警丢失等问题。一旦丢失的告警不能及时发现并补报上层网管,会导致故障不能得到及时解决,从而对整个网络的正常运行产生严重影响。With the rapid development of the communication industry, the types and quantities of communication equipment are increasing, and the number of alarms is increasing day by day. In order to better monitor and maintain network equipment, the northbound interface is required to report alarms in real time, and the reported alarms are complete Timeliness and timeliness puts forward higher requirements. However, due to various reasons, there may be problems such as inconsistency between the northward reporting alarm and the EMS alarm, and the alarm is lost. Once lost alarms cannot be discovered and reported to the upper network management in time, the fault will not be solved in time, which will have a serious impact on the normal operation of the entire network.
发明内容Summary of the invention
本发明实施例提供了一种告警上报方法及装置。The embodiment of the present invention provides an alarm reporting method and device.
根据本发明的一个实施例,提供了一种告警上报方法,包括:从网元管理系统EMS订阅告警;为订阅到的告警添加告警流水标识,并将所述告警保存至告警数据库;将所述告警上报至北向接口。According to an embodiment of the present invention, an alarm reporting method is provided, which includes: subscribing to an alarm from a network element management system EMS; adding an alarm stream identifier to the subscribed alarm, and saving the alarm to an alarm database; The alarm is reported to the northbound interface.
根据本发明的另一个实施例,提供了一种告警上报装置,包括:订阅模块,用于从网元管理系统EMS订阅告警;存储模块,用于为订阅到的告警添加告警 流水标识,并将所述告警保存至告警数据库;上报模块,用于将所述告警上报至北向接口。According to another embodiment of the present invention, an alarm reporting device is provided, which includes: a subscription module for subscribing to alarms from a network element management system EMS; a storage module for adding an alarm stream identifier to the subscribed alarms, and The alarm is saved to the alarm database; the reporting module is used to report the alarm to the northbound interface.
根据本发明的又一个实施例,还提供了一种存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行上述方法实施例中的步骤。According to another embodiment of the present invention, there is also provided a storage medium in which a computer program is stored, wherein the computer program is configured to execute the steps in the foregoing method embodiment when running.
根据本发明的又一个实施例,还提供了一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行上述方法实施例中的步骤。According to another embodiment of the present invention, there is also provided an electronic device, including a memory and a processor, the memory is stored with a computer program, and the processor is configured to run the computer program to execute the foregoing method embodiments Steps in.
附图说明Description of the drawings
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described here are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments and descriptions of the present invention are used to explain the present invention, and do not constitute an improper limitation of the present invention. In the attached picture:
图1是根据本发明实施例的告警上报方法的流程图;Figure 1 is a flowchart of an alarm reporting method according to an embodiment of the present invention;
图2是根据本发明实施例的告警上报装置的结构框图;Figure 2 is a structural block diagram of an alarm reporting device according to an embodiment of the present invention;
图3是根据本发明实施例的告警上报装置的结构框图;3 is a structural block diagram of an alarm reporting device according to an embodiment of the present invention;
图4是根据本发明另一实施例的告警补采集装置的结构示意图;4 is a schematic structural diagram of an alarm supplement collection device according to another embodiment of the present invention;
图5是根据本发明实施例的告警标准化处理模块的处理流程图;Figure 5 is a processing flowchart of an alarm standardization processing module according to an embodiment of the present invention;
图6是根据本发明实施例的告警数据库存储模块的处理流程图;Fig. 6 is a processing flowchart of an alarm database storage module according to an embodiment of the present invention;
图7是根据本发明实施例的告警连续性监控模块的处理流程图;Fig. 7 is a processing flowchart of an alarm continuity monitoring module according to an embodiment of the present invention;
图8是根据本发明实施例的告警自动补采集模块的处理流程图。Fig. 8 is a processing flowchart of an automatic alarm supplement collection module according to an embodiment of the present invention.
具体实施方式Detailed ways
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。Hereinafter, the present invention will be described in detail with reference to the drawings and in conjunction with the embodiments. It should be noted that the embodiments in this application and the features in the embodiments can be combined with each other if there is no conflict.
在本申请实施例中提供了一种告警上报方法,图1是根据本发明实施例的流程图,如图1所示,该流程包括如下步骤:An alarm reporting method is provided in an embodiment of the present application. FIG. 1 is a flowchart according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps:
步骤S102,从网元管理系统EMS订阅告警;Step S102, subscribe to the alarm from the network element management system EMS;
步骤S104,为订阅到的告警添加告警流水标识,并将所述告警保存至告警 数据库;Step S104, adding an alarm stream flag to the subscribed alarm, and saving the alarm in the alarm database;
步骤S106,将所述告警上报至北向接口。Step S106: Report the alarm to the northbound interface.
在上述步骤S102中,可通过订阅从EMS网管获取各类产生告警和消息告警。In the above step S102, various generated alarms and message alarms can be obtained from the EMS network manager through subscription.
在上述实施例中,还可以基于TMF国际标准将告警在存入数据库前就完成标准化转化,之后再为每条告警添加告警流水ID后存入数据库中。In the above-mentioned embodiment, it is also possible to complete the standardized conversion of the alarms based on the TMF international standard before storing them in the database, and then add the alarm serial ID to each alarm and store them in the database.
在步骤S104中,添加告警流水ID的主要目的是为了方便监控告警是否连续,使用单独的数据库表可以将产生告警、消失告警存于数据库同一个表中,方便进行告警连续性判断,还可以解决以前告警通过EMS订阅后直接上报告警,如果告警丢失将无法再同步到已丢失告警的问题。In step S104, the main purpose of adding the alarm stream ID is to facilitate monitoring whether the alarms are continuous. Using a separate database table can store the generated and disappeared alarms in the same table in the database, which is convenient for judging the continuity of the alarms, and can also be solved In the past, alarms were reported directly after being subscribed through EMS. If the alarm is lost, it will not be able to synchronize to the problem of the lost alarm.
在上述实施例中,由于产生告警和消息告警都存于同一张表中,可能会因为告警量过大给数据库产生压力,因此可通过数据库定时清除配置可以根据不同的网络规模提前配置好超期时间,待数据库表中的告警超过配置的时间,将自动清除超期告警,减轻数据库压力,因为超期时间为可配置内容,工程现场可跟据现场网络规模及告警量灵活进行配置。In the above embodiment, since the generated alarm and the message alarm are both stored in the same table, it may cause pressure on the database due to the excessive amount of alarms. Therefore, the database can be cleared regularly and the expiration time can be configured in advance according to different network scales. If the alarm in the database table exceeds the configured time, the overdue alarm will be automatically cleared to reduce the pressure on the database. Because the overdue time is a configurable content, the project site can be flexibly configured according to the on-site network scale and alarm volume.
在上述步骤S106中,告警标准化处理完成后,存入数据库的同时,还会将告警实时上报北向接口。In the above step S106, after the standardization processing of the alarm is completed, the alarm is also reported to the northbound interface in real time while it is stored in the database.
在上述实施例中,北向接口在接收到上报告警后,可通过告警连续性监控系统判断上报的告警是否连续,如果不连续将自动启动告警自动补采模块,告警自动补采集模块将通过告警ID精准定位到丢失告警有哪些,再从数据库中将丢失告警补采上来。In the above embodiment, after the northbound interface receives the reported alarm, it can judge whether the reported alarm is continuous through the alarm continuity monitoring system. If it is not continuous, the automatic alarm supplement collection module will be automatically activated, and the alarm automatic supplement collection module will pass the alarm The ID accurately locates the missing alarms, and then supplements the missing alarms from the database.
本实施例的这种有针对性的告警补采可以确保补采集上来的告警无重复,连接性的自动监控和补采,可以提升丢失告警的发现速度,用户在还没有感知告警丢失的情况下已经完成告警补采。The targeted alarm supplementary collection of this embodiment can ensure that there is no repetition of the alarms collected from the supplementary collection, and the automatic monitoring and supplementary collection of connectivity can increase the speed of detecting missing alarms. The user has not yet sensed the loss of alarms. The alarm supplementary mining has been completed.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘) 中,包括若干指令用以使得一台终端设备(可以是计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is Better implementation. Based on this understanding, the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to enable a terminal device (which may be a computer, a server, or a network device, etc.) to execute the method described in each embodiment of the present invention.
在本申请实施例中还提供了一种告警上报装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。An alarm reporting device is also provided in the embodiments of the present application, which is used to implement the above-mentioned embodiments and preferred implementations, and those that have been explained will not be repeated. As used below, the term "module" can implement a combination of software and/or hardware with predetermined functions. Although the devices described in the following embodiments are preferably implemented by software, hardware or a combination of software and hardware is also possible and conceived.
图2是根据本发明实施例的告警上报装置的结构框图,如图2所示,该装置包括订阅模块10、存储模块20和上报模块30。FIG. 2 is a structural block diagram of an alarm reporting device according to an embodiment of the present invention. As shown in FIG. 2, the device includes a subscription module 10, a storage module 20, and a reporting module 30.
订阅模块10用于从网元管理系统EMS订阅告警。存储模块20用于为订阅到的告警添加告警流水标识,并将所述告警保存至告警数据库。上报模块30用于将所述告警上报至北向接口。The subscription module 10 is used to subscribe to alarms from the network element management system EMS. The storage module 20 is configured to add an alarm flow identifier to the subscribed alarms, and save the alarms to the alarm database. The reporting module 30 is configured to report the alarm to the northbound interface.
如图3所示,在另一实施例中,该告警上报装置除包括上述模块之外,还可以包括标准化处理模块40、监控模块50、告警补采集模块60和超期告警清理模块70。As shown in FIG. 3, in another embodiment, in addition to the above-mentioned modules, the alarm reporting device may also include a standardized processing module 40, a monitoring module 50, an alarm supplement collection module 60, and an overdue alarm clearing module 70.
标准化处理模块40用于在添加告警流水标识之前,将订阅到的告警进行标准化处理。监控模块50用于在所述北向接口接收到所述告警后,根据告警流水标识的连续性判断是否有告警丢失。告警补采集模块60用于在有告警丢失的情况下,从所述数据库中补采集所述丢失的告警。超期告警清理模块70用于判断所述数据库中是否有超期的告警,如果有超期的告警,则删除所述超期的告警。The standardized processing module 40 is configured to perform standardized processing on the subscribed alarms before adding the alarm stream identifier. The monitoring module 50 is configured to, after receiving the alarm at the northbound interface, determine whether there is an alarm loss according to the continuity of the alarm running flag. The alarm supplemental collection module 60 is configured to supplementally collect the lost alarm from the database in the case of a lost alarm. The overdue alarm cleaning module 70 is used to determine whether there are overdue alarms in the database, and if there are overdue alarms, delete the overdue alarms.
下面通过一个具体的实施例来对本发明所提供的技术方案进行详细的描述。The technical solution provided by the present invention is described in detail below through a specific embodiment.
在本实施例中,提供了基于北向接口的告警自动补采集的技术方案。首先,从EMS中订阅告警,并将订阅到的告警按TMF国际标准进行标准化转换,然后为每一条告警添加告警流水ID,用于之后的告警连续性监控。转换后的告警在上报北向接口的同时存入告警数据库中。北向接口在收到告警后,将通过告警连续性监控模块根据告警流水ID判断告警是否丢失。如果告警丢失将自动启动告警自动补采从数据库中将丢失告警重新补采集上来并上报给上层网管。In this embodiment, a technical solution for automatic alarm collection based on the northbound interface is provided. First, subscribe to the alarms from the EMS, and perform standardized conversion of the subscribed alarms according to the TMF international standard, and then add an alarm serial ID to each alarm for subsequent alarm continuity monitoring. The converted alarms are reported to the northbound interface and stored in the alarm database at the same time. After the northbound interface receives the alarm, it will use the alarm continuity monitoring module to determine whether the alarm is lost according to the alarm flow ID. If the alarm is lost, it will automatically start the automatic recovery of the alarm and re-collect the missing alarm from the database and report it to the upper network management.
在本实施例中,引入数据库表存储告警,可以解决以前北向接口直接订阅上报告警如果告警出现丢失无法重新获取到丢失告警,在标准化告警中添加告警流 水ID,可以精准的监控丢失告警有哪些,并对丢失告警进行快速补采。In this embodiment, the introduction of the database table to store the alarms can solve the problem that the northbound interface directly subscribes to the report alarms. If the alarms are lost, the missing alarms cannot be re-obtained. Adding the alarm serial ID to the standardized alarms can accurately monitor the missing alarms. , And quickly make up for missing alarms.
本实施例在功能模块的划分上与前文中的实施例不相同,具体地,如图4所示,本实施例包括告警标准化处理模块100、告警数据库存储模块200、告警连续性监控模块300、告警自动补采集模块400。在本实施例中,通过上述4个模块完成北向接口丢失告警精准识别和自动补采,从而解决北向接口告警丢失问题。This embodiment is different from the previous embodiment in the division of functional modules. Specifically, as shown in FIG. 4, this embodiment includes an alarm standardization processing module 100, an alarm database storage module 200, an alarm continuity monitoring module 300, The alarm automatic supplement collection module 400. In this embodiment, the above-mentioned four modules are used to complete the precise identification of the northbound interface loss alarm and automatic supplementation, thereby solving the problem of the northbound interface alarm loss.
下面分别对上述4个模块的处理流程进行具体的描述。The processing procedures of the above four modules will be specifically described below.
在本实施例中,告警标准化处理模块100主要负责将向EMS网管发起告警订阅,并将订阅到的告警进行标准化处理,然后添加将用于告警连续性判断alarmSeqID值。如图5所示,包括如下步骤:In this embodiment, the alarm standardization processing module 100 is mainly responsible for initiating an alarm subscription to the EMS network manager, standardizing the subscribed alarms, and then adding an alarmSeqID value that will be used to determine the continuity of the alarm. As shown in Figure 5, it includes the following steps:
步骤S501:初始化告警标准化处理模块。Step S501: Initialize the alarm standardization processing module.
步骤S502:向EMS订阅告警,如果订阅失败,则每隔一段时间再向底层EMS订阅一次通知,如果订阅成功,则进入步骤S503Step S502: subscribe to an alert to the EMS, if the subscription fails, then subscribe to the underlying EMS for a notification at regular intervals, if the subscription is successful, then go to step S503
步骤S503:监听并接收EMS上报告警。Step S503: Monitor and receive the alarm reported on the EMS.
步骤S504:基于TMF国际标准将告警进行标准,告警标准化处理前移,保证上报告警和入库告警一致。Step S504: Standardize the alarm based on the TMF international standard, and move forward the standardized processing of the alarm to ensure that the reported alarm is consistent with the inbound alarm.
步骤S505:为每一个告警添加一个告警流水标识(alarmSeqID),告警每增加一个alarmSeqID加都会累加1,alarmSeqID的引入可以保证每一个告警都有唯一的一个告警标识,以便后续的告警连续性监控模块可通过alarmSeqID判断出告警是否丢失,并确定丢失告警具体是哪些,从而再根据alarmSeqID从数据库中自动补采集丢失告警,并上报至上层网管。Step S505: Add an alarm sequence ID (alarmSeqID) for each alarm. Each additional alarmSeqID will add 1 to the alarm. The introduction of alarmSeqID can ensure that each alarm has a unique alarm ID for subsequent alarm continuity monitoring modules The alarmSeqID can be used to determine whether the alarm is missing, and determine the specific missing alarms, and then automatically fill in the missing alarms from the database according to the alarmSeqID, and report to the upper-layer network management.
步骤S506:将标准化处理完的告警存入数据库表,该数据库表中将存储所有告警,可包括产生告警、确认告警或清除告警。Step S506: Store the standardized alarms in a database table, and the database table will store all alarms, which may include generating an alarm, acknowledging an alarm, or clearing an alarm.
步骤S507:将标准化告警上报上层网管。Step S507: Report the standardized alarm to the upper network management.
在本实施例中,告警数据存储模块200主要用于存储EMS上报的经过标准化处理的所有告警,为保证网管上产生的告警无丢失存储。在本实施例中,将所有告警,包括产生告警、确认告警、消失告警等,不仅限于这几类告警全部添加alarmSeqID后,存于数据库同一张表中。为适应不同规模的网络环境,本发明添加了对该告警表的配置功能。用户可以根据不同网管规模及告警量大小 调整告警表中存储告警的量。如图6所示,告警数据存储模块200主要包括以下处理流程步骤:In this embodiment, the alarm data storage module 200 is mainly used to store all the alarms reported by the EMS that have undergone standardized processing, in order to ensure that the alarms generated on the network management are stored without loss. In this embodiment, all alarms, including generated alarms, confirmed alarms, disappeared alarms, etc., are not limited to these types of alarms after all alarmSeqIDs are added and stored in the same table in the database. To adapt to network environments of different scales, the present invention adds a configuration function for the alarm table. Users can adjust the amount of alarms stored in the alarm table according to different network management scales and alarms. As shown in FIG. 6, the alarm data storage module 200 mainly includes the following processing flow steps:
步骤S601:网管数据库启动,北向告警存储数据库表随之完成初始化。Step S601: The network management database is started, and the northbound alarm storage database table is then initialized.
步骤S602:根据网络的规模及网管的告警量通过配置文件设置北向接口数据库表数据的保存时长,如果不设置将使用默认配置的时长。超过配置时间的数据库告警表告警将被删除,该删除机制会在每天固定时间进行。在本实施例中,数据库表的告警量可通过配置文件来灵活控制。Step S602: Set the storage duration of the northbound interface database table data through the configuration file according to the size of the network and the alarm volume of the network management. If not set, the default configuration duration will be used. Database alarm table alarms that exceed the configured time will be deleted, and the deletion mechanism will be performed at a fixed time every day. In this embodiment, the alarm volume of the database table can be flexibly controlled through the configuration file.
步骤S603:网管启动后,自动进行数据库连接;Step S603: After the network management is started, the database connection is automatically performed;
步骤S604:数据库连接控制,如果连接失败,将再次尝试连接。连接成功进入步骤S605;Step S604: Database connection control, if the connection fails, the connection will be tried again. The connection is successful and enter step S605;
步骤S605:将标准化处理完成的所有告警存入数据库中;Step S605: store all the alarms completed by the standardized processing in the database;
步骤S606:每天固定时间启动数据库清除机制;Step S606: Start the database clearing mechanism at a fixed time every day;
步骤S607:访问数据库告警产生时间,判断告警是否超出配置文件用配置的时长,如果超出进入步骤S608,如果没有超出继续接收告警不清除任何告警;Step S607: Access the database alarm generation time, determine whether the alarm exceeds the time configured for the configuration file, if it exceeds, proceed to step S608, if it does not exceed, continue to receive the alarm without clearing any alarm;
步骤S608:清除所有超期告警,减轻数据库压力。Step S608: Clear all overdue alarms to reduce database pressure.
在本实施例中,告警连续性监控模块300主要负责监控上报告警是否有丢失,如果告警丢失则自动启动告警自动补采集模块进行丢失告警精准补采集,如果告警连续则将告警上报上层网管。如图7所示,本实施例中的告警连续性监控模块300主要包括如下处理流程:In this embodiment, the alarm continuity monitoring module 300 is mainly responsible for monitoring whether the reported alarm is missing. If the alarm is missing, it will automatically start the alarm automatic supplement collection module to accurately collect the missing alarm. If the alarm is continuous, the alarm will be reported to the upper network management. As shown in FIG. 7, the alarm continuity monitoring module 300 in this embodiment mainly includes the following processing procedures:
步骤S701:监听并接收新告警;Step S701: monitor and receive new alarms;
步骤S702:将每一条告警alarmSeqID提取并存于缓存中,为下一步告警连续性判断提供判断条件;Step S702: extract each alarm alarmSeqID and store it in the buffer to provide judgment conditions for the next alarm continuity judgment;
步骤S703:将新收到的告警的alarmSeqID和上一条告警的alarmSeqID进行连续性比对,根据判断结果决定下一步执行;Step S703: The alarmSeqID of the newly received alarm is continuously compared with the alarmSeqID of the previous alarm, and the next step is determined according to the judgment result;
步骤S704:如果步骤303判断alarmSeqID不连续,则认为告警有丢失,启动告警自动补采系统,对丢失告警进行自动补采集;Step S704: If it is determined in step 303 that the alarmSeqID is not continuous, it is considered that the alarm is missing, and the alarm automatic supplementary acquisition system is activated to automatically supplement and collect the lost alarm;
步骤S705:如果步骤303判断alarmSeqID连续,则认为告警无丢失,将告警直接上报上层网管。在本实施例中,告警连续性监控模块300可以通过 alarmSeqID进行连续性比自动判断告警是否丢失。Step S705: If it is determined in step 303 that the alarmSeqID is continuous, it is considered that the alarm is not lost, and the alarm is directly reported to the upper network management. In this embodiment, the alarm continuity monitoring module 300 can use the alarmSeqID to perform a continuity ratio to automatically determine whether the alarm is lost.
在本实施例中,告警自动补采模块400主要负责,当告警连续性监控模块监控到上报告警有丢失,则自动启动告警自动补采集模块,通过告警自动补采模块精判断出具体的丢失告警,再对具体丢失告警进行精确补采后再以通知方式上报上层网管,本发明仅会对丢失告警进行补采,确保所有上报告警无丢失无重复。如图8所示,告警自动补采模块400主要包括如下处理流程:In this embodiment, the alarm automatic replenishment module 400 is mainly responsible. When the alarm continuity monitoring module monitors that the reported alarm is missing, the alarm automatic replenishment collection module is automatically activated, and the alarm automatic replenishment module can accurately determine the specific loss. Alarm, and then accurately supplement the specific missing alarms and then report to the upper-layer network management in a notification manner. The present invention only supplements the missing alarms to ensure that all reported alarms are not lost and repeated. As shown in FIG. 8, the alarm automatic supplementary mining module 400 mainly includes the following processing procedures:
步骤S801:告警连续性监控模块判断出告警丢失后,将自动启动告警自动化补采模块;Step S801: After the alarm continuity monitoring module determines that the alarm is lost, it will automatically start the alarm automatic supplementary mining module;
步骤S802:从缓存获取最新收到的告警alarmSeqID_1;Step S802: Obtain the latest received alarm alarmSeqID_1 from the cache;
步骤S803:从缓存获取上一条告警alarmSeqID_2;Step S803: Obtain the previous alarm alarmSeqID_2 from the cache;
步骤S804:连接数据库,准备从数据库中重新获取丢失告警;Step S804: Connect to the database and prepare to retrieve the loss alarm from the database;
步骤S805:数据库判断,如连接成功则开始获取丢失告警,如果数据库连接失败则再次尝试连接;Step S805: the database judges, if the connection is successful, it starts to obtain a loss alarm, and if the database connection fails, the connection is tried again;
步骤S806:下发SQL命令到数据库中获取alarmSeqID_2到alarmSeqID_1的丢失告警;Step S806: Issue a SQL command to the database to obtain the missing alarms from alarmSeqID_2 to alarmSeqID_1;
步骤S807:如丢失告警获取成功则执行步骤408,如丢失告警获取失败则再次执行步骤S806,进行丢失告警获取。Step S807: Step 408 is executed if the acquisition of the loss alarm is successful, and step S806 is executed again if the acquisition of the loss alarm fails to acquire the loss alarm.
步骤S808:丢失告警获取成功后,将通过通知方式上报上层网管。在本实施例中,告警连续性监控模块可通过alarmSeqID对丢失告警进行精准判断和自动补采,保证所有上报告警不丢失、不重复。Step S808: After the loss alarm is successfully obtained, it will be reported to the upper-layer network management through notification. In this embodiment, the alarm continuity monitoring module can use alarmSeqID to accurately judge and automatically supplement the missing alarms to ensure that all reported alarms are not lost or repeated.
在本实施例提供的北向接口软件的告警自动化精准补采方案中,通过为每一个上报的告警添加告警标识alarmSeqID,并对通过alarmSeqID对上报告警进行连续性监控。当出现alarmSeqID不连续时,可以自动判断出哪些告警丢失,并通过自动补采模块对丢失告警进行精准补采,保证上报告警不丢失、不重复。In the alarm automation and precision supplementary acquisition scheme of the northbound interface software provided in this embodiment, the alarm identification alarmSeqID is added to each reported alarm, and continuous monitoring is performed on the reported alarms through the alarmSeqID. When the alarmSeqID is not continuous, it can automatically determine which alarms are missing, and use the automatic supplementary acquisition module to accurately supplement the lost alarms to ensure that the reported alarms are not lost or repeated.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。It should be noted that each of the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following manner, but not limited to this: the above modules are all located in the same processor; or, the above modules are combined in any combination The forms are located in different processors.
本申请的实施例还提供了一种存储介质,该存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述方法实施例中的步骤。The embodiment of the present application also provides a storage medium in which a computer program is stored, wherein the computer program is configured to execute the steps in the foregoing method embodiment when running.
可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的计算机程序:Optionally, in this embodiment, the foregoing storage medium may be configured to store a computer program for executing the following steps:
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储计算机程序的介质。Optionally, in this embodiment, the foregoing storage medium may include, but is not limited to: U disk, Read-Only Memory (Read-Only Memory, ROM for short), Random Access Memory (Random Access Memory, RAM for short), Various media that can store computer programs, such as mobile hard disks, magnetic disks, or optical disks.
本申请的实施例还提供了一种电子装置,包括存储器和处理器,该存储器中存储有计算机程序,该处理器被设置为运行计算机程序以执行上述方法实施例中的步骤。The embodiment of the present application also provides an electronic device, including a memory and a processor, the memory is stored with a computer program, and the processor is configured to run the computer program to execute the steps in the foregoing method embodiment.
显然,本领域的技术人员应该明白,上述的本申请的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本申请不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above-mentioned modules or steps of this application can be implemented by a general computing device, and they can be concentrated on a single computing device or distributed in a network composed of multiple computing devices. Above, alternatively, they can be implemented with program codes executable by the computing device, so that they can be stored in the storage device for execution by the computing device, and in some cases, can be executed in a different order than here. Perform the steps shown or described, or fabricate them into individual integrated circuit modules, or fabricate multiple modules or steps of them into a single integrated circuit module to achieve. In this way, this application is not limited to any specific hardware and software combination.
以上所述仅为本发明的优选实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not used to limit the application. For those skilled in the art, the application may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the principles of this application shall be included in the protection scope of the present invention.

Claims (12)

  1. 一种告警上报方法,包括:An alarm reporting method includes:
    从网元管理系统EMS订阅告警;Subscribe to alarms from the network element management system EMS;
    为订阅到的告警添加告警流水标识,并将所述告警保存至告警数据库;Add an alarm stream identifier to the subscribed alarm, and save the alarm in the alarm database;
    将所述告警上报至北向接口。Report the alarm to the northbound interface.
  2. 根据权利要求1所述的方法,其中,为获取的每一条告警添加告警流水标识之前,还包括:The method according to claim 1, wherein, before adding an alarm stream flag for each obtained alarm, the method further comprises:
    将订阅到的告警进行标准化处理。Standardize the subscribed alarms.
  3. 根据权利要求1所述的方法,其中,还包括:The method according to claim 1, further comprising:
    所述北向接口在接收到所述告警后,根据告警流水标识的连续性判断是否有告警丢失;After receiving the alarm, the northbound interface judges whether there is an alarm loss according to the continuity of the alarm running flag;
    如果有告警丢失,则从所述数据库中补采集所述丢失的告警。If any alarm is missing, then supplementally collect the missing alarm from the database.
  4. 根据权利要求3所述的方法,其中,根据告警流水标识的连续性判断是否有告警丢失,包括:The method according to claim 3, wherein the judging whether there is an alarm loss according to the continuity of the alarm flow flag comprises:
    将接收到的每一条告警的告警流水标识进行缓存,并将当前接收的告警的告警流水标识与上一条接收的告警的告警流水标识进行比对,如果告警流水标识不连续,则确定有告警丢失。Cache the alarm stream identifier of each received alarm, and compare the alarm stream identifier of the currently received alarm with the alarm stream identifier of the previous received alarm. If the alarm stream identifier is not continuous, it is determined that the alarm is missing .
  5. 根据权利要求1所述的方法,其中,还包括:The method according to claim 1, further comprising:
    判断所述数据库中是否有超期的告警;Determine whether there is an overdue alarm in the database;
    如果有超期的告警,则删除所述超期的告警。If there is an overdue alarm, delete the overdue alarm.
  6. 根据权利要求5所述的方法,其中,判断所述数据库中是否有超期的告警之前,还包括:The method according to claim 5, wherein before determining whether there is an overdue alarm in the database, the method further comprises:
    设置所述数据库中所存储的告警的超期时间。Set the expiration time of the alarm stored in the database.
  7. 一种告警上报装置,包括:An alarm reporting device includes:
    订阅模块,用于从网元管理系统EMS订阅告警;Subscription module, used to subscribe to alarms from the network element management system EMS;
    存储模块,用于为订阅到的告警添加告警流水标识,并将所述告警保存至告警数据库;The storage module is used to add an alarm flow identifier to the subscribed alarms, and save the alarms to the alarm database;
    上报模块,用于将所述告警上报至北向接口。The reporting module is used to report the alarm to the northbound interface.
  8. 根据权利要求7所述的装置,其中,还包括:The device according to claim 7, further comprising:
    标准化处理模块,用于在添加告警流水标识之前,将订阅到的告警进行标准化处理。The standardized processing module is used to perform standardized processing on the subscribed alarms before adding the alarm stream identifier.
  9. 根据权利要求7所述的装置,其中,还包括:The device according to claim 7, further comprising:
    监控模块,用于在所述北向接口接收到所述告警后,根据告警流水标识的连续性判断是否有告警丢失;The monitoring module is configured to determine whether there is an alarm loss according to the continuity of the alarm running flag after receiving the alarm at the northbound interface;
    告警补采集模块,用于在有告警丢失的情况下,从所述数据库中补采集所述丢失的告警。The alarm supplement collection module is used to supplement the collection of the missing alarm from the database in the case of an alarm loss.
  10. 根据权利要求7所述的装置,其中,还包括:The device according to claim 7, further comprising:
    超期告警清理模块,用于判断所述数据库中是否有超期的告警,如果有超期的告警,则删除所述超期的告警。The overdue alarm clearing module is used to determine whether there are overdue alarms in the database, and if there are overdue alarms, delete the overdue alarms.
  11. 一种存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行权利要求1-6中任一项所述方法中的步骤。A storage medium in which a computer program is stored, wherein the computer program is configured to execute the steps in the method of any one of claims 1 to 6 when running.
  12. 一种电子装置,包括存储器和处理器,其中,所述存储器中存储有计算机程序,该处理器被设置为运行计算机程序以执行权利要求1-6中任一项所述方法中的步骤。An electronic device comprising a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in the method of any one of claims 1-6.
PCT/CN2020/084012 2019-06-03 2020-04-09 Alarm reporting method and apparatus WO2020244306A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910477364.1A CN112039681A (en) 2019-06-03 2019-06-03 Alarm reporting method and device
CN201910477364.1 2019-06-03

Publications (1)

Publication Number Publication Date
WO2020244306A1 true WO2020244306A1 (en) 2020-12-10

Family

ID=73575993

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/084012 WO2020244306A1 (en) 2019-06-03 2020-04-09 Alarm reporting method and apparatus

Country Status (2)

Country Link
CN (1) CN112039681A (en)
WO (1) WO2020244306A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114244682B (en) * 2021-11-22 2024-01-05 中盈优创资讯科技有限公司 Equipment alarm loss and leakage repairing method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1102433A2 (en) * 1999-11-19 2001-05-23 Nortel Networks Limited Method and device for fault monitoring
CN101854262A (en) * 2010-06-24 2010-10-06 华为技术有限公司 Alarm synchronization method, device and system
CN103490916A (en) * 2012-06-11 2014-01-01 中兴通讯股份有限公司 Data acquisition method and data acquisition device
CN105071970A (en) * 2015-08-27 2015-11-18 中国电信股份有限公司 Failure analysis method, failure analysis system and network management equipment
CN106559248A (en) * 2015-09-30 2017-04-05 中兴通讯股份有限公司 A kind of alarm method, alarm device and warning system
CN108322322A (en) * 2017-01-18 2018-07-24 普天信息技术有限公司 Alarm reporting method
CN110012490A (en) * 2018-01-04 2019-07-12 中兴通讯股份有限公司 Alarm method, device, operation and maintenance center and computer readable storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102664751A (en) * 2012-04-09 2012-09-12 大唐移动通信设备有限公司 Method and device for processing warning message
CN104283704B (en) * 2013-07-05 2019-03-12 中兴通讯股份有限公司 A kind of northbound interface sends the method and device of notification event

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1102433A2 (en) * 1999-11-19 2001-05-23 Nortel Networks Limited Method and device for fault monitoring
CN101854262A (en) * 2010-06-24 2010-10-06 华为技术有限公司 Alarm synchronization method, device and system
CN103490916A (en) * 2012-06-11 2014-01-01 中兴通讯股份有限公司 Data acquisition method and data acquisition device
CN105071970A (en) * 2015-08-27 2015-11-18 中国电信股份有限公司 Failure analysis method, failure analysis system and network management equipment
CN106559248A (en) * 2015-09-30 2017-04-05 中兴通讯股份有限公司 A kind of alarm method, alarm device and warning system
CN108322322A (en) * 2017-01-18 2018-07-24 普天信息技术有限公司 Alarm reporting method
CN110012490A (en) * 2018-01-04 2019-07-12 中兴通讯股份有限公司 Alarm method, device, operation and maintenance center and computer readable storage medium

Also Published As

Publication number Publication date
CN112039681A (en) 2020-12-04

Similar Documents

Publication Publication Date Title
US10956362B1 (en) Searching archived data
CN110489391B (en) Data processing method and related equipment
CN107528766B (en) Information pushing method, device and system
CA2896865C (en) Method and system for using a recursive event listener on a node in hierarchical data structure
EP3258653A1 (en) Message pushing method and device
CN103401934A (en) Method and system for acquiring log data
WO2023029519A1 (en) Data synchronization method and apparatus, computer device, and storage medium
CN111881011A (en) Log management method, platform, server and storage medium
CN107040576A (en) Information-pushing method and device, communication system
CN105022815A (en) Information interception method and device
CN109189658B (en) Log storage method, control node and computer readable storage medium
CN108063832B (en) Cloud storage system and storage method thereof
WO2020244306A1 (en) Alarm reporting method and apparatus
CN113420032A (en) Classification storage method and device for logs
CN112069264A (en) Heterogeneous data source acquisition method and device, electronic equipment and storage medium
US11349957B2 (en) Automatic knowledge management for data lineage tracking
CN112835978A (en) Data storage method and device and computer equipment
CN116048846A (en) Data transmission method, device, equipment and storage medium
CN103457771B (en) The management method of the cluster virtual machine of a kind of HA and equipment
CN116132625A (en) Supervision method and device for transaction flow
CN112764988B (en) Data segment acquisition method and device
US10963331B2 (en) Collecting repeated diagnostics data from across users participating in a document collaboration session
CN106375354B (en) Data processing method and device
CN109905391A (en) A kind of business network secure data acquisition management system
US9904724B1 (en) Method and apparatus for message based security audit logging

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

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

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20818290

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS (EPO FORM 1205A DATED 17.05.2022)