CN100344108C - Method and system for processing equipment information in network management system - Google Patents

Method and system for processing equipment information in network management system Download PDF

Info

Publication number
CN100344108C
CN100344108C CNB2004100643214A CN200410064321A CN100344108C CN 100344108 C CN100344108 C CN 100344108C CN B2004100643214 A CNB2004100643214 A CN B2004100643214A CN 200410064321 A CN200410064321 A CN 200410064321A CN 100344108 C CN100344108 C CN 100344108C
Authority
CN
China
Prior art keywords
function
management system
snmp
network management
snmp trap
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
CNB2004100643214A
Other languages
Chinese (zh)
Other versions
CN1741461A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2004100643214A priority Critical patent/CN100344108C/en
Publication of CN1741461A publication Critical patent/CN1741461A/en
Application granted granted Critical
Publication of CN100344108C publication Critical patent/CN100344108C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention discloses a method for processing equipment information in a network management system. In the method, all dynamic banks providing SNMP Trap analytic function are loaded; corresponding relation between each analytic function and an identifying mark of analyzed SNMP Trap for charactering the analytic function is obtained by the dynamic banks, and the corresponding relation is stored in the network management system. The identifying mark is extracted from the SNMP 82-3 Trap reported by the equipment, and the analytic function analyzing the SNMP Trap is obtained according to the corresponding relation; the SNMP 82-3 Trap reported by the equipment is analyzed into structure information by using the obtained analytic function, and the network management system processes the information.

Description

The method and system of processing equipment information in network management system
Technical field
The present invention relates to the network management technology field, relate in particular to the method and system of processing equipment information in network management system.
Background technology
In Simple Network Management Protocol V1 (SNMPV1 agreement), (Trap is the standard term of snmp protocol to Trap protocol Data Unit (PDU), and domestic part Chinese material is translated as " trap message ", but inaccurate.) be defined as follows shown in:
EnterpriseID agent-addr generic-trap specific-trap time-stamp variable-bindings
As follows to wherein relevant field feature description:
1, for a kind of equipment, the EnterpriseID of all SNMP Trap that it reports (proper noun of snmp protocol can be translated into: enterprise indicates) is identical, can map out the device type that reports TRAP by the EnterpriseID field;
2, variable-bindings (variable binding) field is by carrying out the variable binding in the equipment development process as required, the variable-binding field is not stipulated to fill in which content and fill in order in snmp protocol, therefore for different equipment, following situation can appear:
(1) different types of equipment content difference of in Trap, filling in;
(2) different types of equipment content of filling in Trap is identical, but the order of the field difference that these contents are filled in.
Like this, network management system is when using SNMPV1 consultative management equipment, though agreement is identical, but the form of Trap may be different, network management system will be managed the Trap that these equipment just must report these equipment respectively and be resolved, like this for the Integrated Network Management System of managing a large amount of heterogeneous devices, when change takes place the agreement of a kind of new equipment of management or certain equipment, will affect greatly network management system, because must change to existing network management system code, this not only can give the exploitation of network management system, management causes great inconvenience, and workload is big, the cost height.
For SNMP V2c or SNMP V3, Trap PDU is defined as follows:
The PDU type ?RequestID N m SysUpTime snmpTrapOid variable-bindings
Wherein relevant field is described as follows:
(1) different with SNMP V1 agreement, deleted the EnterpriseID field among the Trap PDU of SNMP V2c and SNMP V3 agreement, so device type that does not have this Trap of field identification to report, but in SNMPV2c and SNMP V3 agreement, increased SNMP TrapOid field, for the identical Trap of SNMP TrapOid, the field contents that its variable-bindings fills in is identical with order.
(2) for the different Trap of SNMP TrapOid, the content of its variable-bindings may be different with order.
When network management system is used SNMP V2 or SNMP V3 management equipment, exist the problem identical with SNMP V1.
Summary of the invention
The invention provides a kind of in network management system the method and system of processing equipment information, with solve in the prior art because of equipment variations to the bigger problem of network management system influence.
For addressing the above problem, the invention provides following technical scheme:
A kind of in network management system the method for processing equipment information, comprise the steps:
A, network management system load provides SNMP Trap to handle all dynamic base of function;
B, call export function, obtain respectively to handle the corresponding relation between the identification marking of the SNMP Trap that function and this processing function of sign resolved from dynamic base, and this corresponding relation is kept in the network management system;
Extract identification marking among the SNMP Trap that C, slave unit report, and obtain the processing function of resolving this SNMP Trap by described corresponding relation;
The processing function that D, utilization are obtained resolves to unified structural information with the SNMP Trap that equipment reports, and by network management system this information is handled.
A kind of management system comprises processor and memory, wherein also comprises:
First device is used to provide the processing function of the SNMP Trap that analyzing device reports, and handles between the identification marking of the SNMP Trap that function and this processing function of sign resolved and have corresponding relation;
Second device is used to call export function, obtains described corresponding relation and is stored in the system from first device;
The 3rd device, be used for the SNMP Trap that slave unit reports and extract identification marking, utilize this sign from second device, to find the processing function of resolving this SNMP Trap, and from first device, call this function and resolve this SNMP Trap and the unified structural information of output;
The 4th device is handled the unified structural information of the 3rd device output.
Adopt the present invention,, only need to revise the dynamic base of this kind SNMP Trap correspondence, do not need to revise the network management system main program module if the SNMP Trap form that the equipment that network management system is managed reports changes; If increase a kind of new equipment of management, only need provide the dynamic base that this kind equipment SNMP Trap is resolved, can not impact the network management system handling process yet, thereby effectively shield the influence of device protocol variation network management system.
Description of drawings
Fig. 1 is a flow chart of the present invention.
Embodiment
The present invention isolates the influence of inhomogeneous SNMP Trap to network management system by low coupled modes, makes network management system under the situation that does not change original design, and the SNMP Trap that different equipment is reported handles.Below mainly adopting SNMP V1 agreement with network management system is that example describes.
In SNMP V1 agreement, the EnterpriseID field is that implication is clear and definite and explicitly call for the field that must fill in agreement, if a kind of equipment uses SNMP V1 agreement and network management communication, this field must be filled in SNMP Trap, and the SNMP Trap that reports for same kind equipment, this field is identical.Therefore can utilize this field as keyword, the SNMP Trap that different equipment is reported carries out different processing.
Inhomogeneous SNMP Trap for distinct device reports resolves SNMP Trap by plug-in dynamic base, the unified structural information that the structure after the parsing is determined when designing by network management system, and this structure all is identical to all dynamic base.The processing function of this dynamic base of processing SNMP Trap that pairing equipment reports is provided in the dynamic base, and this function is input as the original SNMP Trap that equipment reports, and is output as unified structural information.
Each dynamic base provides an export function, returns the corresponding relation of EnterpriseID and the function of the SNMP Trap that handles this EnterpriseID corresponding equipment in this export function.If the processing function of multiple SNMP Trap is provided in dynamic base, then need to return all corresponding relations in this dynamic base export function, this export function calls for main program.
Consult shown in Figure 1ly, network management system treatment S NMP Trap idiographic flow is as follows:
Step 10: network management system loads all SNMP Trap and resolves dynamic base when starting.
Step 20: call the corresponding relation that the dynamic base export function obtains equipment EnterpriseID and this kind equipment SNMP Trap processing function, and this corresponding relation is preserved in internal memory.
Step 30: behind the SNMP Trap that the network management system equipment of receiving reports, from SNMP Trap, obtain EnterpriseID.
Step 40: the processing function that from the corresponding relation that step 20 is set up, finds this kind SNMP Trap according to the EnterpriseID that obtains in the step 30.
Step 50:, resolve to the information of unified structure through this processing function with the processing function that finds in the SNMP Trap input step 40.
Step 60: network management system is handled the unified structural information that parses in the step 50.
Adopt above processing mode,, then only need to revise the dynamic base of this kind SNMP Trap correspondence, do not need to revise the network management system main program if the SNMP Trap form of network management system management equipment changes; If increase a kind of new equipment of management, only need provide the dynamic base that this kind equipment SNMP Trap is resolved, can not impact the network management system handling process yet, thereby effectively shield the influence of device protocol variation network management system.
In SNMP V2c or SNMP V3 agreement, removed the EnterpriseID among the SNMP Trap, but in SNMP V2c and SNMP V3 agreement, one class SNMP Trap can use SNMP TrapOid to identify, and SNMP TrapOid is the field that equipment must be filled in reporting SNMP Trap process process.Therefore for said method, need be SNMP TrapOid with the content modification of handling EnterpriseID only, this method be promptly applicable, and its processing procedure is identical.
According to said method and in conjunction with prior art, network management system that can accomplished said method.This system constitutes the well-known components except comprising processor and memory etc., also comprises:
Be used to provide the analytical function of the SNMP Trap that analyzing device reports, and first device that has corresponding relation between the identification marking of the SNMP Trap that resolved of analytical function and this analytical function of sign;
Be used for from first device obtain described corresponding relation and be stored in system second the device;
Be used for the SNMP Trap that slave unit reports and extract identification marking, utilize this sign from second device, to find the analytical function of resolving this SNMP Trap, and from first device, call the 3rd device that this function is resolved this SNMP Trap and the unified structural information of output; And
The 4th device that the unified structural information of the 3rd device output is handled.
Adopt the present invention, Integrated Network Management System can be effectively when the different equipment of management comes the design isolated of SNMP Trap protocol processes and network management system, like this when a kind of equipment of new management or the device protocol managed change, the design of network management system is not impacted.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (7)

1, a kind of in network management system the method for processing equipment information, it is characterized in that, comprise the steps:
A, network management system load provides SNMPTrap to handle all dynamic base of function;
B, call export function, obtain respectively to handle the corresponding relation between the identification marking of the SNMPTrap that function and this processing function of sign resolved from dynamic base, and this corresponding relation is kept in the network management system;
Extract identification marking among the SNMP Trap that C, slave unit report, and obtain the processing function of resolving this SNMP Trap by described corresponding relation;
The processing function that D, utilization are obtained resolves to unified structural information with the SNMP Trap that equipment reports, and by network management system this information is handled.
2, the method for claim 1 is characterized in that, it is identical and be used to export the export function of handling function and identification marking corresponding relation that each dynamic base has title, obtains described corresponding relation by calling this export function.
3, method as claimed in claim 2 is characterized in that, when dynamic base has a plurality of processing function, exports each and handles corresponding relation between function and the identification marking.
As claim 1,2 or 3 described methods, it is characterized in that 4, when network management system adopted the SNMPV1 agreement, described identification marking was the EnterpriseID field among the SNMP Trap.
As claim 1,2 or 3 described methods, it is characterized in that 5, when network management system adopted SNMPV2c or SNMP V3 agreement, described identification marking was the SNMP TrapOid field among the SNMP Trap.
6, a kind of management system comprises processor and memory, it is characterized in that, also comprises:
First device is used to provide the processing function of the SNMP Trap that analyzing device reports, and handles between the identification marking of the SNMP Trap that function and this processing function of sign resolved and have corresponding relation;
Second device is used to call export function, obtains described corresponding relation and is stored in the system from first device;
The 3rd device, be used for the SNMP Trap that slave unit reports and extract identification marking, utilize this sign from second device, to find the processing function of resolving this SNMP Trap, and from first device, call this function and resolve this SNMP Trap and the unified structural information of output;
The 4th device is handled the unified structural information of the 3rd device output.
7, management system as claimed in claim 6 is characterized in that, first device is for a plurality of, and each first device comprises one or more processing functions.
CNB2004100643214A 2004-08-23 2004-08-23 Method and system for processing equipment information in network management system Expired - Fee Related CN100344108C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100643214A CN100344108C (en) 2004-08-23 2004-08-23 Method and system for processing equipment information in network management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100643214A CN100344108C (en) 2004-08-23 2004-08-23 Method and system for processing equipment information in network management system

Publications (2)

Publication Number Publication Date
CN1741461A CN1741461A (en) 2006-03-01
CN100344108C true CN100344108C (en) 2007-10-17

Family

ID=36093686

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100643214A Expired - Fee Related CN100344108C (en) 2004-08-23 2004-08-23 Method and system for processing equipment information in network management system

Country Status (1)

Country Link
CN (1) CN100344108C (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217403B (en) * 2008-01-16 2010-09-29 中兴通讯股份有限公司 A realization method of alarming based on SNMP
CN101710862B (en) * 2009-11-17 2012-02-29 中兴通讯股份有限公司 Method and device for processing network management operation error message
CN103401859B (en) * 2013-07-29 2016-08-10 华为技术有限公司 A kind of method of protocol conversion and protocol converter
CN103532737B (en) * 2013-09-18 2017-02-01 瑞斯康达科技发展股份有限公司 Method, device and system for processing various types of alarms
CN103647667B (en) * 2013-12-13 2017-01-25 华为技术有限公司 Self-trapping Trap message processing method, management end and self-trapping Trap message processing system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000172601A (en) * 1998-12-04 2000-06-23 Matsushita Electric Ind Co Ltd Network system
CN1267415A (en) * 1997-08-14 2000-09-20 诺基亚网络有限公司 Centralized management of communication devices
CN1445671A (en) * 2002-03-15 2003-10-01 联想(北京)有限公司 Monitoring method for remote alarming information in real time and with accuracy position
CN1510865A (en) * 2002-12-24 2004-07-07 深圳市中兴通讯股份有限公司 Method for realizing network management and gateway

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1267415A (en) * 1997-08-14 2000-09-20 诺基亚网络有限公司 Centralized management of communication devices
JP2000172601A (en) * 1998-12-04 2000-06-23 Matsushita Electric Ind Co Ltd Network system
CN1445671A (en) * 2002-03-15 2003-10-01 联想(北京)有限公司 Monitoring method for remote alarming information in real time and with accuracy position
CN1510865A (en) * 2002-12-24 2004-07-07 深圳市中兴通讯股份有限公司 Method for realizing network management and gateway

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
SNMP Trap机制在网络故障管理中的应用 洪英,孙亚民,现代计算机,第177期 2003 *

Also Published As

Publication number Publication date
CN1741461A (en) 2006-03-01

Similar Documents

Publication Publication Date Title
CN1928873A (en) System and method for database access for implementing load sharing
CN109376142B (en) Data migration method and terminal equipment
CN113010378B (en) Log processing method and device of microservice module, storage medium and electronic device
CN103581130A (en) Data compression processing method, system and device
CN1547397A (en) A single board version management method for plug and play
CN1609829A (en) Plug-and-play method for USB equipment under linux operation system
EP2395438A1 (en) Character string processing method and system and matcher
CN100344108C (en) Method and system for processing equipment information in network management system
CN101080075A (en) A menu-configurable mobile terminal and its menu configuration method
CN1753402A (en) Method of using simple network management protocol to act multirariant block inquiry
CN1467656A (en) Information sending method and system for instant communication tool
CN1750667A (en) Method for obtaining updating power information of mobile terminal
CN1633080A (en) Method for implementing log in network management system
CN1859158A (en) Command line conflict detecting and service configuration realizing method
CN1863193A (en) Method for implementing safety tactics of network safety apparatus
CN101694661B (en) Method and device for generating statistical form and statistical server
CN1567829A (en) General purpose data file conversion method
CN1199997A (en) Method of modifying home location register (HLR) system database for digital wireless communication
CN104753891A (en) XML (Extensive Markup Language) message analyzing method and device
CN1946035A (en) Method for managing net element data configuration and net element
CN1744725A (en) Method for memorying data flow in single-board
CN1967528A (en) Data matching inquiry method based on key words
CN1798147A (en) Method for matching uniform resource locator
CN1317868C (en) Communication message treatment equipment based on class template like management apparatus and method
CN1889466A (en) Network maintenance method and apparatus

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

Termination date: 20150823

EXPY Termination of patent right or utility model