CN101272275A - Network management equipment, method and system for acquiring network appliance configuration information - Google Patents

Network management equipment, method and system for acquiring network appliance configuration information Download PDF

Info

Publication number
CN101272275A
CN101272275A CNA2008100279207A CN200810027920A CN101272275A CN 101272275 A CN101272275 A CN 101272275A CN A2008100279207 A CNA2008100279207 A CN A2008100279207A CN 200810027920 A CN200810027920 A CN 200810027920A CN 101272275 A CN101272275 A CN 101272275A
Authority
CN
China
Prior art keywords
configuration information
network equipment
informative abstract
reads
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2008100279207A
Other languages
Chinese (zh)
Other versions
CN101272275B (en
Inventor
纪晓峰
马宇智
韩璐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2008100279207A priority Critical patent/CN101272275B/en
Publication of CN101272275A publication Critical patent/CN101272275A/en
Priority to PCT/CN2009/071250 priority patent/WO2009135403A1/en
Application granted granted Critical
Publication of CN101272275B publication Critical patent/CN101272275B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/085Retrieval of network configuration; Tracking network configuration history
    • H04L41/0853Retrieval of network configuration; Tracking network configuration history by actively collecting configuration information or by backing up configuration information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses a network management equipment, a method for obtaining configuration information of the network equipment and a system thereof. The method for obtaining the configuration information of the network equipment comprises the steps: reading the information summary of the configuration information of the network equipment, checking the information summary and determining whether the configuration information of the network equipment is changed, and reading the configuration information of the network equipment on condition that the configuration information of the network equipment has been changed. By adopting the embodiment of the invention, the polling times of network management equipment for the network equipment configuration information can be reduced, thus improving the polling efficiency and decreasing the network burden.

Description

Network Management Equipment, obtain the method and system of configuring information of network appliance
Technical field
The present invention relates to network management technology, relate in particular to a kind of Network Management Equipment, obtain the method and system of configuring information of network appliance.
Background technology
Along with the continuous development of network technology, how the scale of variety of network systems is effectively managed and to be controlled network system in continuous expansion, has become the key point of the network operation.
A network management system generally comprises three elements: the network equipment, management work station and management agreement.The network equipment be meant need be managed as network nodes such as router, servers, all moving an application process that is called proxy for equipment on each node, be used for the state of tracking and monitoring managed devices; Management work station is moving the management platform application system, with the supervision and the control of network manager's the paired network equipment of command conversion; Management agreement is used for the rules that management information transmits between define equipment agency and the management work station.In existing network management system, SNMP (Simple Network Management Protocol, Simple Network Management Protocol) is the NMP that is most widely used.A MIB (Management Information Base, management information bank) is arranged among the SNMP, and MIB is a tree structure, has defined the addressable network equipment and attribute thereof, and the SMNP agreement defines and manages the equipment disposition item by MIB.
Webmaster polling device configuration information is the basic means that webmaster collecting device information manages, and managing process to the proxy for equipment process transmission inquiry request message (with polling mode) of each equipment, is followed the tracks of the state of each network equipment by regularly; The mode that snmp protocol adopts comparison time to stab is come the calibration equipment configuration change, is respectively arranged with timestamp in the Network Management Equipment and the network equipment, when the configuration data of the network equipment changes, and the time when becoming data to change time stamp setting; The granularity of timestamp is generally with a table, perhaps record, and perhaps a state attribute value is that unit sets.Network Management Equipment starts the poll timer network equipment is carried out poll, regularly reads the timestamp of the network equipment, and compares with the timestamp of self preserving, and finds to equate, then no longer reads other data of the network equipment; Find unequally, then upgrade the timestamp of self preserving, read the data of the network equipment and store into Network Management Equipment in.
The inventor is in creation process of the present invention, find that there is following shortcoming in above-mentioned prior art: because the design of MIB table itself does not separate the configuration information of the network equipment in the snmp protocol with operation information, so easy following state information-change of table level timestamp, cause the poll action of trigger table continually of Network Management Equipment needs, cause network traffics bigger; And because the timestamp mode has only write down change, whether change for the configuration information content, timestamp is beyond expression, even cause the configuration data of the network equipment not change, webmaster still needs poll, has increased network burden.
Summary of the invention
The embodiment of the invention provides a kind of Network Management Equipment, obtains the method and system of configuring information of network appliance, can reduce the number of times of Network Management Equipment polled network device configuration information, improves poll efficient.
In order to solve the problems of the technologies described above, the embodiment of the invention provides a kind of method of obtaining configuring information of network appliance, comprising:
Read the informative abstract of the configuration information of the described network equipment;
The described informative abstract of verification determines whether the configuration information of the described network equipment changes;
Change if determine the configuration information of the described network equipment, read the configuration information of the described network equipment.
Correspondingly, the embodiment of the invention also provides a kind of Network Management Equipment, comprising:
First read module is used to read second informative abstract of the configuration information of the network equipment;
The verification module is used for second informative abstract that described first read module of verification reads and determines whether the configuration information of the described network equipment changes;
Second read module is used for reading the configuration information of the described network equipment when described verification module determines that change takes place the configuration information of the described network equipment.
Correspondingly, the embodiment of the invention also provides a kind of system that obtains configuring information of network appliance, comprises Network Management Equipment and at least one network equipment;
Described Network Management Equipment, be used for according to the informative abstract that reads the configuration information of the described network equipment of returning, whether the configuration information of determining the described network equipment changes, if the configuration information of the described network equipment changes, then reads the configuration information of the described network equipment;
The described network equipment carries the informative abstract node, is used to write down the informative abstract of the configuration information of the described network equipment, when change takes place the configuration information of the described network equipment, upgrades the described informative abstract that writes down in the described informative abstract node.
Implement Network Management Equipment provided by the invention, obtain the method and system of configuring information of network appliance, have following beneficial effect: Network Management Equipment is before carrying out poll to the network equipment, determine by the check information summary whether the configuration information of the described network equipment changes, if do not change, then abandon reading the configuration information of the described network equipment, cancel this poll action, can reduce the number of times of Network Management Equipment polled network device configuration information, improve poll efficient, reduce network burden.
Description of drawings
Fig. 1 is the composition schematic diagram of the system that obtains configuring information of network appliance that provides of the embodiment of the invention;
Fig. 2 is that first embodiment of the Network Management Equipment that provides of the embodiment of the invention forms schematic diagram;
Fig. 3 is that second embodiment of the Network Management Equipment that provides of the embodiment of the invention forms schematic diagram;
Fig. 4 is the composition schematic diagram of verification module in the embodiment of the invention;
Fig. 5 is that the 3rd embodiment of the Network Management Equipment that provides of the embodiment of the invention forms schematic diagram;
Fig. 6 is the composition schematic diagram of reliability detection module in the embodiment of the invention;
Fig. 7 is the composition schematic diagram of reliability processing module in the embodiment of the invention;
Fig. 8 is the schematic flow sheet of first embodiment of the method for obtaining configuring information of network appliance that provides of the embodiment of the invention;
Fig. 9 is the schematic flow sheet of second embodiment of the method for obtaining configuring information of network appliance that provides of the embodiment of the invention;
Figure 10 is the schematic flow sheet of the 3rd embodiment of the method for obtaining configuring information of network appliance that provides of the embodiment of the invention;
Figure 11 is the schematic flow sheet that the reliability of the method for obtaining configuring information of network appliance that provides of the embodiment of the invention detects.
Embodiment
Be the method that example explanation generates configuration information by message digest algorithm informative abstract with MD5 message digest algorithm (Message Digest Algorithm 5) in the embodiment of the invention.MD5 is a kind of irreversible character string mapping algorithm, the byte serial of a random length can be transformed into the big integer of 16 bytes, produces unique MD5 digest.It is that a segment information (Message) is produced informative abstract (Message-Digest) that the typical case of MD5 uses, and is distorted preventing.Because MD5 digest has uniqueness and irreversibility, adopt MD5 digest verification configuration change, simple and reliable.Persons of ordinary skill in the art may appreciate that the embodiment of the invention also can adopt other message digest algorithm, for example MD4 message digest algorithm.
Referring to Fig. 1, be the composition schematic diagram of the system that obtains configuring information of network appliance that provides of the embodiment of the invention.
The described system that obtains configuring information of network appliance comprises Network Management Equipment 1 and at least one network equipment 2;
Network Management Equipment is before carrying out poll to the network equipment, read the informative abstract of the configuration information of the described network equipment in advance, whether the configuration information of determining the described network equipment changes, if the configuration information of the described network equipment changes, then reads the configuration information of the described network equipment; Otherwise abandon reading the configuration information that described network is equipped with, cancel this poll action.Be that example describes only below with the information interaction between the Network Management Equipment 1 and the network equipment 2.
In the described network equipment 2, be provided with the informative abstract node, be used to write down the MD5 digest of the configuration information of the described network equipment 2, follow the tracks of the variable condition of configuration information.Can in whole configuration information storehouse, provide an informative abstract node, write down the MD5 digest of whole configuration informations; Perhaps, whole configuration information storehouse is divided into a plurality of configuration information subclass, in each configuration information subclass, provides an informative abstract node respectively according to the functional characteristic equigranular.When the configuration information of the network equipment 2 changed, described informative abstract node updates was the MD5 digest of the configuration information after changing.
For example,<ifTable〉content be a configuration information subclass, the MD5 message digest algorithm is with whole<ifTable〉imformosome is used as a text message, by its irreversible character string mapping algorithm, produce a MD5 digest with uniqueness, simultaneously, this MD5 digest is kept at<ifTable in the imformosome, this MD5 digest is<ifTable informative abstract node in the configuration information subclass.
Before the network equipment was carried out poll, described Network Management Equipment 1 from the informative abstract node of the described network equipment 2, read the MD5 digest of the configuration information of the described network equipment 2 earlier, described MD5 digest is called second informative abstract here;
After Network Management Equipment 1 reads described second informative abstract return, compare, determine according to comparative result whether the configuration information of the described network equipment 2 changes with first information summary:
If the two equates, determine that then the configuration information of the network equipment 2 changes, Network Management Equipment 1 abandons reading the configuration information of the described network equipment 2;
If the two is unequal, determine that then the configuration information of the network equipment 2 changes, Network Management Equipment 1 reads the configuration information of the described network equipment 2.
The informative abstract of the described network equipment that described first information summary read for the last time of self preservation.
Described Network Management Equipment 1 determines that the configuration information of the described network equipment 2 takes place after changing, starts the poll action to the described network equipment, reads the configuration information of the described network equipment 2.
Further, because Network Management Equipment 1 is when reading the configuration information of the network equipment 2, described configuration information might be distorted in the process of Network Transmission, so for reliability and the fail safe that improves poll, in Network Management Equipment 1 this locality, can also the reliability that read the configuration information of returning be detected, after definite described configuration information is distorted, more described configuration information is not preserved.
For example, after the configuration information of the network equipment 2 is read, in Network Management Equipment 1 this locality, use the MD5 message digest algorithm identical with the network equipment 2 sides, calculate from the network equipment 2, reading configuration information, draw the MD5 digest of described configuration information, described MD5 digest is called the 3rd informative abstract here.With the 3rd informative abstract with read second informative abstract of returning and compare, determine according to comparative result whether the described configuration information of returning that reads is distorted in network transmission process:
If the two is unequal, determine that then the described configuration information of returning that reads is distorted, abandon the described configuration information and described second informative abstract of returning of reading;
If the two equates, determine that then the described configuration information of returning that reads is not distorted, preserve the described configuration information and described second informative abstract of returning of reading.Described second informative abstract is preserved, and is used for before polled network equipment next time the foundation that whether changes as the configuration information of the verification network equipment.
Referring to Fig. 2, be that first embodiment of the Network Management Equipment that provides of the embodiment of the invention forms schematic diagram.
Described Network Management Equipment comprises:
First read module 11 is used to read second informative abstract of the configuration information of the network equipment;
Verification module 12 is used for second informative abstract that described first read module 11 of verification reads and determines whether the configuration information of the described network equipment changes;
Second read module 13 is used for reading the configuration information of the described network equipment when described verification module 12 determines that change takes place the configuration information of the described network equipment.
Further, as shown in Figure 3, in the another embodiment of the present invention, described Network Management Equipment can also comprise:
Memory module 14 is used to preserve the first information summary that described 11 last times of first read module read, and the configuration information of the described network equipment that reads of described 13 last times of second read module.
Wherein, referring to Fig. 4, described verification module 12 comprises:
First comparing unit 121 is used for the first information summary that last time that second informative abstract that more described first read module 11 reads and described memory module 14 preserve reads;
First analytic unit 122 is used for the comparative result according to described first comparing unit 121, determines whether the configuration information of the described network equipment changes.
Because described second read module 13 reads the configuration information of the network equipment, might in the process of Network Transmission, be distorted, so for reliability and the fail safe that improves poll, in Network Management Equipment this locality, can also the reliability that read the configuration information of returning be detected, after definite described configuration information is distorted, do not preserve described configuration information again.As shown in Figure 5, in the third embodiment of the present invention, described Network Management Equipment further comprises:
Reliability detection module 15 is used for after described second read module 13 reads the configuration information of the described network equipment, determines whether described configuration information is distorted;
Reliability processing module 16 is used for the testing result according to described reliability detection module, handles second informative abstract that described first read module 11 reads, and the configuration information of the described network equipment that reads of described second read module 13.
Wherein, referring to Fig. 6, described reliability detection module 15 comprises:
Computing unit 151 is used for according to digest algorithm the configuration information that described second read module 13 reads the described network equipment of returning being calculated, and obtains the 3rd informative abstract;
Second comparing unit 152 is used for second informative abstract that the 3rd informative abstract that more described computing unit 151 obtains and described first read module 11 read;
Second analytic unit 153 is used for the comparative result according to described second comparing unit 152, determines whether described configuration information is distorted.
Referring to Fig. 7, described reliability processing module 16 comprises:
First processing unit 161, be used for when described reliability detection module 15 determines that described configuration information is not distorted, triggering described memory module 14 upgrades, preserve second informative abstract that described first read module 11 reads, and the configuration information of the described network equipment that reads of described second read module 13;
Second processing unit 162, be used for when described reliability detection module 15 determines that described configuration information is distorted, abandon the configuration information that described second read module 13 reads the described network equipment of returning, and described first read module 11 reads second informative abstract of returning.
The system and the Network Management Equipment of the fetch equipment configuration information that the embodiment of the invention provides, Network Management Equipment is before carrying out poll to the network equipment, read the informative abstract of the configuration information of the described network equipment in advance, whether the configuration information of determining the described network equipment by the described informative abstract of verification changes, if do not change, then abandon reading the configuration information of the described network equipment, cancel this poll action, can reduce the number of times of polling device configuration information, improve poll efficient, reduce network burden.And in Network Management Equipment this locality, also fetch the informative abstract of the configuration information that comes, after network transmission process is distorted, do not store again determining to read the configuration information of returning, can improve the fail safe and the reliability of polled network equipment disposition by check read.
Referring to Fig. 8, be the schematic flow sheet of first embodiment of the method for obtaining configuring information of network appliance that provides of the embodiment of the invention.
S100 reads the informative abstract of the configuration information of the described network equipment;
Be provided with the informative abstract node in the network equipment, be used to write down the informative abstract of the configuration information of the described network equipment, follow the tracks of the variable condition of configuration information, when the configuration information of the described network equipment changed, the informative abstract of described informative abstract nodes records was updated to the informative abstract of the configuration information after the variation.
S101, the described informative abstract of verification determines whether described configuration information changes; If described configuration information changes, carry out S102, if described configuration information changes, carry out S103;
For example, the informative abstract that the last time of reading the informative abstract of returning and self preserve can be read compares, if the two equates, judges that then described configuration information changes; If the two is unequal, judge that then described configuration information changes.
S102 abandons reading the configuration information of the described network equipment;
S103 reads the configuration information of the described network equipment.
The method of obtaining configuring information of network appliance that the embodiment of the invention provides, before the network equipment is carried out poll, whether the configuration information of the described network equipment of verification changes in advance, if do not change, then abandon reading the configuration information of the described network equipment, can reduce the number of times of polled network device configuration information, improve poll efficient, reduce network burden.
Referring to Fig. 9, be the schematic flow sheet of second embodiment of the method for obtaining configuring information of network appliance that provides of the embodiment of the invention.
S200 reads the MD5 digest of the configuration information of the described network equipment;
In the present embodiment, the whole configuration information storehouse of the network equipment provides an informative abstract node, write down a MD5 digest, described MD5 digest is the MD5 digest of whole configuration informations, when the configuration information of the described network equipment changed, the MD5 digest that described informative abstract node is write down was updated to the MD5 digest of the configuration information after the variation.
S201 compares the MD5 digest that reads the MD5 digest of returning and self preserve; In Network Management Equipment this locality, preserve the MD5 digest of the whole configuration information of the described network equipment that the last time reads;
S202, whether comparative result is that the two equates, if, then carry out S203, if not, then carry out S204;
S203, the configuration information of the network equipment changes, and then abandons reading the configuration information of the described network equipment;
S204, the configuration information of the network equipment changes, and reads the configuration information that the described network equipment advances.
The method of obtaining configuring information of network appliance that the embodiment of the invention provides, before the network equipment is carried out poll, read the MD5 digest of the described network equipment earlier, whether the configuration information of determining the described network equipment by the MD5 digest verification changes, if do not change, then abandons reading the configuration information of the described network equipment, cancel this poll action, can reduce the number of times of polling device configuration information, improve poll efficient, reduce network burden.
Referring to Figure 10, be the schematic flow sheet of the 3rd embodiment of the method for obtaining configuring information of network appliance that provides of the embodiment of the invention.
S300 reads the MD5 digest of the configuration information of the described network equipment;
In the present embodiment, according to functional characteristic, module equigranular the configuration information of the described network equipment is divided at least 2 configuration information subclass, each configuration information subclass all provides an informative abstract node, when change took place the content of configuration information subclass, the MD5 digest of corresponding informative abstract nodes records was updated to the MD5 digest of the configuration information subclass after the variation.The MD5 digest of a plurality of configuration information subclass can be summarised in together, is once read by Network Management Equipment.
S301 compares reading 2 MD5 digests of returning and the MD5 digest of self preserving at least; In Network Management Equipment this locality, preserve the MD5 digest of a plurality of configuration information subclass that the last time reads; In this step, the MD5 digest that reads each configuration information subclass of returning all be kept at local corresponding MD5 digest and compare;
S302, read each MD5 digest of returning whether all with the local MD5 digest correspondent equal of preserving, if, then carry out S303, if not, then carry out S304;
S303, each configuration information subclass in the configuration information of the network equipment does not all change, and then abandons reading the configuration information of the described network equipment;
S304, at least one configuration information subclass changes, and Network Management Equipment reads the configuration information subclass of the generation change of the described network equipment.
The method of obtaining configuring information of network appliance that the embodiment of the invention provides, according to the functional characteristic equigranular, the configuration information of the network equipment is divided into a plurality of configuration information subclass, each configuration information subclass provides a MD5 digest, before the network equipment is carried out poll, the MD5 digest of a plurality of configuration information subclass is summarised in together and is once read by Network Management Equipment, and determine to take place the configuration information subclass of change by the MD5 digest verification, after Network Management Equipment starts the poll action, only need read the configuration information subclass that has changed, can reduce network traffics in a large number, improve the efficient of poll.
Network Management Equipment takes place after changing at the configuration information of determining the network equipment, starts the poll action to the described network equipment, the MD5 digest that reads and preserve the configuration information and the described configuration information of the described network equipment.Further, because Network Management Equipment is when reading the configuration information of the network equipment, described configuration information might be distorted in the process of Network Transmission, so for reliability and the fail safe that improves poll, with reading before the configuration information of returning stores, can the reliability of described configuration information be detected.
Referring to Figure 11, be the schematic flow sheet that the reliability of the method for obtaining configuring information of network appliance that provides of the embodiment of the invention detects.
S400 reads the configuration information of the described network equipment;
S401 in Network Management Equipment this locality, calculates reading the configuration information of returning by the MD5 algorithm, and described MD5 algorithm is identical with the MD5 algorithm of network equipment side;
S402, the MD5 digest that will draw by the MD5 algorithm computation with read the MD5 digest of returning and compare;
Whether S403 judges the MD5 digest that draws by the MD5 algorithm computation and reads the MD5 digest of returning and equate, if not, then carries out S404, if then carry out S405;
S404, the two is unequal, determines that the configuration information of returning that reads is distorted in Network Transmission, abandons reading the configuration information and the MD5 digest of returning;
S405, the two equates, determines that the configuration information of returning that reads is not distorted in Network Transmission, preserves the configuration information and the MD5 digest that read.Described MD5 digest is saved, can be before polled network equipment next time, and the foundation that whether changes as the configuration information of the described network equipment of verification.
The method of obtaining configuring information of network appliance that the embodiment of the invention provides, because configuration information might be distorted in the process of Network Transmission, in webmaster this locality, adopt the MD5 algorithm identical with network equipment side, calculate reading the configuration information of returning, and with the MD5 digest that calculates with from described network, read the MD5 digest of returning and compare, if both equate to show that then information is not distorted.After definite configuration information of returning that reads is not distorted in network transmission process, will read the configuration information and the MD5 digest of returning again and be saved in the Network Management Equipment, can improve the fail safe and the reliability of polling device configuration information.
Above-mentioned only to use MD5 message digest algorithm verification configuration change to describe as example, can not limit the embodiment of the invention with this.
Be that the method for obtaining configuring information of network appliance that the embodiment of the invention provides is applied in an embodiment in the NETCONF NMP below.
In the facility information of webmaster poll, can be by appointment, in the information content on set or subclass, MD5 is provided information node, such as the form in the example hereinafter,<ifTable〉content in the label is an information subset, the MD5 informative abstract (MsgDigest) of described information subset also is kept at<ifTable simultaneously〉in the imformosome.Be exemplified below:
<ifTable?MsgDigest=”ca175b9c0f726a831d895e269332461”>
<interface>
<ifIndex>1</ifIndex>
<ifDescr>Eth0/1</ifDescr>
<ifSpeed>100</ifSpeed>
<ifType>Ethernet</ifType>
<ifAdminStatus>UP</ifAdminStatus>
</interface>
</ifTable>
MD5 is with whole<ifTable〉imformosome is used as a text message, by its irreversible character string mapping algorithm, produced this unique MD5 informative abstract.
When the embodiment of the invention is applied in the NETCONF agreement, in summary file Schema, increase public verification set of properties.Be provided at the Schema definition of public verification set of properties in the NETCONF agreement, as follows:
<xsd:attributeGroup?name=″VerifyAttributeGroup″>
<xsd:annotation>
<xsd:documentation>
Common?verify?information?attributes
In the NETCONF data format, increase " the data check set of properties " of a unification, comprise MD5 digest information and data change timestamp information in the set of properties
</xsd:documentation>
</xsd:annotation>
<xsd:attribute?name=″MsgDigest″type=″xsd:string″use=″optional″/>
<xsd:attribute?name=″TimeStamp″type=″xsd:string″use=″optional″/>
</xsd:attributeGroup>
Definition in using Schema, the data format definition of concrete NETCONF configuration data, this example is example with the interface table, and is as follows:
<xs:complexType?name=″ifType″>
<xsd:annotation>
<xsd:documentation>
The defining interface data format comprises
The ifIndex-interface index
The ifDescr-interface is described
The ifSpeed-interface rate
The ifType-interface type
IfAdminStatus-interface management state
</xsd:documentation>
</xsd:annotation>
<xs:sequence>
<xs:element?name=″ifIndex″type=″xs:int″use=″required″/>
<xs:element?name=″ifDescr″type=″xs:string″minOccurs=″0″/>
<xs:element?name=″ifSpeed″type=″xs:int″minOccurs=″0″/>
<xs:element?name=″ifType″type=″xs:string″minOccurs=″0″/>
<xs:element?name=″ifAdminStatus″type=″xs:boolean″minOccurs=″0″/>
</xs:sequence>
</xs:complexType>
<xs:element?name=″ifTable″minOccurs=″0″>
<xs:complexType>
<xsd:annotation>
<xsd:documentation>
The defining interface table comprises total interface information in the table, and the interface table increases verification set of properties (VerifyAttributeGroup) content, i.e. " MD5 digest information " and " data change timestamp information "
</xsd:documentation>
</xsd:annotation>
<xs:sequence>
<xs:element?name=″interface″type=″ifType″
minOccurs=″0″maxOccurs=″unbounded″/>
</xs:sequence>
<xsd:attributeGroup?ref=″VerifyAttributeGroup″/>
</xs:complexType>
</xs:element>
At the example of configuration information storage, as follows:
<ifTable?MsgDigest=”ca175b9c0f726a831d895e269332461”>
<interface>
<ifIndex>1</ifIndex>
<ifDescr>Eth0/1</ifDescr>
<ifSpeed>100</ifSpeed>
<ifType>Ethernet</ifType>
<ifAdminStatus>UP</ifAdminStatus>
</interface>
<interface>
<ifIndex>2</ifIndex>
<ifDescr>Eth0/1</ifDescr>
<ifSpeed>1000</ifSpeed>
<ifType>Ethernet</ifType>
<ifAdminStatus>UP</ifAdminStatus>
</interface>
<interface>
<ifIndex>3</ifIndex>
<ifDescr>Eth0/3</ifDescr>
<ifSpeed>100</ifSpeed>
<ifType>Ethernet</ifType>
<ifAdminStatus>DOWN</ifAdminStatus>
</interface>
</ifTable>
It is as follows to read the mutual message of MD5 digest:
Request is obtained in configuration, filters " the MD5 digest information " of fetch interface table, concern<filter〉node:
<rpc?xmlns=″urn:ietf:params:xml:ns:netconf:base:1.0″message-id=″101″>
<get-config>
<source>
<running>
</source>
<filter?type=″xpath″select=″top/ifTable/@MsgDigest]″>
</get-config>
</rpc>
Configuration is obtained and replied, and returns " MD5 digest information ", and is as follows:
<rpc-reply?xmlns=″urn:ietf:params:xml:ns:netconf:base:1.0″message-id
=″101″>
<data>
<top>
<ifTable?MsgDigest=”ca175b9c0f726a831d895e269332461”>
</top>
</data>
</rpc-reply>
Above-mentioned only to describe configuration information with the XML document of NETCONF agreement be that example describes, and the present invention may be used in the configuration protocol, as snmp protocol equally.
The Network Management Equipment that the embodiment of the invention provides, obtain the method and system of configuring information of network appliance, Network Management Equipment is before carrying out poll to the network equipment, determine by the check information summary whether the configuration information of the described network equipment changes, if do not change, then abandon reading the configuration information of the described network equipment, cancel this poll action, can reduce the number of times of Network Management Equipment polled network device configuration information, improve poll efficient, reduce network burden; In Network Management Equipment this locality, after the configuration information of the network equipment read, determine by the check information summary whether described configuration information is distorted in network transmission process, after definite described configuration information is distorted, do not store again, can improve the fail safe and the reliability of polling device configuration information.
Above disclosed is preferred embodiment of the present invention only, can not limit the present invention's interest field certainly with this, and therefore the equivalent variations of doing according to claim of the present invention still belongs to the scope that the present invention is contained.

Claims (14)

1, a kind of method of obtaining configuring information of network appliance is characterized in that, comprising:
Read the informative abstract of the configuration information of the described network equipment;
The described informative abstract of verification determines whether the configuration information of the described network equipment changes;
Change if determine the configuration information of the described network equipment, read the configuration information of the described network equipment.
2, the method for obtaining configuring information of network appliance as claimed in claim 1 is characterized in that, the described informative abstract of described verification determines that whether the configuration information of the described network equipment changes, and comprising:
Relatively the first information is made a summary and second informative abstract;
If both equate, determine that then the configuration information of the described network equipment changes;
If both are unequal, determine that then the configuration information of the described network equipment changes;
The informative abstract that described first information summary read for the last time of self preservation, described second informative abstract are the described informative abstract of returning of reading.
3, the method for obtaining configuring information of network appliance as claimed in claim 2 is characterized in that, after the described configuration information that reads the described network equipment:
Check read is fetched the configuration information of the described network equipment that comes, and determines whether described configuration information is distorted;
If described configuration information is distorted, abandon described configuration information and described second informative abstract that reads the described network equipment of returning;
If described configuration information is not distorted, preserve described configuration information and described second informative abstract that reads the described network equipment of returning.
4, the method for obtaining configuring information of network appliance as claimed in claim 3 is characterized in that, described check read is fetched the configuration information of the described network equipment that comes, and determines that whether described configuration information is distorted, and comprising:
The configuration information that reads the described network equipment of returning is calculated by digest algorithm in this locality, draw the 3rd informative abstract of described configuration information;
More described the 3rd informative abstract with read described second informative abstract of returning;
If both equate, determine that then described configuration information is not distorted;
If both are unequal, determine that then described configuration information is distorted.
5, the method for obtaining configuring information of network appliance as claimed in claim 1 is characterized in that, if described configuration information does not change, abandons reading the configuration information of the described network equipment.
6, a kind of Network Management Equipment is characterized in that, comprising:
First read module is used to read second informative abstract of the configuration information of the network equipment;
The verification module is used for second informative abstract that described first read module of verification reads and determines whether the configuration information of the described network equipment changes;
Second read module is used for reading the configuration information of the described network equipment when described verification module determines that change takes place the configuration information of the described network equipment.
7, Network Management Equipment as claimed in claim 6 is characterized in that, described Network Management Equipment also comprises:
Memory module is used to preserve the first information summary that the described first read module last time reads, and the configuration information of the described network equipment that reads of the described second read module last time.
8, Network Management Equipment as claimed in claim 7 is characterized in that, described verification module comprises:
First comparing unit is used for the first information summary that last time that second informative abstract that more described first read module reads and described memory module preserve reads;
First analytic unit is used for the comparative result according to described first comparing unit, determines whether the configuration information of the described network equipment changes.
9, Network Management Equipment as claimed in claim 8 is characterized in that, described Network Management Equipment also comprises:
The reliability detection module is used for after described second read module reads the configuration information of the described network equipment, determines whether described configuration information is distorted;
The reliability processing module is used for the testing result according to described reliability detection module, handles second informative abstract that described first read module reads, and the configuration information of the described network equipment that reads of described second read module.
10, Network Management Equipment as claimed in claim 9 is characterized in that, described reliability detection module comprises:
Computing unit is used for according to digest algorithm the configuration information that described second read module reads the described network equipment of returning being calculated, and obtains the 3rd informative abstract;
Second comparing unit is used for second informative abstract that the 3rd informative abstract that more described computing unit obtains and described first read module read;
Second analytic unit is used for the comparative result according to described second comparing unit, determines whether described configuration information is distorted.
11, Network Management Equipment as claimed in claim 10 is characterized in that, described reliability processing module comprises:
First processing unit, be used for when described reliability detection module determines that described configuration information is not distorted, trigger described memory module and upgrade, preserve second informative abstract that described first read module reads, and the configuration information of the described network equipment that reads of described second read module;
Second processing unit is used for abandoning the configuration information that described second read module reads the described network equipment of returning when described reliability detection module determines that described configuration information is distorted, and described first read module reads second informative abstract of returning.
12, a kind of system that obtains configuring information of network appliance is characterized in that, comprises Network Management Equipment and at least one network equipment;
Described Network Management Equipment, be used for according to the informative abstract that reads the configuration information of the described network equipment of returning, whether the configuration information of determining the described network equipment changes, if the configuration information of the described network equipment changes, then reads the configuration information of the described network equipment;
The described network equipment carries the informative abstract node, is used to write down the informative abstract of the configuration information of the described network equipment, when change takes place the configuration information of the described network equipment, upgrades the described informative abstract that writes down in the described informative abstract node.
13, the system that obtains configuring information of network appliance as claimed in claim 12, it is characterized in that, described Network Management Equipment, also be used for check read and fetch the reliability of the configuration information of the described network equipment that comes, do not distorted if read the configuration information of the described network equipment of returning, then preserved configuration information and the described informative abstract that reads the described network equipment of returning; Distorted if read the configuration information of the described network equipment of returning, then abandoned the configuration information and the described informative abstract of the described network equipment.
14, the system that obtains configuring information of network appliance as claimed in claim 12, it is characterized in that, the informative abstract node of the described network equipment is the informative abstract node in described configuring information of network appliance storehouse, the informative abstract node of perhaps described configuring information of network appliance storehouse subclass.
CN2008100279207A 2008-05-07 2008-05-07 Network management equipment, method and system for acquiring network appliance configuration information Active CN101272275B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2008100279207A CN101272275B (en) 2008-05-07 2008-05-07 Network management equipment, method and system for acquiring network appliance configuration information
PCT/CN2009/071250 WO2009135403A1 (en) 2008-05-07 2009-04-13 A network management apparatus, a method and a system for obtaining a configuration information of a network apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100279207A CN101272275B (en) 2008-05-07 2008-05-07 Network management equipment, method and system for acquiring network appliance configuration information

Publications (2)

Publication Number Publication Date
CN101272275A true CN101272275A (en) 2008-09-24
CN101272275B CN101272275B (en) 2011-04-27

Family

ID=40005984

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100279207A Active CN101272275B (en) 2008-05-07 2008-05-07 Network management equipment, method and system for acquiring network appliance configuration information

Country Status (2)

Country Link
CN (1) CN101272275B (en)
WO (1) WO2009135403A1 (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009135403A1 (en) * 2008-05-07 2009-11-12 华为技术有限公司 A network management apparatus, a method and a system for obtaining a configuration information of a network apparatus
CN103136019A (en) * 2011-11-29 2013-06-05 国际商业机器公司 Method and device used for uploading configuration information
CN103401701A (en) * 2013-07-17 2013-11-20 杭州华三通信技术有限公司 Network management device and method
CN104618474A (en) * 2015-01-27 2015-05-13 杭州华三通信技术有限公司 Equipment information storing method and device
CN105207825A (en) * 2015-10-19 2015-12-30 上海斐讯数据通信技术有限公司 Fast synchronizing system and synchronizing method for network elements
CN105357048A (en) * 2015-11-24 2016-02-24 上海斐讯数据通信技术有限公司 Method and system for data synchronization of network equipment
WO2016161767A1 (en) * 2015-04-09 2016-10-13 中兴通讯股份有限公司 Method and apparatus for reporting variation of service model
CN106331152A (en) * 2016-09-20 2017-01-11 郑州云海信息技术有限公司 Method and device for realizing information synchronization between modules
CN106888110A (en) * 2016-12-16 2017-06-23 新华三技术有限公司 A kind of configuration data synchronization method and device
CN108009071A (en) * 2017-12-05 2018-05-08 郑州云海信息技术有限公司 The method of Hadoop clusters test
CN108206764A (en) * 2018-03-29 2018-06-26 新华三技术有限公司 Configuration method, server and the computer-readable medium of configuring information of network appliance
CN108289256A (en) * 2017-12-28 2018-07-17 深圳市双翼科技股份有限公司 passive optical network management method and terminal device
CN111342992A (en) * 2020-01-22 2020-06-26 奇安信科技集团股份有限公司 Method and system for processing equipment information change record

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105681105B (en) * 2016-03-09 2019-07-16 上海斐讯数据通信技术有限公司 Network element configuration information synchronization method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100539597C (en) * 2006-09-27 2009-09-09 华为技术有限公司 Configuring management method and device
CN100512146C (en) * 2006-09-30 2009-07-08 华为技术有限公司 Method for realizing patch management
CN101127635A (en) * 2007-09-26 2008-02-20 上海市信息网络有限公司 Integrated network management system
CN101272275B (en) * 2008-05-07 2011-04-27 华为技术有限公司 Network management equipment, method and system for acquiring network appliance configuration information

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009135403A1 (en) * 2008-05-07 2009-11-12 华为技术有限公司 A network management apparatus, a method and a system for obtaining a configuration information of a network apparatus
CN103136019A (en) * 2011-11-29 2013-06-05 国际商业机器公司 Method and device used for uploading configuration information
CN103401701A (en) * 2013-07-17 2013-11-20 杭州华三通信技术有限公司 Network management device and method
CN104618474A (en) * 2015-01-27 2015-05-13 杭州华三通信技术有限公司 Equipment information storing method and device
CN104618474B (en) * 2015-01-27 2018-12-25 新华三技术有限公司 Facility information store method and device
WO2016161767A1 (en) * 2015-04-09 2016-10-13 中兴通讯股份有限公司 Method and apparatus for reporting variation of service model
CN105207825B (en) * 2015-10-19 2018-05-25 上海斐讯数据通信技术有限公司 A kind of network element Fast synchronization system and network element fast synchronization method
CN105207825A (en) * 2015-10-19 2015-12-30 上海斐讯数据通信技术有限公司 Fast synchronizing system and synchronizing method for network elements
CN105357048A (en) * 2015-11-24 2016-02-24 上海斐讯数据通信技术有限公司 Method and system for data synchronization of network equipment
CN106331152A (en) * 2016-09-20 2017-01-11 郑州云海信息技术有限公司 Method and device for realizing information synchronization between modules
CN106888110A (en) * 2016-12-16 2017-06-23 新华三技术有限公司 A kind of configuration data synchronization method and device
CN106888110B (en) * 2016-12-16 2021-01-29 新华三技术有限公司 Configuration data synchronization method and device
CN108009071A (en) * 2017-12-05 2018-05-08 郑州云海信息技术有限公司 The method of Hadoop clusters test
CN108009071B (en) * 2017-12-05 2020-10-20 苏州浪潮智能科技有限公司 Hadoop cluster test method
CN108289256A (en) * 2017-12-28 2018-07-17 深圳市双翼科技股份有限公司 passive optical network management method and terminal device
CN108206764A (en) * 2018-03-29 2018-06-26 新华三技术有限公司 Configuration method, server and the computer-readable medium of configuring information of network appliance
CN108206764B (en) * 2018-03-29 2022-02-22 新华三技术有限公司 Configuration method of network equipment configuration information, server and computer readable medium
CN111342992A (en) * 2020-01-22 2020-06-26 奇安信科技集团股份有限公司 Method and system for processing equipment information change record
CN111342992B (en) * 2020-01-22 2022-07-29 奇安信科技集团股份有限公司 Method and system for processing equipment information change record

Also Published As

Publication number Publication date
CN101272275B (en) 2011-04-27
WO2009135403A1 (en) 2009-11-12

Similar Documents

Publication Publication Date Title
CN101272275B (en) Network management equipment, method and system for acquiring network appliance configuration information
CN101098248B (en) Method and system for implementing universal network management based on configuration describing document
US8099425B2 (en) Relational model for management information in network devices
CN102571420B (en) Method and system for network element data management
US8667113B2 (en) Bitmap network management object change detection approach
CN107016056B (en) Distributed storage system and method for large-volume heterogeneous sensing data in Internet of things
CN101409614A (en) Data synchronization method, system and equipment
CN106681891A (en) Method and device for adjusting log levels in Java application system
CN101616022A (en) A kind of intelligent device management method and system based on snmp protocol
CN100514962C (en) Host performance collection proxy in large-scale network
CN103118007A (en) Method and system of acquiring user access behavior
WO2016201988A1 (en) Configuration data pushing method and apparatus
CN103595569A (en) Method for handling database storage of alarm information of network management system
Kavasseri Distributed management expression MIB
CN101420344A (en) Network performance automatic evaluation method based on Java and database
CN114125812A (en) Data synchronization method, device, server and storage medium
US20080133765A1 (en) Hardware independent simple network management protocol based on a generic data collection scheme
CN103716287A (en) Information leak path analyzing method and information leak path analyzing device
CN102571418B (en) Method for equipment management
CN103957119A (en) Method for managing network equipment by using MIB file and browser
US11855853B1 (en) Machine learning algorithms for change management in information technology environment
CN107276813A (en) A kind of SNMP TRAP alarm methods and device
CN104717176B (en) A kind of authority control method, system and server
CN100382506C (en) Method for verifying network-unit server in network management system
CN102801569B (en) Data driven Agent end Trap alarming method

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