CN100579147C - Filtration method for processing alarm rapidly - Google Patents

Filtration method for processing alarm rapidly Download PDF

Info

Publication number
CN100579147C
CN100579147C CN200610089337A CN200610089337A CN100579147C CN 100579147 C CN100579147 C CN 100579147C CN 200610089337 A CN200610089337 A CN 200610089337A CN 200610089337 A CN200610089337 A CN 200610089337A CN 100579147 C CN100579147 C CN 100579147C
Authority
CN
China
Prior art keywords
alarm
function
attributes
configuration file
code
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.)
Expired - Fee Related
Application number
CN200610089337A
Other languages
Chinese (zh)
Other versions
CN101094264A (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 CN200610089337A priority Critical patent/CN100579147C/en
Publication of CN101094264A publication Critical patent/CN101094264A/en
Application granted granted Critical
Publication of CN100579147C publication Critical patent/CN100579147C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The method comprises: 1) configuring the alarm attribute of alarm configuration file, the interface code of said alarm attribute and the correlated relation between the filtered logical codes of the alarm attribute; 2) using a alarm functional template file to set the alarm attribute used by said alarm function; 3) according to the alarm functional template file, creating a function realization configuration file, and using the function realization configuration file to configure an alarm attribute required by a newly-added alarm function; 4) resolving said function realization configuration file, and calling the interface code of the alarm attribute, the filtered logical code of the alarm attribute to construct the function interface and the alarm filtering logic.

Description

A kind of method of fast processing alarm filtering
Technical field
The present invention relates to the troubleshooting technology of telecommunication network management, particularly relate to a kind of method of fast processing alarm filtering.
Background technology
In the fault management module of telecommunication administration software, having in a lot of occasions needs alarm object is screened.For example, alarm inquiry is exactly to filter out the alarm of satisfying querying condition earlier in essence, presents to the user by form or other forms on the interface then; Rule process to alarm also is to filter out the alarm of satisfying certain condition earlier, and then special processing is carried out in these alarms, as affirmation, removing, filtration etc.Screening to alarm object mainly is that each attribute of alarm object is judged, judges whether these attributes satisfy certain conditions.According to TMN (Telecommunication Management Network, telecommunication management network) standard, alarm data has tens attributes such as alarm code, alarm type, alarm cause, NE type.All encode separately if need use the function of alarm filtering to everywhere in the webmastering software, will need a large amount of codes, cause code redundancy, be difficult to safeguard; After exploitation is finished,, be difficult to the variation of adaption demand if require to increase or during alarm attributes that deletion is to be screened, need to revise the everywhere code.
Summary of the invention
Technical problem to be solved by this invention is to provide a kind of method of fast processing alarm filtering, is used to reduce the complexity of telecom network management system and realizes cost.
To achieve these goals, the invention provides a kind of method of fast processing alarm filtering, it is characterized in that, comprising:
Step 1, the corresponding relation between the interface code by alarm attributes configuration file configuration alarm attributes and this alarm attributes, the screening logical code of this alarm attributes;
Step 2 utilizes an alarm function template file to set the employed alarm attributes of alarm function;
Step 3 is created a function according to described alarm function template file and is realized configuration file, and utilizes this function to realize the configuration file configuration one newly-increased required alarm attributes of alarm function; And
Step 4 is resolved screening logical code, conformation function interface and alarm filtering logic that described function realizes configuration file and calls the interface code of described alarm attributes, described alarm attributes.
The method of described fast processing alarm filtering wherein, before the described step 1, comprises that also one is provided with the interface of described alarm attributes and the step of the code of screening logic.
The method of described fast processing alarm filtering, wherein, described alarm attributes configuration file is the file of extend markup language form.
The method of described fast processing alarm filtering, wherein, in the described step 2, described alarm function template file is set the employed alarm attributes of alarm function by a file format of setting.
The method of described fast processing alarm filtering, wherein, the file format of described setting is the extend markup language form.
The method of described fast processing alarm filtering, wherein, in the described step 3, the required alarm attributes of described newly-increased alarm function belongs to the alarm attributes of described alarm attributes configuration file configuration.
The method of described fast processing alarm filtering, wherein, described step 4 is specially: the described functions all according to the name lookup of described newly-increased alarm function realize configuration file, after described function realizes finding all alarm attributes of described newly-increased alarm function use in the configuration file, from described alarm attributes configuration file, obtain again interface code and screening logical code that should alarm attributes, utilize this interface code and screening logical code to make function interface and screening logic at last.
The method of described fast processing alarm filtering wherein, comprises that also one judges that described function realizes whether containing in the configuration file step of the definition of described newly-increased alarm function.
The method of described fast processing alarm filtering, wherein, described function realizes that configuration file is one or more, each described function realization configuration file is set one or more alarm functions.
The method of described fast processing alarm filtering, wherein, described function realizes that configuration file is one or more, each described function realization configuration file is set one or more alarm functions.
Useful technique effect of the present invention is:
1), only need realize a user interface and screening logical code, reduced code development quantity, reduced maintenance cost for each alarm attributes;
2), realize that by adding function configuration file just can increase new function, shortened the time of developing new function needs greatly;
3), to revise the interface or the screening logic of some alarm attributes, only need to revise place's code, all function interfaces that relate to this alarm attributes will use amended code automatically, significantly reduce the code maintenance workload.
Describe the present invention below in conjunction with the drawings and specific embodiments, but not as a limitation of the invention.
Description of drawings
Fig. 1 is the method flow diagram of alarm filtering of the present invention;
Fig. 2 forms the flow chart of function interface and screening logic by the parsing configuration file when program running for the present invention;
Fig. 3 resolves the alarm inquiry interface schematic diagram of generation for the present invention.
Embodiment
Below in conjunction with accompanying drawing, describe technical scheme of the present invention in detail.
See also shown in Figure 1ly, be the method flow diagram of alarm filtering of the present invention; The detailed step of this method flow is as follows:
Step 101 at first is provided with the interface of each alarm attributes and the code of screening logic;
For each alarm attributes, its code is different, but these codes all need to follow certain standard, so as when program running these codes of dynamic load.If use object-oriented language to realize,, need to follow specific interface exactly as JAVA.
Step 102, the corresponding relation in the alarm attributes configuration file between the screening logical code of the interface code of each alarm attributes of configuration and alarm attributes, alarm attributes;
The alarm attributes configuration file is used to dispose the corresponding relation of screening logical code of interface code, the alarm attributes of each alarm attributes and alarm attributes; This interface code, screening logical code are configured in the alarm attributes configuration file.This alarm attributes configuration file can be the feasible file format of any convenience, and the present invention herein adopts the file of XML (eXtensible Markup Language, extend markup language) form as example, and is as follows:
<AlarmParameters>
<Parameter=″code″Uiclass=″CodeUI″LogicClass=″CodeLogic″/>
<Parameter=″reason″Uiclass=″ReasonUI″LogicClass=″ReasonLogic″/>
<Parameter=″alarmType″Uiclass=″AlarmTypeUI″LogicClass=
″AlarmTypeLogic″/>
<Parameter=″severity″Uiclass=″SeverityUI″LogicClass=
″SeverityLogic″/>
<Parameter=″happenTime″Uiclass=″HappenTimeUI″LogicClass=″
HappenTimeLogic″/><AlarmParameters>
In this alarm attributes configuration file, Parameter refers to the attribute alarmed, and Uiclass refers to the interface code of alarm attributes, and LogicClass refers to the screening logical code of alarm attributes.Alarm code (code), alarm cause (reason), alarm type (eventType), alarm level (severity), the interface of alarming these alarm attributes of time of origin (happenTime) and screening logic have been disposed in this embodiment, be not limited to these attributes in actual applications, the attribute of all alarms can be configured in the alarm attributes configuration file.The code class name that disposes among the embodiment should be interface of realizing alarm attributes and the code name that screens logic in actual applications just as example.
Step 103 is provided with the alarm function template file, when the new function of exploitation, utilizes the employed alarm attributes of the new function of alarm function template file setting/definition;
The alarm function template file is used to set all alarm attributes that an alarm function uses, and it defines a kind of file format, and when the new function of alarm filtering was used in exploitation, using this file format was the employed alarm attributes of this new function of definable.This document form can be the feasible file format of any convenience, and the present invention herein adopts the file of XML form as example, and is as follows:
<Functions>
<Function=" function title " Parameters=" the alarm attributes tabulation that this function uses "/〉
<Functions>
In above-mentioned alarm function template file, Function refers to the title of function, and Parameters refers to the alarm attributes tabulation that this function uses, and alarm attributes must be the alarm attributes that disposes in above-mentioned alarm attributes configuration file herein.
Step 104 when needs increase a kind of alarm function newly, is created a new configuration file (be called function and realize configuration file) according to the file template that is provided with in the step 103, realizes disposing in configuration file the needed alarm attributes of this alarm function in this function.
Step 105 when system moves, realizes configuration file by resolving all functions, calls interface code and screening logical code, dynamically the conformation function interface and the alarm filtering logic of each alarm attributes.This step is specially:
At first in system, search all functions and realize configuration file according to the title of alarm function, after function realizes finding all alarm attributes of this alarm function use the configuration file, from the alarm attributes configuration file, obtain the interface and the screening logical code of these alarm attributes again, use these code conformation function interfaces and screening logic at last.
In the system that JAVA realizes, can use interface and screening logical code dynamic conformation function interface and the screening logic of reflex mechanism by alarm attributes; Can adopt other mechanism to realize for non-dynamic language, such as dynamic link library etc.
After realizing above-mentioned steps, new alarm function that utilizes alarm filtering of exploitation in system only need add/create a function and realize configuration file with reference to template file.As develop the alarm inquiry function, this function adopts alarm code, alarm cause, alarm level to inquire about, and needs to add a following file.
<Functions>
<Function=″query?alarm″Parameters=″code?reason?severity?happenTime″/>
<Functions>
The interface of this alarm inquiry function can be consulted shown in Figure 3.
This function realizes that configuration file can have in system a plurality of, can define one or more concrete alarm functions in each file.
See also shown in Figure 2, for the present invention forms the flow chart of function interface and screening logic by resolving configuration file when the program running.This flow process specifically comprises the steps:
Step 201 is imported the function title into by parameter;
Step 202 is searched a function and is realized configuration file in system;
Step 203 is judged the definition that realizes whether having in the configuration file this function in function, if the definition of this function is arranged, then continues step 204, if the not definition of this function then changes step 202 over to;
Step 204 realizes obtaining the alarm attributes that this function is used the configuration file from function;
Step 205 obtains the interface of these alarm attributes and screens logical code realization, i.e. the screening logical code of the interface code of alarm attributes and alarm attributes from the alarm attributes configuration file;
Step 206 is utilized the interface of alarm attributes and the interface and the screening logic of screening logical code assembling function.
See also shown in Figure 3ly, resolve the alarm inquiry interface schematic diagram of generation for the present invention.In this alarm inquiry interface, alarm attributes has been selected " alarm level ", and screening conditions have then been selected " seriously ", " important " two conditions.
Common code and configuration file that the present invention selects by a cover alarm attributes make up an alarm filtering assembly flexibly, for the difference in functionality that needs to use alarm filtering in the network management system, just can realize by adding function realization configuration file, do not need at every turn all development sequence code again, reduced the complexity of telecom network management system and realized cost.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (9)

1, a kind of method of fast processing alarm filtering is characterized in that, comprising:
Step 1, the corresponding relation between the interface code by alarm attributes configuration file configuration alarm attributes and this alarm attributes, the screening logical code of this alarm attributes;
Step 2 utilizes an alarm function template file to set the employed alarm attributes of alarm function;
Step 3 is created a function according to described alarm function template file and is realized configuration file, and utilizes this function to realize the configuration file configuration one newly-increased required alarm attributes of alarm function; And
Step 4 is resolved the screening logical code that described function realizes configuration file and calls the interface code of described alarm attributes, described alarm attributes, conformation function interface and alarm filtering logic;
Before the described step 1, comprise that also one is provided with the interface of described alarm attributes and the step of the code of screening logic.
2, the method for fast processing alarm filtering according to claim 1 is characterized in that, described alarm attributes configuration file is the file of extend markup language form.
3, the method for fast processing alarm filtering according to claim 1 is characterized in that, in the described step 2, described alarm function template file is set the employed alarm attributes of alarm function by a file format of setting.
4, the method for fast processing alarm filtering according to claim 3 is characterized in that, the file format of described setting is the extend markup language form.
According to the method for claim 1 or 4 described fast processing alarm filterings, it is characterized in that 5, in the described step 3, the required alarm attributes of described newly-increased alarm function belongs to the alarm attributes of described alarm attributes configuration file configuration.
6, according to the method for claim 1 or 4 described fast processing alarm filterings, it is characterized in that, described step 4 is specially: the described functions all according to the name lookup of described newly-increased alarm function realize configuration file, after described function realizes finding all alarm attributes of described newly-increased alarm function use in the configuration file, from described alarm attributes configuration file, obtain again interface code and screening logical code that should alarm attributes, utilize this interface code and screening logical code to make function interface and screening logic at last.
7, the method for fast processing alarm filtering according to claim 6 is characterized in that, comprises that also one judges that described function realizes whether containing in the configuration file step of the definition of described newly-increased alarm function.
According to the method for claim 1,4 or 7 described fast processing alarm filterings, it is characterized in that 8, described function realizes that configuration file is one or more, each described function realization configuration file is set one or more alarm functions.
9, the method for fast processing alarm filtering according to claim 6 is characterized in that, described function realizes that configuration file is one or more, and each described function realization configuration file is set one or more alarm functions.
CN200610089337A 2006-06-20 2006-06-20 Filtration method for processing alarm rapidly Expired - Fee Related CN100579147C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200610089337A CN100579147C (en) 2006-06-20 2006-06-20 Filtration method for processing alarm rapidly

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200610089337A CN100579147C (en) 2006-06-20 2006-06-20 Filtration method for processing alarm rapidly

Publications (2)

Publication Number Publication Date
CN101094264A CN101094264A (en) 2007-12-26
CN100579147C true CN100579147C (en) 2010-01-06

Family

ID=38992287

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200610089337A Expired - Fee Related CN100579147C (en) 2006-06-20 2006-06-20 Filtration method for processing alarm rapidly

Country Status (1)

Country Link
CN (1) CN100579147C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102387043B (en) * 2011-12-07 2014-04-16 深圳市龙视传媒有限公司 Alarm analysis method, workstation and system based on simple network management protocol
CN102981941B (en) * 2012-11-08 2016-03-02 大唐软件技术股份有限公司 A kind of alert processing method and alarm treatment device
CN113572641B (en) * 2021-07-21 2023-07-18 北京金山云网络技术有限公司 Alarm method and related device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0760571A3 (en) * 1995-08-29 2000-01-05 AT&T Corp. Call screening method and apparatus for use in completing telephone calls
CN1269646A (en) * 1999-04-07 2000-10-11 朗迅科技公司 Method for sorting secondary warning signals
WO2001015461A1 (en) * 1999-08-24 2001-03-01 Siemens Aktiengesellschaft Generic alignment method in a multi-manager environment
CN1414771A (en) * 2002-08-13 2003-04-30 孙雷 Digital user line single end frequency response centralized automatic testing method and system
CN1471269A (en) * 2002-05-21 2004-01-28 �ʼ�Kpn��˾ System, tool and method for monitoring network and corresponding network
CN1522033A (en) * 2003-02-12 2004-08-18 厦门市恒信网元通信技术有限公司 Method and apparatus for realtime communication course and state data acquisition of arbitrary telephone number
CN1567851A (en) * 2003-07-07 2005-01-19 华为技术有限公司 A method for monitoring user behavior in network management system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0760571A3 (en) * 1995-08-29 2000-01-05 AT&T Corp. Call screening method and apparatus for use in completing telephone calls
CN1269646A (en) * 1999-04-07 2000-10-11 朗迅科技公司 Method for sorting secondary warning signals
US6601185B1 (en) * 1999-04-07 2003-07-29 Lucent Technologies Inc. Secondary alarm filtering
WO2001015461A1 (en) * 1999-08-24 2001-03-01 Siemens Aktiengesellschaft Generic alignment method in a multi-manager environment
CN1471269A (en) * 2002-05-21 2004-01-28 �ʼ�Kpn��˾ System, tool and method for monitoring network and corresponding network
CN1414771A (en) * 2002-08-13 2003-04-30 孙雷 Digital user line single end frequency response centralized automatic testing method and system
CN1522033A (en) * 2003-02-12 2004-08-18 厦门市恒信网元通信技术有限公司 Method and apparatus for realtime communication course and state data acquisition of arbitrary telephone number
CN1567851A (en) * 2003-07-07 2005-01-19 华为技术有限公司 A method for monitoring user behavior in network management system

Also Published As

Publication number Publication date
CN101094264A (en) 2007-12-26

Similar Documents

Publication Publication Date Title
CN100479385C (en) Integral maintaining method and system for multi-equipment
US5903731A (en) System and associated method for re-engineering a telecommunications network support system with object-oriented translators
EP2523528B1 (en) Device management method, middleware, and machine-to-machine communication platform, device and system
US7213068B1 (en) Policy management system
CN102981941B (en) A kind of alert processing method and alarm treatment device
CN100490398C (en) Network management interface information interaction method, device and notice reporting method
CN112152835B (en) Managing multiple semantic versions of a device configuration schema
CN102447585B (en) Method and device for converting network configuration protocol response message into command line
CN101312405B (en) Alarm processing method and network management system
CN101321080A (en) Method for configuring network appliance, network appliance and network system
CN1412978A (en) Supervisory assigned control component for entering module into digital data network and its control method
US20040255010A1 (en) Method, a controller, an arrangement and a computer program for managing a configuration of clustered computers
CN105933139A (en) Data processing method and device
CN1910854A (en) Automatic update system and method for using a meta mib
CN103297275A (en) Dynamic discovery and loading system and method for Web network management client module
CN102387043A (en) Alarm analysis method, workstation and system based on simple network management protocol
CN102037677A (en) Computer readable medium, northbound interface uniform platform and starting method thereof
CN100579147C (en) Filtration method for processing alarm rapidly
CN102761443A (en) Collocation method and device of command lines
Virmani et al. Netmon: network management for the SARAS softswitch
CN101150434B (en) An object-oriented function deployment method in network management
CN101697119A (en) JavaBean class leading-in form based realization method of replacing traditional URL access address
US20090006903A1 (en) Network Alarm Management
CN101170441A (en) A method and device for shielding device alarm in network management system
US20130297755A1 (en) Network element configuration management

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100106

Termination date: 20150620

EXPY Termination of patent right or utility model