CN100417087C - Alarm managing method for SNMP protocol network managing system - Google Patents

Alarm managing method for SNMP protocol network managing system Download PDF

Info

Publication number
CN100417087C
CN100417087C CNB2005100932613A CN200510093261A CN100417087C CN 100417087 C CN100417087 C CN 100417087C CN B2005100932613 A CNB2005100932613 A CN B2005100932613A CN 200510093261 A CN200510093261 A CN 200510093261A CN 100417087 C CN100417087 C CN 100417087C
Authority
CN
China
Prior art keywords
alarm
database
message
information
pond
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CNB2005100932613A
Other languages
Chinese (zh)
Other versions
CN1921407A (en
Inventor
翁在新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CNB2005100932613A priority Critical patent/CN100417087C/en
Publication of CN1921407A publication Critical patent/CN1921407A/en
Application granted granted Critical
Publication of CN100417087C publication Critical patent/CN100417087C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to an alarm manage method of SNMP protocol manager, which comprises: a, the background starts a process to detect the alarm sent from foreground network unit; b, the background network manger receives and compresses the alarm into alarm queue; c, the background network manager starts one process to detect if there is alarm, when there is, distribute the alarm adaptor to convert the alarm message into alarm object, to be sent to the alarm message title of message server; d, the alarm pool and database alarm processing module order the alarm message title, when receive the alarm message, recording the alarm object in said message into alarm pool and database. The inventive main process stores the alarm in alarm pool, to improve the processing speed, and the auxiliary process stores the alarm in database, to store forever, to improve the alarm processing speed of background network mangaer.

Description

A kind of alarm management method of snmp protocol network management system
Technical field
The invention belongs to alarm management technical field in the telecommunication management network, relate in particular to a kind of alarm management method of performance optimization of background net management.
Background technology
The regulation field of network management comprises five functional in telecommunication management network (TMN) field: 1, configuration management; 2, alarm management; 3, performance management; 4, safety management; 5, accounting management.At present standard communications protocol commonly used is divided into two kinds of SNMP and CMIP in the network management system, snmp protocol especially, and short with its construction cycle, agreement realizes simple advantage, has become the de facto standard agreement of network management gradually.
The snmp protocol network management system adopts the Manager/Agent framework, and wherein background net management is as manager (Manager), and the foreground network element is as agency (Agent), and background net management and foreground network element adopt snmp protocol to communicate.Each foreground network element all has an independent IP address, sends and receive snmp message with the UDP host-host protocol.The foreground network element sends network element alarming or alarm recovery message to background net management by the Trap message that defines in the snmp protocol.
After background net management receives alarm (Trap) message, after the binding parameters such as alarm object sign (Trap OID), the Alarm Sequence Number that parsing wherein comprises, event type, following two kinds of common processing methods are arranged generally.
First kind be record this alarm in the database of background net management and instant playback in the current alarm list interface, the running status that the dimension personnel can bring in monitoring foreground network element by the client of background net management system is protected in operation.
Second kind be record this alarm in the alarm pond of background net management and instant playback in the current alarm list interface, the running status that the dimension personnel can bring in monitoring foreground network element by the client of background net management system is protected in operation.
Adopt these two kinds of schemes to cut both ways, can should be used for choosing different alert processing methods according to different webmasters generally speaking.
Adopt first kind of scheme, alarming processing efficient is lower, and the processing of an alarm information is made up of a plurality of steps, need handle as affairs.Consider thread-safe and transactional integrity, alarming processing generally all adopts single-threaded, if receive many alarm informations simultaneously, background net management is a serial process, therefore the processing time of wall scroll alarm just directly has influence on the efficient of alarming processing, and operating database is generally all more consuming time.So the shortcoming of first kind of scheme is that the processing time of every alarm information is long, advantage is because alarm has recorded in the database, be in permanent preservation state, even background net management restarts like this, these alarms also can exist, need only all warning information that just can get access to the foreground network element in the database, forward and backward alarm this moment may be inconsistent, and this can solve this problem by forward and backward alarm synchronously.
Adopt second kind of scheme, alarming processing efficient is than higher, because all belong to internal memory operation basically, the processing time of every alarm is fewer, so the alarming processing efficient of background net management than higher, is fit to the sort of higher system be compared in alarming processing time requirement.Alarm is to be kept in the alarm pond but the shortcoming of second kind of scheme is, if NM server restarts, then these warning information will have been lost, and must could be consistent with the alarm that guarantees forward and backward by forward and backward alarm synchronization operation.If there were a large amount of alarms on the foreground when NM server restarted, and these alarms all do not have to recover when starting, every alarm on foreground all needs to mail to background net management by Trap, this moment, the Synchronize Alarm message between forward and backward may be very many, when serious even can have influence on the reception of normal alarm information.
Summary of the invention
The contradiction that warning information blocked when technical problem to be solved by this invention was that high efficiency in the snmp protocol network management system alarming processing and NM server restart, a kind of high efficiency alert processing method is provided, this method had both combined the advantage of the two kinds of schemes in front, had avoided the shortcoming of the two kinds of schemes in front again.
In order to solve above technical problem, method of the present invention may further comprise the steps:
(a) after background net management starts, start a thread and monitor the alarm (Trap) that the foreground network element is sent;
(b) after background net management is received the alarm that the foreground network element sends, alarm is pressed in the alarm formation;
(c) after background net management starts, start a thread, be responsible for specially and check in the alarm formation whether alarm is arranged; If have, then call the alarm adapter; The alarm adapter converts alarm information to an alarm object, mails to the alarm information theme on the message server;
(d) alarm pond warning processing module and database warning processing module subscribed to the alarm information theme respectively, receive alarm information after, respectively the alarm object that comprises in the alarm information is recorded again in alarm pond, the database.
The step of described method (c) may further comprise the steps:
(c1) after background net management starts, start a thread, ceaselessly in the circular test alarm formation whether untreated alarm is arranged;
(c2), from the alarm formation, take out an alarm object if having;
(c3) attribute of analysis alarm object comprises alarm object sign (Trap OID), event type, bound values, Alarm Sequence Number;
(c4) in internal memory, obtain alarm level according to alarm object sign (Trap OID), and then generate an alarm object according to other several attributes;
(c5) alarm object that obtains is mail to the alarm information theme of alarm server.
Wherein, the information such as alarm level in the step (c4) start the back by NM server and are loaded into from database in the internal memory, and this can be avoided the back all to obtain information such as alarm level, the processing time that can accelerate every alarm in the database at every turn.
The step of described method (d) may further comprise the steps:
At first introduce the treatment step after alarm pond warning processing module receives alarm information below:
(d1) at first judge the event type of alarm object,, then be increased in the alarm pond if alarm; If alarm clearing, then the alarm object that Alarm Sequence Number is identical is deleted from the alarm pond;
(d2) carry out the processing of alarm propagation;
(d3) send out the message informing client and upgrade the current alarm list interface;
Introduce the treatment step after the database warning processing module receives alarm information below again:
(d4) at first judge the event type of alarm object, if the inner alarm information of sending is then abandoned this message;
(d5), then judge the event type of alarm object if the alarm information that the foreground network element is sent; If alarm then is increased in the database; If alarm clearing, then the alarm object that Alarm Sequence Number is identical is deleted from database.
Comprise alarm main thread and alarm worker thread in the alert processing method of the present invention.Wherein: the alarm main thread adopts aforementioned second kind of scheme, alarm is kept in the alarm pond, processing speed is than very fast like this, worker thread adopts aforementioned first kind of scheme simultaneously, alarm is kept in the database, can accomplish permanent preservation like this, so just can solve NM server and start the too much problem of back Synchronize Alarm message.These two threads all adopt the method for subscribing to the alarm information theme in addition, their mutual independent operatings, so the processing speed of this method basically can be similar with the speed that only adopts the operation of alarm pond.Can improve the alarming processing speed of background net management in the snmp protocol network management system so greatly, foreground network element when the minimizing NM server restarts mails to the quantity of the Synchronize Alarm message of background net management, thereby optimized the performance of background net management greatly, strengthened the alarm management function of background net management.
Description of drawings
Fig. 1 is the The general frame of forward and backward alarm management;
Fig. 2 is the flow chart of alarm pond warning processing module;
Fig. 3 is the flow chart of database warning processing module.
Among Fig. 1: 1. send alarm (Trap), 2. alarm (Trap), 3. alarm/alarm recovery message, 4. subscribe to the alarm information theme, 5. send inside story, 6. start alarm receive processing threads, 7. issue alarm synchronization message, 8. obtain the alarm of alarm pond, 9. obtain the database alarm, 10. increase delete alarm in the alarm pond, (11) increase delete database and alarm.
Embodiment
Network management system with broadband wireless access (BWA) system is an example below, introduces implementation method of the present invention in detail.
BWA (BWA) is the broadband access means that telecom operators provide two-forty, big capacity, high reliability, full duplex with the signal load mode of point-to-multipoint, realizes the broadband wireless access of user terminal to backbone network.The BWA network management system is a subsystem of BWA system.In the present embodiment, the BWA network management system is the standard client/server configuration, and background data base adopts Microsoft SQL Server, and the Operation and Maintenance personnel use graphic user interface (GUI) terminal by BWA NM server visit SQL Server database.Between NM server and the network element system by snmp protocol communication.
Present invention is described below in conjunction with accompanying drawing.
Referring to Fig. 1, when background net management starts, start an alarm watcher thread, receive the Trap message that the foreground network element is sent at 162 ports.
When background net management is received Trap that network element sends 1. after the message, with the Trap Message Record in the alarm formation.
When background net management starts, start a thread 6., be responsible for specially and check in the alarm formation whether alarm (Trap) is arranged,, then call the alarm adapter if having.The alarm adapter will be alarmed (Trap) and convert an alarm object to 2., mail on the message server the alarm information theme 3..
Alarm information theme above alarm pond warning processing module and database warning processing module have all been subscribed to 4., receive alarm information after, be responsible for respectively with alarm object record in alarm pond, the database 10., (11).Owing to adopt the mode of subscribe message, so two modules are mutual independent operatings, wherein main thread is an alarm pond warning processing module, and worker thread is the database warning processing module.The function that starts worker thread is just in order to realize the permanent preservation to alarm object under the prerequisite of the alarming processing ability that does not influence main thread.
After NM server restarts, obtain current alarm and constitute message object 9. from database, the event type of message object is an internal alarm, then 5. one or more of alarm object is issued message server.The alarming processing that alarm pond warning processing module and database warning processing module receive the laggard line correlation of alarm information 10., (11).
Referring to Fig. 2, alarm pond warning processing module starts the back and subscribes to the alarm information theme to message server, receive the alarm information that message server sends after, decision event type at first is if alarm then is increased to alarm object in the alarm pond; If alarm clearing, then the alarm object that Alarm Sequence Number is identical is deleted from the alarm pond.Carry out the processing of alarm propagation afterwards, send out the message informing client at last and upgrade alarm list.
Referring to Fig. 3, the database warning processing module starts the back and subscribes to the alarm information theme to message server, receive the alarm information that message server sends after, decision event type at first is if inside story then discards this message; If alarm then is increased to alarm object in the database; If alarm clearing, then the alarm object that Alarm Sequence Number is identical is deleted from database.

Claims (5)

1. the alarm management method of a snmp protocol network management system is characterized in that, said method comprising the steps of:
(a) after background net management starts, start a thread and monitor the alarm that the foreground network element is sent;
(b) after background net management is received the alarm that the foreground network element sends, alarm is pressed in the alarm formation;
(c) after background net management starts, start a thread, check in the alarm formation whether alarm is arranged; If have, then call the alarm adapter; The alarm adapter converts alarm to an alarm object, mails to the alarm information theme on the message server;
(d) alarm pond warning processing module and database warning processing module subscribed to the alarm information theme respectively, receive alarm information after, respectively the alarm object that comprises in the alarm information is recorded again in alarm pond, the database.
2. the alarm management method of snmp protocol network management system according to claim 1 is characterized in that, the step of described method (c) may further comprise the steps:
(c1) after background net management starts, start a thread, in the circular test alarm formation whether untreated alarm is arranged;
(c2), from the alarm formation, take out an alarm if having;
(c3) analyze the attribute of alarming, comprise alarm object sign, event type, bound values, Alarm Sequence Number;
(c4) be identified to according to alarm object and obtain alarm level in the internal memory, and then generate an alarm object according to other several attributes;
(c5) alarm object that obtains is mail to the alarm information theme of alarm server.
3. the alarm management method of snmp protocol network management system according to claim 1 is characterized in that, after alarm pond warning processing module receives alarm information in the step of described method (d), handles according to the following steps:
(d1) at first judge the event type of alarm object,, then alarm object is increased in the alarm pond if alarm; If alarm clearing, then the alarm object that Alarm Sequence Number is identical is deleted from the alarm pond;
(d2) carry out the processing of alarm propagation;
(d3) send out the message informing client and upgrade the current alarm list interface.
4. the alarm management method of snmp protocol network management system according to claim 1 is characterized in that, after the database warning processing module receives alarm information in the step of described method (d), handles according to the following steps:
(d4) at first judge the event type of alarm object, if the inner alarm information of sending is then abandoned this message;
(d5), then judge the event type of alarm object if the alarm information that the foreground network element is sent; If alarm then is increased to alarm object in the database; If alarm clearing, then the alarm object that Alarm Sequence Number is identical is deleted from database.
5. the alarm management method of snmp protocol network management system according to claim 2 is characterized in that, the alarm level information in the described step (c4) starts the back by NM server and is loaded in the internal memory from database.
CNB2005100932613A 2005-08-23 2005-08-23 Alarm managing method for SNMP protocol network managing system Active CN100417087C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100932613A CN100417087C (en) 2005-08-23 2005-08-23 Alarm managing method for SNMP protocol network managing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100932613A CN100417087C (en) 2005-08-23 2005-08-23 Alarm managing method for SNMP protocol network managing system

Publications (2)

Publication Number Publication Date
CN1921407A CN1921407A (en) 2007-02-28
CN100417087C true CN100417087C (en) 2008-09-03

Family

ID=37778992

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100932613A Active CN100417087C (en) 2005-08-23 2005-08-23 Alarm managing method for SNMP protocol network managing system

Country Status (1)

Country Link
CN (1) CN100417087C (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101360001B (en) * 2007-07-31 2012-05-23 中兴通讯股份有限公司 Apparatus and method for processing alarm by network manager at upper layer
CN101184003B (en) * 2007-12-03 2010-08-18 中兴通讯股份有限公司 NMP based front and background alarm management system and management method thereof
CN101282237B (en) * 2008-05-27 2011-05-25 中山大学 Synthetic network management system based on SNMP
CN101442454B (en) * 2008-12-16 2011-04-20 中兴通讯股份有限公司 Equipment and method for restraining OAM concussion alarm
CN101610187B (en) * 2009-07-08 2012-03-14 杭州华三通信技术有限公司 Alarming processing method and device for mixed structure
CN103188115B (en) * 2011-12-29 2016-01-06 方正宽带网络服务有限公司 A kind of method and apparatus of traffic monitoring
CN103117882B (en) * 2013-03-13 2016-05-25 烽火通信科技股份有限公司 The alert processing method of Access Network and system
CN104851223A (en) * 2014-11-22 2015-08-19 重庆市行安电子科技有限公司 Automatic alarm system
CN106559248A (en) * 2015-09-30 2017-04-05 中兴通讯股份有限公司 A kind of alarm method, alarm device and warning system
CN106452905A (en) * 2016-10-27 2017-02-22 腾讯科技(深圳)有限公司 Message processing method and device
CN106992895A (en) * 2017-05-26 2017-07-28 郑州云海信息技术有限公司 A kind of alarm method of anti-oscillating, alarm device and program product
CN107276813A (en) * 2017-06-30 2017-10-20 郑州云海信息技术有限公司 A kind of SNMP TRAP alarm methods and device
CN110022233A (en) * 2019-04-11 2019-07-16 四川长虹电器股份有限公司 A kind of alarm management method based on HFC distribution type network management system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040006619A1 (en) * 2002-07-02 2004-01-08 Fujitsu Network Communications, Inc. Structure for event reporting in SNMP systems
CN1486018A (en) * 2002-09-29 2004-03-31 华为技术有限公司 Method for alarm consistency comparing and resuming
CN1521663A (en) * 2003-02-14 2004-08-18 ���ǵ�����ʽ���� Database table modeling and event handling method for real time alarm management
US20050039188A1 (en) * 2003-07-11 2005-02-17 Umesh Agashe Apparatus and method for managing traps in a network environment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040006619A1 (en) * 2002-07-02 2004-01-08 Fujitsu Network Communications, Inc. Structure for event reporting in SNMP systems
CN1486018A (en) * 2002-09-29 2004-03-31 华为技术有限公司 Method for alarm consistency comparing and resuming
CN1521663A (en) * 2003-02-14 2004-08-18 ���ǵ�����ʽ���� Database table modeling and event handling method for real time alarm management
US20050039188A1 (en) * 2003-07-11 2005-02-17 Umesh Agashe Apparatus and method for managing traps in a network environment

Also Published As

Publication number Publication date
CN1921407A (en) 2007-02-28

Similar Documents

Publication Publication Date Title
CN100417087C (en) Alarm managing method for SNMP protocol network managing system
CN101282237B (en) Synthetic network management system based on SNMP
CN1901568B (en) Method for realizing historical property collection in network managing system
US6330601B1 (en) Management system for a multi-level communication network
US6484200B1 (en) Distinguished name scoping system for event filtering
CN101312405B (en) Alarm processing method and network management system
CN101582807B (en) Method and system based on northbound interface to realize network management
CN101714930A (en) Method and system for realizing network monitoring
EP1929705B1 (en) Device management method using nodes having additional attribute and device management client thereof
CN102820993A (en) Network resource monitoring system and network resource monitoring method
EP2590363B1 (en) Method and system for collecting performance statistics data
CN100417088C (en) Method for synchronization of fore-and-aft alarm
CN101267335B (en) A method for guaranteeing successful alarm receiving/transmission in simple network management protocol
CN101409654A (en) Method for processing SNMP information in network management system
US6539540B1 (en) Methods and apparatus for optimizing simple network management protocol (SNMP) requests
CN102195791A (en) Alarm analysis method, device and system
CN100505643C (en) Network management system and its communication method
CN113890903A (en) Alarm information management system and method
CN109768900B (en) Method and system for processing second-level performance of network element
CN101605045A (en) A kind of report method of alarm notification message
CN105592485A (en) Method for collecting and processing messages in real time based on SNMP
CN103957127A (en) Heterogeneous manufacturer transmission network interface adaptation method
WO2005018152A1 (en) A system and method of intelligently monitoring the message centers
Cisco 9.1.10 Software Release Notes Cisco StrataView Plus for AIX
Cisco Configuring ATM Accounting and ATM RMON

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant