CN107294749A - A kind of system and method for updating management information bank MIB - Google Patents
A kind of system and method for updating management information bank MIB Download PDFInfo
- Publication number
- CN107294749A CN107294749A CN201610201691.0A CN201610201691A CN107294749A CN 107294749 A CN107294749 A CN 107294749A CN 201610201691 A CN201610201691 A CN 201610201691A CN 107294749 A CN107294749 A CN 107294749A
- Authority
- CN
- China
- Prior art keywords
- node
- renewal
- mib
- mib storehouses
- storehouses
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 230000005540 biological transmission Effects 0.000 claims abstract description 15
- 238000012544 monitoring process Methods 0.000 abstract description 11
- 230000006870 function Effects 0.000 description 37
- 238000010586 diagram Methods 0.000 description 11
- 238000012545 processing Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 6
- 238000004590 computer program Methods 0.000 description 5
- 238000012986 modification Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 241001269238 Data Species 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000004913 activation Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/02—Standardisation; Integration
- H04L41/0213—Standardised network management protocols, e.g. simple network management protocol [SNMP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/04—Network management architectures or arrangements
- H04L41/046—Network management architectures or arrangements comprising network management agents or mobile agents therefor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/085—Retrieval of network configuration; Tracking network configuration history
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
Abstract
The present invention provides a kind of system and method for updating management information bank MIB, and the system includes:Snmp management platform, central database, agency and and local data base;Snmp management platform is used to be updated the node in MIB storehouses, and the node after the renewal in MIB storehouses is sent to central database;And notified for the node updates that MIB storehouses are sent to agency;Central database is used to receive and preserve the node after the renewal in the MIB storehouses of snmp management platform transmission;When acting on behalf of for being notified in the node updates for receiving the MIB storehouses that snmp management platform is sent, the node after the renewal for obtaining MIB storehouses from central database, and the node obtained after updating is sent to local data base;Local data base is used to receive and preserve the node after the renewal in the MIB storehouses that agency obtains.The present invention can be avoided can not be to being managed the problem of main frame is monitored and being managed the problem of main frame turns into monitoring blind spot.
Description
Technical field
The present invention relates to information network technique field, more particularly to it is a kind of update management information bank MIB be
System and method.
Background technology
Simple Network Management Protocol (Simple Network Management Protocol, SNMP), by one
The standard composition of group network management, includes an application layer protocol (application layer protocol), number
According to storehouse model (database schema) and one group of resource object.The agreement can support NMS,
To monitor the equipment being connected on network.The agreement is Internet Engineering Task group (IETF, Internet
Engineering Task Force) part of internet (internet) protocol family that defines.SNMP's
Target is the main frame where the hardware and software platform of numerous manufacturer productions on managing internet.
In typical SNMP usages, snmp management platform management multiple host, what each was managed
An agency (agent) is run on main frame, each agency passes through snmp protocol to snmp management platform report
The state of each main frame being managed is accused, or snmp management platform active obtaining is managed the state of main frame,
Specifically, snmp management platform obtains quilt by GET, GETNEXT and GETBULK agreement instruction
The state of managing main frame, or the agency being managed on main frame use TRAP or INFORM to SNMP
Management platform sends the state of itself.
At present, snmp management platform can obtain be managed main frame CPU (Central Processing Unit,
Central processing unit) state, magnetic disc i/o (INPUT/OUTPUT, input/output) state, disk state
Deng.Snmp management platform passes through MIB (the Management Information that are managed in master agent
Base, public information management storehouse) storehouse realization is to the acquisition for the state for being managed main frame, specifically, MIB storehouses
There is provided most of monitoring function, one node of each monitoring function correspondence, one node of each node correspondence
Identify (OID), the node can be described as OID nodes, the node of difference in functionality defined in MIB storehouses,
Snmp management platform sends to obtain to agency and taken in the message for being managed Host Status, the proxy resolution message
The node identification of band, according to the node identification, calls and performs the script of respective nodes in MIB storehouses, obtain
Snmp management platform is returned to the snmp management platform state to be obtained, and by obtained state.
But, the characteristics of due to enterprise's own service, many enterprises, which need to have, monitors related to business characteristic
Monitoring function, accordingly, it would be desirable to develop self-defined MIB storehouses, configure and make by oneself in the self-defined MIB storehouses
Adopted node realizes the monitoring function.However, as the development User- defined Node of business may need to update at any time,
That is, self-defined MIB storehouses may need to update at any time.
That commonly uses at present, which updates the mode in self-defined MIB storehouses, is:
The agency in main frame is managed, the old self-defined MIB storehouses being managed in main frame are deleted;Receive SNMP
Self-defined MIB storehouses after the renewal that management platform is sent, the self-defined MIB storehouses after renewal are imported.This
When, because self-defined MIB storehouses in the form of function program to be present in Agent, therefore, it will update
Self-defined MIB storehouses afterwards are imported after agency, in addition it is also necessary to which restarting is managed the agency in main frame, ability
Self-defined MIB storehouses after activation renewal.
And the monitoring acted on behalf of and can interrupt snmp management platform to being managed main frame is restarted, cause in agency
In restarting process, it is impossible to being managed the problem of main frame is monitored;Also, it is being managed the system of main frame
In the case that resource is more nervous, if restarting agency, then the system resource for originally belonging to agency can
It is able to can be taken by other applications, so as to cause agency to start failure, being managed main frame turns into monitoring blind spot.
The content of the invention
The present invention provides a kind of system and method for updating management information bank MIB, to solve agency in weight
During opening, it is impossible to being managed the problem of main frame is monitored, and, it is managed main frame and is likely to become prison
The problem of controlling blind spot.
A kind of system for updating management information bank MIB, including:Simple Network Management Protocol snmp management
Platform, central database, agency and the local data base for belonging to same main frame with the agency;
The snmp management platform, is updated for the node to MIB storehouses, by the renewal in MIB storehouses
Node afterwards is sent to central database;And notified for the node updates that MIB storehouses are sent to the agency;
The central database, for receiving and preserving the MIB that the snmp management platform is sent
Node after the renewal in storehouse;
The agency, for receiving the node in the MIB storehouses that the snmp management platform is sent
During update notification, the node after the renewal for obtaining the MIB storehouses from the central database, and will obtain
The MIB storehouses renewal after node be sent to the local data base;
The local data base, for receiving and preserving described in the agency from central database acquisition
Node after the renewal in MIB storehouses.
In the system, the snmp management platform is when the node to MIB storehouses is updated, specifically
For:
The corresponding cryptographic Hash of script and node to the node in MIB storehouses is updated;
The central database in the node after preserving the renewal in the MIB storehouses, specifically for:
According to the node identification of the node after the renewal in the MIB storehouses, the node identification is searched corresponding more
The corresponding cryptographic Hash of node before the script of node before new and renewal, wherein, each node in MIB storehouses
Correspond to the node identification phase of the node identification and the node before renewal of the node after a node identification, and renewal
Together;
The script of node before renewal is replaced with to the script of the node after updating, and by the node before renewal
Corresponding cryptographic Hash replaces with the corresponding cryptographic Hash of node after updating.
The embodiment of the present invention can be easy to agency to pass through the node in central database by the renewal to cryptographic Hash
Corresponding cryptographic Hash is compared with the cryptographic Hash in local data base, so that it is determined that the node after updating, enters
And the node after updating is obtained from central database.
In the system, the agency is after the renewal for obtaining the MIB storehouses from the central database
During node, specifically for:
The node identification of the corresponding cryptographic Hash of each node and each node is obtained from the central database, and,
The node identification of the corresponding cryptographic Hash of each node and each node is obtained from the local data base;
Compare in central database and local data base, the corresponding cryptographic Hash of node identification identical node;
When determining that the corresponding cryptographic Hash of node identification identical node is different, the corresponding section of the node identification is determined
Point is the node after the renewal in the MIB storehouses;
According to the node identification of the node after the renewal in the MIB storehouses of determination, from the central database
The script of node after the middle renewal for obtaining the MIB storehouses and the node pair after the renewal in the MIB storehouses
The cryptographic Hash answered.
The embodiment of the present invention is corresponding by checking same node identification in central database and local data base
Whether cryptographic Hash is identical to determine the node being updated, so as to obtain the node after updating from central database.
In the system, the snmp management platform is sending the node in the MIB storehouses to the agency
During update notification, specifically for:
The node in the MIB storehouses for carrying the node identification that triggering updates running node is sent to the agency
Update notification, the corresponding function of script that the triggering updates running node is:Obtained from the central database
The node after the renewal in the MIB storehouses is taken, and the node after the renewal in the MIB storehouses of acquisition is sent
To the local data base;
Then the agency is receiving the node updates in the MIB storehouses that the snmp management platform is sent
After notice, the node after the renewal for obtaining the MIB storehouses from the central database, and by the institute of acquisition
When stating the node after the renewal in MIB storehouses and being sent to the local data base, specifically for:
The triggering carried in the node updates notice for parsing the MIB storehouses updates the node mark of running node
Know;
Call and perform the corresponding triggering renewal running node of node identification that the triggering updates running node
Script.
The embodiment of the present invention, defined in agency one triggering update running node, by the node realize from
Central database obtains the node after the renewal in the MIB storehouses, and by after the renewal in the MIB storehouses of acquisition
Node is sent to the local data base.
In the system, the node calls NET-SNMP to be defined in advance with variable structures
The custom object identifier OID nodes of register_mib function registrations in framework;The section of the node
Point identification includes the magic variables in root node and variable structures, and the root node is the MIB
The mark in storehouse, the magic variables are the Function Identification of node, and the magic variables of different nodes are different.
The present invention also provides a kind of method for updating management information bank MIB, including:
Simple Network Management Protocol snmp management platform is updated to the node in MIB storehouses, by MIB storehouses
Renewal after node send to central database, and the node updates for sending MIB storehouses to agency are notified;
The central database receives and preserves the MIB storehouses of the snmp management platform transmission more
Node after new;
The node updates that the agency receives the MIB storehouses that the snmp management platform is sent are notified
When, the node after the renewal for obtaining the MIB storehouses from the central database, and by the MIB of acquisition
Node after the renewal in storehouse is sent to local data base, and the local data base is arranged on same with the agency
In main frame;
The local data base receives and preserved the MIB storehouses that the agency obtains from central database
Node after renewal.
In methods described, the snmp management platform is updated to the node script in MIB storehouses, specifically
Including:
The corresponding cryptographic Hash of script and node to the node in MIB storehouses is updated;
The central database specifically preserves the node after the renewal in the MIB storehouses in the following way;
According to the node identification of the node after the renewal in the MIB storehouses, the node identification is searched corresponding more
The corresponding cryptographic Hash of node before the script of node before new and renewal, wherein, each node in MIB storehouses
Correspond to the node identification phase of the node identification and the node before renewal of the node after a node identification, and renewal
Together;
The script of node before renewal is replaced with to the script of the node after updating, and by the node before renewal
Corresponding cryptographic Hash replaces with the corresponding cryptographic Hash of node after updating.
In methods described, the section after the renewal that the agency obtains the MIB storehouses from the central database
Point, is specifically included:
The node identification of the corresponding cryptographic Hash of each node and each node is obtained from the central database, and,
The node identification of the corresponding cryptographic Hash of each node and each node is obtained from the local data base;
Compare in central database and local data base, the corresponding cryptographic Hash of node identification identical node;
When determining that the corresponding cryptographic Hash of node identification identical node is different, the corresponding section of the node identification is determined
Point is the node after the renewal in the MIB storehouses;
According to the node identification of the node after the renewal in the MIB storehouses of determination, from the central database
The script of node after the middle renewal for obtaining the MIB storehouses and the node pair after the renewal in the MIB storehouses
The cryptographic Hash answered.
In methods described, the snmp management platform sends the node in the MIB storehouses more to the agency
It is new to notify, specifically include:
The node in the MIB storehouses for carrying the node identification that triggering updates running node is sent to the agency
Update notification, the corresponding function of script that the triggering updates running node is:Obtained from the central database
The node after the renewal in the MIB storehouses is taken, and the node after the renewal in the MIB storehouses of acquisition is sent
To the local data base;
Then the node updates for acting on behalf of the MIB storehouses for receiving the snmp management platform transmission are led to
When knowing, the node after the renewal for obtaining the MIB storehouses from the central database, and by described in acquisition
Node after the renewal in MIB storehouses is sent to the local data base, specifically includes:
The triggering carried in the node updates notice for parsing the MIB storehouses updates the node mark of running node
Know;
Call and perform the corresponding triggering renewal running node of node identification that the triggering updates running node
Script.
In methods described, the node calls NET-SNMP to be defined in advance with variable structures
The custom object identifier OID nodes of register_mib function registrations in framework;The section of the node
Point identification includes the magic variables in root node and variable structures, and the root node is the MIB
The mark in storehouse, the magic variables are the Function Identification of node, and the magic variables of different nodes are different.
The present invention also provides a kind of method for updating management information bank MIB, including:
Agency receives the node updates in the MIB storehouses of Simple Network Management Protocol snmp management platform transmission
During notice, the node after the renewal for obtaining the MIB storehouses from central database, and by the MIB of acquisition
Node after the renewal in storehouse is sent to local data base, and the local data base is arranged on same with the agency
In main frame, the central database enters for preserving the snmp management platform in the node to MIB storehouses
Node after the renewal in the MIB storehouses that row is sent after updating, the local data base is used to preserve described
Node after the renewal in the MIB storehouses obtained from the central database that agency sends.
In methods described, the section after the renewal that the agency obtains the MIB storehouses from the central database
Point, is specifically included:
The node identification of the corresponding cryptographic Hash of each node and each node is obtained from the central database, and,
The node identification of the corresponding cryptographic Hash of each node and each node is obtained from the local data base;
Compare in central database and local data base, the corresponding cryptographic Hash of node identification identical node;
When determining that the corresponding cryptographic Hash of node identification identical node is different, the corresponding section of the node identification is determined
Point is the node after the renewal in the MIB storehouses;
According to the node identification of the node after the renewal in the MIB storehouses of determination, from the central database
The script of node after the middle renewal for obtaining the MIB storehouses and the node pair after the renewal in the MIB storehouses
The cryptographic Hash answered.
In methods described, the node calls NET-SNMP to be defined in advance with variable structures
The custom object identifier OID nodes of register_mib function registrations in framework;The section of the node
Point identification includes the magic variables in root node and variable structures, and the root node is the MIB
The mark in storehouse, the magic variables are the Function Identification of node, and the magic variables of different nodes are different.
The present invention also provides a kind of method for updating management information bank MIB, including:
Simple Network Management Protocol snmp management platform is updated to the node in MIB storehouses, by MIB storehouses
Renewal after node send to central database, and the node updates for sending MIB storehouses to agency are notified;
When the node updates for acting on behalf of the MIB storehouses for receiving the transmission of snmp management platform are notified, therefrom
Database is entreated to obtain the node after the renewal in the MIB storehouses, and by after the renewal in the MIB storehouses of acquisition
Node be sent to local data base, the local data base is arranged in same main frame with the agency;Institute
Stating central database is used to preserve the section after the renewal in the MIB storehouses that the snmp management platform is sent
Point, the local data base be used for preserve it is described agency send from the central database obtain described in
Node after the renewal in MIB storehouses.
Using renewal management information bank MIB provided in an embodiment of the present invention system and method, with following
Beneficial effect:Snmp management platform preserves the node in MIB storehouses to central database, when MIB storehouses
In node when having renewal, act on behalf of the node updates sent according to snmp management platform and notify, from central number
The node after updating is obtained according to storehouse, so agency can be obtained by way of directly accessing the database after renewal
Node, also, by disposing local data base in the main frame belonging to agency, the MIB that the agency is obtained
The node in storehouse is stored in local data base so that each node in MIB storehouses in agency is with the shape of database
Formula is present in main frame, rather than to be present in the form of function program in Agent, so in MIB
When the node in storehouse has renewal, without restarting agency, so as to avoid opening again in the node updates in MIB storehouses
The operation of dynamic agency, and then agency is avoided in restarting process, it is impossible to it is monitored to being managed main frame
Problem, and because agency starts failure, it is managed the problem of main frame turns into monitoring blind spot.
Brief description of the drawings
Fig. 1 is the system schematic provided in an embodiment of the present invention for updating management information bank MIB;
Fig. 2 is the method flow diagram provided in an embodiment of the present invention for updating management information bank MIB;
Fig. 3 is the method flow diagram that central database provided in an embodiment of the present invention preserves the node after updating;
Fig. 4 is the method flow diagram provided in an embodiment of the present invention that the node after updating is obtained from central database;
Fig. 5 is the method flow diagram provided in an embodiment of the present invention for obtaining and preserving the node after updating;
Fig. 6 is the method stream of the renewal management information bank MIB provided in an embodiment of the present invention based on agent side
Cheng Tu;
Fig. 7 obtains the node after updating from central database to be provided in an embodiment of the present invention based on agent side
Method flow diagram.
Embodiment
The renewal management information bank MIB provided with reference to the accompanying drawings and examples the present invention system and side
Method is described in more detail.
The embodiment of the present invention provides a kind of system for updating management information bank MIB, as shown in figure 1, this is
System include Simple Network Management Protocol snmp management platform, central database, agency and with the agency
Belong to the local data base of same main frame, wherein,
The snmp management platform, is updated for the node to MIB storehouses, by the renewal in MIB storehouses
Node afterwards is sent to central database;And notified for the node updates that MIB storehouses are sent to the agency.
Specifically, research staff is updated by snmp management platform to the node in MIB storehouses, can
The node for wherein needing to update can also be updated with being updated to node all in MIB storehouses,
Here do not limit.
Node in the embodiment of the present invention in MIB storehouses includes the node identification of node and the script of node,
Wherein, the node in MIB storehouses is updated specially:The script of the node in MIB storehouses is updated,
The node identification of node is not updated when being updated to node.
Preferably, the node in the embodiment of the present invention in MIB storehouses is except including node identification and node
Script, in addition to the corresponding cryptographic Hash of node, then be updated specially to the node in MIB storehouses:To MIB
The corresponding cryptographic Hash of script and node of the node in storehouse is updated, when being updated to node not to section
Point identification is updated.
By being updated to the corresponding cryptographic Hash of node, in order to subsequently through simply comparing same node point mark
The corresponding cryptographic Hash of node of knowledge, the node after renewal with regard to that can rapidly find out MIB storehouses improves MIB storehouses
Renewal efficiency.
In specific implementation, as needed, the node in the embodiment of the present invention in MIB storehouses can also include it
His information related to node, such as, and the renewal flag of node, by the renewal flag for setting node
Value, realization judge whether the node is updated.
Snmp management platform sends each node in MIB storehouses to central database in original state,
Each node in MIB storehouses is preserved by central database, and the node updates for sending MIB storehouses to each agency are led to
Know, MIB storehouses are obtained from central database so as to respectively act on behalf of.Snmp management platform by MIB storehouses more
New posterior nodal point is sent to central database, the node after the renewal for preserving MIB storehouses by central database, and
The node updates for sending MIB storehouses to each agency are notified, so that each agency obtains MIB from central database
Node after the renewal in storehouse.
After the completion of snmp management platform is to node updates, snmp management platform is by the renewal in MIB storehouses
Node afterwards is sent to central database, i.e. by the node updates after the renewal in MIB storehouses to central data
Storehouse so that the node before the corresponding renewal of node in the coverage central database after renewal after the renewal,
And the node updates for sending MIB storehouses to each agency are notified, so that each agency obtains from central database
Take the node after updating, it is preferable that be used for acquisition into each agency and the triggering of more new node updates and operated
The node updates that node sends MIB storehouses are notified.
The central database, for receiving and preserving the MIB that the snmp management platform is sent
Node after the renewal in storehouse.
Specifically, central database can be located in same physical equipment with snmp management platform, can also
It is located at from snmp management platform in different physical equipments, central database is put down for preserving snmp management
Node after the renewal in the node in the MIB storehouses that platform is sent and the MIB storehouses sent according to snmp management platform,
The node in the MIB storehouses to having preserved is updated.
The agency, the node updates for receiving the MIB storehouses that the snmp management platform is sent are led to
When knowing, the node after the renewal for obtaining the MIB storehouses from the central database, and by described in acquisition
Node after the renewal in MIB storehouses is sent to the local data base.
Specifically, the main frame in the embodiment of the present invention at least includes installing an agency in one, every main frame
And a local data base.The node updates that agency receives the MIB storehouses of snmp management platform are notified.
Preferably, it is used to obtain in agency and the triggering of more new node updates running node reception snmp management platform
The node updates in the MIB storehouses of transmission are notified.Act on behalf of and receiving the MIB storehouses of snmp management platform transmission
Node updates when notifying, the node after the renewal for obtaining MIB storehouses from central database, and after updating
Node send to local data base, i.e. after the renewal in the coverage local data base after renewal
Node before the corresponding renewal of node script.The node of agency and the triggering renewal operation in agency can be direct
Central database and local data base are accessed, specific access process accesses number with application program in the prior art
It is identical according to the mode in storehouse, it is not detailed here.
The local data base, for receiving and preserving the MIB storehouses that the agency obtains from central database
Renewal after node.
The embodiment of the present invention, snmp management platform preserves the node in MIB storehouses to central database,
When the node in MIB storehouses has renewal, act on behalf of the node updates sent according to snmp management platform and notify,
The node after updating is obtained from central database, so agency can obtain by way of directly accessing the database
Node after renewal, also, by disposing local data base in the main frame belonging to agency, the agency is obtained
The node in the MIB storehouses taken is stored in local data base so that each node in MIB storehouses in agency is with number
It is present according to the form in storehouse in main frame, rather than to be present in the form of function program in Agent, so
When node in MIB storehouses has renewal, without restarting agency, so as to avoid in the node updates in MIB storehouses
The operation of agency is restarted, and then avoids agency in restarting process, it is impossible to is carried out to being managed main frame
The problem of monitoring, and because agency starts failure, it is managed the problem of main frame turns into monitoring blind spot;
Moreover, compared with the mode in the existing conventional self-defined MIB storehouses of renewal, the generation of the embodiment of the present invention
Reason can be obtained by way of directly accessing the database update after node, without snmp management platform to
All agencies being managed upload newest MIB storehouses one by one, improve the efficiency for updating MIB storehouses.
Preferably, the snmp management platform is when the node to MIB storehouses is updated, specifically for:
The corresponding cryptographic Hash of script and node to the node in MIB storehouses is updated.
Specifically, node includes the script and the corresponding cryptographic Hash of node of node, specifically, the cryptographic Hash
Determination can be determined according to the script of node, so, when the script of node updates, the corresponding Hash of the node
Value can also update.One node identification of each node correspondence, the node identification of each node immobilizes, no
It can change due to the renewal of script and/or the renewal of the corresponding cryptographic Hash of node of node, also, it is different
The node identification of node is different.When being updated to node, the specific script and node pair of more new node
During the script for the cryptographic Hash, more new node answered, part renewal can be carried out as needed or is all updated, this
In do not limit, the corresponding cryptographic Hash of node can be using MD5 (Message-Digest Algorithm 5,
Message-Digest Algorithm 5) AES, the value obtained after the setting content in the script of node is encrypted.
In this preferred embodiment, specifically define and the corresponding cryptographic Hash of script and node of node be updated,
Specifically, by the renewal to the corresponding cryptographic Hash of node, can for the corresponding node of same node identification
It is easy to agency to pass through the corresponding cryptographic Hash of the node in central database and the node in local data base
Corresponding cryptographic Hash is compared, so that it is determined that the node after updating, and then obtained more from central database
Node after new.
Wherein, the central database is in the node after preserving the renewal in the MIB storehouses, specifically for:
According to the node identification of the node after the renewal in the MIB storehouses, the node identification is searched corresponding more
The corresponding cryptographic Hash of node before the script of node before new and renewal, wherein, each node in MIB storehouses
Correspond to the node identification phase of the node identification and the node before renewal of the node after a node identification, and renewal
Together;The script of node before renewal is replaced with to the script of the node after updating, and by the node before renewal
Corresponding cryptographic Hash replaces with the corresponding cryptographic Hash of node after updating.
Specifically, node identification is corresponded with node, the node identification of node does not become with the renewal of node
Change, i.e., for each node for, the section of the node before the node identification of the node after renewal and renewal
Point identification is identical.When snmp management platform sends the node after the renewal in MIB storehouses to central database,
Also the node identification of the node after renewal can be sent to central database, central database is according to SNMP
The node identification that management platform is sent, the section before the corresponding renewal of the node identification preserved from central database
Cryptographic Hash before the script of point and renewal;The script of node before renewal is replaced with to the pin of the node after updating
This, and the corresponding cryptographic Hash of node before renewal is replaced with into the corresponding cryptographic Hash of node after updating, from
And realize the node after the renewal for preserving MIB storehouses.Specifically, central database is preserving the section in MIB storehouses
It is for each node, the node identification of the node, the script of the node and the node is corresponding during point
Cryptographic Hash correspondence is stored.Specifically, storage form is as shown in table 1.
Table 1
| Node identification | The corresponding cryptographic Hash of node | The script of node |
| 1.3.6.1.4.1.1977.1 | Cryptographic Hash 1 | Script 1 |
| 1.3.6.1.4.1.1977.2 | Cryptographic Hash 2 | Script 2 |
| …… | …… | …… |
| 1.3.6.1.4.1.1977.n | Cryptographic Hash n | Script n |
Preferably, node of the agency after the renewal for obtaining the MIB storehouses from the central database
When, specifically for:
The node identification of the corresponding cryptographic Hash of each node and each node is obtained from the central database, and,
The node identification of the corresponding cryptographic Hash of each node and each node is obtained from the local data base;
Compare in central database and local data base, the corresponding cryptographic Hash of node identification identical node;
When determining that the corresponding cryptographic Hash of node identification identical node is different, the corresponding section of the node identification is determined
Point is the node after the renewal in MIB storehouses;
According to the node identification of the node after the renewal in the MIB storehouses of determination, obtained from the central database
Take the corresponding cryptographic Hash of node after the script of the node after the renewal in MIB storehouses and the renewal in MIB storehouses.
Wherein, for each node, act on behalf of the node identification of the node, the script of the node and the section
Local data base is arrived in the corresponding cryptographic Hash correspondence storage of point.Specifically, because the node identification of each node is fixed
Constant and difference, therefore, can be by inquiring about the node identification phase of central database and local data base interior joint
With the corresponding cryptographic Hash of node it is whether identical, if identical, show that the node does not update, if it is different,
It is the node script after renewal to determine the node in central database, now, according to the node after the renewal
Node identification, from central database obtain the node after the renewal script and the renewal after node pair
The cryptographic Hash answered.
Specifically, node includes the script of node identification and node, the central database is preserving described
During node after the renewal in MIB storehouses, specifically for:According to the section of the node after the renewal in the MIB storehouses
Point identification, searches the script of the node before the corresponding renewal of the node identification, by the script of the node before renewal
Replace with the script of the node after updating.
Specifically, node includes the script of node identification and node, the agency is from the central data
When storehouse obtains the node after the renewal in the MIB storehouses, specifically for:Compare central database and local number
According in storehouse, when the corresponding script of node identification identical node is different, the corresponding node of the node identification is determined
For the node after the renewal in MIB storehouses, according to the node identification of the node after the renewal in the MIB storehouses of determination,
The script of the node after the renewal in MIB storehouses is obtained from the central database.
Specifically, node includes the script of node identification and node, snmp management platform is to the agency
The node identification of the node after the renewal in MIB storehouses is carried in the node updates notice for sending MIB storehouses, it is described
When acting on behalf of the node after the renewal for obtaining the MIB storehouses from the central database, specifically for:Solution
The node identification of node after the renewal in the MIB storehouses carried in the node updates notice for separating out the MIB storehouses,
According to the node identification of the node after the renewal in the MIB storehouses parsed, obtained from the central database
The script of node after the renewal in MIB storehouses.
When node in MIB storehouses also includes other related to node information, the central database exists
The node after the renewal in the MIB storehouses is preserved, and the agency is obtaining institute from the central database
The embodiment for stating the node after the renewal in MIB storehouses can refer to embodiment in the embodiment of the present invention.
Preferably, the snmp management platform is sending the node updates in the MIB storehouses to the agency
During notice, specifically for:
The node in the MIB storehouses for carrying the node identification that triggering updates running node is sent to the agency
Update notification, the corresponding function of script that the triggering updates running node is:Obtained from the central database
The node after the renewal in the MIB storehouses is taken, and the node after the renewal in the MIB storehouses of acquisition is sent
To the local data base.
Specifically, the node identification of each node can be preserved in agency, also, the one of node of definition is
Triggering updates running node, and the function that the triggering updates running node is:Institute is obtained from the central database
The node after the renewal in MIB storehouses is stated, and the node after the renewal in the MIB storehouses of acquisition is sent to institute
Local data base is stated, the script that triggering updates running node can be stored in agency, can also be stored in it
He is local, and snmp management platform can not update running node to the triggering and be updated, other nodes
Script and the corresponding cryptographic Hash of node be stored in agency positioned at same main frame central database in, tool
Body, when agency receives the request of the acquisition host setting state of snmp management platform transmission, agency
It is middle according to the node identification carried in the request, the corresponding node of the node identification is extracted from local data base
Script perform, and the result after execution is fed back into snmp management platform.
It is further preferred that the agency is receiving the MIB that the snmp management platform is sent
After the node updates in storehouse are notified, the node after the renewal for obtaining the MIB storehouses from the central database,
And when the node after the renewal in the MIB storehouses of acquisition is sent into the local data base, specifically for:
The triggering carried in the node updates notice for parsing the MIB storehouses updates the node mark of running node
Know;
Call and perform the corresponding triggering renewal running node of node identification that the triggering updates running node
Script, the corresponding function of script that the triggering updates running node is:Obtained from the central database
Node after the renewal in the MIB storehouses, and the node after the renewal in the MIB storehouses of acquisition is sent to
The local data base.
Specifically, proxy call and perform triggering update running node correspondence triggering update running node script,
So as to realize the node after the renewal for obtaining the MIB storehouses from the central database, and by the institute of acquisition
State the function that the node after the renewal in MIB storehouses is sent to the local data base.
Preferably, the local data base is specific to use in the node after preserving the renewal in the MIB storehouses
In:
According to the node identification of the node after the renewal in the MIB storehouses, the node identification pair of the node is searched
The corresponding cryptographic Hash of node before the script of node before the renewal answered and renewal;
The script of node before renewal is replaced with to the script of the node after the renewal obtained from central database,
And the corresponding cryptographic Hash of node before renewal is replaced with into the node after the renewal obtained from central database
Corresponding cryptographic Hash.
Specifically, the mode that local data base preserves node is similar with the mode that central database preserves node,
Local data base preserves the embodiment of node, reference can be made to the node specific implementation that central database is preserved
Mode, is not repeated here.Node local data can in storage form can be found in table 1.
Specifically, the node is defines with variable structures in advance, and call NET-SNMP frameworks
In register_mib function registrations custom object identifier OID nodes;The node mark of the node
Knowledge includes the magic variables in root node and variable structures, and the root node is the MIB storehouses
Mark, the magic variables are the Function Identification of node, and the magic variables of different nodes are different.
Specifically, the node in the embodiment of the present invention is in advance with variable structures in NET-SNMP frameworks
Formal definition, and call the custom object of the register_mib function registrations in NET-SNMP frameworks
Identifier OID nodes, i.e. the node identification of node is registered in agency by register_mib functions
Concrete implementation mode can be found in the regulation of snmp protocol, be not detailed here.
Wherein, node identification includes the magic variables in root node and variable structures, different roots
The value of different magic variables represents different in the different MIB storehouses of node on behalf, same MIB storehouses
Function, i.e. magic variables are Function Identification, such as, triggering in agency is updated the node of running node
Flag is:1.3.6.1.4.1.1977.0, wherein, 1.3.6.1.4.1.1977 is root node, and 0 is magic
The value of variable.Specifically, in same MIB storehouses, if the node that regulation magic is equal to 0 is tactile
Hair updates running node, and it belongs to renewal request processing node, and the script that triggering updates running node is corresponding
Function is:Node after the renewal for obtaining the MIB storehouses from the central database, and by the institute of acquisition
State the node after the renewal in MIB storehouses and be sent to the local data base, then other magic in the MIB storehouses
It is not equal to 0 node and updates running node for non-toggle, it belongs to function request processing node, and non-toggle is more
Newly the corresponding function of script of running node is:Complete corresponding information gathering or system setting work and feed back
The renewal given in snmp management platform, the embodiment of the present invention refers to update behaviour to the non-toggle in MIB storehouses
It is updated as node.
Specifically, the embodiment of the present invention judges whether local data base preserves MIB storehouses when startup is acted on behalf of
Each node, if it is determined that do not preserve, then each node in MIB storehouses obtained from central database, and will obtain
The node taken is saved in local data base.Snmp management platform to agency initiate GET or SET request when,
Agency can read corresponding node from central database according to the node identification of node and be saved in local data
Storehouse, and the result for reading and preserving is fed back into snmp management platform.If node is updated, SNMP
Management platform is acted on behalf of according to the notice therefrom to the renewal trigger action node sending node update notification of agency
Database is entreated to read the node after updating, wherein, local data base is preferably BDB (Berkeley DB)
Database, BDB databases are embedded type database systems, are mainly used in UNIX/LINUX operations system
On system, its design philosophy is simple, compact, reliable, high-performance, or other types of local number
According to storehouse, do not limit here.
Based on the inventive concept same with renewal MIB provided in an embodiment of the present invention system, the present invention is real
Apply example and a kind of method for updating management information bank MIB is also provided, as shown in Fig. 2 including:
Step 201, Simple Network Management Protocol snmp management platform is updated to the node in MIB storehouses,
Node after the renewal in MIB storehouses is sent to central database, and the node in MIB storehouses is sent more to agency
It is new to notify.
Step 202, the central database receives and preserves the described of the snmp management platform transmission
Node after the renewal in MIB storehouses.
Step 203, the agency receives the section in the MIB storehouses that the snmp management platform is sent
During point update notification, the node after the renewal for obtaining the MIB storehouses from the central database, and will obtain
Node after the renewal in the MIB storehouses taken is sent to local data base, the local data base with it is described
Agency is arranged in same main frame.
Step 204, the local data base is received and preserved described in the agency from central database acquisition
Node after the renewal in MIB storehouses.
Preferably, the snmp management platform is updated to the node script in MIB storehouses, is specifically included:
The corresponding cryptographic Hash of script and node to the node in MIB storehouses is updated.
The central database specifically preserves the node after the renewal in the MIB storehouses in the following way, such as
Shown in Fig. 3:
Step 301, according to the node identification of the node after the renewal in the MIB storehouses, the node identification is searched
The corresponding cryptographic Hash of node before the script of node before corresponding renewal and renewal, wherein, in MIB storehouses
The section of node before one node identification of each node correspondence, and the node identification of node after updating and renewal
Point identification is identical.
Step 302, the script of the node before renewal is replaced with to the script of the node after updating, and will more
The corresponding cryptographic Hash of node before new replaces with the corresponding cryptographic Hash of node after updating.
Preferably, the node after the renewal that the agency obtains the MIB storehouses from the central database,
As shown in figure 4, specifically including:
Step 401, the node of the corresponding cryptographic Hash of each node and each node is obtained from the central database
Mark, and, the node mark of the corresponding cryptographic Hash of each node and each node is obtained from the local data base
Know.
Step 402, compare in central database and local data base, node identification identical node is corresponding
Cryptographic Hash.
Step 403, when determining that the corresponding cryptographic Hash of node identification identical node is different, the node mark is determined
Know the node after the renewal that corresponding node is the MIB storehouses.
Step 404, according to the node identification of the node after the renewal in the MIB storehouses of determination, from described
Obtained in the database of centre after the script of node and the renewal in the MIB storehouses after the renewal in the MIB storehouses
The corresponding cryptographic Hash of node.
Preferably, the node updates that the snmp management platform sends the MIB storehouses to the agency are led to
Know, specifically include:
The node in the MIB storehouses for carrying the node identification that triggering updates running node is sent to the agency
Update notification, the corresponding function of script that the triggering updates running node is:Obtained from the central database
The node after the renewal in the MIB storehouses is taken, and the node after the renewal in the MIB storehouses of acquisition is sent
To the local data base.
Preferably, the agency receives the node in the MIB storehouses that the snmp management platform is sent
During update notification, the node after the renewal for obtaining the MIB storehouses from the central database, and will obtain
The MIB storehouses renewal after node be sent to the local data base, as shown in figure 5, specific bag
Include:
Step 501, the triggering carried in the node updates notice for parsing the MIB storehouses updates running node
Node identification.
Step 502, call and perform the corresponding triggering renewal of node identification that the triggering updates running node
The script of running node.
Preferably, the node is defines with variable structures in advance, and calls NET-SNMP frameworks
In register_mib function registrations custom object identifier OID nodes;The node mark of the node
Knowledge includes the magic variables in root node and variable structures, and the root node is the MIB storehouses
Mark, the magic variables are the Function Identification of node, and the magic variables of different nodes are different.
The present invention also provides a kind of method of the renewal management information bank MIB based on agent side, such as Fig. 6 institutes
Show, including:
Step 601, agency receives the MIB storehouses of Simple Network Management Protocol snmp management platform transmission
Node updates when notifying, the node after the renewal for obtaining the MIB storehouses from central database.
Step 602, the node after the renewal in the MIB storehouses of acquisition is sent to local data base.
Wherein, the local data base is arranged in same main frame with the agency, and the central database is used
The MIB storehouses sent in the preservation snmp management platform after being updated to the node in MIB storehouses
Renewal after node, the local data base is used to preserving that the agency to send from the central database
Node after the renewal in the MIB storehouses obtained.
Preferably, the node after the renewal that the agency obtains the MIB storehouses from the central database,
As shown in fig. 7, specifically including:
Step 701, the node of the corresponding cryptographic Hash of each node and each node is obtained from the central database
Mark, and, the node mark of the corresponding cryptographic Hash of each node and each node is obtained from the local data base
Know.
Step 702, compare in central database and local data base, node identification identical node is corresponding
Cryptographic Hash.
Step 703, when determining that the corresponding cryptographic Hash of node identification identical node is different, the node mark is determined
Know the node after the renewal that corresponding node is the MIB storehouses.
Step 704, according to the node identification of the node after the renewal in the MIB storehouses of determination, from described
Obtained in the database of centre after the script of node and the renewal in the MIB storehouses after the renewal in the MIB storehouses
The corresponding cryptographic Hash of node.
Preferably, the node is defines with variable structures in advance, and calls NET-SNMP frameworks
In register_mib function registrations custom object identifier OID nodes;The node identification includes
Magic variables in root node and variable structures, the root node is the mark in the MIB storehouses,
The magic variables are the Function Identification of node, and the magic variables of different nodes are different.
The present invention also provides a kind of method of the renewal management information bank MIB based on snmp management platform side,
Including:
Snmp management platform is updated to the node in MIB storehouses, and the node after the renewal in MIB storehouses is sent
To central database, and the node updates for sending MIB storehouses to agency are notified;It is described to act on behalf of for receiving
When the node updates in the MIB storehouses that snmp management platform is sent are notified, the MIB is obtained from central database
Node after the renewal in storehouse, and the node after the renewal in the MIB storehouses of acquisition is sent to local data base,
The local data base is arranged in same main frame with the agency;
After renewal of the central database for preserving the MIB storehouses that the snmp management platform is sent
Node, the local data base be used for preserve it is described agency send from the central database obtain institute
State the node after the renewal in MIB storehouses.
Using renewal management information bank MIB provided in an embodiment of the present invention system and method, have with following
Beneficial effect:Snmp management platform preserves the node in MIB storehouses to central database, when in MIB storehouses
When node has renewal, act on behalf of the node updates sent according to snmp management platform and notify, from central database
The node after updating is obtained, so agency can obtain the node after updating by way of directly accessing the database,
Also, by disposing local data base in the main frame belonging to agency, the section in the MIB storehouses that the agency is obtained
Point is stored in local data base so that each node in MIB storehouses in agency exist in the form of database with
In main frame, rather than with the form of function program exist with Agent, the node so in MIB storehouses has
During renewal, without restarting agency, so that the operation of the restarting agency in the node updates in MIB storehouses is avoided,
And then agency is avoided in restarting process, it is impossible to being managed the problem of main frame is monitored, and due to
Agency starts failure, is managed the problem of main frame turns into monitoring blind spot.
The present invention is with reference to the production of method according to embodiments of the present invention, equipment (system) and computer program
The flow chart and/or block diagram of product is described.It should be understood that can by computer program instructions implementation process figure and
/ or each flow and/or square frame in block diagram and the flow in flow chart and/or block diagram and/
Or the combination of square frame.These computer program instructions can be provided to all-purpose computer, special-purpose computer, insertion
Formula processor or the processor of other programmable data processing devices are to produce a machine so that pass through and calculate
The instruction of the computing device of machine or other programmable data processing devices is produced for realizing in flow chart one
The device for the function of being specified in individual flow or multiple flows and/or one square frame of block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or the processing of other programmable datas to set
In the standby computer-readable memory worked in a specific way so that be stored in the computer-readable memory
Instruction produce include the manufacture of command device, the command device realization in one flow or multiple of flow chart
The function of being specified in one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices, made
Obtain and perform series of operation steps on computer or other programmable devices to produce computer implemented place
Reason, so that the instruction performed on computer or other programmable devices is provided for realizing in flow chart one
The step of function of being specified in flow or multiple flows and/or one square frame of block diagram or multiple square frames.
, but those skilled in the art once know base although preferred embodiments of the present invention have been described
This creative concept, then can make other change and modification to these embodiments.So, appended right will
Ask and be intended to be construed to include preferred embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification without departing from this hair to the present invention
Bright spirit and scope.So, if the present invention these modifications and variations belong to the claims in the present invention and
Within the scope of its equivalent technologies, then the present invention is also intended to comprising including these changes and modification.
Claims (12)
1. a kind of system for updating management information bank MIB, it is characterised in that including:Simple network management
Agreement snmp management platform, central database, agency and with it is described agency belong to the local of same main frame
Database;
The snmp management platform, is updated for the node to MIB storehouses, by the renewal in MIB storehouses
Node afterwards is sent to central database;And notified for the node updates that MIB storehouses are sent to the agency;
The central database, for receiving and preserving the MIB that the snmp management platform is sent
Node after the renewal in storehouse;
The agency, for receiving the node in the MIB storehouses that the snmp management platform is sent
During update notification, the node after the renewal for obtaining the MIB storehouses from the central database, and will obtain
The MIB storehouses renewal after node be sent to the local data base;
The local data base, for receiving and preserving described in the agency from central database acquisition
Node after the renewal in MIB storehouses.
2. the system as claimed in claim 1, it is characterised in that the snmp management platform is right
When the node in MIB storehouses is updated, specifically for:
The corresponding cryptographic Hash of script and node to the node in MIB storehouses is updated;
The central database in the node after preserving the renewal in the MIB storehouses, specifically for:
According to the node identification of the node after the renewal in the MIB storehouses, the node identification is searched corresponding more
The corresponding cryptographic Hash of node before the script of node before new and renewal, wherein, each node in MIB storehouses
Correspond to the node identification phase of the node identification and the node before renewal of the node after a node identification, and renewal
Together;
The script of node before renewal is replaced with to the script of the node after updating, and by the node before renewal
Corresponding cryptographic Hash replaces with the corresponding cryptographic Hash of node after updating.
3. system as claimed in claim 2, it is characterised in that the agency is from the central data
When storehouse obtains the node after the renewal in the MIB storehouses, specifically for:
The node identification of the corresponding cryptographic Hash of each node and each node is obtained from the central database, and,
The node identification of the corresponding cryptographic Hash of each node and each node is obtained from the local data base;
Compare in central database and local data base, the corresponding cryptographic Hash of node identification identical node;
When determining that the corresponding cryptographic Hash of node identification identical node is different, the corresponding section of the node identification is determined
Point is the node after the renewal in the MIB storehouses;
According to the node identification of the node after the renewal in the MIB storehouses of determination, from the central database
The script of node after the middle renewal for obtaining the MIB storehouses and the node pair after the renewal in the MIB storehouses
The cryptographic Hash answered.
4. the system as claimed in claim 1, it is characterised in that the snmp management platform is to institute
When the node updates for stating agency's transmission MIB storehouses are notified, specifically for:
The node in the MIB storehouses for carrying the node identification that triggering updates running node is sent to the agency
Update notification, the corresponding function of script that the triggering updates running node is:Obtained from the central database
The node after the renewal in the MIB storehouses is taken, and the node after the renewal in the MIB storehouses of acquisition is sent
To the local data base;
Then the agency is receiving the node updates in the MIB storehouses that the snmp management platform is sent
After notice, the node after the renewal for obtaining the MIB storehouses from the central database, and by the institute of acquisition
When stating the node after the renewal in MIB storehouses and being sent to the local data base, specifically for:
The triggering carried in the node updates notice for parsing the MIB storehouses updates the node mark of running node
Know;
Call and perform the corresponding triggering renewal running node of node identification that the triggering updates running node
Script.
5. the system as described in any one of Claims 1-4, it is characterised in that the node is advance
Defined with variable structures, and call register_mib function registrations in NET-SNMP frameworks
Custom object identifier OID nodes;The node identification of the node includes root node and variable structures
Magic variables in body, the root node is the mark in the MIB storehouses, and the magic variables are node
Function Identification, the magic variables of different nodes are different.
6. a kind of method for updating management information bank MIB, it is characterised in that including:
Simple Network Management Protocol snmp management platform is updated to the node in MIB storehouses, by MIB storehouses
Renewal after node send to central database, and the node updates for sending MIB storehouses to agency are notified;
The central database receives and preserves the MIB storehouses of the snmp management platform transmission more
Node after new;
The node updates that the agency receives the MIB storehouses that the snmp management platform is sent are notified
When, the node after the renewal for obtaining the MIB storehouses from the central database, and by the MIB of acquisition
Node after the renewal in storehouse is sent to local data base, and the local data base is arranged on same with the agency
In main frame;
The local data base receives and preserved the MIB storehouses that the agency obtains from central database
Node after renewal.
7. method as claimed in claim 6, it is characterised in that the snmp management platform is to MIB
The node script in storehouse is updated, and is specifically included:
The corresponding cryptographic Hash of script and node to the node in MIB storehouses is updated;
The central database specifically preserves the node after the renewal in the MIB storehouses in the following way;
According to the node identification of the node after the renewal in the MIB storehouses, the node identification is searched corresponding more
The corresponding cryptographic Hash of node before the script of node before new and renewal, wherein, each node in MIB storehouses
Correspond to the node identification phase of the node identification and the node before renewal of the node after a node identification, and renewal
Together;
The script of node before renewal is replaced with to the script of the node after updating, and by the node before renewal
Corresponding cryptographic Hash replaces with the corresponding cryptographic Hash of node after updating.
8. method as claimed in claim 7, it is characterised in that the agency is from the central database
The node after the renewal in the MIB storehouses is obtained, is specifically included:
The node identification of the corresponding cryptographic Hash of each node and each node is obtained from the central database, and,
The node identification of the corresponding cryptographic Hash of each node and each node is obtained from the local data base;
Compare in central database and local data base, the corresponding cryptographic Hash of node identification identical node;
When determining that the corresponding cryptographic Hash of node identification identical node is different, the corresponding section of the node identification is determined
Point is the node after the renewal in the MIB storehouses;
According to the node identification of the node after the renewal in the MIB storehouses of determination, from the central database
The script of node after the middle renewal for obtaining the MIB storehouses and the node pair after the renewal in the MIB storehouses
The cryptographic Hash answered.
9. method as claimed in claim 6, it is characterised in that the snmp management platform is to described
The node updates that agency sends the MIB storehouses are notified, are specifically included:
The node in the MIB storehouses for carrying the node identification that triggering updates running node is sent to the agency
Update notification, the corresponding function of script that the triggering updates running node is:Obtained from the central database
The node after the renewal in the MIB storehouses is taken, and the node after the renewal in the MIB storehouses of acquisition is sent
To the local data base;
Then the node updates for acting on behalf of the MIB storehouses for receiving the snmp management platform transmission are led to
When knowing, the node after the renewal for obtaining the MIB storehouses from the central database, and by described in acquisition
Node after the renewal in MIB storehouses is sent to the local data base, specifically includes:
The triggering carried in the node updates notice for parsing the MIB storehouses updates the node mark of running node
Know;
Call and perform the corresponding triggering renewal running node of node identification that the triggering updates running node
Script.
10. the method as described in any one of claim 6 to 9, it is characterised in that the node is advance
Defined with variable structures, and call register_mib function registrations in NET-SNMP frameworks
Custom object identifier OID nodes;The node identification of the node includes root node and variable structures
Magic variables in body, the root node is the mark in the MIB storehouses, and the magic variables are node
Function Identification, the magic variables of different nodes are different.
11. a kind of method for updating management information bank MIB, it is characterised in that including:
Agency receives the node updates in the MIB storehouses of Simple Network Management Protocol snmp management platform transmission
During notice, the node after the renewal for obtaining the MIB storehouses from central database, and by the MIB of acquisition
Node after the renewal in storehouse is sent to local data base, and the local data base is arranged on same with the agency
In main frame, the central database enters for preserving the snmp management platform in the node to MIB storehouses
Node after the renewal in the MIB storehouses that row is sent after updating, the local data base is used to preserve described
Node after the renewal in the MIB storehouses obtained from the central database that agency sends.
12. a kind of method for updating management information bank MIB, it is characterised in that including:
Simple Network Management Protocol snmp management platform is updated to the node in MIB storehouses, by MIB storehouses
Renewal after node send to central database, and the node updates for sending MIB storehouses to agency are notified;
When the node updates for acting on behalf of the MIB storehouses for receiving the transmission of snmp management platform are notified, therefrom
Database is entreated to obtain the node after the renewal in the MIB storehouses, and by after the renewal in the MIB storehouses of acquisition
Node be sent to local data base, the local data base is arranged in same main frame with the agency;Institute
Stating central database is used to preserve the section after the renewal in the MIB storehouses that the snmp management platform is sent
Point, the local data base be used for preserve it is described agency send from the central database obtain described in
Node after the renewal in MIB storehouses.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610201691.0A CN107294749A (en) | 2016-03-31 | 2016-03-31 | A kind of system and method for updating management information bank MIB |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610201691.0A CN107294749A (en) | 2016-03-31 | 2016-03-31 | A kind of system and method for updating management information bank MIB |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN107294749A true CN107294749A (en) | 2017-10-24 |
Family
ID=60086915
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610201691.0A Pending CN107294749A (en) | 2016-03-31 | 2016-03-31 | A kind of system and method for updating management information bank MIB |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107294749A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109144903A (en) * | 2018-08-15 | 2019-01-04 | 国云科技股份有限公司 | Method for intelligently managing USB (universal serial bus) equipment by cloud terminal |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1219057A (en) * | 1997-11-04 | 1999-06-09 | 通用仪器公司 | Asynchronous and information exchange between communication parts by using network management operation and controlling examples |
| US6219703B1 (en) * | 1996-10-31 | 2001-04-17 | Motorola, Inc. | Method and apparatus for constructing a device management information base in a network management station |
| CN1658579A (en) * | 2004-02-16 | 2005-08-24 | 华为技术有限公司 | A Method for Realizing Simulated Device Proxy |
| CN1910854A (en) * | 2004-01-15 | 2007-02-07 | Ut斯达康韩国公司 | Automatic update system and method for using a meta mib |
| CN102299814A (en) * | 2010-06-24 | 2011-12-28 | 中兴通讯股份有限公司 | Method and system for upgrading MIB (management information base) on SNMP (simple network management protocol) agent |
| CN105357048A (en) * | 2015-11-24 | 2016-02-24 | 上海斐讯数据通信技术有限公司 | Method and system for data synchronization of network equipment |
-
2016
- 2016-03-31 CN CN201610201691.0A patent/CN107294749A/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6219703B1 (en) * | 1996-10-31 | 2001-04-17 | Motorola, Inc. | Method and apparatus for constructing a device management information base in a network management station |
| CN1219057A (en) * | 1997-11-04 | 1999-06-09 | 通用仪器公司 | Asynchronous and information exchange between communication parts by using network management operation and controlling examples |
| CN1910854A (en) * | 2004-01-15 | 2007-02-07 | Ut斯达康韩国公司 | Automatic update system and method for using a meta mib |
| CN1658579A (en) * | 2004-02-16 | 2005-08-24 | 华为技术有限公司 | A Method for Realizing Simulated Device Proxy |
| CN102299814A (en) * | 2010-06-24 | 2011-12-28 | 中兴通讯股份有限公司 | Method and system for upgrading MIB (management information base) on SNMP (simple network management protocol) agent |
| CN105357048A (en) * | 2015-11-24 | 2016-02-24 | 上海斐讯数据通信技术有限公司 | Method and system for data synchronization of network equipment |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109144903A (en) * | 2018-08-15 | 2019-01-04 | 国云科技股份有限公司 | Method for intelligently managing USB (universal serial bus) equipment by cloud terminal |
| CN109144903B (en) * | 2018-08-15 | 2022-02-18 | 国云科技股份有限公司 | Method for intelligently managing USB (universal serial bus) equipment by cloud terminal |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11301342B2 (en) | Methods, systems, and computer readable storage devices for managing faults in a virtual machine network | |
| TWI751402B (en) | Data synchronization method, distributed system, computer readable storage and retrieval media, computer equipment and distributed equipment | |
| CN112104486A (en) | Kubernetes container-based network endpoint slicing method and system | |
| CN100426751C (en) | Method for ensuring accordant configuration information in cluster system | |
| CN106921508A (en) | Self-healing method and device for virtualized network element failure | |
| US8762355B2 (en) | Generating configuration files | |
| CN104394011A (en) | Method for supporting server virtualization operation and maintenance through alarm information | |
| CN104601366A (en) | Configuration service method and device for control and service nodes | |
| US20180199175A1 (en) | M2m node management method and apparatus, and computer storage medium | |
| WO2017071118A1 (en) | Monitoring resource management method and apparatus, cse and storage medium | |
| WO2016115896A1 (en) | Method and device for management of virtual network function (vnf) | |
| CN104796283B (en) | A kind of method of monitoring alarm | |
| WO2023109905A1 (en) | Digital twin network construction method and network element | |
| CN107147466A (en) | A control method and system for system time consistency | |
| CN107294749A (en) | A kind of system and method for updating management information bank MIB | |
| CN108900603A (en) | A kind of server discovery methods, devices and systems | |
| CN107124293B (en) | Protocol management method and system of distributed network system | |
| EP2445140B1 (en) | Method for managing configuration information of outsourced part, and method and system for managing alarm | |
| CN105516315B (en) | A kind of Ile repair method and device | |
| CN115550360A (en) | Database-based operation node management method, device, system and medium | |
| JP5536769B2 (en) | Method and apparatus in communication network system | |
| WO2017008197A1 (en) | Alarm information reporting method and device | |
| CN105512002A (en) | Equipment monitoring method and monitoring server | |
| CN115834449B (en) | A method for discovering and managing collector equipment in an industrial audit system | |
| CN114785711B (en) | Performance monitoring method, device and storage medium of network equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20171024 |
|
| WD01 | Invention patent application deemed withdrawn after publication |