CN1744519A - Management method for obtaining equipment MIB support capability - Google Patents
Management method for obtaining equipment MIB support capability Download PDFInfo
- Publication number
- CN1744519A CN1744519A CN 200510092802 CN200510092802A CN1744519A CN 1744519 A CN1744519 A CN 1744519A CN 200510092802 CN200510092802 CN 200510092802 CN 200510092802 A CN200510092802 A CN 200510092802A CN 1744519 A CN1744519 A CN 1744519A
- Authority
- CN
- China
- Prior art keywords
- mib
- webmaster
- equipment
- attribute
- network
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Computer And Data Communications (AREA)
Abstract
When managing a property of device, administer of network passes following steps: (1) through query interface, administer of network sends request for inquiring about object properties of management information base (MIB) to network deice; (2) after inquired corresponding data of supporting object properties of MIB, the network device feeds it back to administer of network; (3) based on received object properties of MIB, administer of network carried out relevant dynamic loading and customizing. Through a set of query interface, the invention solves of issues of difficult match or high coupling between administer of network and device caused by differences in supporting MIB by device. The invention increases flexibility and stability of administer of network.
Description
Technical field
The present invention relates to network management, particularly relate to a kind of management method of obtaining equipment MIB (device management information storehouse, MIB, Management Information Base) tenability.
Background technology
At present, because network world is flourish, the network equipment miscellaneous constantly is developed, and be applied to widely in the live and work environment by all trades and professions,, not only quickened the speed and the efficient of information flow owing to this development trend, and for people's life and work bring great convenience, yet,, but bring many problems of management for the network management personnel for the network equipment miscellaneous of One's name is legion.
Such as, in an enterprise, generally include the equipment of a series of different models, and the equipment of same model As time goes on, can produce the enhancing and the modification of function again, promptly exists different versions to improve, switch SWITCH serial equipment as certain manufacturer, two models of SWITCH-A, SWITCH-B are arranged, and the equipment of SWITCH-A model there is v1, two versions of v2.Homologous series equipment is because the restriction of hardware environment having some difference aspect the characteristic support, is referred to as the equipment otherness here.Enterprise can be defined as mib file to the complete or collected works of characteristic on all homologous series equipment usually when the characteristic definition mib object of a certain serial equipment, include the possible situation of institute, promptly expresses the situation of all homologous series equipment with a mib file.But, on certain concrete model device, also may have the inconsistent of the span of certain mib object and other, or not support the situation of certain mib object that other equipment are all supported.Like this, with regard to produced equipment support and unified mib file describe between the problem of the property of there are differences, these othernesses mainly comprise:
1) otherness of the device characteristics of homologous series different model.On homologous series equipment, may there be the characteristic of the equipment support of certain model, the unsupported situation of the equipment of other models.Being embodied on the MIB, is exactly on concrete a certain model device, does not support certain mib object that other equipment are all supported.In the top SWITCH serial equipment of mentioning H manufacturer, SWITCH-A supports the X agreement, and other equipment are not supported.When may causing the equipment of these two models of webmaster unified management, this species diversity makes mistakes.
2) otherness of the device characteristics of the different editions of same model.The equipment of same model different editions also might be because software and hardware restriction, causes that MIB realizes there are differences between different software versions.Ageing time such as MAC Address in the v1 version of SWITCH-A, span is the 10-1000 millisecond, and on the v2 version because hardware performance strengthens to some extent, span is changed to the 10-6000 millisecond, makes mistakes when this species diversity may cause the equipment of these two versions of webmaster unified management.But above-mentioned this two species diversity from webmaster, shows as the difference of mib object attribute, and is actually the difference of equipment to the tenability of MIB.
At present, the method that solves this otherness mainly contains two kinds of methods:
Described method one is: webmaster is by unified MIB and devices communicating.To variant many moneys homologous series equipment, define a various device characteristic complete or collected works' MIB, on mib file, do not reflect concrete equipment difference.When handling variant equipment, webmaster is distinguished unit type by obtaining the system banner SYSOID of equipment, and the mode with hard coded in webmaster is handled otherness.Under this mode, MIB, webmaster and the coupling of device specifics height, the poor stability of MIB, webmaster, the slight change of device characteristics also can produce the chain reaction of passive and synchronous modification on MIB and webmastering software.
This shows that the shortcoming of method one is: 1) MIB and webmastering software poor stability.On increasing a new model equipment or equipment during some characteristic variations, original MIB can not describe the characteristic after the variation, along with being on the increase of device type, the continuous variation of characteristic, mib file needs constantly to revise, to adapt to the characteristic of distinct device, the modification of mib file simultaneously will trigger the modification of webmaster again, so that webmaster adapts to the variation of distinct device characteristic.2) the maintenance cost height of webmastering software for obtaining device specifics, needs to understand the degree of support of every kind of equipment to MIB, and does not only reflect the details of concrete equipment by mib file, need carry out a large amount of communications.3) webmaster and device characteristics degree of coupling height, webmaster too relies on device specifics.When device characteristics changed, webmaster all can passively be revised, and the process that device characteristics influence webmaster is a constantly process of circulation, shows as device characteristics variation → MIB adjustment → webmaster and revises.Be unfavorable for improving the striding equipment versatility of webmastering software.The otherness of every money equipment is all with the handling process of left and right sides webmaster.4) though webmaster can be distinguished device type by obtaining unit type, can't take into account the MIB difference between the different software versions of equipment.
Described method two is: webmaster is by unified MIB interface and devices communicating.But when the definition of MIB, to variant many moneys same category of device, a large and complete MIB who comprises the various device characteristic except definition, the otherness of preserving some mib object also by some discrete MIB query objects of simple increase, on mib file, can reflect the otherness of some equipment.Webmaster inquires some device specifics that need recognize, treatment facility otherness from these redundant mib objects when handling variant equipment.These redundant mib objects increase for the otherness of describing concrete certain mib object, along with being on the increase of device type, and the continuous variation of characteristic, redundant mib object increases thereupon, and mib file still needs continuous modification.
Specifically please refer to Fig. 1, as can be known from Fig. 1, when webmaster need be in program carries out self-adaptive processing to certain mib object, at first need in MIB, define a special redundant node of describing this mib object attribute, when webmaster need read or be provided with this mib object, need read this redundant node earlier, obtain the data (being the maximum of mib object) of care, the data of returning according to equipment are adjusted on the different equipment the processing of same mib object then, just can avoid this MIB is carried out inappropriate operation.
Though this method adopts the attribute of inquiry mib object earlier, the method for handling again owing to do not use unified query interface, is obtained an attribute of a mib object, just need define a corresponding redundant node in mib file.Therefore, there is following shortcoming in this method two: 1) can cause the mib file complexity, mib object is numerous, is difficult for understanding.Use discrete redundant mib object to describe the equipment otherness and can make mib file huge, equally also take the resource of network, when the otherness of equipment is complicated, also be difficult to expression; 2) MIB and webmastering software poor stability.Though this method has reduced the degree of coupling of webmaster and device characteristics,, also can cause the modification of webmaster because the MIB query object is adjusted gradually.And when changing with a equipment self characteristic, webmaster also needs synchronous modification, influences bigger.
Summary of the invention
The technical problem that the present invention solves provides a kind of method of obtaining equipment MIB tenability, to solve following problems: because the difference of MIB tenability in the existing equipment, and cause the problem of webmaster and matched difficulty;
The technical problem that the present invention also solves is by the general query interface of a cover is set, and makes webmaster obtain the MIB tenability of distinct device dynamically, to solve because the difference of equipment MIB support causes the high coupling problems of webmaster and equipment.
For addressing the above problem, the invention provides a kind of management method of obtaining MIB tenability in the equipment, when webmaster when a certain characteristic to equipment manages, need to comprise through following step:
A, webmaster send the request that needs inquiry mib object and attribute thereof by query interface to the network equipment;
After the corresponding data of mib object and attribute thereof is supported in B, network equipment inquiry, it is fed back to webmaster;
C, webmaster carry out corresponding dynamic loading and customization according to mib object that receives and attribute thereof to this characteristic.
Described query interface is for using network communication protocol, provide the mib object sign of the required inquiry of webmaster and attribute thereof to the network equipment, and the mib object that inquired to webmaster feedback of the network equipment and the form of expression of attribute information thereof, wherein, the network communication protocol of described use is to realize that webmaster and equipment carry out institute's protocols having of information interaction, comprise Simple Network Management Protocol, Telnet agreement, Security Socket Layer.
The form of expression of described query interface is the mib object attribute list, and the content of described mib object attribute list comprises: the sign of mib object to be checked (such as OID or title), information type to be checked and the node of depositing Query Result.
The content of described mib object attribute list also comprises: the row state, deposit detailed query result's the mib object and the details of request to be checked.
The webmaster of described steps A sends the request that needs inquiry mib object and attribute thereof by following step to the network equipment:
A11) webmaster is dynamically submitted the list item request to create of required mib object to the network equipment by the mib object attribute list;
A12) after the network equipment returned and creates successfully, the index that webmaster re-uses when creating was formed an example with the node of depositing Query Result, reads the result to the network equipment; Or
A21) webmaster is formed an index with the sign of mib object to be checked and MIB attribute to be checked, and synthesizes an effective mib object example with the identified group of the row object of depositing mib object property value result, to send query requests to the network equipment.
In step B, the data of the correspondence that the network equipment will inquire, by with the communication protocol of webmaster agreement, feed back to webmaster with the form of response request and agreement.
The form of described agreement is that the webmaster and the network equipment are made an appointment, and comprising: data span, SNMP data type or access attribute.
The specific implementation process of step B is:
B11) after the network equipment inquires corresponding data, in the mib object attribute list, generate a new list item, and in the list item of depositing mib object attribute query result, write the MIB tenability, and return the establishment success response to webmaster; Or
B21) after the network equipment inquires corresponding data, data that directly should correspondence feed back to webmaster.
The specific implementation process of step C is: whether webmaster supports this characteristic according to the described equipment of the determined property of received mib object, if support, then webmaster is the menu of this characteristic of retention management, and according to the attribute of the mib object of this characteristic, network management interface carried out dynamic load and customization; Otherwise webmaster can be hidden the menu of this characteristic of management, avoids the user to continue the unsupported object of this equipment is read or be provided with faulty operation.
Described method also comprises step:
D, when webmaster does not need the list item of this mib object, then submit the request of the described list item of deletion to the network equipment;
E, the network equipment are deleted described equipment MIB query aim.
Compared with prior art, the present invention has following beneficial effect: the present invention provides the sign (OID or title) and the attribute information of the mib object of required inquiry to send to equipment by query interface by webmaster, described equipment returns to webmaster in the mode of reading response request after organizing data, webmaster is by the analysis and consult result, obtain equipment MIB tenability, and this characteristic is carried out corresponding dynamic loading and customization according to the attribute of the mib object that receives.Therefore, the present invention has following advantage: 1) increase work efficiency.The present invention describes equipment MIB tenability by general query interface, and webmaster is understood equipment MIB tenability by general query interface, does not need artificial interchange, finally improves development efficiency.2) readability of raising MIB.The present invention can obtain equipment MIB tenability dynamically to the new features that equipment increases, and makes equipment when the MIB of the corresponding newly-increased characteristic of design, does not need to consider simultaneously to add the description to the equipment otherness, makes the MIB easy to understand of newly-increased characteristic, and is easy to use.3) stability of raising MIB and webmaster, and the versatility that improves the striding equipment of webmaster.When the equipment otherness changed, original MIB did not need to adjust, and webmaster just also can not need be changed can adapt to these variations automatically.4) reduce the dependence of webmaster to concrete device specifics.Obtain equipment MIB tenability by general MIB query interface, webmaster can be done corresponding processing according to the MIB support information that obtains, and no longer needs to understand the details of concrete equipment, to improve the flexibility of webmaster.
Description of drawings
Fig. 1 is the process chart that webmaster obtains equipment mib object otherness in the prior art;
Fig. 2 is the flow chart that obtains the method for equipment MIB tenability of the present invention;
Fig. 3 be among the present invention among the embodiment webmaster by the system handles procedure chart of unified query interface treatment facility otherness.
Embodiment
Core of the present invention is that webmaster will need the sign and the attribute information of management information bank (MIB, the Management Information Base) object that uses to send to the network equipment by general query interface; The network equipment is organized corresponding data, and it is fed back to webmaster; Webmaster is by the analysis and consult result, dynamically obtain the MIB tenability of distinct device, and load dynamically and customization function, reduce the webmaster and the high degree of coupling of the network equipment that the otherness of distinct device MIB tenability causes simultaneously, universal and intelligent with the raising webmaster.Query interface of the present invention is contained the possible MIB attribute of all devices in Simple Network Management Protocol (SNMP, the Simple Network Management Protocol) tolerance band, and promptly all possibilities of equipment MIB tenability change.The possibility variation of this equipment MIB tenability is realized by the network equipment, and offers the webmaster use.Described webmaster can dynamically obtain information required or that be concerned about by this query interface, and according to Query Result to making the processing of response, with flexibility and the stability that webmaster is provided.
The equipment MIB tenability of being mentioned among the present invention is meant that all meet the attribute of the mib object of snmp protocol scope, include but not limited to the mib object span variation, whether support, access limit, data type etc., span can have the different forms of expression because of the difference of mib object data type again, such as for shaping Integer type, can be span; And for character string Octet String type, can be length restriction etc.In a word, so long as meet the attribute change of the mib object of snmp protocol, all be a kind of variation of equipment MIB tenability.
The present invention is further illustrated below in conjunction with accompanying drawing.
The present invention did description below earlier before being described further, in order to guarantee the normal operation of network, need application network management system (NMS) that the network equipment is effectively managed, safeguarded and optimizes.The general administrative model that adopts manager (Admin)-agency (Agent) in the network management.The manager can be work station, microcomputer or PC etc., generally is positioned at the trunk of network system or near the position of trunk, the instruction of being responsible for sending bookkeeping, and receive information from the agency.The agency then is positioned at the inside of equipment, the information from gerentocratic order or information request conversion cost managed devices.The manager is sent to the agency who is arranged in by management system with management expectancy by management operation instruction, the then direct management equipment of agency.
Most widely used management agreement is Simple Network Management Protocol SNMP in computer network management, described SNMP uses User Datagram Protoco (UDP) UDP as the 4th layer transport layer protocol, generally comprise 5 kinds of type of messages: request retrieving information (Get-Request), the response (Get-Response) of request retrieving information, the next object (Get-Next-Request) of the object that request Get-Request obtains, parameter in the equipment is carried out Remote configuration (Set-Request), trap message (Trap, be used for announcement server a particular event has taken place).SNMP utilizes these message directly to carry out the information transmission manager and agency.
By the SNMP exchange message, between manager and managed devices, use MIB between described manager and the managed devices, represent the resource in the network.In SNMP, resource represents with object that normally each object is exactly the variable of an indication equipment aspect feature basically.The set of object is called MIB.And the manager finishes supervision to managed devices, function is set etc. by the value of dynamically obtaining, revise, analyze specific mib object.Such as the MIB that has defined a lot of standards in the RFC document, enterprise also can define the Proprietary MIB of oneself, represents some characteristic of certain kind equipment.The manager who needs explanation to be among the present invention to be mentioned is exactly network management system in practice, and hereinafter to be referred as webmaster, described equipment is called for short the network equipment.
See also Fig. 2, be the flow chart that obtains the method for equipment MIB tenability of the present invention, wherein, described method when webmaster when a certain characteristic to the network equipment manages, need through following step:
Step S10: webmaster needs the mib object of inquiry and the request of attribute thereof by query interface to network equipment transmission;
Step S11: after the corresponding data of mib object and attribute thereof is supported in network equipment inquiry, and it is fed back to webmaster;
Step S12: webmaster carries out corresponding dynamic loading and customization according to mib object that receives and attribute thereof to this characteristic.
The present invention is when being webmaster with SNMP with NMP that the network equipment is communicated by letter, webmaster is in the time need managing a certain characteristic of the network equipment, can send need the mib object of inquiry and the request of attribute thereof to the network equipment by query interface, the form that request can SNMP be read in this request sends (step S10); The mib object attribute is supported in network equipment inquiry self, obtain the corresponding data of mib object attribute after, and its form with Simple Network Management Protocol response request and agreement fed back to webmaster.The form of described agreement is that the webmaster and the network equipment are made an appointment, and comprising: data span, SNMP data type or access attribute etc.Wherein, the attribute of described mib object, include but not limited to mib object span, whether support, access limit, data type, and the mode that the network equipment is read the attribute of mib object to respond with SNMP returns to webmaster (step S11); After webmaster received the data of described response, format analysis by appointment went out the attribute of mib object, and according to the attribute of these mib objects this a certain characteristic was carried out dynamic load and customization (step S12).That is to say, do not support this characteristic if from the support attribute of certain mib object of being obtained, judge the described network equipment, then webmaster can be hidden the menu of this characteristic of management, avoids the user to continue operation, takes place to read or to be provided with mistake to what the unsupported object of the network equipment carried out; Support this characteristic if from the support attribute of certain mib object of being obtained, judge the network equipment, but the menu of this characteristic of webmaster retention management then, and the attribute of the mib object that relates to according to this characteristic, network management interface is loaded dynamically and customizes, such as, webmaster is provided with value import-restriction accurately according to the span attribute of the mib object that gets access to; Perhaps webmaster is according to the data type attribute of the mib object that gets access to, when the user needs mib object on the network equipment, accurate data type etc. is set.
Wherein, the query interface of being mentioned in implementation procedure of the present invention is to communicate by the management agreement between the webmaster and the network equipment.And NMP of the present invention (management agreement between the webmaster and the network equipment) can comprise: snmp protocol and Telnet agreement etc., therefore, if webmaster is wanted the MIB of requester network equipment, at first must meet management agreement, the regulation of snmp protocol for example, secondly, query interface can provide the attribute type of mib object that webmaster is concerned about and care to the network equipment, and provides the mib object that inquires attribute information by the network equipment to webmaster.
The basic definition of described query interface meets webmaster and network device management protocol, can provide mib object that webmaster is concerned about and attribute thereof to the network equipment for all, is organized the form of expression that the mib object attribute information that inquires is provided to webmaster after the data by the network equipment.The concrete manifestation form of query interface of the present invention can be the mode of mib object attribute list, and webmaster can read the mode of list item again by creating list item earlier when using this mib object attribute list, also can directly read the mode of Query Result.
The mode of described mib object attribute list item, at least the object that comprises in this list item has: the 1) object identity (OID of MIB to be checked, Object Indentifier, an object of unique identification in the MIB tree, a character string of representing with a cellular) or its title, and the title of described OID or mib object all be can this mib object of unique identification information; 2) which kind of information is information type to be checked promptly need inquire about to this mib object to be checked; 3) deposit the node of Query Result.Be used to deposit the result's of inquiry table node.
In addition, the table object that can also comprise in this mib object attribute list item has: 1) go state, described capable state is mainly used in the establishment of certain delegation in this mib object attribute list of control, revises operations such as deletion; 2) deposit detailed query result's object.If the return information complexity might need such object independently, webmaster can by this independently object come the disposable information that all need of obtaining; 3) the further details of request to be checked, just some query requests information that may need to provide specific and complicated is to the network equipment, so that the network equipment can correctly return the Query Information that webmaster needs, might need this moment one independently object deposit such complex information so that webmaster provides the details of necessary inquiry in when inquiry to the network equipment by described this object.
For the ease of understanding, below using snmp protocol as webmaster and devices communicating agreement, the mib object attribute list be basicly to define the query interface to certain MIB, but the query contents that the query contents of being supported during specific implementation might not be confined to list.Why type the concrete inquiry mode of its network equipment also may change, but provide the OID (perhaps its title) of mib object to be checked and information type to be checked (being the information of mib object to be checked) these two attributes at least.A kind of implementation of query interface is just described in this part, and described OID definition is thought known technology for those skilled in the art, and the present invention will omit concrete OID definition.
Be used to realize the inquiry of mib object attribute with the query interface of mib object attribute list.Object in this table is an index with the OID (perhaps title) and the information type to be checked of mib object, send the request of reading to the network equipment, after the network equipment gets access to corresponding data, return to webmaster by the form of agreement and with the response request of snmp protocol, webmaster can obtain the information that mib object to be checked needs by after resolving.The attribute of described mib object comprises the base attribute that defines in the SNMP standard, as the access attribute of mib object, the data type of mib object, data span of mib object or the like, the attribute of certain mib object of the present invention also can comprise other webmaster and the network equipment between arrange all meet other property content of snmp protocol.
Wherein, the query object of described query interface comprises: objectInfoTable:MIB query interface table; ObjectInfoEntry:MIB query interface table entity; ObjectInfoOID: table index, expression needs the OID or the title of the mib object of inquiry, and this is necessary; ObjectInfoType: expression needs which kind of attribute of inquiry mib object, and this is necessary; ObjectInfoTypeExtesion: according to the complexity difference of query contents, might some inquiry need provide more detailed Query Information, then can provide, be convenient to like this expand by this mib object.This node is that optionally if there is not the complex query demand, then this can omit; ObjectInfoValue: deposit Query Result, if there is alternate manner to return Query Result (as utilizing objectInfoType), then this is optional;
ObjectIndoValueExtesion: deposit further detailed Query Result, the Query Result more complicated that some inquiry is returned then can provide by this mib object.Be convenient to like this expand, this node is that optionally if there is not the complex query result, then this can omit; ObjectInfoRowStatus: the row state, represent the establishment, deletion of objectInfoTable etc., this is optionally, does not inquire about if do not take to create earlier the mode that list item reads again, then this can omit.
Therefore, the network equipment with the form that cooperates of webmaster is among the present invention: webmaster provides the OID sign of required inquiry mib object and attribute information to the network equipment by query interface, the network equipment organizes after the data mode of reading response request with SNMP to return to webmaster, webmaster obtains equipment MIB tenability by the analysis and consult result.The described network equipment can be organized data in the following manner:
At first inquire about the attribute of this mib object on this equipment, can use the form of character string to feed back to webmaster after getting access to data by following form:
1) will get access to data with string representation span feed back to webmaster, such as, with character string " R[1,3], [5,7] " or " L[1,100] " feedback.Wherein, described " R[1,3], [5,7] " expression is an integer variable, and its span is [1,3], [5,7]; Described character string " L[1,100] " expression is a string variable, and its length restriction is [1,100].
2) will get access to data and feed back to webmaster with the form of the data type of string representation, described data type is with all SNMP data types of numeral according to following corresponding relation.Such as: character string " 1 " express time counting TimeTicks type, character string " 2 " expression character string OCTET STRING type, character string " 3 " indicated object identifier OBJECT IDENTIFIER type, character string " 4 " expression IP address IpAddress type or the like; What use in addition that character string prefix " T " expression returns is data type.Like this, if that return to webmaster is character string " T1 ", the data type of then representing this mib object is TimeTicks, if " T2 ", the data type of then representing this mib object is OCTET STRING.
3) will get access to data with string representation the form of access attribute feed back to webmaster, such as from character string " 1 " expression notice notification type, " 2 " expression inaccessible notaccessible, " 3 " represent read-write read-write, the read-only read-only of " 4 " expression or the like; What use in addition that character string prefix " A " expression returns is access type.Like this,, represent that then this mib object is the Trap node if that return to webmaster is character string " A1 ", if " A3 " represent that the data type of this mib object is readable and write, i.e. read-write.
So webmaster after getting access to corresponding data, is also resolved this data by identical form, can obtain the attribute of its corresponding mib object.
In addition, the cooperation of the network equipment of the present invention and webmaster and two kinds of forms of query interface are corresponding, and dual mode is also arranged.Described first kind of mode is, webmaster is according to the needs of oneself, dynamically submit the list item request to create of the mib object of required inquiry to the network equipment, the mib object that informing network equipment oneself is concerned about is attribute information extremely, after the network equipment is collected data, generate new list item, in depositing the list item of Query Result, insert the MIB tenability, return the establishment success response, webmaster can be inquired about newly-generated list item by the index when creating list item, obtains equipment MIB tenability, when being indifferent to this query aim, can submit the deletion application to, the network equipment can be deleted this query aim.But object dynamic creation and the deletion of this mode webmaster to being concerned about relatively flexibly, also can be avoided the too much Query Result of network equipment maintenance, and influence performance.The described second way is, webmaster is deposited the list item of Query Result by inquiry, directly obtains information.Here, webmaster can use the OID of the mib object that needs inquiry and need the MIB attribute of inquiry to be organized into an index, be combined into an effective mib object example with the OID of the list item of depositing Query Result, send query requests to the network equipment, after the network equipment is received the query requests of webmaster, return to webmaster after organizing data (the tissue data procedures is with first kind of mode), because these data are not created corresponding list item on the network equipment, webmaster reads at every turn all needs to use complete query requests, so these data are only once effective to webmaster, the network equipment there is no need to preserve Query Result.
Below in conjunction with a concrete application example the present invention is described, sees Fig. 3 for details, be among the present invention among the embodiment webmaster by the system handles procedure chart of unified query interface treatment facility otherness.How specifically describe webmaster and be and to finish management that MIB tenability difference equipment is arranged by query interface of the present invention.It realizes that principle is: when webmaster need manage a certain characteristic of equipment, can send SNMP to the network equipment by query interface and read request, obtain the attribute of the mib object that relates to, these attributes are that webmaster will use, but do not know and can use, and described attribute include but not limited to mib object span, whether support, access limit, data type; The network equipment is by the data of inquiry self, and after the mode that the attribute of the mib object that inquires is read to respond with SNMP returned to webmaster, webmaster format analysis by appointment goes out the attribute of mib object, read or be provided with the mib object attribute, the attribute according to these mib objects comes this characteristic is carried out dynamic load and customization again.
Suppose that A, B are arranged in certain enterprise, C three homologous series but the different equipment of model, their most characteristic is all identical, but has certain difference on some characteristic.Suppose that described A, B equipment can support the configuration to the X agreement, and C equipment is not supported this configuration.When disposing the X agreement on A, the B equipment, configurable ageing time, but the span of the ageing time on the A equipment is 10~10000 milliseconds, the span of ageing time is 45~600 milliseconds on the B equipment.In addition, also comprise D equipment identical with device A, B, C series but that model is inequality in this enterprise, it is read-only, not configurable that described equipment D goes up the ageing time of X agreement.
That obviously describe in mib file is the complete or collected works of A, B, C, four kinds of equipment situations of D, but because its characteristic is incomplete same, therefore also different on implementation, all there is the difference of MIB tenability in the X agreement that described A, B, C equipment are realized.If enterprise is the general webmastering software of a cover to A, B, C, four sections of equipment developments of D.In then single table from then on, webmaster can't obtain the difference condition of equipment room.If but adopt the realization of query interface of the present invention just necessary, webmaster just can break away from the constraint of concrete device specifics, has solved the equipment otherness independently.That is to say that webmaster passes through query interface, cooperate, obtain the process of MIB tenability of the X characteristic of A, B, C, D equipment with equipment.Before realizing the present invention, do earlier as giving a definition: suppose that Y represents the sign OID of X agreement ageing time, in the value of objectInfoType: 1 represents access rights, and whether indication equipment is supported; 2 represent the span of integer data.Also supposition if this equipment is supported the X agreement, is then necessarily also supported this mib object of X agreement ageing time simultaneously; If this equipment is not supported this mib object of X agreement ageing time, then this equipment is not supported the X agreement yet.Its specific implementation process is:
At first, webmaster need be created data line, the mib object that announcement apparatus oneself is concerned about in the objectInfoTable table.Its objective is webmaster wonders whether this equipment supports this mib object, so webmaster sends the request message that SNMP creates the table row to equipment, creating a line identifier OID to device request at the objectInfoTable table is Y, and attribute type is 1 list item.
Row is created successfully if equipment returns table, and it is the access attribute information of the object of Y that expression has obtained OID, and allows webmaster to read.
Webmaster sends SNMP to equipment and reads request then, and reading OID from the objectInfoValue node is the access rights of the object of Y, i.e. equipment situation about whether supporting.
Equipment is that the support situation of the object of Y is read response message with SNMP and returned to webmaster with OID.
To the situation of returning of different equipment be described respectively below.
1) be that the mib object of Y is an X agreement ageing time if the equipment of A, category-B type is known OID, the access attribute of this mib object is read-write read-write on this equipment, then the equipment of A, category-B type according to the form of webmaster agreement, the access attribute that returns OID on this equipment and be the mib object of Y is that read-write SNMP reads response message.
2) be that the mib object of Y is an X agreement ageing time if the equipment of C type is known OID, and this equipment is not supported this mib object, then the equipment of C type according to the form of webmaster agreement, the access attribute that returns OID on this equipment and be the mib object of Y is that the SNMP of inaccessible notaccessible reads response message.
3) be that the mib object of Y is an X agreement ageing time if the equipment of D type is known OID, and the access attribute of this mib object is read-only read-only on this equipment, then the equipment of D type according to the form of webmaster agreement, the access attribute that returns OID on this equipment and be the mib object of Y is that the SNMP of read-only read-only reads response message.
Webmaster can be learnt A, B, D equipment support X agreement like this, and C equipment is not supported, when management C equipment, webmaster can dynamically uninstall X consultative management function, and on A, B, D equipment, keep X consultative management function, but on D equipment, need X agreement ageing time to be set to the state that to revise.
In A, B equipment, when the user opened X consultative management function, webmaster can be to other othernesses of equipment query X agreement ageing time, such as span.At first need create data line in the objectInfoTable table, webmaster sends the request message that SNMP creates the table row to equipment, and creating the OID of delegation to device request at the objectInfoTable table is Y, and the attribute that need obtain is the list item of span.
Row is created successfully if equipment returns table, and it is the span information of the object of Y that expression has obtained OID, and allows webmaster to read.
Webmaster sends SNMP to equipment and reads request then, and reading OID from the objectInfoValue node is the span situation of the object of Y.
To describe returning of different equipment below.
1) equipment of category-A type knows that OID is that the mib object of Y is an X agreement ageing time, and this equipment is 10~10000 milliseconds to the span of this mib object, then the equipment of category-A type according to the form of webmaster agreement, the span of returning OID on this equipment and be the mib object of Y is that 10~10000 milliseconds SNMP reads response message.
2) equipment of category-B type knows that OID is that the mib object of Y is an X agreement ageing time, and this equipment is 45~600 milliseconds to the span of this mib object, then the equipment of category-B type according to the form of webmaster agreement, the span of returning OID on this equipment and be the mib object of Y is that 45~600 milliseconds SNMP reads response message.
Webmaster just can know that X agreement ageing time is 10~10000 milliseconds on the A equipment like this, and X agreement ageing time is 45~600 milliseconds on the B equipment.Webmaster can be when management A equipment, on X consultative management interface, X agreement ageing time is provided with that the user imports must be in the restriction between 10~10000 milliseconds, when management B equipment, on X consultative management interface, X agreement ageing time is provided with the user to be imported and must avoid the user to import inappropriate value, and frequently return the situation that failure is set in the restriction between 45~600 milliseconds.The information of the webmaster equipment that can get access to according to slave unit is made different processing like this.
In addition, the present invention is not limited to Simple Network Management Protocol SNMP at webmaster and the employed NMP of the network equipment, can also be used in other communication protocols,, also can handle flow process and make webmaster get access to the MIB tenability of equipment when managing such as telnet agreement (being the telnet agreement) with reference to this.
This shows, from the processing procedure of the invention described above as can be known, the present invention can make webmaster dynamically obtain the MIB tenability of the network equipment by the inquiry query interface, and the function of self is dynamically adjusted according to the information that gets access to, thereby realize carrying out supporting accurately with the network equipment, avoid occurring frequently reading or be provided with the situation of makeing mistakes because of can't get access to the MIB tenability of equipment the time.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.
Claims (10)
1, a kind of management method of obtaining MIB tenability in the equipment is characterized in that, when webmaster when a certain characteristic to equipment manages, need to comprise through following step:
A, webmaster send the request that needs inquiry mib object and attribute thereof by query interface to the network equipment;
After the corresponding data of mib object and attribute thereof is supported in B, network equipment inquiry, it is fed back to webmaster;
C, webmaster carry out corresponding dynamic loading and customization according to mib object that receives and attribute thereof to this characteristic.
2, according to the described management method of obtaining equipment MIB tenability of claim 1, it is characterized in that, described query interface is for using network communication protocol, provide the mib object sign of the required inquiry of webmaster and attribute thereof to the network equipment, and the mib object that inquired to webmaster feedback of the network equipment and the form of expression of attribute information thereof, wherein, the network communication protocol of described use is to realize that webmaster and equipment carry out institute's protocols having of information interaction, comprise Simple Network Management Protocol, Telnet agreement, Security Socket Layer.
3, according to the described management method of obtaining equipment MIB tenability of claim 2, it is characterized in that, the form of expression of described query interface is the mib object attribute list, and the content of described mib object attribute list comprises: the sign of mib object to be checked or title, information type to be checked and the node of depositing Query Result.
4, according to the described management method of obtaining equipment MIB tenability of claim 3, it is characterized in that the content of described mib object attribute list also comprises: the row state, deposit detailed query result's the mib object and the details of request to be checked.
According to the described management method of obtaining equipment MIB tenability of claim 3, it is characterized in that 5, the webmaster of described steps A sends the request that needs inquiry mib object and attribute thereof by following step to the network equipment:
A11) webmaster is dynamically submitted the list item request to create of required mib object to the network equipment by the mib object attribute list;
A12) after the network equipment returned and creates successfully, the index that webmaster re-uses when creating was formed an example with the node of depositing Query Result, reads the result to the network equipment; Or
A21) webmaster is formed an index with the sign of mib object to be checked and MIB attribute to be checked, and synthesizes an effective mib object example with the identified group of the row object of depositing mib object property value result, to send query requests to the network equipment.
6, according to claim 1 or the 5 described management methods of obtaining equipment MIB tenability, it is characterized in that in step B, the network equipment will inquire corresponding data, by with the communication protocol of webmaster agreement, feed back to webmaster with the form of response request and agreement.
According to the described management method of obtaining equipment MIB tenability of claim 6, it is characterized in that 7, the form of described agreement is that the webmaster and the network equipment are made an appointment, and comprising: data span, SNMP data type or access attribute.
According to the described management method of obtaining equipment MIB tenability of claim 1, it is characterized in that 8, the specific implementation process of step B is:
B11) after the network equipment inquires corresponding data, in the mib object attribute list, generate a new list item, and in the list item of depositing mib object attribute query result, write the MIB tenability, and return the establishment success response to webmaster; Or
B21) after the network equipment inquires corresponding data, data that directly should correspondence feed back to webmaster.
9, according to the described management method of obtaining equipment MIB tenability of claim 1, it is characterized in that, the specific implementation process of step C is: whether webmaster supports this characteristic according to the described equipment of the determined property of received mib object, if support, then webmaster is with the menu of this characteristic of retention management, and, network management interface is carried out dynamic load and customization according to the attribute of the mib object of this characteristic; Otherwise webmaster can be hidden the menu of this characteristic of management, avoids the user to continue the unsupported object of this equipment is read or be provided with faulty operation.
10, according to the described management method of obtaining equipment MIB tenability of claim 1, it is characterized in that described method also comprises:
D, when webmaster does not need the list item of this mib object, then submit the request of the described list item of deletion to the network equipment;
E, the network equipment are deleted described equipment MIB query aim.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100928020A CN100338912C (en) | 2005-08-18 | 2005-08-18 | Management method for obtaining equipment MIB support capability |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100928020A CN100338912C (en) | 2005-08-18 | 2005-08-18 | Management method for obtaining equipment MIB support capability |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1744519A true CN1744519A (en) | 2006-03-08 |
CN100338912C CN100338912C (en) | 2007-09-19 |
Family
ID=36139729
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005100928020A Expired - Fee Related CN100338912C (en) | 2005-08-18 | 2005-08-18 | Management method for obtaining equipment MIB support capability |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100338912C (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008128391A1 (en) * | 2007-04-24 | 2008-10-30 | Zte Corporation | Method for obtaining the multimedia broadcast multicast service supporting ability of a cell |
CN101945003A (en) * | 2009-07-03 | 2011-01-12 | 中兴通讯股份有限公司 | Compatibility processing method and management station |
CN102035669B (en) * | 2009-09-29 | 2014-03-26 | 鸿富锦精密工业(深圳)有限公司 | Function calling system and method |
CN104158695A (en) * | 2014-09-05 | 2014-11-19 | 上海斐讯数据通信技术有限公司 | Network management method for network management system |
CN109033456A (en) * | 2018-08-28 | 2018-12-18 | 百度在线网络技术(北京)有限公司 | A kind of condition query method, apparatus, electronic equipment and storage medium |
CN114745249A (en) * | 2022-03-31 | 2022-07-12 | 烽台科技(北京)有限公司 | Method for generating management information base and electronic equipment |
US20240036885A1 (en) * | 2022-07-29 | 2024-02-01 | Brother Kogyo Kabushiki Kaisha | Communication device, non-transitory computer-readable recording medium storing computer-readable instructions for communication device, and method performed by communication device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1427578A (en) * | 2001-12-21 | 2003-07-02 | 友讯科技股份有限公司 | Method capable of preknowing MIB group table list in SNMP network equipment |
US20030177214A1 (en) * | 2002-03-13 | 2003-09-18 | D-Link Corporation | Dynamic SNMP network device |
-
2005
- 2005-08-18 CN CNB2005100928020A patent/CN100338912C/en not_active Expired - Fee Related
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008128391A1 (en) * | 2007-04-24 | 2008-10-30 | Zte Corporation | Method for obtaining the multimedia broadcast multicast service supporting ability of a cell |
US8665766B2 (en) | 2007-04-24 | 2014-03-04 | Zte Corporation | Method of obtaining a multimedia broadcast multicast service supporting ability of a cell |
CN101945003A (en) * | 2009-07-03 | 2011-01-12 | 中兴通讯股份有限公司 | Compatibility processing method and management station |
CN102035669B (en) * | 2009-09-29 | 2014-03-26 | 鸿富锦精密工业(深圳)有限公司 | Function calling system and method |
CN104158695A (en) * | 2014-09-05 | 2014-11-19 | 上海斐讯数据通信技术有限公司 | Network management method for network management system |
CN109033456A (en) * | 2018-08-28 | 2018-12-18 | 百度在线网络技术(北京)有限公司 | A kind of condition query method, apparatus, electronic equipment and storage medium |
CN114745249A (en) * | 2022-03-31 | 2022-07-12 | 烽台科技(北京)有限公司 | Method for generating management information base and electronic equipment |
CN114745249B (en) * | 2022-03-31 | 2023-06-20 | 烽台科技(北京)有限公司 | Method for generating management information base and electronic equipment |
US20240036885A1 (en) * | 2022-07-29 | 2024-02-01 | Brother Kogyo Kabushiki Kaisha | Communication device, non-transitory computer-readable recording medium storing computer-readable instructions for communication device, and method performed by communication device |
US11972270B2 (en) * | 2022-07-29 | 2024-04-30 | Brother Kogyo Kabushiki Kaisha | Communication device, non-transitory computer-readable recording medium storing computer-readable instructions for communication device, and method performed by communication device |
Also Published As
Publication number | Publication date |
---|---|
CN100338912C (en) | 2007-09-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100338912C (en) | Management method for obtaining equipment MIB support capability | |
EP1729444B1 (en) | A snmp-based asynchronous communication mechanism process method | |
KR101421567B1 (en) | Device management server, client and method for locating target operation object | |
CN1768338A (en) | Media for accessing network | |
US7580936B2 (en) | Extendable discovery of network device information | |
CN101043346A (en) | Method and system for adding label for contacts | |
US20080301143A1 (en) | Automatic Update System and Method for Using a Meta Mib | |
US20130282737A1 (en) | Method and apparatus for intelligently deploying an application, method and apparatus for processing application access, system for intelligently deploying and scheduling an application | |
CN1714350A (en) | Priorization of management objects | |
CN1152515C (en) | Network management system based on strategy | |
CN108366356B (en) | Method and device for intercommunication between M2M system and identification analysis system | |
CN103049448B (en) | File management method and file management system | |
CN1859216A (en) | SNMP communication system and method | |
CN1731740A (en) | Network device management method and network management system | |
CN105049256A (en) | Method and system for realizing universal custom interface message | |
CN1577277A (en) | Managing program applications | |
CN1533115A (en) | Method and device for supporting error reason of simple network management protocol | |
CN111585963A (en) | Data acquisition method, system and storage medium | |
CN1677932A (en) | Network management configuration method and apparatus thereof | |
CN1889557A (en) | Long-distance XML data updating method and system | |
CN1794663A (en) | Access method of document in pile system | |
CN114153559A (en) | Cloud platform log acquisition method, device, equipment and readable storage medium | |
CN113381875B (en) | Method for acquiring configuration data | |
EP2134032B1 (en) | Method, system and device for managing customer premises equipment | |
CN102833287B (en) | The method of visit data resource in distributed file system and distributed file 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 | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Patentee after: Xinhua three Technology Co., Ltd. Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base Patentee before: Huasan Communication Technology Co., Ltd. |
|
CP03 | Change of name, title or address | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20070919 Termination date: 20200818 |
|
CF01 | Termination of patent right due to non-payment of annual fee |