CN102223255A - Method and system for quickly synchronizing information of network management system and network equipment based on simple network management protocol (SNMP) - Google Patents

Method and system for quickly synchronizing information of network management system and network equipment based on simple network management protocol (SNMP) Download PDF

Info

Publication number
CN102223255A
CN102223255A CN2011101866050A CN201110186605A CN102223255A CN 102223255 A CN102223255 A CN 102223255A CN 2011101866050 A CN2011101866050 A CN 2011101866050A CN 201110186605 A CN201110186605 A CN 201110186605A CN 102223255 A CN102223255 A CN 102223255A
Authority
CN
China
Prior art keywords
information
count value
function group
network management
snmp
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.)
Pending
Application number
CN2011101866050A
Other languages
Chinese (zh)
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.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu Communication 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 Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN2011101866050A priority Critical patent/CN102223255A/en
Publication of CN102223255A publication Critical patent/CN102223255A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

The invention relates to a network equipment management technology and discloses a method for quickly synchronizing the information of a network management system and network equipment based on a simple network management protocol (SNMP). By the method, the problems of low efficiency of information synchronization of the network management system and the network equipment and occupation of a large amount of bandwidth in the prior art are solved. The invention adopts the technical scheme that: by dividing functional groups for the information of a management information base (MIB) of the equipment and designing corresponding modification counters to count modification situations, during synchronization, the network management system pre-reads counting values of the modification counters which correspond to the functional groups of the equipment, determines that the information of some functional groups changes, and reads and updates only the changing information of the functional groups. Because not all information of the functional groups is required to be read, the quantity of messages to be interacted is greatly reduced, an information updating speed is improved, and network flow is reduced. Moreover, the invention also provides a system for quickly synchronizing the information of the network management system and the network equipment based on the SNMP. The system is applicable to quick synchronization of the network management system and managed equipment.

Description

A kind of based on SNMP and the quick synchronous method and system of facility information
Technical field
The present invention relates to the network device management technology, relate to a kind of network management system and quick synchronous method of network equipment information specifically based on snmp protocol.
Background technology
Present most of network equipment product has all been realized managing and disposing by SNMP (Simple Network Management Protocol, Simple Network Management Protocol) agreement; SNMP is a request/response protocol that adopts polling mechanism, be the SNMP proxy module transmission administration order of hypervisor in the network equipment in the network management system, the order of SNMP proxy module receiving management is also carried out, and sends to hypervisor then and carries out response; In addition, the SNMP proxy module is constantly monitored the node device at place, just initiatively sends alarm to hypervisor immediately in case some anomalous event takes place.After network management system is received the SNMP configuring request, according to message content operation corresponding M IB (management information bank) list item, each MIB list item is finished oneself independently function, such as: when needs carry out system upgrade, network management system passes to the configuration information of necessity the system version administration module of the network equipment by snmp protocol, this module is obtained redaction according to modes such as configuration information use FTP/TFTP, thereby realizes system upgrade.
When the network equipment being managed by snmp protocol, for facility information and network equipment actual conditions on the network management system are consistent, often needs and facility information carry out synchronously, when device configuration information more for a long time, usually need to send thousands of query message, cause the network management system sluggish, influence bookkeeping.
For information synchronization, current mode commonly used is that network management system reads all mib informations of the network equipment once by the SNMP message, information with network management system this locality compares then, judge whether to need to upgrade according to comparable situation, this mode logic is simple, but under the big situation of network equipment information amount, can read for a long time, take a large amount of network bandwidths.
Summary of the invention
Technical problem to be solved by this invention is: propose a kind ofly based on SNMP and facility information synchronous method fast, solve the problem that network management system and network equipment information synchronous efficiency in the conventional art are low, take massive band width.
The present invention solves the problems of the technologies described above the scheme that is adopted: a kind of based on SNMP and the quick synchronous method of facility information, comprising:
A. equipment divides and revises counting step to its mib information:
A1. equipment is to its mib information partition functionality group;
A2. be that each function group is set a modification counter;
A3. utilize the modification counter that the modification situation of corresponding function group is counted;
B. network management system and facility information synchronizing step:
B1. during initialization, network management system reads the count value of all functions group of the local equipment of preserving and corresponding modification counter and loads;
B2. when network management system synchronizer information, the count value of the modification counter of all functions group of fetch equipment at first;
B3. network management system compares the count value that reads and the count value in the local system, finds out the pairing function group of vicissitudinous count value, and reads the information of this function group;
B4. network management system is according to the function group information in the information updating local system of the pairing function group of vicissitudinous count value in the equipment.
Further, among the step a1, equipment according to the function of its mib information and Changing Pattern to mib information partition functionality group.
Further, among the step a3, equipment utilization is revised the concrete grammar that counter counts the modification situation of corresponding function group and is: when equipment was received control command, the count value of the modification counter of the function group correspondence that this control command is had influence on added up.
Concrete, described control command is snmp order or shell-command or web order.
Further, also comprise step among the step a:
A4. after equipment is restarted at every turn, to the count value zero clearing of all modification counters.
Further, also comprise step among the step b:
B5. network management system is updated to last look with the count value of the modification counter of function group correspondence in the local system.
Another object of the present invention is, provides a kind of based on SNMP and facility information synchronous system fast, and concrete scheme is, describedly comprises network management workstation and at least one managed devices based on the synchronous fast system of SNMP and facility information,
Described managed devices is used for management information bank mib information partition functionality group, for each function group is set a modification counter, and revises the modification counter of corresponding function group when its configuration information changes;
Described management work station, the modification counter that is used for the function group of managed devices that this locality is preserved, compare with the modification counter of the corresponding function group of obtaining in the slave unit, find out the pairing function group of vicissitudinous modification counter, and according to the function group information of information updating this locality of the pairing function group of vicissitudinous count value.
Concrete, described managed devices comprises:
The function group is divided module, is used for according to the function of place equipment mib information and Changing Pattern mib information partition functionality group;
Counter module is used to the upright corresponding counter of each function formation, and according to the corresponding count value of revising counter of the modifications of each function group;
The SNMP proxy module is used to receive the synchronization request information of network management workstation, and sends the count value or the function group information of the modification counter of all functions group correspondence to network management workstation according to described request information.
Concrete, described management work station comprises:
The initialization load-on module is used to read all functions group of the local managed devices of preserving and corresponding modification counter and loading;
Synchronization module, be used to read the count value of modification counter of all functions group of managed devices, and the count value that reads and the local count value that loads compared, find out the pairing function group of vicissitudinous count value, and read the relevant mib information of information updating of this function group;
Update module is used for the count value of the modification counter of local system function group correspondence is updated to last look.
More excellent, described counter module also is used for after managed devices is restarted the count value zero clearing with the modification counter of all functions group correspondence.
The invention has the beneficial effects as follows: carry out the partition functionality group and design the corresponding modification counter modification situation is counted by mib information to equipment, carrying out when synchronous, network management system is the count value of the modification counter of the function group correspondence of fetch equipment in advance then, variation has taken place in the information of judging which function group, only the information to the function group that changed reads renewal, owing to do not need to read the information of all function groups, therefore having significantly reduced needs mutual message amount, accelerate information updating speed, reduced network traffics.
Description of drawings
Fig. 1 is the flow chart that counting embodiment was divided and revised to the mib information of the equipment in the synchronous fast method of SNMP and facility information that the present invention is based on;
Fig. 2 is the flow chart that the present invention is based on network management system and facility information synchronization implementation example in the synchronous fast method of SNMP and facility information;
Fig. 3 is the structured flowchart that the present invention is based on SNMP and the quick synchro system embodiment of facility information;
Fig. 4 is the structured flowchart that the present invention is based on managed devices embodiment in SNMP and the quick synchro system of facility information;
Fig. 5 is the structured flowchart that the present invention is based on management work station in SNMP and the quick synchro system of facility information.
Embodiment
The invention will be further described below in conjunction with drawings and Examples.
Network management system and network equipment information adopt whole mib informations of fetch equipment synchronously in the conventional art, compare the mode of renewal again, and this mode synchronous efficiency is low, take massive band width.At the problems referred to above, the present invention proposes a kind of based on SNMP and the quick synchronous method of facility information, undertaken by mib information that the function group is divided and design corresponding modification counter is counted the modification situation to equipment, when carrying out information synchronization, network management system is the count value of the modification counter of the MIB function group correspondence of fetch equipment in advance then, variation has taken place in the information of judging which function group, only the information of the function group that changed is read and upgrade, owing to do not need to read the information of all MIB function groups, therefore having significantly reduced needs mutual message amount, accelerate information updating speed, reduced network traffics.This programme often carries out in the network management system of information synchronization with equipment at needs, such as transmitting the class network management system, bigger using value is arranged.
Embodiment:
Network management system in this example and the fast synchronization method between the equipment are divided into the two large divisions: counting step is divided and revised to the mib information of a. equipment; B. network management system and facility information synchronizing step.
Counting step is divided and revised to the mib information of equipment referring to Fig. 1, and it adopts following means to realize:
A1. equipment is to its mib information partition functionality group: because the information change of equipment, certain rules being arranged normally, generally can not be comprehensive variation, therefore can divide according to the function of mib information and the regularity of change;
A2. set a modification counter for each function group: revise counter and can adopt software programming to realize, be used for the modification situation of function group is counted, as: the count value that will revise counter is initialized as zero, mib information in the function group is whenever once revised, just count value is added up 1;
A3. utilize the modification counter that the modification situation of the function group in the equipment is counted: when equipment is received control command, the count value of the modification counter of the function group correspondence that this control command is had influence on adds up: when equipment receives various control commands (as: snmp order, shell-command or web order etc.), at first judge the function group (promptly this control command is specifically at the mib information in which function group) that this control command has influence on, the count value to the modification counter of the correspondence of corresponding function group adds up 1 then;
A4. after equipment is restarted at every turn,, restart counting to the count value zero clearing of all modification counters.
Network management system and facility information synchronizing step are referring to Fig. 2, and it adopts following means to realize:
B1. network management system reads the count value of all functions group of the local equipment of preserving and corresponding modification counter and loads when initialization;
B2. when network management system synchronizer information, the count value of the modification counter of all functions group of fetch equipment at first;
B3. network management system compares the count value that reads and the count value in the local system, finds out the pairing function group of vicissitudinous count value, and reads the information of this function group;
B4. network management system is according to the function group information in the information updating local system of the pairing function group of vicissitudinous count value in the equipment;
B5. network management system is updated to last look with the count value of the modification counter of function group correspondence in the local system.
Referring to Fig. 3 is the structured flowchart that the present invention is based on SNMP and the quick synchro system embodiment of facility information.The system applies of the embodiment of the invention above-mentioned based on SNMP and facility information synchronous method fast, native system comprises network management workstation and n managed devices (n is the positive integer more than or equal to 1), described each managed devices, be used for management information bank mib information partition functionality group, for each function group is set a modification counter, and when changing, revises its configuration information the modification counter of corresponding function group; Described management work station, the modification counter that is used for the function group of managed devices that this locality is preserved, compare with the modification counter of the corresponding function group of obtaining in the slave unit, find out the pairing function group of vicissitudinous modification counter, and according to the function group information of information updating this locality of the pairing function group of vicissitudinous count value.
Referring to Fig. 4 is the structured flowchart that the present invention is based on managed devices embodiment in SNMP and the quick synchro system of facility information.Managed devices in the present embodiment comprises following three modules:
The function group is divided module, is used for according to the function of place equipment mib information and Changing Pattern mib information partition functionality group;
Counter module is used to the upright corresponding counter of each function formation, and according to the corresponding count value of revising counter of the modifications of each function group; Also be used for after managed devices is restarted count value zero clearing with the modification counter of all functions group correspondence.
The SNMP proxy module is used to receive the synchronization request information of network management workstation, and sends the count value or the function group information of the modification counter of all functions group correspondence to network management workstation according to described request information.
Referring to Fig. 5 is the structured flowchart that the present invention is based on management work station in SNMP and the quick synchro system of facility information.Network management workstation in the present embodiment comprises following three modules:
The initialization load-on module is used to read all functions group of the local managed devices of preserving and corresponding modification counter and loading;
Synchronization module, be used to read the count value of modification counter of all functions group of managed devices, and the count value that reads and the local count value that loads compared, find out the pairing function group of vicissitudinous count value, and read the relevant mib information of information updating of this function group;
The count value update module is used for the count value of the modification counter of local function group correspondence is updated to last look.

Claims (10)

1. one kind based on SNMP and facility information synchronous method fast, it is characterized in that, comprising:
A. equipment divides and revises counting step to its mib information:
A1. equipment is to its mib information partition functionality group;
A2. be that each function group is set a modification counter;
A3. utilize the modification counter that the modification situation of corresponding function group is counted;
B. network management system and facility information synchronizing step:
B1. during initialization, network management system reads all functions group and the corresponding modification counter of the local equipment of preserving and loads;
B2. when network management system synchronizer information, the count value of the modification counter of all functions group of fetch equipment at first;
B3. network management system compares the count value that reads and the count value in the local system, finds out the pairing function group of vicissitudinous count value, and reads the information of this function group;
B4. network management system is according to the function group information in the information updating local system of the pairing function group of vicissitudinous count value in the equipment.
2. as claimed in claim 1 a kind ofly it is characterized in that based on SNMP and facility information synchronous method fast, among the step a1, equipment according to the function of its mib information and Changing Pattern to mib information partition functionality group.
3. as claimed in claim 1 a kind of based on SNMP and the quick synchronous method of facility information, it is characterized in that, among the step a3, the concrete grammar that counter counts the modification situation of corresponding function group is revised in equipment utilization: when equipment was received control command, the count value of the modification counter of the function group correspondence that this control command is had influence on added up.
As claim 1-3 any one described a kind of based on SNMP and facility information synchronous method fast, it is characterized in that described control command is snmp order or shell-command or web order.
5. as claimed in claim 4 a kind ofly it is characterized in that, also comprise step among the step a based on SNMP and facility information synchronous method fast:
A4. after equipment is restarted at every turn, to the count value zero clearing of all modification counters.
6. as claim 1 to 5 any described a kind ofly it is characterized in that, also comprise step among the step b based on SNMP and facility information synchronous method fast:
B5. network management system is updated to last look with the count value of the modification counter of function group correspondence in the local system.
7. one kind based on SNMP and facility information synchronous system fast, comprises network management workstation and at least one managed devices, it is characterized in that:
Described managed devices is used for management information bank mib information partition functionality group, for each function group is set a modification counter, and revises the modification counter of corresponding function group when its configuration information changes;
Described management work station, the modification counter that is used for the function group of managed devices that this locality is preserved, compare with the modification counter of the corresponding function group of obtaining in the slave unit, find out the pairing function group of vicissitudinous modification counter, and according to the function group information of information updating this locality of the pairing function group of vicissitudinous count value.
8. as claimed in claim 7 a kind of based on SNMP and the quick synchronous system of facility information, it is characterized in that: described managed devices comprises:
The function group is divided module, is used for according to the function of place equipment mib information and Changing Pattern mib information partition functionality group;
Counter module is used to the upright corresponding modification counter of each function formation, and according to the corresponding count value of revising counter of the modifications of each function group;
The SNMP proxy module is used to receive the synchronization request information of network management workstation, and sends the count value or the function group information of the modification counter of all functions group correspondence to network management workstation according to described request information.
9. as claim 7 or 8 described a kind of based on SNMP and facility information synchronous system fast, it is characterized in that: described management work station comprises:
The initialization load-on module is used to read all functions group of the local managed devices of preserving and corresponding modification counter and loading;
Synchronization module, be used to read the count value of modification counter of all functions group of managed devices, and the count value that reads and the local count value that loads compared, find out the pairing function group of vicissitudinous count value, and read the relevant mib information of information updating of this function group;
The count value update module is used for the count value of the modification counter of local function group correspondence is updated to last look.
10. as claim 7 or 8 described a kind of based on SNMP and facility information synchronous system fast, it is characterized in that: described counter module also is used for after managed devices is restarted the count value zero clearing with the modification counter of all functions group correspondence.
CN2011101866050A 2011-07-05 2011-07-05 Method and system for quickly synchronizing information of network management system and network equipment based on simple network management protocol (SNMP) Pending CN102223255A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011101866050A CN102223255A (en) 2011-07-05 2011-07-05 Method and system for quickly synchronizing information of network management system and network equipment based on simple network management protocol (SNMP)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101866050A CN102223255A (en) 2011-07-05 2011-07-05 Method and system for quickly synchronizing information of network management system and network equipment based on simple network management protocol (SNMP)

Publications (1)

Publication Number Publication Date
CN102223255A true CN102223255A (en) 2011-10-19

Family

ID=44779688

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101866050A Pending CN102223255A (en) 2011-07-05 2011-07-05 Method and system for quickly synchronizing information of network management system and network equipment based on simple network management protocol (SNMP)

Country Status (1)

Country Link
CN (1) CN102223255A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103731251A (en) * 2012-10-12 2014-04-16 上海斐讯数据通信技术有限公司 Rack-mounted equipment card synchronization system and synchronization method thereof
CN104079440A (en) * 2014-07-24 2014-10-01 上海斐讯数据通信技术有限公司 Synchronous configuration method of primary equipment and stand-by equipment and SNMP (Simple Network Management Protocol) system
WO2016188499A1 (en) * 2015-11-05 2016-12-01 中兴通讯股份有限公司 Network management method and apparatus, network device and data synchronization system
CN109905293A (en) * 2019-03-12 2019-06-18 北京奇虎科技有限公司 A kind of terminal device recognition methods, system and storage medium
CN111726340A (en) * 2020-05-22 2020-09-29 东风汽车集团有限公司 Local network management method and system based on AUTOSAR

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101577646A (en) * 2009-06-22 2009-11-11 武汉烽火网络有限责任公司 Alarm synchronizing method based on SNMP

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101577646A (en) * 2009-06-22 2009-11-11 武汉烽火网络有限责任公司 Alarm synchronizing method based on SNMP

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103731251A (en) * 2012-10-12 2014-04-16 上海斐讯数据通信技术有限公司 Rack-mounted equipment card synchronization system and synchronization method thereof
CN104079440A (en) * 2014-07-24 2014-10-01 上海斐讯数据通信技术有限公司 Synchronous configuration method of primary equipment and stand-by equipment and SNMP (Simple Network Management Protocol) system
CN104079440B (en) * 2014-07-24 2018-04-10 上海斐讯数据通信技术有限公司 The method and SNMP systems that a kind of host apparatus synchronously configures with stand-by equipment
WO2016188499A1 (en) * 2015-11-05 2016-12-01 中兴通讯股份有限公司 Network management method and apparatus, network device and data synchronization system
CN109905293A (en) * 2019-03-12 2019-06-18 北京奇虎科技有限公司 A kind of terminal device recognition methods, system and storage medium
CN111726340A (en) * 2020-05-22 2020-09-29 东风汽车集团有限公司 Local network management method and system based on AUTOSAR

Similar Documents

Publication Publication Date Title
CN102223255A (en) Method and system for quickly synchronizing information of network management system and network equipment based on simple network management protocol (SNMP)
CN101902473B (en) Method for synchronously updating data based on grid GIS (Geographic Information System)
US9654995B2 (en) Method, device, and systems for managing access points controlled by an access point controller
CN103024060A (en) Open type cloud computing monitoring system for large scale cluster and method thereof
US10305727B2 (en) Method, apparatus and system for controlling self-optimization switch
EP3304810B1 (en) Network function virtualisation
CN104199666A (en) Dynamic configuration method and device for application program
CN111083058B (en) Content distribution network service flow limiting method and electronic equipment
CN101083557A (en) SNMP based IP network cluster managerial approach
CN109831334B (en) Network topology construction method and device and terminal equipment
CN107404509B (en) Distributed service configuration system and information management method
CN112416969B (en) Parallel task scheduling system in distributed database
CN113037771B (en) Method and device for controlling device shadow, storage medium and electronic device
CN105323106A (en) Software upgrade management method, equipment and system
CN103036736A (en) Configuration equipment monitoring system and monitoring method based on data sources
CN113778615B (en) Rapid and stable network shooting range virtual machine construction system
CN106302028B (en) Flow monitoring method and device
CN104394209A (en) Real-time database data transmission method applied to distributive energy management
CN110324167B (en) Configuration method, device and system of service governance rules and electronic equipment
CN101893876A (en) Control network design for large-scale distributed control system
CN110321145B (en) System, method and device for upgrading multi-connected cluster system unit
CN111258840B (en) Cluster node management method and device and cluster
CN103401694B (en) A kind of method and system for realizing node administration
CN105337781A (en) Network management system and method and network system
CN104079440A (en) Synchronous configuration method of primary equipment and stand-by equipment and SNMP (Simple Network Management Protocol) system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20111019