CN101588268A - Method and device for configuration files of universal extensible management device - Google Patents

Method and device for configuration files of universal extensible management device Download PDF

Info

Publication number
CN101588268A
CN101588268A CNA2009101485719A CN200910148571A CN101588268A CN 101588268 A CN101588268 A CN 101588268A CN A2009101485719 A CNA2009101485719 A CN A2009101485719A CN 200910148571 A CN200910148571 A CN 200910148571A CN 101588268 A CN101588268 A CN 101588268A
Authority
CN
China
Prior art keywords
managed devices
template file
file
equipment
manufacturer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CNA2009101485719A
Other languages
Chinese (zh)
Inventor
张学明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CNA2009101485719A priority Critical patent/CN101588268A/en
Publication of CN101588268A publication Critical patent/CN101588268A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method for configuration files of universal extensible management device, comprising the steps: a management device acquires template files of different manufacturers according to the configuration backup and recovery construction of managed devices of the manufacturers, establishes a directory structure of the temple files according to the difference among the managed devices, wherein the directory structure automatically associates manufactures, devices and template files with each other, receives management instructions containing the model number and manufacture information of the managed device to search the related template files, and manages the configuration files of the managed device if the related template files are found. The invention does not need to replace the software to backup and recover the configuration files of the device from any manufacture in the network, while adding the device of a new manufacturer.

Description

The method and apparatus of universal extensible management device configuration file
Technical field
The present invention relates to communication technical field, relate in particular to a kind of method and apparatus of universal extensible management device configuration file.
Background technology
Necessary file when configuration file is equipment operation has comprised the relevant parameter of equipment operation, and the correctness of configuration file influences the performance of equipment normal function.In order to prevent losing and damaging the influence that normal operation causes to the network equipment of configuration file, management equipment need back up the configuration file of the network equipment, when network equipment failure, recovers the operation of the network equipment with the configuration file of backup.Along with the continuous expansion of network size, often comprise the equipment of different vendor in the network, management equipment need be carried out backup management simultaneously to the configuration file of the equipment of different vendor and same manufacturer different model.
As shown in Figure 1, configuration file backup and recovery scheme schematic diagram for equipment in the prior art, in the starting stage, there are some equipment of manufacturer one and some equipment of manufacturer two in the network, at this moment, management equipment is by operation webmastering software version one, realized backup and recovery to the configuration file of some equipment of some equipment of manufacturer one and manufacturer two.In second stage, the some equipment that newly added manufacturer three in the network, at this moment, the network manager must be based on webmastering software version one exploitation webmastering software version two, management equipment need be moved webmastering software version two, just can be on the basis of realizing to the backup of the configuration file of some equipment of some equipment of manufacturer one and manufacturer two and recovery, further realization to some equipment of manufacturer three the backup and the recovery of configuration file.In the N stage, the some equipment that newly added the N of manufacturer in the network, at this moment, the network manager must develop webmastering software version N, management equipment need be moved webmastering software version N, just can realize backup and recovery to the configuration file of the all-network equipment of some equipment of comprising the N of manufacturer.
In sum, in the prior art, when having added new vendor equipment in the network, the network manager must make the webmastering software of redaction, the webmastering software of management equipment by the operation redaction just can have a vendor equipment in to network configuration file back up with the basis of recovering on, the configuration file of new vendor equipment is backed up and recovers.But, under this mode, the equipment that the webmastering software of different editions can only adaptive limited manufacturer, frequent new version software exploitation serious waste human and material resources.
Summary of the invention
The invention provides a kind of method and apparatus of universal extensible management device configuration file, can the new manufacturer of dynamic adaptation, when in network, having added the equipment of new manufacturer, need not to change software, just can the configuration file of any vendor equipment in the network be backed up and recover.
The invention provides a kind of method of universal extensible management device configuration file, be applied to comprise in the network of managed devices of management equipment and different vendor, said method comprising the steps of:
Described management equipment is obtained according to the configuration file backup of the managed devices of different vendor and the corresponding template file of different vendor of reset mode structure;
Described management equipment makes up the bibliographic structure of described template file according to the difference of manufacturer, managed devices, and described bibliographic structure will carry out auto-associating between manufacturer, equipment and the template file three;
Described management equipment receives the supervisory instruction that comprises managed devices model, affiliated manufacturer's information, searches corresponding template file according to manufacturer under managed devices, this equipment;
If find the template file of managed devices correspondence, described management equipment manages the managed devices configuration file according to the template file of managed devices correspondence.
Wherein, described bibliographic structure comprises three grades of catalogues, and wherein, first class catalogue is the template file collection, and the template file of all devices configuration file correspondence of expression manufacturer is all under this catalogue; Second-level directory is manufacturer's name, represents different manufacturers; Three grades of catalogues are unit type, represent different equipment.
Wherein, described management equipment is searched corresponding template file according to manufacturer under managed devices, this equipment and is comprised:
Described management equipment is preferentially searched by the template file under the management model catalogue, if do not have template file under the managed devices model catalogue, searches the default template file under the affiliated manufacturer of the managed devices name catalogue.
Wherein, described management equipment manages the managed devices configuration file according to the template file of managed devices correspondence, specifically comprises:
Configuration file to managed devices carries out backup management or recovery management, wherein:
When described management equipment receives when the managed devices configuration file carried out the instruction of backup management, described management equipment is constructed backup command according to template file, be remotely logged on the managed devices by Telnet, the operation backup command obtain the configuration file of managed devices and with the configuration file stores obtained in the memory space of self;
When described management equipment receives when the managed devices configuration file carried out the instruction of recovery management, described management equipment is recovered order according to the template file structure, find the configuration file of the managed devices that self backs up, this configuration file is sent on the managed devices, Telnet is remotely logged into restoring running order on the managed devices, and managed devices is resumed operation according to configuration file.
Wherein, if described management equipment does not find the template file of managed devices correspondence,
Described management equipment reports the keeper with this situation, makes the keeper according to the new template file of this managed devices characteristics structure;
The new template file that described management equipment receiving management person issues makes up the bibliographic structure of this new template file, this bibliographic structure will this new template file and managed devices under manufacturer carry out auto-associating.
Wherein, the process that managed devices manages is made a mistake as if the template file of described management equipment according to the managed devices correspondence,
Described management equipment reports the keeper with error reason, makes the keeper carry the new template file of special indication according to the error reason structure;
The new template file that carries special indication that described management equipment receiving management person issues makes up the bibliographic structure of this new template file according to described special indication, this bibliographic structure will this new template file and this managed devices carry out auto-associating.
The invention provides a kind of management equipment, be applied to comprise in the network of managed devices of management equipment and different vendor, comprising:
Transceiver module, the instruction of the template file that the different vendor that constructs according to the configuration file backup of the managed devices of different vendor and reset mode that is used for that receiving management person issues is corresponding; Or reception comprises the supervisory instruction of managed devices model, affiliated manufacturer's information;
Constructing module electrically connects with described transceiver module, is used for the bibliographic structure that difference according to manufacturer, managed devices makes up the template file that described transceiver module obtains, and described bibliographic structure will carry out auto-associating between manufacturer, equipment and the template file three;
Memory module is connected with described constructing module, is used for the bibliographic structure that described constructing module makes up is stored;
Search module, be connected respectively with described memory module with described transceiver module, corresponding template file is searched by manufacturer under the supervisory instruction managed devices model that is used for receiving according to described transceiver module, this equipment in the bibliographic structure of described memory module storage;
Processing module is connected respectively with described transceiver module with the described module of searching, and is used for if the described module searches of searching to the template file of managed devices correspondence, manages the managed devices configuration file according to the template file of managed devices correspondence.
Wherein, the described module of searching specifically is used for preferentially searching the template file by under the management model catalogue, if do not have template file under the managed devices model catalogue, searches the default template file under the affiliated manufacturer of the managed devices name catalogue.
Wherein, described processing module specifically comprises the management of managed devices configuration file,
The managed devices configuration file is carried out backup management or the managed devices configuration file is carried out recovery management, wherein:
When described transceiver module receives the backup instruction that comprises managed devices information, described processing module is used for according to the described module searches of searching to template file structure backup command, be remotely logged on the managed devices by Telnet, the operation backup command obtain the configuration file of managed devices and with the configuration file stores obtained in the memory space of self;
When described transceiver module receives the recovery instruction that comprises managed devices information, described processing module is used for recovering order according to the described module searches of searching to the template file structure, find the configuration file of the managed devices that self backs up, this configuration file is sent on the managed devices, be remotely logged into restoring running order on the managed devices by Telnet, managed devices is resumed operation according to configuration file.
Wherein, if describedly search the template file that module does not find the managed devices correspondence,
Described transceiver module also is used for this situation is reported the keeper, makes the keeper according to the new template file of this managed devices characteristics structure; The new template file that receiving management person issues;
Described constructing module also is used to make up the bibliographic structure of this new template file, this bibliographic structure will this new template file and managed devices under manufacturer carry out auto-associating.
Wherein, if described processing module is making a mistake to the process that managed devices manages to template file according to the described module searches of searching,
Described transceiver module also is used for error reason is reported the keeper, makes the keeper carry the new template file of special indication according to the error reason structure; The new template file that carries special indication that receiving management person issues;
Described constructing module also is used for setting up according to described special indication the catalogue of this managed devices, this bibliographic structure will this new template file and this managed devices carry out auto-associating.
Among the present invention, management equipment is obtained the template file of different vendor's correspondence, according to template file the configuration file of managed devices is carried out back up or restore, if added the equipment of new manufacturer in the network, the template file that only need obtain new manufacturer correspondence just can be realized backup and the recovery to the configuration file of the equipment of new manufacturer, the present invention can the new manufacturer of dynamic adaptation, when in network, having added the equipment of new manufacturer, need not to change software, just can the configuration file of any vendor equipment in the network be backed up and recover.
Description of drawings
Fig. 1 is the backup and the restoration methods flow chart of configuration file of the prior art;
Fig. 2 is the method schematic flow diagram of universal extensible management device configuration file of the present invention;
Fig. 3 is the concrete application scenarios flow chart of the method for universal extensible management device configuration file of the present invention;
Fig. 4 is the method flow diagram that configuration file is backed up in the concrete application scenarios of the present invention;
Fig. 5 is to the wrong method flow diagram of constructing the dedicated templates file of configuration file backup in the concrete application scenarios of the present invention;
Fig. 6 is the method flow diagram that configuration file is recovered in the concrete application scenarios of the present invention;
Fig. 7 when increasing vendor equipment newly in the concrete application scenarios of the present invention, utilizes the inventive method device configuration file to be carried out the flow chart of expansion management
Fig. 8 is the management equipment structure chart among the present invention.
Embodiment
For the webmastering software that solves different editions in the prior art can only adaptive limited manufacturer the problem of equipment, the present invention proposes webmastering software with dynamic extensibility, when having added new vendor equipment in the network, the keeper can expand the template file in the webmastering software according to reporting at any time of management equipment, and management equipment can be carried out back up or restore to the configuration file of any vendor equipment in the network according to the template file in this webmastering software.
The method of a kind of universal extensible management device configuration file that the present invention realizes is applied to comprise that described method may further comprise the steps as shown in Figure 2 in the network of managed devices of management equipment and different vendor:
Step 201, the keeper constructs the corresponding template file of this configuration file according to the configuration file backup of the managed devices of different vendor with reset mode.
Step 202, management equipment make up the bibliographic structure of described template file according to the difference of manufacturer, managed devices.
Particularly, after keeper's structure is finished the template file of managed devices configuration file correspondence, described template file is sent to management equipment.Management equipment is stored in described template file under the corresponding bibliographic structure according to the difference of manufacturer, managed devices.
Step 203, management equipment receives the supervisory instruction that comprises managed devices model, affiliated manufacturer's information, searches corresponding template file according to manufacturer under managed devices model, this equipment.
Step 204, if find the template file of managed devices correspondence, management equipment manages the managed devices configuration file according to the template file of managed devices correspondence.
Concrete, the present invention proposes a kind of method of universal extensible management device configuration file, be applied in the network of the managed devices that comprises management equipment and different vendor, wherein modal management equipment is NMS (Network Management System in the network environment, network management system), this management equipment is the equipment in the network, the title of this management equipment is just convenient to be described, can choose other title according to the actual needs, and this management equipment can also be integrated on other equipment as module.For convenience of description, the supposition management equipment is the independent network equipment among the present invention.In the starting stage of the network operation, have the equipment of vendor A and the equipment of the B of manufacturer in the network, the keeper constructs the template file of vendor A and the B of manufacturer correspondence, and template file is handed down to management equipment, the concrete application scenario of this method may further comprise the steps as shown in Figure 3:
Step 301, the keeper constructs vendor A and the corresponding template file of this equipment of the B of manufacturer according to the configuration file backup of the equipment of vendor A in the network and the B of manufacturer with reset mode.
Because generally speaking, the configuration file backup of all devices of each manufacturer is basic identical with reset mode, so, the template file that the keeper can construct vendor A and the B of manufacturer according to the configuration file backup and the reset mode of the disposable type equipment of vendor A in the network or the B of manufacturer, and with the default template file of this template file as vendor A or the B of manufacturer correspondence.
An example of template file is as follows:
<?xml?version=″1.0″encoding=″UTF-8″?>
<TemplDef>
<TemplSet?name=″getStartupConfigFileName″>
<TemplSet?name=″context″type=″construct″>
<Templ?name=″displayStarup″invalidResp=″%″>display
startup</Templ>
</TemplSet>
<TemplSet?name=″analyseStarup″type=″analyse″>
<Templ?name=″displayStarupResp″>
Current?Startup?saved-configuration?file:$StartupConfigFileName
</Templ>
</TemplSet>
</TemplSet>
<TemplSet?name=″backupStartupConfig″type=″construct″>
<Templ?name=″backupStartup″invalidResp=″%″>
tftp$TftpseverIP?put$StartupConfigFileName
</Templ>
</TemplSet>
<TemplSet?name=″restoreStartupConfig″type″construct″>
<Templ?name=″restore″invalidResp=″%″>tftp?$TftpseverIP?get
$StartupConfigFileName</Templ>
<Templ?name=″setStartup″invalidResp=″%″>
startup?saved-configuration$StartupConfigFileName
</Templ>
</TemplSet>
</TemplDef>
Wherein, TemplSet is a template set, and backup template set backupStartupConfig is used for backed-up config file, recovers template set restoreStartupConfig and is used for the recovery configuring file.
Templ is a template, the concrete order line of carrying out of definition, wherein the string representation variable of $ beginning, to represent this value be dynamic change, management equipment can provide corresponding value, or obtains the value of variable.
The corresponding invalid echo of label invalidResp when comprising the value of this label definition in the echo, is just thought the command execution failure.The TemplSet of type construct is used for the structure order, and the TemplSet of type analyse is used for the echo that resolve command is carried out, and the TemplSet of type content is used for whole echos of output command.
Need be pointed out that further that on the basis of above-mentioned default template file, the difference at the equipment room of same manufacturer (for example: vendor A or the B of manufacturer) different model exists can also further provide the template file at the distinct device model.
In addition; parameter setting in the above-mentioned template file and field contents all are a kind of preferred implementations that the present invention provides according to concrete application scenarios; in actual applications; can be according to the variation or the setting needs of actual scene; above-mentioned parameters is adjusted; based on technical solution of the present invention, and the adjustment that concrete parameter name in the above-mentioned template file is made does not influence protection scope of the present invention.
Step 302, management equipment be according to the template file of the equipment correspondence of vendor A and the B of manufacturer, makes up the bibliographic structure of template file of the equipment correspondence of vendor A and the B of manufacturer.
Particularly, the keeper sends to management equipment with described template file after constructing the corresponding templates file of the equipment of finishing vendor A and the B of manufacturer.Management is provided with different according to the equipment of vendor A and the B of manufacturer, and described template file is stored under the corresponding bibliographic structure.For example: the corresponding templates file of the equipment of vendor A and the B of manufacturer can exist according to following bibliographic structure: first class catalogue is the template file collection, and the template file of all devices configuration file correspondence of expression manufacturer is all under this catalogue; Second-level directory is manufacturer's name, represents different manufacturers; Three grades of catalogues are unit type, represent different equipment.By this bibliographic structure, will carry out auto-associating between manufacturer, equipment and the template file three.
After above-mentioned management equipment had obtained the template file and bibliographic structure of vendor A and the B of manufacturer correspondence, the configuration file backup instruction that management equipment can be sent according to the keeper backed up the configuration file of the particular device of vendor A, the B of manufacturer in the network.For convenience of description, below supposition is backed up the configuration file of the equipment of vendor A, unit type TYPE1, as shown in Figure 4, specifically may further comprise the steps:
Step 401, what management equipment receiving management person sent is the backup instruction of configuration file of the equipment of TYPE1 to vendor A, unit type, comprises the equipment essential information of vendor A, unit type TYPE1 in the backup instruction.
Step 402, management equipment are searched the template file of the equipment correspondence of vendor A, unit type TYPE1.
Concrete, management equipment need be searched the template file of vendor A, unit type TYPE1 according to described template file bibliographic structure, if find corresponding template file, then carry out step 403, if do not find the template file of vendor A, unit type TYPE1 correspondence, then management equipment is searched the default template file under the vendor A catalogue, and with the template file of this default template file as the equipment correspondence of vendor A, unit type TYPE1.
Step 403, management equipment is according to the template file structure vendor A that finds, the backup command of unit type TYPE1.
Step 404, management equipment is configured the file backup according to backup command to the equipment of vendor A, unit type TYPE1.
Concrete, management equipment is remotely logged on the equipment of vendor A, unit type TYPE1 by Telnet, move the configuration file that backup command obtains the equipment of vendor A, unit type TYPE1 then, and with the configuration file stores obtained in the memory space of management equipment.In the process of store configuration files, management equipment also needs to set up the mapping table of configuration file stores path and corresponding device, and writes down the corresponding relation of the device identification of the store path of configuration file of equipment of vendor A, unit type TYPE1 and vendor A, unit type TYPE1 in mapping table.
If in the process of step 404 operation backup command, make a mistake, management equipment needs further error reason to be reported the keeper, the keeper need carry the template file of special indication according to described error reason structure, and it is handed down to management equipment, the indication management equipment is stored this template file as the template file of this managed devices special use, as shown in Figure 5, specifically may further comprise the steps:
Step 501, management equipment is notified the keeper with backup command run-time error reason.
Step 502, the keeper makes amendment to the template file of vendor A correspondence according to error reason, the dedicated templates file of the equipment correspondence of structure vendor A, unit type TYPE1, in the template file of neotectonics, add special identifier, the new template file that carries special identifier is handed down to management equipment.
Concrete, this special indication can be special order line or special sign, in order to the indication management equipment this template file is stored as the template file of this managed devices special use.
Step 503, the template file of the vendor A of carrying special identifier that management equipment receiving management person sends, the equipment correspondence of unit type TYPE1, set up the catalogue of the equipment of vendor A, unit type TYPE1 according to special identifier, the template file that this is new is stored under the catalogue of equipment of vendor A, unit type TYPE1.
Obtained the template file of vendor A and the B of manufacturer correspondence in above-mentioned management equipment, and, the configuration file to the equipment of vendor A, unit type TYPE1 backs up, if the keeper finds that the equipment operation of vendor A, unit type TYPE1 is undesired, can also issue to management equipment and recover instruction, the indication management equipment is configured the file recovery to the equipment of vendor A, unit type TYPE1, as shown in Figure 6, specifically may further comprise the steps:
Step 601, management equipment receiving management person sends the recovery instruction to the device configuration file of vendor A, unit type TYPE1, wherein, recovers to comprise in the instruction facility information of vendor A, unit type TYPE1.
Step 602, management equipment are searched the template file of the equipment correspondence of vendor A, unit type TYPE1.
Concrete, management equipment is searched the template file under vendor A, the unit type TYPE1 catalogue according to the bibliographic structure of template file, if find the template file of vendor A, unit type TYPE1 correspondence, then carry out step 603; If do not find the template file of vendor A, unit type TYPE1, management equipment need further be searched the default template file of vendor A catalogue, and with the template file of this template file as the equipment correspondence of vendor A, unit type TYPE1.
Step 603, the recovery order of the configuration file of the template file structure vendor A that the management equipment parsing finds, the equipment of unit type TYPE1.
Step 604, management equipment is configured the file recovery according to recovering the equipment of order to vendor A, unit type TYPE1.
At first, management equipment need find the configuration file of equipment of vendor A, the unit type TYPE1 of self backup, concrete, management equipment need be searched the mapping table of configuration file stores path and corresponding device, in mapping table, search the store path of configuration file of the equipment of vendor A, unit type TYPE1, and obtain the configuration file of the equipment of vendor A, unit type TYPE1 according to this store path.Then, management equipment needs this configuration file is sent on the equipment of vendor A, unit type TYPE1.Then, management equipment needs Telnet to be remotely logged into restoring running order on the equipment of vendor A, unit type TYPE1, and the equipment of vendor A, unit type TYPE1 is resumed operation according to configuration file.
If newly added the equipment of the C of manufacturer, unit type TYPE2 this moment in the network, management equipment needs this situation is reported the keeper in the time can't obtaining the template file of the C of manufacturer correspondence, the keeper needs further to construct according to step 301 template file of the C of manufacturer, unit type TYPE2 correspondence, and this template file is handed down to management apparatus stores according to step 302, as shown in Figure 7, specifically may further comprise the steps:
Step 701, the C of manufacturer that management equipment receiving management person issues, the backup instruction of unit type TYPE2 comprise the facility information of the C of manufacturer, unit type TYPE2 in the backup instruction.
Step 702, management equipment are searched the template file of the equipment correspondence of the C of manufacturer, unit type TYPE2 according to the template file bibliographic structure.
Step 703, management equipment do not find the equipment corresponding templates file of the C of manufacturer, unit type TYPE2, and this situation is reported the keeper.
Concrete, management equipment is not all finding template file under the C of manufacturer, the unit type TYPE2 catalogue and under the catalogue of the C of manufacturer, and management equipment needs this situation is reported the keeper, notifies the keeper not have the template file of the C of manufacturer correspondence at present.
Step 704, the keeper constructs new template file according to step 301, and new template file is handed down to management equipment according to the configuration file backup and the reset mode of the equipment of the C of manufacturer, unit type TYPE2.
Step 705, management equipment is set up the template file catalogue of the equipment of the C of manufacturer, unit type TYPE2 according to step 302, the new template file that the keeper is issued is stored under the catalogue of equipment of the C of manufacturer, unit type TYPE2, as the template file of the equipment correspondence of the C of manufacturer, unit type TYPE2.
After this, if the management equipment backup instruction of the facility information that comprises the C of manufacturer, unit type TYPE2 that issues of receiving management person once more, management equipment just can be configured file according to the template file of the C of manufacturer correspondence and back up.Concrete backup mode is similar to step 404 to step 401, repeats no more herein.
Among the present invention, management equipment is obtained the template file of different vendor's correspondence, according to template file the configuration file of managed devices is carried out back up or restore, if added the equipment of new manufacturer in the network, the template file that only need obtain new manufacturer correspondence just can be realized backup and the recovery to the configuration file of the equipment of new manufacturer, the present invention can the new manufacturer of dynamic adaptation, when in network, having added the equipment of new manufacturer, need not to change software, just can the configuration file of any vendor equipment in the network be backed up and recover.And, when the template file that occurs manufacturer's correspondence in the network can't be adaptive the equipment of this manufacturer the time, management equipment can be obtained the dedicated templates file of this equipment from the keeper, thereby the configuration file of any apparatus in the network is backed up and recovers.
Fig. 8 is the management equipment of the inventive method correspondence, is applied to comprise in the network of managed devices of management equipment and different vendor, comprises transceiver module 801, constructing module 802, memory module 803, searches module 804 and processing module 805: wherein,
Transceiver module 801, the instruction of the template file that the different vendor that constructs according to the configuration file backup of the managed devices of different vendor and reset mode that is used for that receiving management person issues is corresponding; Or reception comprises the supervisory instruction of managed devices model, affiliated manufacturer's information.Further, if search the template file that module 804 does not find the managed devices correspondence, transceiver module 801 also is used for this situation is reported the keeper, makes the keeper according to the new template file of this managed devices characteristics structure; The instruction of the new template file that receiving management person issues.Further, if processing module 805 is making a mistake to the process that managed devices manages according to template file, transceiver module 801 also is used for error reason is reported the keeper, makes the keeper carry the new template file of special indication according to the error reason structure; The instruction of the new template file that carries special indication that receiving management person issues.
Constructing module 802, electrically connect with transceiver module 801, be used for the bibliographic structure of the template file that obtains from transceiver module 801 according to the not isostructure of manufacturer, managed devices, described bibliographic structure will carry out auto-associating between manufacturer, equipment and the template file three.
Memory module 803 is connected with constructing module 802, is used for the bibliographic structure of constructing module 802 structures is stored.
Search module 804, be connected respectively with memory module 803 with transceiver module 801, corresponding template file is searched by manufacturer under the supervisory instruction managed devices model that is used for receiving according to transceiver module 801, this equipment in the bibliographic structure of memory module 803 storages.Concrete, search module 804, be used for preferentially searching template file by under the management model catalogue, if do not have template file under the managed devices model catalogue, search the default template file under the affiliated manufacturer of the managed devices name catalogue.
Processing module 805 and is searched module 804 and is connected respectively with transceiver module 801, is used for if search the template file that module 804 finds the managed devices correspondence, according to the template file of managed devices correspondence the managed devices configuration file is managed.
Concrete, if transceiver module 801 receives the backup instruction that comprises managed devices information, processing module 805, be used for finding template file structure backup command according to searching module 804, be remotely logged on the managed devices by Telnet, the operation backup command obtain the configuration file of managed devices and with the configuration file stores obtained in the memory space of self.If transceiver module 801 receives the recovery instruction that comprises managed devices information, processing module 805, be used for finding template file structure recovery order according to searching module 804, find the configuration file of the managed devices that self backs up, this configuration file is sent on the managed devices, be remotely logged into restoring running order on the managed devices by Telnet, managed devices is resumed operation according to configuration file.
Among the present invention, management equipment is obtained the template file of different vendor's correspondence, according to template file the configuration file of managed devices is carried out back up or restore, if added the equipment of new manufacturer in the network, the template file that only need obtain new manufacturer correspondence just can be realized backup and the recovery to the configuration file of the equipment of new manufacturer, the present invention can the new manufacturer of dynamic adaptation, when in network, having added the equipment of new manufacturer, need not to change software, just can the configuration file of any vendor equipment in the network be backed up and recover.And, when the template file that occurs manufacturer's correspondence in the network can't be adaptive the equipment of this manufacturer the time, management equipment can be obtained the dedicated templates file of this equipment from the keeper, thereby the configuration file of any apparatus in the network is backed up and recovers.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode under a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a computer equipment (can be a personal computer, server, perhaps network equipment etc.) carry out method of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, module in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the present invention can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
More than disclosed only be several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.

Claims (11)

1, a kind of method of universal extensible management device configuration file is applied to comprise in the network of managed devices of management equipment and different vendor, it is characterized in that, said method comprising the steps of:
Described management equipment is obtained according to the configuration file backup of the managed devices of different vendor and the corresponding template file of different vendor of reset mode structure;
Described management equipment makes up the bibliographic structure of described template file according to the difference of manufacturer, managed devices, and described bibliographic structure will carry out auto-associating between manufacturer, equipment and the template file three;
Described management equipment receives the supervisory instruction that comprises managed devices model, affiliated manufacturer's information, searches corresponding template file according to manufacturer under managed devices, this equipment;
If find the template file of managed devices correspondence, described management equipment manages the managed devices configuration file according to the template file of managed devices correspondence.
2, the method for claim 1 is characterized in that, described bibliographic structure comprises three grades of catalogues, and wherein, first class catalogue is the template file collection, and the template file of all devices configuration file correspondence of expression manufacturer is all under this catalogue; Second-level directory is manufacturer's name, represents different manufacturers; Three grades of catalogues are unit type, represent different equipment.
3, the method for claim 1 is characterized in that, described management equipment is searched corresponding template file according to manufacturer under managed devices, this equipment and comprised:
Described management equipment is preferentially searched by the template file under the management model catalogue, if do not have template file under the managed devices model catalogue, searches the default template file under the affiliated manufacturer of the managed devices name catalogue.
4, the method for claim 1 is characterized in that, described management equipment manages the managed devices configuration file according to the template file of managed devices correspondence, specifically comprises:
Configuration file to managed devices carries out backup management or recovery management, wherein:
When described management equipment receives when the managed devices configuration file carried out the instruction of backup management, described management equipment is constructed backup command according to template file, be remotely logged on the managed devices by Telnet, the operation backup command obtain the configuration file of managed devices and with the configuration file stores obtained in the memory space of self;
When described management equipment receives when the managed devices configuration file carried out the instruction of recovery management, described management equipment is recovered order according to the template file structure, find the configuration file of the managed devices that self backs up, this configuration file is sent on the managed devices, Telnet is remotely logged into restoring running order on the managed devices, and managed devices is resumed operation according to configuration file.
5, the method for claim 1 is characterized in that, if described management equipment does not find the template file of managed devices correspondence,
Described management equipment reports the keeper with this situation, makes the keeper according to the new template file of this managed devices characteristics structure;
The new template file that described management equipment receiving management person issues makes up the bibliographic structure of this new template file, this bibliographic structure will this new template file and managed devices under manufacturer carry out auto-associating.
6, the method for claim 1 is characterized in that, as if the template file of described management equipment the process that managed devices manages made a mistake according to the managed devices correspondence,
Described management equipment reports the keeper with error reason, makes the keeper carry the new template file of special indication according to the error reason structure;
The new template file that carries special indication that described management equipment receiving management person issues makes up the bibliographic structure of this new template file according to described special indication, this bibliographic structure will this new template file and this managed devices carry out auto-associating.
7, a kind of management equipment that is applied to the method for claim 1 is applied to comprise in the network of managed devices of management equipment and different vendor, it is characterized in that, comprising:
Transceiver module, the instruction of the template file that the different vendor that constructs according to the configuration file backup of the managed devices of different vendor and reset mode that is used for that receiving management person issues is corresponding; Or reception comprises the supervisory instruction of managed devices model, affiliated manufacturer's information;
Constructing module electrically connects with described transceiver module, is used for the bibliographic structure that difference according to manufacturer, managed devices makes up the template file that described transceiver module obtains, and described bibliographic structure will carry out auto-associating between manufacturer, equipment and the template file three;
Memory module is connected with described constructing module, is used for the bibliographic structure that described constructing module makes up is stored;
Search module, be connected respectively with described memory module with described transceiver module, corresponding template file is searched by manufacturer under the supervisory instruction managed devices model that is used for receiving according to described transceiver module, this equipment in the bibliographic structure of described memory module storage;
Processing module is connected respectively with described transceiver module with the described module of searching, and is used for if the described module searches of searching to the template file of managed devices correspondence, manages the managed devices configuration file according to the template file of managed devices correspondence.
8, management equipment as claimed in claim 7 is characterized in that,
The described module of searching specifically is used for preferentially searching the template file by under the management model catalogue, if do not have template file under the managed devices model catalogue, searches the default template file under the affiliated manufacturer of the managed devices name catalogue.
9, management equipment as claimed in claim 7 is characterized in that, described processing module specifically comprises the management of managed devices configuration file,
The managed devices configuration file is carried out backup management or the managed devices configuration file is carried out recovery management, wherein:
When described transceiver module receives the backup instruction that comprises managed devices information, described processing module is used for according to the described module searches of searching to template file structure backup command, be remotely logged on the managed devices by Telnet, the operation backup command obtain the configuration file of managed devices and with the configuration file stores obtained in the memory space of self;
When described transceiver module receives the recovery instruction that comprises managed devices information, described processing module is used for recovering order according to the described module searches of searching to the template file structure, find the configuration file of the managed devices that self backs up, this configuration file is sent on the managed devices, be remotely logged into restoring running order on the managed devices by Telnet, managed devices is resumed operation according to configuration file.
10, management equipment as claimed in claim 7 is characterized in that, if describedly search the template file that module does not find the managed devices correspondence,
Described transceiver module also is used for this situation is reported the keeper, makes the keeper according to the new template file of this managed devices characteristics structure; The new template file that receiving management person issues;
Described constructing module also is used to make up the bibliographic structure of this new template file, this bibliographic structure will this new template file and managed devices under manufacturer carry out auto-associating.
11, management equipment as claimed in claim 7 is characterized in that, if described processing module is making a mistake to the process that managed devices manages to template file according to the described module searches of searching,
Described transceiver module also is used for error reason is reported the keeper, makes the keeper carry the new template file of special indication according to the error reason structure; The new template file that carries special indication that receiving management person issues;
Described constructing module also is used for setting up according to described special indication the catalogue of this managed devices, this bibliographic structure will this new template file and this managed devices carry out auto-associating.
CNA2009101485719A 2009-06-29 2009-06-29 Method and device for configuration files of universal extensible management device Pending CN101588268A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2009101485719A CN101588268A (en) 2009-06-29 2009-06-29 Method and device for configuration files of universal extensible management device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2009101485719A CN101588268A (en) 2009-06-29 2009-06-29 Method and device for configuration files of universal extensible management device

Publications (1)

Publication Number Publication Date
CN101588268A true CN101588268A (en) 2009-11-25

Family

ID=41372342

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2009101485719A Pending CN101588268A (en) 2009-06-29 2009-06-29 Method and device for configuration files of universal extensible management device

Country Status (1)

Country Link
CN (1) CN101588268A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101834909A (en) * 2010-05-31 2010-09-15 迈普通信技术股份有限公司 Method for automatically logging in hardware device and system thereof
WO2011066792A1 (en) * 2009-12-02 2011-06-09 华为终端有限公司 Method and device for modifying driving and matching information of usb device
CN103973487A (en) * 2014-04-29 2014-08-06 上海上讯信息技术股份有限公司 Configuration backup system based on interactive scripts and configuration management method
CN105204866A (en) * 2015-10-14 2015-12-30 山东中创软件商用中间件股份有限公司 Equipment command calling method and system
CN109672562A (en) * 2018-12-19 2019-04-23 迈普通信技术股份有限公司 Data processing method, device, electronic equipment and storage medium
CN109889379A (en) * 2019-01-31 2019-06-14 新华三技术有限公司 Collecting method, device, management equipment and storage medium
CN109976828A (en) * 2019-03-12 2019-07-05 北京奇艺世纪科技有限公司 A kind of method and device of configuration file
CN110034954A (en) * 2019-03-15 2019-07-19 国网甘肃省电力公司 A kind of automation change configuration system
CN112819351A (en) * 2021-02-07 2021-05-18 北京实耐固连接技术有限公司 Accessory information management method, device, computer equipment and medium
WO2024007788A1 (en) * 2022-07-07 2024-01-11 中兴通讯股份有限公司 Network element management method, electronic device, and computer readable storage medium

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011066792A1 (en) * 2009-12-02 2011-06-09 华为终端有限公司 Method and device for modifying driving and matching information of usb device
US8527670B2 (en) 2009-12-02 2013-09-03 Huawei Device Co., Ltd. Method and apparatus for modifying USB device driver matching information
CN101834909A (en) * 2010-05-31 2010-09-15 迈普通信技术股份有限公司 Method for automatically logging in hardware device and system thereof
CN101834909B (en) * 2010-05-31 2013-01-09 迈普通信技术股份有限公司 Method for automatically logging in hardware device and system thereof
CN103973487A (en) * 2014-04-29 2014-08-06 上海上讯信息技术股份有限公司 Configuration backup system based on interactive scripts and configuration management method
CN103973487B (en) * 2014-04-29 2018-07-24 上海上讯信息技术股份有限公司 A kind of configuration backup system and configuring management method based on interactive script
CN105204866A (en) * 2015-10-14 2015-12-30 山东中创软件商用中间件股份有限公司 Equipment command calling method and system
CN109672562B (en) * 2018-12-19 2022-02-22 迈普通信技术股份有限公司 Data processing method and device, electronic equipment and storage medium
CN109672562A (en) * 2018-12-19 2019-04-23 迈普通信技术股份有限公司 Data processing method, device, electronic equipment and storage medium
CN109889379A (en) * 2019-01-31 2019-06-14 新华三技术有限公司 Collecting method, device, management equipment and storage medium
CN109889379B (en) * 2019-01-31 2022-03-11 新华三技术有限公司 Data acquisition method, data acquisition device, management equipment and storage medium
CN109976828A (en) * 2019-03-12 2019-07-05 北京奇艺世纪科技有限公司 A kind of method and device of configuration file
CN109976828B (en) * 2019-03-12 2022-04-22 北京奇艺世纪科技有限公司 Method and device for configuring file
CN110034954A (en) * 2019-03-15 2019-07-19 国网甘肃省电力公司 A kind of automation change configuration system
CN112819351A (en) * 2021-02-07 2021-05-18 北京实耐固连接技术有限公司 Accessory information management method, device, computer equipment and medium
WO2024007788A1 (en) * 2022-07-07 2024-01-11 中兴通讯股份有限公司 Network element management method, electronic device, and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN101588268A (en) Method and device for configuration files of universal extensible management device
US11016935B2 (en) Centralized multi-cloud workload protection with platform agnostic centralized file browse and file retrieval time machine
CN102171661B (en) Restoring selected objects from a monolithic database backup
US20230081841A1 (en) In-place cloud instance restore
CN107528872B (en) Data recovery method and device and cloud storage system
CN101601029B (en) Data object search and retrieval
CN105930228A (en) data backup method and system
CN102171660A (en) Backing up and restoring selected versioned objects from a monolithic database backup
US8364640B1 (en) System and method for restore of backup data
US20070143286A1 (en) File management method in file system and metadata server therefor
CN103946844A (en) Synchronizing updates across cluster filesystems
EP2191375B1 (en) Converting backup copies of objects created using a first backup program to backup copies created using a second backup program
CN105681420A (en) Method for realizing backup of switch operating system based on Docker
CN107911249A (en) Order line sending method, device and the equipment of a kind of network equipment
JP4882498B2 (en) Operation management apparatus, operation management method, and program
CN103973470A (en) Cluster management method and equipment for shared-nothing cluster
WO2013113220A1 (en) Method and device for backup and recovery of network management configuration data
US11880284B2 (en) Storage restore system, storage restore method, and storage medium
CN101631042B (en) Method and system for realizing data backup restoration of heterogeneous network management systems
CN102594874B (en) Synchronization processing method and device
CN104407942A (en) Off-site storage based Linux operation system backup recovery method
CN103888297A (en) Interchanger network management method and system
CN102684928B (en) The method and apparatus of a kind of service backup and recovery
CN101145991A (en) A multi-manufacturer alarm management system and alarm method in telecommunication management network
CN104281503A (en) Data backup method and related system

Legal Events

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

Application publication date: 20091125