CN100465913C - Configuration of recovery device and method thereof - Google Patents

Configuration of recovery device and method thereof Download PDF

Info

Publication number
CN100465913C
CN100465913C CNB2006101043546A CN200610104354A CN100465913C CN 100465913 C CN100465913 C CN 100465913C CN B2006101043546 A CNB2006101043546 A CN B2006101043546A CN 200610104354 A CN200610104354 A CN 200610104354A CN 100465913 C CN100465913 C CN 100465913C
Authority
CN
China
Prior art keywords
configuration
order
information
configuration data
management unit
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.)
Active
Application number
CNB2006101043546A
Other languages
Chinese (zh)
Other versions
CN1904846A (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 CNB2006101043546A priority Critical patent/CN100465913C/en
Publication of CN1904846A publication Critical patent/CN1904846A/en
Application granted granted Critical
Publication of CN100465913C publication Critical patent/CN100465913C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The invention discloses a configuration restoring device and method that includes configuration managing unit that is used to receive configuration data and restore data, generating reverse command, executing configuration command and reverse command; and command storing unit used to store reverse command record. The invention includes the following steps: generating reverse command while configuring; when the modification to configuration fails, executing reverse command to restore the previous configuration. The invention could save memory resource, and save time and run continuously.

Description

A kind of configuration of recovery device and method
Technical field
The present invention relates to telecommunications and database technical field, especially relate to a kind of configuration of recovery device and method.
Background technology
At present, telecommunication apparatus need be according to actual operating state adjustment and configuration operation data, because the complicacy of data configuration can not guarantee that all modifications data all are accurately when revising configuration data in daily layoutprocedure.Therefore, system need provide good fault tolerant mechanism, when causing network anomaly because revise configuration data, can return to the state before configuration data is revised, thus the normal operation of the system of assurance.
Now, generally adopt method of data backup that configuration is recovered.When adopting this method, on telecommunication apparatus, preserve many cover configuration datas, the active and standby each other configuration data of those configuration datas; Wherein, have only a cover configuration data to be in state of activation, this configuration data is main configuration data; And the configuration data that is in unactivated state can be preserved one or more sets and be equipped with configuration data for being equipped with configuration data on the telecommunication apparatus.This equipment is the main configuration data of operation earlier, if operational effect does not meet the demands, then is equipped with configuration data by activating, and replaces main configuration data with being equipped with configuration data, finishes the recovery of configuration data; This equipment can switch between the running status of many cover configuration datas.
When finding that main configuration data is incorrect, adopt this method allocation data recovering can be arrived the state that is equipped with configuration data.For example, preserve configuration data A, configuration data B and configuration data C three cover configuration datas on the telecommunication apparatus, wherein configuration data B obtains through dynamic-configuration on the basis of configuration data A, and configuration data C obtains through dynamic-configuration on the basis of configuration data B.Suppose that configuration data C is in state of activation, be current main configuration data, then this equipment obtains initiation parameter and operational factor from configuration data C, and according to this parameter operation.In operational process, mistake appears if find the parameter of configuration data C, then the user can activate configuration data B, make the parameter of allocation data recovering to configuration data B, equipment is with initiation parameter and the operational factor operation of configuration data B, be that configuration data B is current main configuration data, and configuration data A and configuration data C are in unactivated state, for being equipped with configuration data; Perhaps the user can activate configuration data A, make the parameter of allocation data recovering to configuration data A, equipment is with initiation parameter and the operational factor operation of configuration data A, and promptly configuration data A is current main configuration data, and configuration data B and configuration data C are in unactivated state, for being equipped with configuration data.Homing device then realizes that this equipment switches to the running status of configuration data B or configuration data A from configuration data C running status, finishes the recovery of configuration data.
But, adopt method of data backup need on equipment, preserve many cover configuration datas, the storage resources of waste equipment; And adopt this method, and need carry out reset operation to the main frame of telecommunication apparatus, can cause telecommunication service to produce for a long time and interrupt; In addition, if telecommunication apparatus adopts the single database mode of operation, owing to do not have backup database, so just can not adopt this method that configuration data is recovered.
Summary of the invention
The problem to be solved in the present invention provides a kind of configuration of recovery device and method, with overcome in the prior art can not the good support configuration restore defective.
For achieving the above object, the invention provides a kind of configuration recovery method, may further comprise the steps:
A, system receive configuration information, are configured and generate anti-order according to described configuration information;
B, system receive recovering information, carry out described anti-order and are configured recovery.
According to one aspect of the present invention, system preserves the configuration operation record corresponding with described configuration information and reaches and the corresponding anti-configuration operation record of described anti-order.
According to another aspect of the present invention, system extracts anti-order according to recovering information from anti-configuration operation record, be configured recovery.
According to another aspect of the present invention, system preserves the configuration data that generates according to configuration information, and the anti-order of described generation is a man-machine language of removing the configuration data of this generation.
According to another aspect of the present invention, system receives recovering information, carries out instead to order to be configured and removes, and carry out described anti-order synchronously on relevant device.
According to another aspect of the present invention, system is provided with the configuration restore point to the current configuration of carrying out.
According to another aspect of the present invention, comprise the configuration restore dot information in the recovering information that system receives, and when carrying out anti-order, the system state corresponding with described configuration restore point arrived in configuration restore.
The invention provides a kind of configuration of recovery device, comprise configuration data management unit and command storage unit, configuration data management unit wherein is used to receive that configuration information and recovering information, generation are counter orders, carries out configuration order and anti-order; Command storage unit is connected with described configuration data management unit, is used to preserve configuration order record and/or anti-command record.
According to another aspect of the present invention, described configuration data management unit further comprises dispensing unit and anti-order generation unit, and wherein dispensing unit is used to receive configuration information and recovering information, execution configuration order and anti-order; Anti-order generation unit is used to generate anti-order.
According to another aspect of the present invention, described command storage unit further comprises positive configuration operation tabulation and the tabulation of anti-configuration operation, and wherein positive configuration operation tabulation is used to preserve the configuration order record; Anti-configuration operation tabulation is used to preserve anti-command record.
According to another aspect of the present invention, when carrying out configuration information, described configuration data management unit generates configuration data and deletion anti-order by the described configuration data of described configuration information generation.
According to another aspect of the present invention, generate configuration restore point when configuration information is carried out in described configuration data management unit and remove anti-order to the described configuration restore point of correspondence.
Compared with prior art, the present invention has the following advantages:
Only preserve a cover configuration data on the equipment, save the storage resources of equipment.
In addition, the content that the present invention recovered only comprises the business configuration data, does not need the main frame of telecommunication apparatus is carried out reset operation, thereby the operating business of system is only produced the influence of short time, save time, and interrupt run not.
Description of drawings
Fig. 1 is a kind of configuration of recovery device figure of the present invention;
Fig. 2 is the configuration recovery method process flow diagram of the embodiment of the invention one;
Fig. 3 is the configuration recovery method process flow diagram of the embodiment of the invention two;
Fig. 4 is the configuration recovery method process flow diagram of the embodiment of the invention three.
Embodiment
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is described in further detail:
A kind of configuration of recovery device of the present invention comprises configuration data management unit 11 and command storage unit 12 as shown in Figure 1, and wherein configuration data management unit 11 further comprises dispensing unit 111 and anti-order generation unit 112; Configuration data management unit 11 is connected with command storage unit 12, carries out data transmission.
Configuration data management unit 11 can receive the configuration information that the user sends, and carries out configuration order, and equipment is carried out dynamic-configuration; After the configuration operation success, configuration data management unit 11 generates the anti-order corresponding with described configuration operation, and described configuration order record and/or anti-command record are sent to command storage unit 12.Configuration data management unit 11 can also receive the recovering information that the user sends, and carries out anti-order, and equipment is configured recovery.Configuration data management unit 11 also comprises dispensing unit 111 and anti-order generation unit 112, and wherein dispensing unit 111 is used to receive configuration information and recovering information, execution configuration order and anti-order; Anti-order generation unit 112 is used to generate anti-order.
Command storage unit 12 is used to preserve configuration order record and/or the anti-command record of obtaining from configuration data management unit 11.When being configured recovery, the anti-command record that command storage unit 12 will be correlated with sends to configuration data management unit 11.
Embodiment one, when adopting configuration of recovery device shown in Figure 1, if after the user carries out increase configuration object A, find that this configuration is incorrect, then needs this configuration is recovered.
A kind of configuration recovery method flow process of the present invention as shown in Figure 2.At first, the present invention generates anti-order when being configured; Then, when mistake occurring, carry out anti-order, this configuration is recovered, make the state before system recovery arrives configuration because revise configuration data.With reference to Fig. 2, the present invention includes following steps:
Step s101, the configuration data management unit receives configuration information.Be that the user sends the configuration operation order to configuration data management unit 11, dispensing unit 111 receives the configuration operation order that the user sends, and configuration data is kept in the equipment.
Step s102 is configured equipment.Be that dispensing unit 111 is carried out the configuration operation order, equipment is carried out dynamic-configuration, revise the initiation parameter and the operational factor of equipment.
Step s103, the configuration data management unit generates anti-order.Promptly after the configuration operation success, the anti-generation unit 112 of ordering generates the anti-order corresponding with this configuration operation.
Step s104, command storage unit is preserved anti-command record.Be that configuration data management unit 11 sends to command storage unit 12 with configuration order record and anti-command record, command storage unit 12 receives and preserves this record; Wherein the configuration order recorded and stored is in a positive configuration operation tabulation, and anti-command record is kept in the anti-configuration operation tabulation.
Step s105, the configuration data management unit receives recovering information.Promptly when the user finds improperly-configured, send recovering information to configuration data management unit 11, dispensing unit 111 receives the recovering information that the user sends.
Step s106, the configuration data management unit obtains anti-order.Be the anti-command record of configuration data management unit 11 to command storage unit 12 request correspondences, command storage unit 12 sends to configuration data management unit 11 with anti-command record.
Step s107, the configuration data management unit is carried out anti-order and is configured recovery.Be that dispensing unit 111 is carried out anti-order, on-the-fly modify the initiation parameter and the operational factor of equipment.
Through behind the said process, equipment is finished the recovery of configuration, with the operation of the state before disposing.
Embodiment two, and a kind of distributed single database system comprises BAM (Back AdministrativeModule, rear end administration module) database and main frame veneer database.Wherein, the BAM database is connected with main frame veneer database, carries out data transmission.If the user increases configuration data A in database after, find that this configuration is incorrect, can cause network anomaly, therefore need recover the database configuration.
When adopting configuration of recovery device shown in Figure 1, a kind of configuration recovery method flow process of the present invention as shown in Figure 3.At first, the present invention generates anti-order when carrying out database configuration; Then, when causing network anomaly because revise configuration data, carry out anti-order, configuration recovers to database, makes the state before database recovery arrives configuration.With reference to Fig. 3, the present invention includes following steps:
Step s201, the BAM database receives configuration information.Be that the user passes through MML (Man MachineLanguage, man-machine language) order and sends the information that increases configuration data A to the BAM database, the configuration data management unit 11 of BAM database receives these information.
Step s202, the BAM database is configured and generates anti-order.The order that increases configuration data A is carried out in the configuration data management unit 11 that is the BAM database, and generates the anti-order of deletion configuration data A, and this anti-order should instead be ordered then and be saved in command storage unit 12 for people's machine language command.
Step s203 carries out data sync to main frame veneer database.Be that the BAM database sends modify instruction to main frame veneer database, in main frame veneer database, increase configuration data A, main frame veneer database and BAM database are kept synchronously.
Step s204, the BAM database receives recovering information.Promptly when the user finds improperly-configured, send recovering information by the MML order to the BAM database, the configuration data management unit 11 of BAM database receives this information.
Step s205, BAM database carry out anti-order and carry out the database configuration recovery.The configuration data management unit 11 that is the BAM database obtains the anti-order of deletion configuration data A from command storage unit 12, and carries out to be somebody's turn to do instead and order, and with configuration data A deletion, returns to the preceding state of configuration.
Step s206 carries out data sync to main frame veneer database.Be that the BAM database sends modify instruction to main frame veneer database, carry out described anti-order synchronously, deletion configuration data A is consistent main frame veneer database and BAM database in main frame veneer database.
Embodiment three, when telecommunication apparatus carries out dilatation, increase the configuration of destination signaling point, increase signaling link group and increase signaling link; If find configuration error in the escalation process, then need the state of configuration restore before the dilatation.
When adopting configuration of recovery device shown in Figure 1, a kind of configuration recovery method flow process of the present invention as shown in Figure 4, at first, the present invention is provided with the configuration restore point before dilatation, generate anti-order then when being configured, and is last, when mistake occurring because revise configuration data, carry out anti-order, this configuration is recovered, make the state of system recovery when configuration restore point is set.With reference to Fig. 4, the present invention includes following steps:
Step s301, system receives configuration information.Be the information that the user sends to system to be increased destination signaling point, increase signaling link group and increase signaling link, the configuration data management unit 11 of system receives these information.
Step s302 is provided with the configuration restore point.Be system with the configuration of current operation as the configuration restore point, be configured recovery if desired, then system will return to the state of this configuration restore point.
Step s303 is configured and generates anti-order.The configuration data management unit 11 that is system is according to the configuration information that receives, increase the configuration of destination signaling point, increase signaling link group and increase signaling link successively, and corresponding generate deletion destination signaling point, deletion signaling link group and deletion signaling link be counter order, should instead order then to be saved in command storage unit 12.
Step s304, system receives recovering information.Promptly when the user finds improperly-configured, send recovering information to system, comprise the configuration restore dot information in this recovering information, the configuration data management unit 11 of system receives this recovering information.
Step s305, system carry out anti-order and are configured recovery.The configuration data management unit 11 that is system obtains the anti-order of deleting signaling link, deletion signaling link group and deletion destination signaling point according to the configuration restore dot information that receives from command storage unit 12, and carry out successively and should instead order, return to the state when configuration restore point is set.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (12)

1, a kind of configuration recovery method is characterized in that, may further comprise the steps:
A, system receive configuration information, are configured and generate anti-order according to described configuration information;
B, system receive recovering information, carry out described anti-order and are configured recovery.
2, configuration recovery method according to claim 1 is characterized in that, system preserves configuration operation record corresponding with described configuration information and and the described anti-corresponding anti-configuration operation record of ordering.
As configuration recovery method as described in the claim 2, it is characterized in that 3, system extracts anti-order according to recovering information from anti-configuration operation record, be configured recovery.
4, configuration recovery method according to claim 1 is characterized in that, system preserves the configuration data that generates according to configuration information, and the anti-order of described generation is a man-machine language of removing the configuration data of this generation.
As configuration recovery method as described in the claim 4, it is characterized in that 5, system receives recovering information, carry out anti-order and be configured and remove, and on relevant device, carry out described anti-order synchronously.
6, configuration recovery method according to claim 1 is characterized in that system is provided with the configuration restore point to the current configuration of carrying out.
7, as configuration recovery method as described in the claim 6, it is characterized in that, comprise the configuration restore dot information in the recovering information that system receives, and when carrying out anti-order, with configuration restore to the system state corresponding with described configuration restore point.
8, a kind of configuration of recovery device is characterized in that, comprises configuration data management unit and command storage unit, wherein
The configuration data management unit is used to receive that configuration information and recovering information, generation are counter orders, carries out configuration order and anti-order;
Command storage unit is connected with described configuration data management unit, is used to preserve configuration order record and/or anti-command record.
As configuration of recovery device as described in the claim 8, it is characterized in that 9, described configuration data management unit further comprises dispensing unit and anti-order generation unit, wherein
Dispensing unit is used to receive configuration information and recovering information, execution configuration order and anti-order;
Anti-order generation unit is used to generate anti-order.
As configuration of recovery device as described in the claim 8, it is characterized in that 10, described command storage unit comprises that further positive configuration operation tabulation and anti-configuration operation tabulate, wherein
Positive configuration operation tabulation is used to preserve the configuration order record;
Anti-configuration operation tabulation is used to preserve anti-command record.
11, as configuration of recovery device as described in the claim 8, it is characterized in that, generate the anti-order of the described configuration data that configuration data and deletion generate by described configuration information when configuration information is carried out in described configuration data management unit.
12, as configuration of recovery device as described in the claim 8, it is characterized in that, generate configuration restore point when configuration information is carried out in described configuration data management unit and remove anti-order to the described configuration restore point of correspondence.
CNB2006101043546A 2006-08-09 2006-08-09 Configuration of recovery device and method thereof Active CN100465913C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006101043546A CN100465913C (en) 2006-08-09 2006-08-09 Configuration of recovery device and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006101043546A CN100465913C (en) 2006-08-09 2006-08-09 Configuration of recovery device and method thereof

Publications (2)

Publication Number Publication Date
CN1904846A CN1904846A (en) 2007-01-31
CN100465913C true CN100465913C (en) 2009-03-04

Family

ID=37674116

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006101043546A Active CN100465913C (en) 2006-08-09 2006-08-09 Configuration of recovery device and method thereof

Country Status (1)

Country Link
CN (1) CN100465913C (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286886B (en) * 2008-06-05 2011-12-28 杭州华三通信技术有限公司 Method and device to recover configuring information of network appliance
US9152522B2 (en) 2010-10-22 2015-10-06 Hewlett-Packard Development Company, L.P. Methods for configuration management using a fallback configuration
CN103188065B (en) * 2011-12-30 2016-08-17 北京新媒传信科技有限公司 The method and system of data syn-chronization in a kind of business service
CN102769545B (en) * 2012-07-27 2015-06-10 瑞斯康达科技发展股份有限公司 Method and system for multipath configuration of remote equipment and remote equipment management
CN106776120A (en) * 2016-11-24 2017-05-31 珠海市魅族科技有限公司 The method and device of data recovery
CN111078454A (en) * 2019-12-17 2020-04-28 烽火通信科技股份有限公司 Cloud platform configuration recovery method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1512379A (en) * 2002-12-26 2004-07-14 联想(北京)有限公司 Method for automatic configuration or restoring of computer system network configuration
US20050197998A1 (en) * 2003-07-11 2005-09-08 Asbury Mark R. Dynamic database SQL script execution through JDBC
CN1710862A (en) * 2004-06-19 2005-12-21 鸿富锦精密工业(深圳)有限公司 Management system set for network interconnection apparatus and method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1512379A (en) * 2002-12-26 2004-07-14 联想(北京)有限公司 Method for automatic configuration or restoring of computer system network configuration
US20050197998A1 (en) * 2003-07-11 2005-09-08 Asbury Mark R. Dynamic database SQL script execution through JDBC
CN1710862A (en) * 2004-06-19 2005-12-21 鸿富锦精密工业(深圳)有限公司 Management system set for network interconnection apparatus and method thereof

Also Published As

Publication number Publication date
CN1904846A (en) 2007-01-31

Similar Documents

Publication Publication Date Title
CN100465913C (en) Configuration of recovery device and method thereof
CN1976517B (en) Mobile terminal
CN107995242A (en) A kind of method for processing business and system
CN101043318B (en) Method for synchronizing front-background data and apparatus thereof
CN101159504B (en) Synchronous digital hierarchy based ethernet protecting method
CN101094154A (en) System in multiple industrial control modes for protecting backed data at other location, and protection method
CN103825817A (en) Achieving method and device of ceaseless routing after routing protocol restarting
CN101588302A (en) Method and apparatus for updating router
CN105095008A (en) Distributed task fault redundancy method suitable for cluster system
CN104516796A (en) Command set based network element backup and recovery method and device
CN106161086B (en) The control method and device that master control borad is restarted
CN102083049B (en) Startup and shutdown system and switching method thereof
EP1997008B1 (en) State transaction bundling for improved redundancy
CN104506939B (en) A kind of information uploading method and television terminal
CN110134541A (en) Switching method, system, equipment and the storage medium of the configuration information of storage cluster
JP2006285443A (en) Object relief system and method
CN1725658A (en) Real-time data base main standby synchronous method
CN1921412B (en) System and method of circuit shearing and connecting
JP5449229B2 (en) Call relief system and call relief method
CN102143032A (en) Method for eliminating residual link state protocol data unit fragments and route equipment
CN101945002A (en) Method and equipment for quickly comparing data of main board with data of standby board
CN101202671A (en) Method and apparatus for terminal port allocating
CN100362761C (en) Method for realizing single board switching
CN103166847B (en) Ensure the method and apparatus of Graceful Restart
CN102468978A (en) Service configuration method and device

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