CN102045202A - Method and device for updating simple network management protocol management data - Google Patents

Method and device for updating simple network management protocol management data Download PDF

Info

Publication number
CN102045202A
CN102045202A CN2010106081659A CN201010608165A CN102045202A CN 102045202 A CN102045202 A CN 102045202A CN 2010106081659 A CN2010106081659 A CN 2010106081659A CN 201010608165 A CN201010608165 A CN 201010608165A CN 102045202 A CN102045202 A CN 102045202A
Authority
CN
China
Prior art keywords
agent equipment
data
mib
management
sub
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.)
Granted
Application number
CN2010106081659A
Other languages
Chinese (zh)
Other versions
CN102045202B (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.)
Innovation Technology Co., Ltd.
Shenzhen Innovation Technology Co., Ltd.
Original Assignee
UIT STORAGE TECHNOLOGY (SHENZHEN) Co Ltd
Innovation And Technology Storage Technology 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 UIT STORAGE TECHNOLOGY (SHENZHEN) Co Ltd, Innovation And Technology Storage Technology Co Ltd filed Critical UIT STORAGE TECHNOLOGY (SHENZHEN) Co Ltd
Priority to CN2010106081659A priority Critical patent/CN102045202B/en
Publication of CN102045202A publication Critical patent/CN102045202A/en
Application granted granted Critical
Publication of CN102045202B publication Critical patent/CN102045202B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention discloses a method and a device for updating simple network management protocol (SNMP) management data. When a management end device needs latest management data, main agent equipment does not immediately send the management data in a management information base (MIB) through sub agent equipment; the sub agent equipment cancels a data area in the current MIB, triggers system data acquisition equipment to acquire latest management data, fills the acquired management data into the MIB, then reregisters the data area in the MIB to the main agent equipment, and sends the latest management data to the main agent equipment; and the main agent equipment sends the latest management data to the management end device. Therefore, a managed end device does not actively update the management data, but executes update when the management end device needs the new management data, equivalently passive update, so system performance loss and input output (IO) load are lightened.

Description

The update method of simple network management protocol management data and device
Technical field
The present invention relates to the Data Update technology, particularly a kind of renewal Simple Network Management Protocol (SNMP, Simple Network Management Protocol) method of managing data and device.
Background technology
The SNMP system comprises management end device and Managed Client device, and wherein the Managed Client device comprises master agent equipment, sub agent equipment, management information base (MIB, Management InformationBase) and system data collecting device again.Above-mentioned sub agent equipment needs to the master agent facility registration, is data field among the sub agent devices allocation MIB by master agent equipment, by the system data collecting device management information that collects is filled into this data field.
In the prior art, the update method that mainly has following two kinds of snmp management data at present:
The first, Fig. 1 is the theory diagram of the update method of first kind of snmp management data in the prior art, in this update method, after the system data collecting device obtains new management data, new management data is filled into is the data field of sub agent devices allocation among the MIB, notify the master agent equipment management data to upgrade simultaneously, master agent equipment obtains new management data by sub agent equipment from MIB.After master agent equipment receives the browsing data order of management end transmission, new management data is sent to the management end device.
The second, Fig. 2 is the theory diagram of the update method of second kind of snmp management data in the prior art, in this update method, in sub agent equipment, timer is set, whenever the timer timing is overtime, sub agent device trigger system data collecting device is gathered current management data and is filled into and is the data field of sub agent devices allocation among the MIB.After master agent equipment receives the browsing data order of management end transmission, from MIB, obtain new management data by sub agent equipment, send to the management end device then.
As can be seen, the update method of above-mentioned any management data no matter, all be initiatively to carry out renewal by the Managed Client device, in the time of may appearing at the management end device and not needing new management data, the Managed Client device also in the situation of bringing in constant renewal in management data, has so just increased system performance loss and input and output (IO) load.
Summary of the invention
The invention provides a kind of update method of snmp management data, use this method can mitigation system performance loss and IO load.
The invention provides a kind of updating device of snmp management data, use this device can mitigation system performance loss and IO load.
Technical scheme of the present invention is achieved in that
A kind of update method of snmp management data, the Managed Client device comprises: master agent equipment, sub agent equipment, system data collecting device and management information bank MIB; Key is that this method comprises:
The browsing data order that master agent equipment and sub agent equipment receiving management end device send;
Sub agent equipment is nullified the data field among the current MIB;
Sub agent device trigger system data collecting device is filled into data field among the MIB with up-to-date management data, and sub agent equipment obtains the up-to-date management data of the data field that is filled among the MIB;
Sub agent equipment re-registers the data field among the MIB;
Sub agent equipment sends up-to-date management data by master agent equipment to the management end device.
A kind of updating device of snmp management data, this device comprises: master agent equipment, sub agent equipment, system data collecting device and management information bank MIB; Key is,
Described master agent equipment is used for the browsing data order that the receiving management end device sends; Receive the up-to-date management data that sub agent equipment sends, send to the management end device;
Described sub agent equipment is used for the browsing data order that the receiving management end device sends; Nullify the data field among the current MIB; Triggering system data acquisition equipment executable operations; Obtain the up-to-date management data of the data field among the MIB; Re-register data field among the MIB to master agent equipment; Up-to-date management data is sent to master agent equipment;
Described system data collecting device, by the sub agent device trigger, the data field that is used for gathering up-to-date management data and is filled into MIB.
As seen, in the update method of snmp management data of the present invention, when the management end device needs up-to-date management data, master agent equipment can't send to the management end device with existing management data among the MIB at once by sub agent equipment, but by the data field among the current MIB of sub agent equipment elder generation cancellation, the up-to-date management data of triggering system data acquisition equipment collection is filled among the MIB again, re-register data field among the MIB to master agent equipment then, up-to-date management data is sent to master agent equipment, and this moment, master agent equipment sent to the management end device with up-to-date management data again.Thus, the Managed Client device is not a renewal management data initiatively, but when the management end device needs up-to-date management data, just goes to carry out and upgrade, and is equivalent to a kind of passive renewal, has alleviated system performance loss and IO load.
Description of drawings
Fig. 1 is the theory diagram of the update method of first kind of snmp management data in the prior art;
Fig. 2 is the theory diagram of the update method of second kind of snmp management data in the prior art;
Fig. 3 is the flow chart of the update method of snmp management data among the present invention;
Fig. 4 is the structural representation of the updating device of snmp management data among the present invention.
Embodiment
For making objects and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with drawings and Examples.
Fig. 3 is the flow chart of the update method of snmp management data among the present invention, and this flow process comprises:
Step 301: master agent equipment and sub agent equipment receiving management jacket and shorts are put the browsing data order of transmission.
In this step, the management end device can be to master agent equipment sending data navigation commands, and master agent equipment is transmitted to sub agent equipment with this browsing data order then.
Step 302: sub agent equipment is nullified the data field among the current MIB.
Step 303: sub agent device trigger system data collecting device is filled into data field among the MIB with up-to-date management data, and sub agent equipment obtains the up-to-date management data of the data field that is filled among the MIB.
Step 304: sub agent equipment re-registers the data field among the MIB.
Step 305: sub agent equipment sends up-to-date management data by master agent equipment to the management end device.
In this step, sub agent equipment can be carried at up-to-date management data in the browsing data response command and send to master agent equipment, and master agent equipment sends to the management end device with this browsing data response command again.
As seen, in the update method of snmp management data of the present invention, when the management end device needs up-to-date management data, master agent equipment can't send to the management end device with existing management data among the MIB at once by sub agent equipment, but by the data field among the current MIB of sub agent equipment elder generation cancellation, the up-to-date management data of triggering system data acquisition equipment collection is filled among the MIB again, re-register data field among the MIB to master agent equipment then, up-to-date management data is sent to master agent equipment, and this moment, master agent equipment sent to the management end device with up-to-date management data again.Thus, the Managed Client device is not a renewal management data initiatively, but when the management end device needs new management data, just goes to carry out and upgrade, and is equivalent to a kind of passive renewal, has alleviated system performance loss and IO load.
Sub agent equipment is finished various operations by run time version usually, and in order to realize the operation of above-mentioned steps 302~305, the present invention embeds cancellation function, stuffing function, registration function and browsing data function at the code of sub agent equipment.
In above-mentioned steps 302, sub agent equipment empties the data field among the current MIB by calling the cancellation function.
In above-mentioned steps 303, sub agent equipment is by calling stuffing function, and up-to-date management data is filled in the data field of triggering system data acquisition equipment in MIB, and obtains the up-to-date management data of the data field that is filled among the MIB.
In above-mentioned steps 304, sub agent equipment is by calling registration function, re-registers data field among the MIB, and up-to-date management data sent to master agent equipment to master agent equipment.
In above-mentioned steps 305, sub agent equipment sends the browsing data response command that carries up-to-date management data by calling the browsing data function to master agent equipment.
Fig. 4 is the structural representation of the device of snmp management Data Update among the present invention, and this device comprises: master agent equipment, sub agent equipment, system data collecting device and MIB.
Above-mentioned master agent equipment is used for the browsing data order that the receiving management end device sends; Receive the up-to-date management data that sub agent equipment sends, send to the management end device.
Above-mentioned sub agent equipment is used for the browsing data order that the receiving management end device sends; Nullify the data field among the current MIB; Triggering system data acquisition equipment executable operations; Obtain the up-to-date management data of the data field among the MIB; Re-register data field among the MIB to master agent equipment, described up-to-date management data is sent to master agent equipment.
The said system data acquisition equipment, by the sub agent device trigger, the data field that is used for gathering up-to-date management data and is filled into MIB.
As a kind of execution mode, can comprise receiving element, transmitting element and the first cancellation registering unit in the above-mentioned master agent equipment again, can comprise the trigger element and the second cancellation registering unit in the above-mentioned sub agent equipment again.
Above-mentioned receiving element is used for the browsing data order that the receiving management end device sends, and sends to described transmitting element; Receive the browsing data response command that sub agent equipment sends, send to described transmitting element.
Above-mentioned transmitting element is used for sending described browsing data order to described sub agent equipment; Described browsing data response command is sent to the management end device.
Above-mentioned first nullifies registering unit, is used for receiving the cancellation of sub agent equipment to the data field of current MIB; Receive sub agent equipment again to the registration of the data field among the MIB.
Above-mentioned trigger element is used for after receiving the browsing data order that described master agent equipment sends, and triggers described system data collecting device up-to-date management data is filled into data field among the MIB.
Above-mentioned second nullifies registering unit, is used for after receiving the browsing data order that described master agent equipment sends, and nullifies data field among the current MIB to master agent equipment; Obtain the up-to-date management data of the data field that is filled among the MIB, re-register data field among the MIB to master agent equipment; Described up-to-date management data is carried at sends to master agent equipment in the browsing data response command.
Device among the present invention is according to the method executable operations among the present invention.
In sum, more than be preferred embodiment of the present invention only, be not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (6)

1. the update method of simple network management protocol management data, the Managed Client device comprises: master agent equipment, sub agent equipment, system data collecting device and management information bank MIB; It is characterized in that this method comprises:
The browsing data order that master agent equipment and sub agent equipment receiving management end device send;
Sub agent equipment is nullified the data field among the current MIB;
Sub agent device trigger system data collecting device is filled into data field among the MIB with up-to-date management data, and sub agent equipment obtains the up-to-date management data of the data field that is filled among the MIB;
Sub agent equipment re-registers the data field among the MIB;
Sub agent equipment sends up-to-date management data by master agent equipment to the management end device.
2. the method for claim 1, it is characterized in that, the browsing data order that described master agent equipment and sub agent equipment receiving management end device send is: the browsing data order that master agent equipment receiving management end device sends, master agent equipment is transmitted to sub agent equipment with described browsing data order.
3. method as claimed in claim 2, it is characterized in that, described sub agent equipment sends up-to-date management data by master agent equipment to the management end device: sub agent equipment sends the browsing data response command that carries up-to-date management data to master agent equipment, and master agent equipment is transmitted described browsing data response command to the management end device.
4. the method for claim 1 is characterized in that, the data field that described sub agent equipment is nullified among the current MIB is: sub agent empties the data field among the current MIB.
5. the updating device of simple network management protocol management data, this device comprises: master agent equipment, sub agent equipment, system data collecting device and management information bank MIB; It is characterized in that,
Described master agent equipment is used for the browsing data order that the receiving management end device sends; Receive the up-to-date management data that sub agent equipment sends, send to the management end device;
Described sub agent equipment is used for the browsing data order that the receiving management end device sends; Nullify the data field among the current MIB; Triggering system data acquisition equipment executable operations; Obtain the up-to-date management data of the data field among the MIB; Re-register data field among the MIB to master agent equipment; Up-to-date management data is sent to master agent equipment;
Described system data collecting device, by the sub agent device trigger, the data field that is used for gathering up-to-date management data and is filled into MIB.
6. device as claimed in claim 5 is characterized in that, comprises in the described master agent equipment: receiving element, transmitting element and first are nullified registering unit; Comprise in the described sub agent equipment: trigger element and second is nullified registering unit;
Described receiving element is used for the browsing data order that the receiving management end device sends, and sends to described first transmitting element; Receive the browsing data response command that sub agent equipment sends, send to described transmitting element;
Described transmitting element is used for sending described browsing data order to described sub agent equipment; Described browsing data response command is sent to the management end device;
Described first nullifies registering unit, is used for receiving the cancellation of sub agent equipment to the data field of current MIB; Receive sub agent equipment again to the registration of the data field among the MIB;
Described trigger element is used for after receiving the browsing data order that described master agent equipment sends, and triggers described system data collecting device up-to-date management data is filled into data field among the MIB;
Described second nullifies registering unit, is used for after receiving the browsing data order that described master agent equipment sends, and nullifies data field among the current MIB to master agent equipment; Obtain the up-to-date management data of the data field that is filled among the MIB, re-register data field among the MIB to master agent equipment; Described up-to-date management data is carried at sends to master agent equipment in the browsing data response command.
CN2010106081659A 2010-12-16 2010-12-16 Method and device for updating simple network management protocol management data Active CN102045202B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010106081659A CN102045202B (en) 2010-12-16 2010-12-16 Method and device for updating simple network management protocol management data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010106081659A CN102045202B (en) 2010-12-16 2010-12-16 Method and device for updating simple network management protocol management data

Publications (2)

Publication Number Publication Date
CN102045202A true CN102045202A (en) 2011-05-04
CN102045202B CN102045202B (en) 2012-11-21

Family

ID=43911016

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010106081659A Active CN102045202B (en) 2010-12-16 2010-12-16 Method and device for updating simple network management protocol management data

Country Status (1)

Country Link
CN (1) CN102045202B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6539540B1 (en) * 1999-05-24 2003-03-25 3Com Corporation Methods and apparatus for optimizing simple network management protocol (SNMP) requests
CN101355453A (en) * 2008-09-08 2009-01-28 创新科存储技术(深圳)有限公司 Operation management maintenance proxy apparatus and method for implementing network management
CN101729530A (en) * 2009-10-30 2010-06-09 中兴通讯股份有限公司 Data synchronization method and data synchronization system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6539540B1 (en) * 1999-05-24 2003-03-25 3Com Corporation Methods and apparatus for optimizing simple network management protocol (SNMP) requests
CN101355453A (en) * 2008-09-08 2009-01-28 创新科存储技术(深圳)有限公司 Operation management maintenance proxy apparatus and method for implementing network management
CN101729530A (en) * 2009-10-30 2010-06-09 中兴通讯股份有限公司 Data synchronization method and data synchronization system

Also Published As

Publication number Publication date
CN102045202B (en) 2012-11-21

Similar Documents

Publication Publication Date Title
CN100391291C (en) Data backing-up and recovering method and system
JP5144659B2 (en) Methods, systems, and terminals for maintaining capability management objects and managing capabilities
CN102456052B (en) Method for data synchronization between embedded device and database
KR101844425B1 (en) A method and an apparatus for reconfiguring protocol of an application program
CN102196373B (en) Short message alarm system and short message alarm method
CN101594376B (en) Method and corresponding device for registering CIM provider to CIMOM
CN109412833A (en) A kind of management system and method for shared device
CN103678133A (en) Task scheduling system for application software cloud testing
CN102014320B (en) Method for uploading and downloading local side device configuration data in PON (passive optical network) system
CN103248512A (en) Method and system for generating topological structure of application layer in communication network
CN102142971A (en) Monitoring system and monitoring method for realizing subscription-collection mechanism
CN102821142A (en) Mobile network management server, mobile terminal and method for updating contact list
CN102624762A (en) Method for improving robot software function based on cloud computing and cloud computing server
CN102209335A (en) Method and device for acquiring user data of multiple network element platforms
CN102412993A (en) Method and system for automatically displaying multiple terminals in XML (Extensive Makeup Language) interface
CN105871607B (en) Information processing method and service platform
CN106161642A (en) Network equipment long-distance management method, platform and system
CN104462166A (en) Report generation method and system
KR20160103110A (en) Network element data access method and apparatus, and network management system
US8327391B2 (en) Method, system and apparatus for transmitting remote procedure call commands
WO2010012157A1 (en) Device description framework information reporting and updating method, device and system
CN102045202B (en) Method and device for updating simple network management protocol management data
CN110781058B (en) Mobile terminal application performance data acquisition method, device, equipment and medium
CN103139806B (en) Method and base station of the webmaster with base station configuration data decoupling
CN108037940A (en) The online upgrading method and device of book self-help equipment

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Room 505, Taixing Building, 11 Garden East Road, Haidian District, Beijing, 100191

Co-patentee after: Shenzhen Innovation Technology Co., Ltd.

Patentee after: Innovation Technology Co., Ltd.

Address before: Room 0801-0810, 51 College Road, Haidian District, Beijing, 100191

Co-patentee before: UIT Storage Technology (Shenzhen) Co., Ltd.

Patentee before: Innovation and Technology Storage Technology Co., Ltd.