CN109062728A - A kind of configuration recovery method and device - Google Patents
A kind of configuration recovery method and device Download PDFInfo
- Publication number
- CN109062728A CN109062728A CN201810649229.6A CN201810649229A CN109062728A CN 109062728 A CN109062728 A CN 109062728A CN 201810649229 A CN201810649229 A CN 201810649229A CN 109062728 A CN109062728 A CN 109062728A
- Authority
- CN
- China
- Prior art keywords
- configuration
- database
- candidate
- unit
- entry
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 86
- 238000011084 recovery Methods 0.000 title claims abstract description 34
- 230000008569 process Effects 0.000 claims abstract description 50
- 230000008859 change Effects 0.000 claims description 36
- 230000001419 dependent effect Effects 0.000 claims description 15
- 238000010586 diagram Methods 0.000 description 11
- 238000004590 computer program Methods 0.000 description 9
- 230000006870 function Effects 0.000 description 8
- 238000012545 processing Methods 0.000 description 7
- 230000000694 effects Effects 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000002035 prolonged effect Effects 0.000 description 1
- 238000013515 script Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1448—Management of the data involved in backup or backup restore
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
- G06F11/1464—Management of the backup or restore process for networked environments
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a kind of configuration recovery method and devices, this method comprises: equipment starts, the configuration file of DB Backup form is imported candidate configuration database;Business process reads the configuration entry of itself from the candidate configuration database, and judges whether to rely on the configuration of other business process;If relying on, the configuration entry is temporarily stored in the candidate configuration database, and subscribe to the variation message for being relied on configuration;If not depending on, running configuration database is written into the configuration entry, and issues the variation message of the corresponding configuration of configuration entry.The present invention is able to solve the problem of configuring recovery process inefficiency and poor reliability in the prior art.
Description
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a configuration recovery method and apparatus.
Background
The configuration of the device is typically stored on the device as a configuration file or transmitted to the device over a network. When the equipment is started, the configuration is imported from the configuration file, so that the equipment can recover to operate.
Existing device configuration files are typically scripts in text form that are executed to restore the configuration. Specifically, all configurations are placed in a file, such as a config text, and when the device starts initialization, configuration entries in the configuration file are read out one by one and sent to each service process to recover the configuration. The disadvantages of this approach: one is that there is a contextual dependency that may cause different results if the order of the configuration entries is different. A, B, B depends on a, the configuration of a must be restored first, the configuration of B can be set normally, and vice versa, it may fail. Another disadvantage is inefficiency because the configuration is restored piece by piece, and some business processes need to wait for the configuration of other business processes to be restored in order to prevent failure, resulting in a prolonged time for the device to start initialization.
Disclosure of Invention
The embodiment of the invention provides a configuration recovery method and a configuration recovery device, which are used for solving the problems of low efficiency and poor reliability in the configuration recovery process in the prior art.
A configuration restoration method, the method comprising:
starting the equipment, and importing the configuration file in the database backup form into a candidate configuration database;
the business process reads the configuration item of the business process from the candidate configuration database and judges whether the business process depends on the configuration of other business processes;
if so, temporarily storing the configuration items in the candidate configuration database, and subscribing the change message of the depended configuration;
and if not, writing the configuration entry into an operation configuration database, and issuing a change message of the configuration corresponding to the configuration entry.
Further, the method further comprises:
at device startup, an empty candidate configuration database and an empty running configuration database are created.
Further, the candidate configuration database and the candidate operation database are non-relational databases of a Key-Value type.
Further, the method further comprises:
after receiving a change message of a depended configuration, reading a configuration item depending on the depended configuration from the candidate configuration database and writing the configuration item into the running database;
and issuing a change message of the configuration corresponding to the configuration entry.
Further, the method further comprises:
and backing up the running configuration database according to a preset period to obtain a configuration file in a database backup form.
A configuration recovery device comprises an importing unit, a judging unit, a storing unit, a subscribing unit, a recovery unit and a publishing unit; wherein,
the importing unit is used for importing the configuration files in the database backup form into the candidate configuration database when the equipment is started;
the judging unit is used for reading the configuration items of the business processes from the candidate configuration database and judging whether the configuration of other business processes is depended on;
the storage unit is used for temporarily storing the configuration items in the candidate configuration database if the configuration items are dependent on the candidate configuration database;
the subscription unit is used for subscribing the change messages which are configured dependently;
the recovery unit is used for writing the configuration items into an operation configuration database if the configuration items are not dependent;
the issuing unit is configured to issue a change message of the configuration corresponding to the configuration entry.
Further, the apparatus further comprises:
and the creating unit is used for creating an empty candidate configuration database and an empty running configuration database when the equipment is started.
Further, the candidate configuration database and the candidate operation database are non-relational databases of a Key-Value type.
Further, the recovery unit is further configured to:
after receiving a change message of a depended configuration, reading a configuration item depending on the depended configuration from the candidate configuration database and writing the configuration item into the running database;
the issuing unit is further configured to issue a change message of the configuration corresponding to the configuration entry.
Further, the apparatus further comprises:
and the backup unit is used for backing up the running configuration database according to a preset period to obtain a configuration file in a database backup form.
The invention has the following beneficial effects:
the configuration recovery method and the configuration recovery device provided by the embodiment of the invention have the advantages that when equipment is started, the configuration file in the database backup form is imported into the candidate configuration database, the business process selects the configuration item of the business process from the candidate configuration database, when the configuration item is judged to depend on other configurations, the configuration item is temporarily stored in the candidate configuration database and subscribes the change message of the dependent configuration, and after the change message of the dependent configuration is received, the configuration item depending on the dependent configuration is read and written into the running database. In the process of recovering the self configuration of the business process, if the relied configuration is found to be absent, the configuration is not discarded, but the self configuration can be recovered in the fastest time after the relied configuration is recovered, so that the problem of configuration dependence is solved, and the reliability of configuration recovery is improved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
FIG. 1 is a flowchart illustrating a configuration recovery method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a configuration recovery method according to a first embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a configuration recovery apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a configuration recovery apparatus according to a first embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The Publish/Subscribe feature is that a subscriber is responsible for subscribing to a channel (channel) and a sender is responsible for sending messages to the channel. All subscribers to a channel receive messages whenever a message is sent to a given channel. The characteristics of publish and subscribe are that the subscriber is responsible for subscribing to a channel (channel) and the sender is responsible for sending messages to the channel. All subscribers to a channel receive messages whenever a message is sent to a given channel.
A Key-Value database is a simple NoSQL database, and a client can set a Value corresponding to a Key or delete a Key from the database according to a Key query Value. Key-value database software (e.g., Redis, etc.) generally integrates publish and subscribe functions, facilitating user usage.
Aiming at the problems of low efficiency and poor reliability of the configuration recovery process in the prior art, the configuration recovery method provided by the embodiment of the invention uses the configuration file in the database backup form and utilizes the characteristics of publishing and subscribing to ensure that all business processes can be configured and recovered in parallel, thereby improving the recovery efficiency. The flow of the method of the invention is shown in figure 1, and the execution steps are as follows:
step 101, starting equipment, and importing a configuration file in a database backup form into a candidate configuration database;
102, the business process reads the configuration item of the business process from the candidate configuration database and judges whether the business process depends on the configuration of other business processes; if yes, executing step 103, and if not, executing step 104;
here, if the business processes a and B both need to restore their own configuration, and there are some configurations associated with each other between a and B, that is, if the B configuration entry of B does not take effect, the a configuration entry of a is affected and cannot take effect, that is, the a configuration entry of a depends on the B configuration entry of B. For example, if B's interface is not created, the configuration under that interface in a cannot be validated, and so on.
The above example is only a simpler implementation, and it should be understood that in actual implementation, business processes may be more numerous and their configuration-related associations may be more complex. For example, a configuration may be relied upon by multiple business processes.
Step 103, if the configuration item is dependent on the configuration item, temporarily storing the configuration item in the candidate configuration database, and subscribing the change message of the dependent configuration;
and 104, if not, writing the configuration item into an operation configuration database, and issuing a change message of the configuration corresponding to the configuration item.
Here, the configuration entry is written into the running configuration database, that is, the configuration entry is validated; correspondingly, the change message of the configuration corresponding to the configuration entry is published, that is, the message of the configuration entry which takes effect is published, so that the change message can be received by the service process which subscribes to the configuration entry.
Further, the method further comprises: at device startup, an empty candidate configuration database and an empty running configuration database are created.
Preferably, the candidate configuration database and the running database are non-relational databases of a Key-Value type. The business process can search Value according to the Key Value, and store the configuration item information in the Value.
The candidate configuration database is used for storing configuration files in a database backup form when the equipment is started, and the operation configuration database is used for storing effective configuration items.
Fig. 2 is a flowchart illustrating a first embodiment of a configuration recovery method according to an embodiment of the present invention, where as shown in fig. 2, the first embodiment is based on fig. 1, and after a business process subscribes to a dependent configuration publish change message, the first embodiment includes the following steps:
step 201, after receiving the change message of the depended configuration, reading the configuration item depending on the depended configuration from the candidate configuration database and writing the configuration item into the running database;
step 202, issuing a change message of the configuration corresponding to the configuration entry.
Preferably, the method may further comprise: backing up the running configuration database according to a preset period to obtain a configuration file in a database backup form; specifically, the running configuration database may be backed up to a backup file according to a preset period, so as to obtain a configuration file in a database format for use in next configuration recovery. It should be understood that the backup operation may also be triggered manually by a system administrator.
The configuration recovery method provided by the embodiment of the invention is characterized in that when equipment is started, a configuration file in a database backup form is imported into a candidate configuration database, a business process selects a configuration item of the business process from the candidate configuration database, when the configuration item is judged to depend on other configurations, the configuration item is temporarily stored in the candidate configuration database and subscribes a change message of dependent configuration, and after the change message of dependent configuration is received, the configuration item depending on the dependent configuration is read and written into an operation database. In the process of recovering the self configuration of the business process, if the relied configuration is found to be absent, the configuration is not discarded, but the self configuration can be recovered in the fastest time after the relied configuration is recovered, so that the problem of configuration dependence is solved, and the reliability of configuration recovery is improved.
Based on the same inventive concept, an embodiment of the present invention provides a configuration recovery apparatus, where the apparatus is shown in fig. 3, and the apparatus includes: an importing unit 31, a judging unit 32, a storing unit 33, a subscribing unit 34, a restoring unit 35, and a publishing unit 36; wherein,
the importing unit 31 is configured to import the configuration file in the database backup form into the candidate configuration database when the device is started;
the judging unit 32 is configured to read configuration entries of the business processes from the candidate configuration database, and judge whether to depend on configurations of other business processes;
here, if the business processes a and B both need to restore their own configuration, and there are some configurations associated with each other between a and B, that is, if the B configuration entry of B does not take effect, the a configuration entry of a is affected and cannot take effect, that is, the a configuration entry of a depends on the B configuration entry of B. For example, if B's interface is not created, the configuration under that interface in a cannot be validated, and so on.
The above example is only a simpler implementation, and it should be understood that in actual implementation, business processes may be more numerous and their configuration-related associations may be more complex. For example, a configuration may be relied upon by multiple business processes.
The saving unit 33 is configured to, if the configuration entry depends on the candidate configuration database, temporarily store the configuration entry in the candidate configuration database; the subscription unit 34 is configured to subscribe to the change message of the dependent configuration;
the recovery unit 35 is configured to write the configuration entry into the running configuration database if the configuration entry is not dependent on the running configuration database;
the publishing unit 36 is configured to publish the change message of the configuration corresponding to the configuration entry.
Here, the configuration entry is written into the running configuration database, that is, the configuration entry is validated; correspondingly, the change message of the configuration corresponding to the configuration entry is published, that is, the message of the configuration entry which takes effect is published, so that the change message can be received by the service process which subscribes to the configuration entry.
Further, the apparatus further comprises:
a creating unit 37, configured to create an empty candidate configuration database and an empty running configuration database when the device is started.
And the candidate configuration database and the candidate operation database are Key-Value type non-relational databases. Preferably, the candidate configuration database and the running database are non-relational databases of a Key-Value type. The business process can search Value according to the Key Value, and store the configuration item information in the Value. The candidate configuration database is used for storing configuration files in a database backup form when the equipment is started, and the operation configuration database is used for storing effective configuration items.
Wherein the recovery unit 35 is further configured to:
after receiving a change message of a depended configuration, reading a configuration item depending on the depended configuration from the candidate configuration database and writing the configuration item into the running database;
the publishing unit 36 is further configured to publish the change message of the configuration corresponding to the configuration entry.
Further, the apparatus further comprises:
and the backup unit 38 is configured to backup the operating configuration database according to a preset period, so as to obtain a configuration file in a database backup form.
It should be understood that the implementation principle and process of the configuration recovery apparatus provided in the embodiment of the present invention are similar to those in fig. 2 and the embodiment shown above, and are not described herein again.
For convenience of description, the above parts are separately described as modules (or units) according to functional division. Of course, the functionality of the various modules (or units) may be implemented in the same or in multiple pieces of software or hardware in practicing the invention.
Having described the configuration restoration method and apparatus according to an exemplary embodiment of the present invention, a computing apparatus according to another exemplary embodiment of the present invention is described next.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or program product. Thus, various aspects of the invention may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
In some possible embodiments, a configuration restoration apparatus according to the present invention may comprise at least one processing unit, and at least one storage unit. Wherein the storage unit stores program code which, when executed by the processing unit, causes the processing unit to perform the steps of the configuration restoration method according to various exemplary embodiments of the present invention described above in this specification.
The configuration restoration apparatus 40 according to this embodiment of the present invention is described below with reference to fig. 4. The configuration restoration apparatus 40 shown in fig. 4 is only an example, and should not bring any limitation to the function and the use range of the embodiment of the present invention.
As shown in fig. 4, fig. 4 is a schematic structural diagram of an electronic device according to another embodiment of the present application. As shown in fig. 4, the electronic device includes a memory 41 and a processor 42.
The memory 41 is mainly used for storing programs, and may be configured to store various other data to support operations on the electronic device. Examples of such data include contact data, phonebook data, messages, pictures, videos, and the like.
The memory 41 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The processor 42 is coupled to the memory 41 for executing programs in the memory 41 for:
starting the equipment, and importing the configuration file in the database backup form into a candidate configuration database;
the business process reads the configuration items of the business process from the candidate configuration database and judges whether other configurations are depended on;
if so, temporarily storing the configuration items in the candidate configuration database, and subscribing the change message of the depended configuration;
and if not, writing the configuration entry into an operation configuration database, and issuing a change message of the configuration corresponding to the configuration entry.
When the processor 42 executes the program in the memory 41, in addition to the above functions, other functions may be implemented, which may be specifically referred to the description in the foregoing embodiments.
Further, the electronic device may further include (not shown in fig. 4): communication components, displays, power components, audio components, and the like. Only some of the components are schematically shown in fig. 4, and the electronic device is not meant to include only the components shown in fig. 4.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims (10)
1. A configuration restoration method, the method comprising:
starting the equipment, and importing the configuration file in the database backup form into a candidate configuration database;
the business process reads the configuration item of the business process from the candidate configuration database and judges whether the business process depends on the configuration of other business processes;
if so, temporarily storing the configuration items in the candidate configuration database, and subscribing the change message of the depended configuration;
and if not, writing the configuration entry into an operation configuration database, and issuing a change message of the configuration corresponding to the configuration entry.
2. The method of claim 1, further comprising:
at device startup, an empty candidate configuration database and an empty running configuration database are created.
3. The method of claim 1, wherein the candidate configuration database and the run database are non-relational databases of a Key-Value type.
4. The method of claim 1, further comprising:
after receiving a change message of a depended configuration, reading a configuration item depending on the depended configuration from the candidate configuration database and writing the configuration item into the running database;
and issuing a change message of the configuration corresponding to the configuration entry.
5. The method of any of claims 1 to 4, further comprising:
and backing up the running configuration database according to a preset period to obtain a configuration file in a database backup form.
6. A configuration recovery device is characterized by comprising an importing unit, a judging unit, a storing unit, a subscribing unit, a recovery unit and a publishing unit; wherein,
the importing unit is used for importing the configuration files in the database backup form into the candidate configuration database when the equipment is started;
the judging unit is used for reading the configuration items of the business processes from the candidate configuration database and judging whether the configuration of other business processes is depended on;
the storage unit is used for temporarily storing the configuration items in the candidate configuration database if the configuration items are dependent on the candidate configuration database;
the subscription unit is used for subscribing the change messages which are configured dependently;
the recovery unit is used for writing the configuration items into an operation configuration database if the configuration items are not dependent;
the issuing unit is configured to issue a change message of the configuration corresponding to the configuration entry.
7. The apparatus of claim 6, further comprising:
and the creating unit is used for creating an empty candidate configuration database and an empty running configuration database when the equipment is started.
8. The apparatus of claim 6, wherein the candidate configuration database and the run database are non-relational databases of a Key-Value type.
9. The apparatus of claim 6, wherein the recovery unit is further configured to:
after receiving a change message of a depended configuration, reading a configuration item depending on the depended configuration from the candidate configuration database and writing the configuration item into the running database;
the issuing unit is further configured to issue a change message of the configuration corresponding to the configuration entry.
10. The apparatus of any one of claims 6 to 9, further comprising:
and the backup unit is used for backing up the running configuration database according to a preset period to obtain a configuration file in a database backup form.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810649229.6A CN109062728B (en) | 2018-06-22 | 2018-06-22 | Configuration recovery method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810649229.6A CN109062728B (en) | 2018-06-22 | 2018-06-22 | Configuration recovery method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109062728A true CN109062728A (en) | 2018-12-21 |
CN109062728B CN109062728B (en) | 2021-03-02 |
Family
ID=64820691
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810649229.6A Active CN109062728B (en) | 2018-06-22 | 2018-06-22 | Configuration recovery method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109062728B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1482767A (en) * | 2002-09-13 | 2004-03-17 | 华为技术有限公司 | Method for realtime synchronisation of net element and telecommunication system |
US20050004942A1 (en) * | 2003-04-02 | 2005-01-06 | Madsen Mark E. | Methods and systems for controlling network infrastructure devices |
CN101110706A (en) * | 2007-07-23 | 2008-01-23 | 中兴通讯股份有限公司 | Configuration data synchronization method |
US20090292373A1 (en) * | 2008-05-21 | 2009-11-26 | Yokogawa Electric Corporation | Fieldbus communication system and data management apparatus |
CN101694637A (en) * | 2009-11-06 | 2010-04-14 | 金蝶软件(中国)有限公司 | Method and system for restoring database |
CN103701653A (en) * | 2014-01-06 | 2014-04-02 | 迈普通信技术股份有限公司 | Processing method for interface hot plugging and unplugging configuration data and network configuration server |
-
2018
- 2018-06-22 CN CN201810649229.6A patent/CN109062728B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1482767A (en) * | 2002-09-13 | 2004-03-17 | 华为技术有限公司 | Method for realtime synchronisation of net element and telecommunication system |
US20050004942A1 (en) * | 2003-04-02 | 2005-01-06 | Madsen Mark E. | Methods and systems for controlling network infrastructure devices |
CN101110706A (en) * | 2007-07-23 | 2008-01-23 | 中兴通讯股份有限公司 | Configuration data synchronization method |
US20090292373A1 (en) * | 2008-05-21 | 2009-11-26 | Yokogawa Electric Corporation | Fieldbus communication system and data management apparatus |
CN101694637A (en) * | 2009-11-06 | 2010-04-14 | 金蝶软件(中国)有限公司 | Method and system for restoring database |
CN103701653A (en) * | 2014-01-06 | 2014-04-02 | 迈普通信技术股份有限公司 | Processing method for interface hot plugging and unplugging configuration data and network configuration server |
Also Published As
Publication number | Publication date |
---|---|
CN109062728B (en) | 2021-03-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109634774B (en) | Data backup and recovery method and device | |
CN102495772B (en) | Characteristic-based terminal program cloud backup and recovery methods | |
US20160364301A1 (en) | Backup service with managed file transformation | |
CN102360321A (en) | Terminal program quick backup and recovery method based on cloud architecture | |
CN102508735A (en) | Method for backing up and restoring terminal system based on cloud architecture | |
CN111488243B (en) | Backup and recovery method and device for MongoDB database, electronic equipment and storage medium | |
CN106878363A (en) | A kind of information processing method, apparatus and system | |
US20240045770A1 (en) | Techniques for using data backup and disaster recovery configurations for application management | |
US20240311346A1 (en) | Storage tiering for computing system snapshots | |
CN107179965B (en) | Database recovery method and device | |
CN110968565A (en) | Database creation method and system | |
CN111625402A (en) | Data recovery method and device, electronic equipment and computer readable storage medium | |
CN103179153A (en) | Mobile terminal and mobile terminal data backup method based on cloud server | |
CN109062728B (en) | Configuration recovery method and device | |
CN107623705B (en) | Storage mode upgrading method, device and system based on video cloud storage system | |
CN111625397B (en) | Service log backup method, cluster, device, electronic equipment and storage medium | |
CN114996057A (en) | Data backup method and device, electronic equipment and computer readable storage medium | |
CN114238934A (en) | Equipment information acquisition method, device, equipment and medium | |
CN103530202A (en) | Cloud backing-up and recovering method used for terminal program | |
CN111813588A (en) | Computer hard disk fault positioning method, device, equipment and storage medium | |
US20240289309A1 (en) | Error deduplication and reporting for a data management system based on natural language processing of error messages | |
US11977459B2 (en) | Techniques for accelerated data recovery | |
US20230393947A1 (en) | Archiving computing snapshots to multiple locations in accordance with a service level agreement | |
US12045147B2 (en) | Lossless failover for data recovery | |
US12050551B2 (en) | Intelligent protection of computing snapshots |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |