CN109062728A - A kind of configuration recovery method and device - Google Patents

A kind of configuration recovery method and device Download PDF

Info

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
entry
candidate
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.)
Granted
Application number
CN201810649229.6A
Other languages
Chinese (zh)
Other versions
CN109062728B (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.)
Beijing Star Net Ruijie Networks Co Ltd
Original Assignee
Beijing Star Net Ruijie Networks 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 Beijing Star Net Ruijie Networks Co Ltd filed Critical Beijing Star Net Ruijie Networks Co Ltd
Priority to CN201810649229.6A priority Critical patent/CN109062728B/en
Publication of CN109062728A publication Critical patent/CN109062728A/en
Application granted granted Critical
Publication of CN109062728B publication Critical patent/CN109062728B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1464Management 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

A kind of configuration recovery method and device
Technical field
The present invention relates to field of computer technology, espespecially a kind of configuration recovery method and device.
Background technique
The configuration of equipment usually can be all stored in equipment in a manner of configuration file, or will be configured by network mode File is sent in equipment.When equipment starts, configuration can be imported from configuration file, enables a device to resume operation.
Existing device configuration file is usually the script of textual form, by perform script come recovery configuring.Specially All configurations are all put in one file, such as config.text text, when equipment starting initializes, reads match one by one The configuration entry in file is set, and is issued to each business process and goes recovery configuring.The shortcomings that this method: first is that there is front and back Dependence, if the sequence of configuration entry is different, it is possible to cause result different.Such as two different business process of A, B, B relies on A, then the configuration of A must first restore, the configuration of B could be normally arranged, otherwise may will fail.It has another disadvantage that Low efficiency, because configuration restores one by one, and some business process fail in order to prevent, need to wait other business process Configuration restore, cause equipment starting initialization time be elongated.
Summary of the invention
The embodiment of the present invention provides a kind of configuration recovery method and device, configures recovery process in the prior art to solve The problem of inefficiency and poor reliability.
A kind of configuration recovery method, which comprises
The configuration file of DB Backup form is imported candidate configuration database by equipment starting;
Business process reads the configuration entry of itself from the candidate configuration database, and judges whether to rely on other industry The configuration of business process;
If relying on, the configuration entry is temporarily stored in the candidate configuration database, and subscribe to the change for being relied on configuration Dynamic message;
If not depending on, running configuration database is written into the configuration entry, and issues the configuration entry correspondence and matches The variation message set.
Further, the method, further includes:
In equipment starting, empty candidate configuration database and empty running configuration database are created.
Further, the candidate configuration database and operation data library are the non-relational data of Key-Value type Library.
Further, the method, further includes:
After receiving the variation message for being relied on configuration, read from the candidate configuration database rely on it is described by according to Rely the configuration entry of configuration and the operation data library is written;
Issue the variation message of the corresponding configuration of configuration entry.
Further, the method, further includes:
The running configuration database is backed up according to predetermined period, obtains the configuration text of DB Backup form Part.
A kind of configuration of recovery device, described device include import unit, judging unit, storage unit, subscriber units, recovery Unit and release unit;Wherein,
The import unit, in equipment starting, the configuration file of DB Backup form to be imported candidate configuration Database;
The judging unit for reading the configuration entry of business process from the candidate configuration database, and judges Whether the configuration of other business process is relied on;
The storage unit, if the configuration entry is temporarily stored in the candidate configuration database for relying on;
The subscriber units, for subscribing to the variation message for being relied on configuration;
The recovery unit, if running configuration database is written in the configuration entry for not depending on;
The release unit, for issuing the variation message of the corresponding configuration of configuration entry.
Further, described device, further includes:
Creating unit, for creating empty candidate configuration database and empty running configuration database in equipment starting.
Further, the candidate configuration database and operation data library are the non-relational data of Key-Value type Library.
Further, the recovery unit, is also used to:
After receiving the variation message for being relied on configuration, read from the candidate configuration database rely on it is described by according to Rely the configuration entry of configuration and the operation data library is written;
The release unit is also used to issue the variation message of the corresponding configuration of configuration entry.
Further, described device, further includes:
Backup units, for being backed up to the running configuration database, obtaining DB Backup according to predetermined period The configuration file of form.
The present invention has the beneficial effect that:
Configuration recovery method and device provided in an embodiment of the present invention, in equipment starting, by DB Backup form Configuration file imports candidate configuration database, and business process chooses the configuration entry of itself from candidate configuration database, and is sentencing When the configuration entry of breaking relies on other configurations, which is temporarily stored in candidate configuration database and subscription is relied on configuration Change message, when receive it is described be relied on the variations message of configuration after then read rely on described in be relied on the configuration entry of configuration simultaneously Operation data library is written, organization configurations file is directly come with the backup format of database in the embodiment of the present invention, with textual form Configuration file compare, eliminate resolving, and business process restores itself configuration process and can carry out parallel, improves The efficiency that configuration restores.Business process is in restoring itself configuration process, if it find that in the absence of the configuration being relied on, The configuration will not be therefore abandoned, but the configuration of oneself can be restored with the most fast time after the configuration being relied on restores, is solved The problem of configuration relies on improves the reliability that configuration restores.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention can be by written explanation Specifically noted structure is achieved and obtained in book, claims and attached drawing.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes a part of the invention, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the flow diagram of configuration recovery method in the embodiment of the present invention;
Fig. 2 is the flow diagram of configuration recovery method embodiment one in the embodiment of the present invention;
Fig. 3 is the structural schematic diagram of configuration of recovery device in the embodiment of the present invention;
Fig. 4 is the structural schematic diagram of configuration of recovery device embodiment one in the embodiment of the present invention.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with the application specific embodiment and Technical scheme is clearly and completely described in corresponding attached drawing.Obviously, described embodiment is only the application one Section Example, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doing Every other embodiment obtained under the premise of creative work out, shall fall in the protection scope of this application.
Publication is that subscriber is responsible for subscribing to channel (channel) with the characteristics of subscription (Publish/Subscribe), is sent Person is responsible for sending message to channel.Whenever having message to be sent to given channel, all subscribers of channel can be received Message.Publication is that subscriber is responsible for subscribing to channel (channel) with the characteristics of subscription, and sender is responsible for sending message to channel. Whenever having message to be sent to given channel, all subscribers of channel can receive message.
Key assignments (Key-Value) database is a kind of simple NoSQL database, client can according to key Query Value, Value corresponding to set key, or the delete key from database.Key value database software (such as Redis etc.) usually can all integrate hair The function of cloth and subscription, it is user-friendly.
Aiming at the problem that configuration recovery process inefficiency existing in the prior art and poor reliability, the embodiment of the present invention The configuration recovery method of offer, using the configuration file of DB Backup form, using publication and the feature of subscription, so that each industry Business process can carry out configuration recovery parallel, improve recovery efficiency.The process of the method for the present invention is as shown in Figure 1, execute step It is as follows:
Step 101, equipment starts, and the configuration file of DB Backup form is imported candidate configuration database;
Step 102, business process reads the configuration entry of itself from the candidate configuration database, and judge whether according to Rely the configuration of other business process;If relying on, 103 are thened follow the steps, if not depending on, thens follow the steps 104;
Here, it if business process A and B are required to restore the configuration of oneself, and is mutually related between A and B there are some The b configuration entry of configuration, even B does not come into force, then a configuration entry of A impacted can cannot come into force, i.e. a configuration entry of A relies on Entry is configured in the b of B.For example, if the interface of B does not create, the configuration in A under the interface can not then come into force etc..
Above-mentioned example is a relatively simple embodiment, it should be understood that in the actual implementation process, business process Can be more, and association relevant to configuration may be more complicated between them.Such as one configuration may by multiple business into Journey is relied on.
Step 103, if relying on, the configuration entry is temporarily stored in the candidate configuration database, and subscribe to and be relied on The variation message of configuration;
Step 104, if not depending on, running configuration database is written into the configuration entry, and issue the configuration item The variation message of the corresponding configuration of mesh.
Here, running configuration database is written into the configuration entry, is by the configuration entry;Correspondingly, Issue the corresponding configuration of configuration entry variations message will the news release of the configuration entry go out, in this way, subscription The business process for crossing the configuration entry is ready to receive to the variation message.
Further, the method also includes: in equipment starting, create empty candidate configuration database and empty operation Configuration database.
Preferably, the candidate configuration database and operation data library are the non-relational database of Key-Value type. Business process can search Value according to Key value, the storage configuration entry information in Value.
Candidate's configuration database is used to save the configuration file of DB Backup form, operation in equipment starting Configuration database is for saving the configuration entry to come into force.
Fig. 2 shows the flow diagrams of configuration recovery method embodiment one provided in an embodiment of the present invention, such as Fig. 2 institute Show, the embodiment one be on the basis of Fig. 1, when business process subscribe to be relied on configuration publication change message after, the reality Example one is applied to include the following steps:
Step 201, it after receiving the variation message for being relied on configuration, reads and relies on from the candidate configuration database Simultaneously the operation data library is written in the configuration entry for being relied on configuration;
Step 202, the variation message of the corresponding configuration of configuration entry is issued.
Preferably, the method can also include: to back up according to predetermined period to the running configuration database, obtain To the configuration file of DB Backup form;It specifically, can be by the running configuration DB Backup to standby according to predetermined period Part file, obtains the configuration file of database format, uses when restoring for configuration next time.It should be appreciated that can also be by system pipes Reason person, which manually triggers, carries out backup operation.
Configuration recovery method provided in an embodiment of the present invention, in equipment starting, by the configuration text of DB Backup form Part imports candidate configuration database, and business process chooses the configuration entry of itself from candidate configuration database, and is judging that this matches When setting entry and relying on other configurations, which is temporarily stored in candidate configuration database and subscribed to it is relied on the variation of configuration and disappears Breath, when receive it is described be relied on the variations message of configuration after then read rely on described in be relied on the configuration entry of configuration and fortune be written Row database directly carrys out organization configurations file with the backup format of database in the embodiment of the present invention, the configuration with textual form File is compared, and eliminates resolving, and business process restores itself configuration process and can carry out parallel, improves configuration The efficiency of recovery.Business process is in restoring itself configuration process, if it find that in the absence of the configuration being relied on, Bu Huiyin This abandons the configuration, but can restore the configuration of oneself with the most fast time after the configuration being relied on restores, solve configuration The problem of dependence, improves the reliability that configuration restores.
Based on the same inventive concept, the embodiment of the present invention provides a kind of configuration of recovery device, the apparatus structure such as Fig. 3 institute Show, comprising: import unit 31, judging unit 32, storage unit 33, subscriber units 34, recovery unit 35 and release unit 36; Wherein,
The import unit 31, for the configuration file of DB Backup form being imported candidate and is matched in equipment starting Set database;
The judging unit 32 for reading the configuration entry of business process from the candidate configuration database, and is sentenced The disconnected configuration for whether relying on other business process;
Here, it if business process A and B are required to restore the configuration of oneself, and is mutually related between A and B there are some The b configuration entry of configuration, even B does not come into force, then a configuration entry of A impacted can cannot come into force, i.e. a configuration entry of A relies on Entry is configured in the b of B.For example, if the interface of B does not create, the configuration in A under the interface can not then come into force etc..
Above-mentioned example is a relatively simple embodiment, it should be understood that in the actual implementation process, business process Can be more, and association relevant to configuration may be more complicated between them.Such as one configuration may by multiple business into Journey is relied on.
The storage unit 33, if the configuration entry is temporarily stored in the candidate configuration database for relying on;Institute Subscriber units 34 are stated, for subscribing to the variation message for being relied on configuration;
The recovery unit 35, if running configuration database is written in the configuration entry for not depending on;
The release unit 36, for issuing the variation message of the corresponding configuration of configuration entry.
Here, running configuration database is written into the configuration entry, is by the configuration entry;Correspondingly, Issue the corresponding configuration of configuration entry variations message will the news release of the configuration entry go out, in this way, subscription The business process for crossing the configuration entry is ready to receive to the variation message.
Further, described device, further includes:
Creating unit 37, for creating empty candidate configuration database and empty running configuration data in equipment starting Library.
Wherein, the candidate configuration database and operation data library are the non-relational database of Key-Value type.It is excellent Selection of land, candidate's configuration database and operation data library are the non-relational database of Key-Value type.Business process can To search Value according to Key value, the storage configuration entry information in Value.Candidate's configuration database in equipment for opening When dynamic, the configuration file of DB Backup form is saved, running configuration database is for saving the configuration entry to come into force.
Wherein, the recovery unit 35, is also used to:
After receiving the variation message for being relied on configuration, read from the candidate configuration database rely on it is described by according to Rely the configuration entry of configuration and the operation data library is written;
The release unit 36 is also used to issue the variation message of the corresponding configuration of configuration entry.
Further, described device, further includes:
Backup units 38, for being backed up to the running configuration database, it is standby obtaining database according to predetermined period The configuration file of part form.
It should be appreciated that configuration of recovery device realization principle and process provided in an embodiment of the present invention and above-mentioned Fig. 2 and shown Embodiment it is similar, details are not described herein.
For convenience of description, above each section is divided by function describes respectively for each module (or unit).Certainly, exist Implement to realize the function of each module (or unit) in same or multiple softwares or hardware when the present invention.
After the configuration recovery method and device for describing exemplary embodiment of the invention, next, introducing basis The computing device of another exemplary embodiment of the invention.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or Program product.Therefore, various aspects of the invention can be embodied in the following forms, it may be assumed that complete hardware embodiment, complete The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here Referred to as circuit, " module " or " system ".
In some possible embodiments, configuration of recovery device according to the present invention can include at least at least one Manage unit and at least one storage unit.Wherein, the storage unit is stored with program code, when said program code quilt When the processing unit executes, so that the processing unit executes the various according to the present invention exemplary of this specification foregoing description Step in the configuration recovery method of embodiment.
The configuration of recovery device 40 of this embodiment according to the present invention is described referring to Fig. 4.What Fig. 4 was shown matches Setting recovery device 40 is only an example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in figure 4, Fig. 4 is the structural schematic diagram for the electronic equipment that the another embodiment of the application provides.As shown in figure 4, The electronic equipment includes memory 41 and processor 42.
Memory 41, in addition to this being mainly used for storage program may be alternatively configured as storing various other data to support Operation on an electronic device.The example of these data includes contact data, telephone book data, message, picture, video etc..
Memory 41 can be by any kind of volatibility or non-volatile memory device or their combination realization, such as Static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable is read-only to be deposited Reservoir (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
Processor 42 is coupled with memory 41, for executing the program in memory 41, to be used for:
The configuration file of DB Backup form is imported candidate configuration database by equipment starting;
Business process reads the configuration entry of itself from the candidate configuration database, and judges whether that relying on other matches It sets;
If relying on, the configuration entry is temporarily stored in the candidate configuration database, and subscribe to the change for being relied on configuration Dynamic message;
If not depending on, running configuration database is written into the configuration entry, and issues the configuration entry correspondence and matches The variation message set.
Wherein, processor 42 other than function above, can also be achieved other when executing the program in memory 41 Function, for details, reference can be made to the descriptions in previous embodiments.
Further, electronic equipment can also include (Fig. 4 is not shown): communication component, display, power supply module, audio group Other components such as part.Members are only schematically provided in Fig. 4, are not meant to that electronic equipment only includes component shown in Fig. 4.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want There is also other identical elements in the process, method of element, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product. Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
The above description is only an example of the present application, is not intended to limit this application.For those skilled in the art For, various changes and changes are possible in this application.All any modifications made within the spirit and principles of the present application are equal Replacement, improvement etc., should be included within the scope of the claims of this application.

Claims (10)

1. a kind of configuration recovery method, which is characterized in that the described method includes:
The configuration file of DB Backup form is imported candidate configuration database by equipment starting;
Business process reads the configuration entry of itself from the candidate configuration database, and judge whether to rely on other business into The configuration of journey;
If relying on, the configuration entry is temporarily stored in the candidate configuration database, and subscription is relied on the variation of configuration and disappears Breath;
If not depending on, running configuration database is written into the configuration entry, and issues the corresponding configuration of configuration entry Change message.
2. the method according to claim 1, wherein the method, further includes:
In equipment starting, empty candidate configuration database and empty running configuration database are created.
3. the method according to claim 1, wherein candidate's configuration database and operation data library are Key- The non-relational database of Value type.
4. the method according to claim 1, wherein the method, further includes:
After receiving the variation message for being relied on configuration, reads to be relied on described in relying on from the candidate configuration database and match Simultaneously the operation data library is written in the configuration entry set;
Issue the variation message of the corresponding configuration of configuration entry.
5. method according to any one of claims 1 to 4, which is characterized in that the method, further includes:
The running configuration database is backed up according to predetermined period, obtains the configuration file of DB Backup form.
6. a kind of configuration of recovery device, which is characterized in that described device includes import unit, judging unit, storage unit, subscription Unit, recovery unit and release unit;Wherein,
The import unit, in equipment starting, the configuration file of DB Backup form to be imported candidate configuration data Library;
The judging unit for reading the configuration entry of business process from the candidate configuration database, and judges whether Rely on the configuration of other business process;
The storage unit, if the configuration entry is temporarily stored in the candidate configuration database for relying on;
The subscriber units, for subscribing to the variation message for being relied on configuration;
The recovery unit, if running configuration database is written in the configuration entry for not depending on;
The release unit, for issuing the variation message of the corresponding configuration of configuration entry.
7. device according to claim 6, which is characterized in that described device, further includes:
Creating unit, for creating empty candidate configuration database and empty running configuration database in equipment starting.
8. device according to claim 6, which is characterized in that it is described candidate configuration database and operation data library be Key- The non-relational database of Value type.
9. device according to claim 6, which is characterized in that the recovery unit is also used to:
After receiving the variation message for being relied on configuration, reads to be relied on described in relying on from the candidate configuration database and match Simultaneously the operation data library is written in the configuration entry set;
The release unit is also used to issue the variation message of the corresponding configuration of configuration entry.
10. according to any device of claim 6 to 9, which is characterized in that described device, further includes:
Backup units, for being backed up to the running configuration database, obtaining DB Backup form according to predetermined period Configuration file.
CN201810649229.6A 2018-06-22 2018-06-22 Configuration recovery method and device Active CN109062728B (en)

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)

* Cited by examiner, † Cited by third party
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
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
CN102521072B (en) Virtual tape library equipment and data recovery method
US10223435B2 (en) Data transfer between multiple databases
CN105530272A (en) Method and device for application data synchronization
WO2013055946A1 (en) Data classification
CN103281375A (en) Contact management method, device and system for third-party application
CN110532123A (en) The failover method and device of HBase system
CN109672752A (en) The synchronous method of data and node
CN104811458A (en) Method and device for displaying information
CN105095465A (en) Information recommendation method, system and device
CN103414762A (en) Cloud backup method and cloud backup device
CN111381931A (en) Disaster recovery method, device and system
CN109857516A (en) Cluster moving method and device based on container
CN105373450A (en) Data backup method and apparatus
CN103179153A (en) Mobile terminal and mobile terminal data backup method based on cloud server
CN110059088A (en) Data attribute identification method, device and equipment in a kind of piece of chain type account book
CN110362568A (en) A kind of compression method, device and equipment for block chain type account book
CN103677488A (en) Artificial intelligence user interface
CN104639973A (en) Information pushing method and device
US11093292B2 (en) Identifying recurring actions in a hybrid integration platform to control resource usage
CN102523112B (en) Information processing method and equipment
CN109062728A (en) A kind of configuration recovery method and device
CN109753380A (en) Snapshot data backup method, apparatus and system
CN110059081A (en) Data output method, device and the computer equipment shown based on data
CN110046141B (en) Data storage method and system based on data playback
CN113535477A (en) Method and equipment for data disaster recovery

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