CN109491701A - A kind of configuration information recovery method, system, equipment and computer storage medium - Google Patents
A kind of configuration information recovery method, system, equipment and computer storage medium Download PDFInfo
- Publication number
- CN109491701A CN109491701A CN201811295842.9A CN201811295842A CN109491701A CN 109491701 A CN109491701 A CN 109491701A CN 201811295842 A CN201811295842 A CN 201811295842A CN 109491701 A CN109491701 A CN 109491701A
- Authority
- CN
- China
- Prior art keywords
- configuration information
- data
- format
- version
- configuration
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
This application discloses a kind of configuration information recovery method, system, equipment and computer storage mediums, this method comprises: obtaining the configuration information of legacy version;Parse the configuration data in the configuration information of legacy version;It is the configuration information of new version by allocation data recovering according to preset configuration information format.A kind of configuration information recovery method provided by the present application, due to being according to preset configuration information format, it is the configuration information of new version by allocation data recovering, so that the format of the configuration information of new version is known determining format, to subsequent fast resolving directly can be carried out according to configuration information of the preset configuration information format to new version, the configuration data in the configuration information of new version is obtained, and then the recovery to configuration information can be rapidly completed.A kind of configuration information recovery system, equipment and computer readable storage medium provided by the present application also solve the problems, such as relevant art.
Description
Technical field
This application involves software technology fields, more specifically to a kind of configuration information recovery method, system, equipment
And computer storage medium.
Background technique
In order to guarantee store function safety and stablize, storage system can upgrade software systems, when storage system version
It after this upgrading, needs to restore configuration information, be solved then how quick recovery configuring information is a needs
Problem.
In conclusion how quick recovery configuring information is a problem to be solved by those skilled in the art.
Summary of the invention
The purpose of the application is to provide a kind of configuration information recovery method, how quickly extensive can solve to a certain extent
The technical issues of multiple configuration information.Present invention also provides a kind of configuration information recovery system, equipment and computer-readable storages
Medium.
To achieve the goals above, the application provides the following technical solutions:
A kind of configuration information recovery method, comprising:
Obtain the configuration information of legacy version;
Parse the configuration data in the configuration information of the legacy version;
It is the configuration information of new version by the allocation data recovering according to preset configuration information format.
Preferably, the configuration data in the configuration information for parsing the legacy version, comprising:
Parse the fixed configurations data in the configuration information of the legacy version;
It is described according to preset configuration information format, be the configuration information of new version by the allocation data recovering, comprising:
According to the first preset configuration information format, the fixed configurations that the fixed configurations data revert to new version are believed
Breath, the first preset configuration information format include the fixed configurations data according to version information, configuration data, verification data
The format being arranged successively.
Preferably, the configuration data in the configuration information for parsing the legacy version, comprising:
Parse the dynamic configuration data in the configuration information of the legacy version;
It is described according to preset configuration information format, be the configuration information of new version by the allocation data recovering, comprising:
According to the second preset configuration information format, the dynamic configuration that the dynamic configuration data reverts to new version is believed
Breath, the second preset configuration information format includes that the dynamic configuration data is arranged successively according to fixed field, design parameter
Format.
Preferably, described according to the second preset configuration information format, the dynamic configuration data is reverted into new version
During dynamic configuration information, comprising:
The fixed field lattice being arranged successively according to object ID, number of parameters, message total length, parameter verification field is restored
The corresponding corresponding data of the dynamic configuration data is reverted to the fixed field by formula.
Preferably, described according to the second preset configuration information format, the dynamic configuration data is reverted into new version
During dynamic configuration information, comprising:
The design parameter format being arranged successively according to field number, field type, field length, field contents, will be described
The corresponding corresponding data of dynamic configuration data reverts to the design parameter.
Preferably, after the configuration information for obtaining legacy version, in the configuration information for parsing the legacy version
Configuration data before, further includes:
Run the configuration information of the legacy version;
Judge whether operation error, if so, parsing the configuration number in the configuration information of the legacy version described in executing
According to the step of.
Preferably, the configuration data in the configuration information for parsing the legacy version, comprising:
Judge whether the configuration information format of the configuration information of the legacy version meets the preset configuration information format, if
It is that the configuration data in the configuration information of the legacy version is then parsed according to the preset configuration information format.
A kind of configuration information recovery system, comprising:
First obtains module, for obtaining the configuration information of legacy version;
First parsing module, the configuration data in configuration information for parsing the legacy version;
First recovery module, for being matching for new version by the allocation data recovering according to preset configuration information format
Confidence breath.
A kind of configuration information recovery equipment, comprising:
Memory, for storing computer program;
Processor realizes the step of as above any configuration information recovery method when for executing the computer program
Suddenly.
A kind of computer readable storage medium is stored with computer program in the computer readable storage medium, described
The step of as above any described configuration information recovery method is realized when computer program is executed by processor.
A kind of configuration information recovery method provided by the present application, obtains the configuration information of legacy version;Parse legacy version
Configuration data in configuration information;It is the configuration information of new version by allocation data recovering according to preset configuration information format.This
Allocation data recovering is new due to being according to preset configuration information format by a kind of configuration information recovery method that application provides
The configuration information of version, so that the format of the configuration information of new version is known determining format, so that subsequent can directly press
Fast resolving is carried out according to configuration information of the preset configuration information format to new version, obtains the configuration in the configuration information of new version
Data, and then the recovery to configuration information can be rapidly completed.A kind of configuration information recovery system provided by the present application, equipment and
Computer readable storage medium also solves the problems, such as relevant art.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of first pass figure of configuration information recovery method provided by the embodiments of the present application;
Fig. 2 is the knot of the first preset configuration information format in a kind of configuration information recovery method provided by the embodiments of the present application
Structure schematic diagram;
Fig. 3 is the knot of the second preset configuration information format in a kind of configuration information recovery method provided by the embodiments of the present application
Structure schematic diagram;
Fig. 4 is a kind of second flow chart of configuration information recovery method provided by the embodiments of the present application;
Fig. 5 is a kind of structural schematic diagram of configuration information recovery system provided by the embodiments of the present application;
Fig. 6 is a kind of structural schematic diagram of configuration information recovery equipment provided by the embodiments of the present application;
Fig. 7 is a kind of another structural schematic diagram of configuration information recovery equipment provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall in the protection scope of this application.
In order to guarantee store function safety and stablize, storage system can upgrade software systems, when storage system version
It after this upgrading, needs to restore configuration information, be solved then how quick recovery configuring information is a needs
Problem.A kind of configuration information recovery method provided by the present application can quick recovery configuring information.
Referring to Fig. 1, Fig. 1 is a kind of first pass figure of configuration information recovery method provided by the embodiments of the present application.
A kind of configuration information recovery method provided by the embodiments of the present application, may comprise steps of:
Step S101: the configuration information of legacy version is obtained.
In practical application, the configuration information of legacy version can be first obtained, the configuration information of legacy version can be the old of software
The configuration information of version, or the configuration information of the legacy version of storage system.The type and content of configuration information can roots
Factually border it needs to be determined that.
Step S102: the configuration data in the configuration information of legacy version is parsed.
In practical application, after the configuration information for obtaining legacy version, it can parse in the configuration information of legacy version
Configuration data.Specifically, directly confidence can be matched according to legacy version in the data format for the configuration information for knowing legacy version
The data format of breath parses configuration data, and in the data format for the configuration information for being unaware of legacy version, then it needs to old
The configuration information of version is successively tested, and configuration data is parsed.
Step S103: being the configuration information of new version by allocation data recovering according to preset configuration information format.
It, can be according to preset configuration after the configuration data in the configuration information for parsing legacy version in practical application
Allocation data recovering is the configuration information of new version by information format;It can make subsequent directly according to preset configuration information lattice
Formula parses configuration data from the configuration information of new version, quickly can match confidence according to a configuration data progress new round
The recovery of breath.In concrete application scene, it is understood that there may be the data format of the configuration information of legacy version is just preset configuration information lattice
The case where formula, then the process for parsing the configuration data in the configuration information of legacy version can be with specifically: judges matching for legacy version
Whether the configuration information format of confidence breath meets preset configuration information format, if so, parsing according to preset configuration information format
Configuration data in the configuration information of legacy version out.
Referring to Fig. 2, Fig. 2 is the first preset configuration letter in a kind of configuration information recovery method provided by the embodiments of the present application
Cease the structural schematic diagram of format.
In concrete application scene, the wide variety of the configuration data in configuration information goes out to configure for the ease of fast resolving
Data can classify to configuration data, carry out fast resolving to configuration information according to the characteristic of every class configuration data, then solve
The process that the configuration data in the configuration information of legacy version is precipitated can be with specifically: parses consolidating in the configuration information of legacy version
Determine configuration data;Correspondingly, according to preset configuration information format, by the process for the configuration information that allocation data recovering is new version
It can be with specifically: according to the first preset configuration information format, fixed configurations data are reverted to the localized configuration information of new version,
First preset configuration information format includes that fixed configurations data are arranged successively according to version information, configuration data, verification data
Format.
Referring to Fig. 3, Fig. 3 is the second preset configuration letter in a kind of configuration information recovery method provided by the embodiments of the present application
Cease the structural schematic diagram of format.
Fixed configurations data involved in the application refer in version definition, and content, which fixes, does not do it does elongated processing
Data;Corresponding with fixed configurations data is dynamic configuration data, and dynamic configuration data refers in version definition, is disappeared
Cease the data of content dynamic adjustment.Then in concrete application scene, the mistake of the configuration data in the configuration information of legacy version is parsed
Journey can be with specifically: parses the dynamic configuration data in the configuration information of legacy version;Correspondingly, according to preset configuration information lattice
Formula, can be with by the process for the configuration information that allocation data recovering is new version specifically: according to the second preset configuration information format,
Dynamic configuration data is reverted to the dynamic configuration information of new version, the second preset configuration information format includes dynamic configuration data
The format being arranged successively according to fixed field, design parameter;It later can be whole by localized configuration information and dynamic configuration information
It is combined into the configuration information of new version.Specifically, dynamic configuration data is reverted to new edition according to the second preset configuration information format
It, can be according to recovery object ID, number of parameters, message total length, parameter verification field during this dynamic configuration information
The corresponding corresponding data of dynamic configuration data is reverted to fixed field by the fixed field format being arranged successively;It can also be according to
The design parameter format that field number, field type, field length, field contents are arranged successively, dynamic configuration data is corresponding
Corresponding data revert to design parameter.
In concrete application scene, it is not necessary to believe according to configuration information recovery method recovery configuring provided by the present application
Legacy version directly can be matched confidence if the configuration information of legacy version and the configuration information of new version can be consistent by breath
It ceases and is used as the configuration information of new version, save the time of recovery configuring information, improve the efficiency of recovery configuring information, then obtain
After taking the configuration information of legacy version, before parsing the configuration data in the configuration information of legacy version, old edition can also be run
This configuration information;Judge whether operation error, if so, executing the configuration data in the configuration information for parsing legacy version
Step, if it is not, then can be directly using the configuration information of legacy version as the configuration information of new version.In addition, in the process, it can
There can be the configuration information operation error of part legacy version, the configuration information of part legacy version runs correct situation, at this point, can
It, can also be by be formatted according to configuration information recovery method provided by the present application to the configuration information of entire legacy version
Only the configuration information of the legacy version of operation error is formatted according to configuration information recovery method provided by the present application.
A kind of configuration information recovery method provided by the present application, obtains the configuration information of legacy version;Parse legacy version
Configuration data in configuration information;It is the configuration information of new version by allocation data recovering according to preset configuration information format.This
Allocation data recovering is new due to being according to preset configuration information format by a kind of configuration information recovery method that application provides
The configuration information of version, so that the format of the configuration information of new version is known determining format, so that subsequent can directly press
Fast resolving is carried out according to configuration information of the preset configuration information format to new version, obtains the configuration in the configuration information of new version
Data, and then the recovery to configuration information can be rapidly completed.
Referring to Fig. 4, Fig. 4 is a kind of second flow chart of configuration information recovery method provided by the embodiments of the present application.
In practical application, a kind of configuration information recovery method provided by the embodiments of the present application be may comprise steps of:
Step S201: the configuration information of legacy version is obtained.
Step S202: the configuration information of legacy version is run.
Step S203: judge whether operation error, if it is not, S204 is thened follow the steps, if so, thening follow the steps S205.
Step S204: using the configuration information of legacy version as the configuration information of new version.
Step S205: the fixed configurations data in the configuration information of legacy version are parsed;
Step S206: according to the first preset configuration information format, the fixation that fixed configurations data revert to new version is matched
Confidence breath, the first preset configuration information format include fixed configurations data according to version information, configuration data, verification data successively
The format of arrangement.
Step S207: the dynamic configuration data in the configuration information of legacy version is parsed.
Step S208: according to the second preset configuration information format, the dynamic that dynamic configuration data reverts to new version is matched
Confidence breath, the second preset configuration information format includes the lattice that dynamic configuration data is arranged successively according to fixed field, design parameter
Formula.
Step S209: localized configuration information and dynamic configuration information are integrated into the configuration information of new version.
Present invention also provides a kind of configuration information recovery systems, with provided by the embodiments of the present application a kind of with confidence
The correspondence effect that breath restoration methods have.Referring to Fig. 5, Fig. 5 is a kind of configuration information recovery system provided by the embodiments of the present application
The structural schematic diagram of system.
A kind of configuration information recovery system provided by the embodiments of the present application may include:
First obtains module 101, for obtaining the configuration information of legacy version;
First parsing module 102, the configuration data in configuration information for parsing legacy version;
First recovery module 103, for according to preset configuration information format, being the configuration of new version by allocation data recovering
Information.
In a kind of configuration information recovery system provided by the embodiments of the present application, the first parsing module may include:
First resolution unit, the fixed configurations data in configuration information for parsing legacy version;
Correspondingly, the first recovery module may include:
First recovery unit, for according to the first preset configuration information format, fixed configurations data to be reverted to new version
Localized configuration information, the first preset configuration information format includes fixed configurations data according to version information, configuration data, verification
The format that data are arranged successively.
In a kind of configuration information recovery system provided by the embodiments of the present application, the first parsing module may include:
Second resolution unit, the dynamic configuration data in configuration information for parsing legacy version;
Correspondingly, the first recovery module may include:
Second recovery unit, for according to the second preset configuration information format, dynamic configuration data to be reverted to new version
Dynamic configuration information, the second preset configuration information format include dynamic configuration data according to fixed field, design parameter successively
The format of arrangement.
Preferably, the second recovery unit may include:
First restore subelement, for according to restore object ID, number of parameters, message total length, parameter verification field according to
The corresponding corresponding data of dynamic configuration data is reverted to fixed field by the fixed field format of secondary arrangement.
In a kind of configuration information recovery system provided by the embodiments of the present application, the second recovery unit may include:
Second restores subelement, for being arranged successively according to field number, field type, field length, field contents
The corresponding corresponding data of dynamic configuration data is reverted to design parameter by design parameter format.
In a kind of configuration information recovery system provided by the embodiments of the present application, can also include:
First operation module, after the configuration information that module obtains legacy version is obtained for first, the first parsing module solution
It is precipitated before the configuration data in the configuration information of legacy version, runs the configuration information of legacy version;
First judgment module, for judging whether operation error, if so, it is old to prompt the execution of the first parsing module to parse
The step of configuration data in the configuration information of version.
In a kind of configuration information recovery system provided by the embodiments of the present application, the first parsing module may include:
First judging unit, for judging whether the configuration information format of configuration information of legacy version meets preset configuration letter
Format is ceased, if so, parsing the configuration data in the configuration information of legacy version according to preset configuration information format.
Present invention also provides a kind of configuration information recovery equipment and computer readable storage mediums, all have the application
A kind of correspondence effect that configuration information recovery method has that embodiment provides.Referring to Fig. 6, Fig. 6 mentions for the embodiment of the present application
A kind of structural schematic diagram of the configuration information recovery equipment supplied.
A kind of configuration information recovery equipment provided by the embodiments of the present application, including memory 201 and processor 202, storage
Computer program is stored in device 201, processor 202 realizes following step when executing the computer program stored in memory 201
It is rapid:
Obtain the configuration information of legacy version;
Parse the configuration data in the configuration information of legacy version;
It is the configuration information of new version by allocation data recovering according to preset configuration information format.
A kind of configuration information recovery equipment provided by the embodiments of the present application, including memory and processor are deposited in memory
Computer subprogram is contained, processor is implemented as follows step when executing the computer subprogram stored in memory: parsing
Fixed configurations data in the configuration information of legacy version out;It is according to the first preset configuration information format, fixed configurations data are extensive
Again be new version localized configuration information, the first preset configuration information format include fixed configurations data according to version information, match
Set data, the format that verification data are arranged successively.
A kind of configuration information recovery equipment provided by the embodiments of the present application, including memory and processor are deposited in memory
Computer subprogram is contained, processor is implemented as follows step when executing the computer subprogram stored in memory: parsing
Dynamic configuration data in the configuration information of legacy version out;It is according to the second preset configuration information format, dynamic configuration data is extensive
It is again the dynamic configuration information of new version, the second preset configuration information format includes dynamic configuration data according to fixed field, tool
The format that body parameter is arranged successively.
A kind of configuration information recovery equipment provided by the embodiments of the present application, including memory and processor are deposited in memory
Computer subprogram is contained, processor is implemented as follows step when executing the computer subprogram stored in memory: according to
Restore the fixed field format that object ID, number of parameters, message total length, parameter verification field are arranged successively, by dynamic configuration
The corresponding corresponding data of data reverts to fixed field.
A kind of configuration information recovery equipment provided by the embodiments of the present application, including memory and processor are deposited in memory
Computer subprogram is contained, processor is implemented as follows step when executing the computer subprogram stored in memory: according to
The design parameter format that field number, field type, field length, field contents are arranged successively, dynamic configuration data is corresponding
Corresponding data revert to design parameter.
A kind of configuration information recovery equipment provided by the embodiments of the present application, including memory and processor are deposited in memory
Computer subprogram is contained, processor is implemented as follows step when executing the computer subprogram stored in memory: obtaining
After the configuration information of legacy version, before parsing the configuration data in the configuration information of legacy version, the configuration of legacy version is run
Information;Judge whether operation error, if so, the step of executing the configuration data in the configuration information for parsing legacy version.
A kind of configuration information recovery equipment provided by the embodiments of the present application, including memory and processor are deposited in memory
Computer subprogram is contained, processor is implemented as follows step when executing the computer subprogram stored in memory: judgement
Whether the configuration information format of the configuration information of legacy version meets preset configuration information format, if so, believing according to preset configuration
Breath format parses the configuration data in the configuration information of legacy version.
Referring to Fig. 7, can also include: in another kind configuration information recovery equipment provided by the embodiments of the present application and handle
The input port 203 that device 202 connects is used for transmission the extraneous order inputted to processor 202;What is connect with processor 202 is aobvious
Show unit 204, the processing result for video-stream processor 202 is to the external world;The communication module 205 connecting with processor 202, is used for
Realize configuration information recovery equipment and extraneous communication.Display unit 204 can make display for display panel, laser scanning
Deng;Communication mode used by communication module 205 includes but is not limited to that mobile high definition chained technology (HML), general serial are total
Line (USB), is wirelessly connected high-definition media interface (HDMI): adopting wireless fidelity technology (WiFi), Bluetooth Communication Technology, low-power consumption
Bluetooth Communication Technology, the communication technology based on IEEE802.11s.
A kind of computer readable storage medium provided by the embodiments of the present application is stored with meter in computer readable storage medium
Calculation machine program, realizes following steps when computer program is executed by processor:
Obtain the configuration information of legacy version;
Parse the configuration data in the configuration information of legacy version;
It is the configuration information of new version by allocation data recovering according to preset configuration information format.
A kind of computer readable storage medium provided by the embodiments of the present application is stored with meter in computer readable storage medium
Loom program is calculated, computer subprogram is implemented as follows step when being executed by processor: parsing the configuration information of legacy version
In fixed configurations data;According to the first preset configuration information format, the fixation that fixed configurations data revert to new version is matched
Confidence breath, the first preset configuration information format include fixed configurations data according to version information, configuration data, verification data successively
The format of arrangement.
A kind of computer readable storage medium provided by the embodiments of the present application is stored with meter in computer readable storage medium
Loom program is calculated, computer subprogram is implemented as follows step when being executed by processor: parsing the configuration information of legacy version
In dynamic configuration data;According to the second preset configuration information format, the dynamic that dynamic configuration data reverts to new version is matched
Confidence breath, the second preset configuration information format includes the lattice that dynamic configuration data is arranged successively according to fixed field, design parameter
Formula.
A kind of computer readable storage medium provided by the embodiments of the present application is stored with meter in computer readable storage medium
Loom program is calculated, computer subprogram is implemented as follows step when being executed by processor: a according to object ID, parameter is restored
The fixed field format that number, message total length, parameter verification field are arranged successively, by the corresponding corresponding data of dynamic configuration data
Revert to fixed field.
A kind of computer readable storage medium provided by the embodiments of the present application is stored with meter in computer readable storage medium
Calculate loom program, computer subprogram is implemented as follows step when being executed by processor: according to field number, field type,
The corresponding corresponding data of dynamic configuration data is reverted to tool by the design parameter format that field length, field contents are arranged successively
Body parameter.
A kind of computer readable storage medium provided by the embodiments of the present application is stored with meter in computer readable storage medium
Calculate loom program, computer subprogram is implemented as follows step when being executed by processor: obtain legacy version configuration information it
Afterwards, before parsing the configuration data in the configuration information of legacy version, the configuration information of legacy version is run;Judge whether to run out
Mistake, if so, the step of executing the configuration data in the configuration information for parsing legacy version.
A kind of computer readable storage medium provided by the embodiments of the present application is stored with meter in computer readable storage medium
Loom program is calculated, computer subprogram is implemented as follows step when being executed by processor: judging the configuration information of legacy version
Whether configuration information format meets preset configuration information format, if so, parsing legacy version according to preset configuration information format
Configuration information in configuration data.
Computer readable storage medium involved in the application includes random access memory (RAM), memory, read-only memory
(ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field
Any other form of storage medium well known to interior.
It is related in a kind of configuration information recovery system provided by the embodiments of the present application, equipment and computer readable storage medium
Partial explanation refers to the detailed description of corresponding part in a kind of configuration information recovery method provided by the embodiments of the present application,
This is repeated no more.In addition, in above-mentioned technical proposal provided by the embodiments of the present application with correspond in the prior art technical solution realize
The consistent part of principle is simultaneously unspecified, in order to avoid excessively repeat.
It should also be noted that, herein, relational terms such as first and second and the like are used merely to one
Entity or operation are distinguished with another entity or operation, without necessarily requiring or implying between these entities or operation
There are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant are intended to contain
Lid non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
The foregoing description of the disclosed embodiments makes those skilled in the art can be realized or use the application.To this
A variety of modifications of a little embodiments will be apparent for a person skilled in the art, and the general principles defined herein can
Without departing from the spirit or scope of the application, to realize in other embodiments.Therefore, the application will not be limited
It is formed on the embodiments shown herein, and is to fit to consistent with the principles and novel features disclosed in this article widest
Range.
Claims (10)
1. a kind of configuration information recovery method characterized by comprising
Obtain the configuration information of legacy version;
Parse the configuration data in the configuration information of the legacy version;
It is the configuration information of new version by the allocation data recovering according to preset configuration information format.
2. the method according to claim 1, wherein matching in the configuration information for parsing the legacy version
Set data, comprising:
Parse the fixed configurations data in the configuration information of the legacy version;
It is described according to preset configuration information format, be the configuration information of new version by the allocation data recovering, comprising:
According to the first preset configuration information format, the fixed configurations data are reverted to the localized configuration information of new version, institute
Stating the first preset configuration information format includes the fixed configurations data according to version information, configuration data, verification data successively
The format of arrangement.
3. the method according to claim 1, wherein matching in the configuration information for parsing the legacy version
Set data, comprising:
Parse the dynamic configuration data in the configuration information of the legacy version;
It is described according to preset configuration information format, be the configuration information of new version by the allocation data recovering, comprising:
According to the second preset configuration information format, the dynamic configuration data is reverted to the dynamic configuration information of new version, institute
Stating the second preset configuration information format includes the lattice that the dynamic configuration data is arranged successively according to fixed field, design parameter
Formula.
4., will be described according to the method described in claim 3, it is characterized in that, described according to the second preset configuration information format
During dynamic configuration data reverts to the dynamic configuration information of new version, comprising:
The fixed field format being arranged successively according to object ID, number of parameters, message total length, parameter verification field is restored, will
The corresponding corresponding data of the dynamic configuration data reverts to the fixed field.
5., will be described according to the method described in claim 3, it is characterized in that, described according to the second preset configuration information format
During dynamic configuration data reverts to the dynamic configuration information of new version, comprising:
The design parameter format being arranged successively according to field number, field type, field length, field contents, by the dynamic
The corresponding corresponding data of configuration data reverts to the design parameter.
6. method according to any one of claims 1 to 5, which is characterized in that it is described obtain legacy version configuration information it
Afterwards, before the configuration data in the configuration information for parsing the legacy version, further includes:
Run the configuration information of the legacy version;
Judge whether operation error, if so, parsing the configuration data in the configuration information of the legacy version described in executing
Step.
7. according to the method described in claim 6, it is characterized in that, matching in the configuration information for parsing the legacy version
Set data, comprising:
Judge whether the configuration information format of the configuration information of the legacy version meets the preset configuration information format, if so,
The configuration data in the configuration information of the legacy version is then parsed according to the preset configuration information format.
8. a kind of configuration information recovery system characterized by comprising
First obtains module, for obtaining the configuration information of legacy version;
First parsing module, the configuration data in configuration information for parsing the legacy version;
First recovery module, for being new version with confidence by the allocation data recovering according to preset configuration information format
Breath.
9. a kind of configuration information recovery equipment characterized by comprising
Memory, for storing computer program;
Processor realizes configuration information recovery as described in any one of claim 1 to 7 when for executing the computer program
The step of method.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium
Program, the computer program realize configuration information recovery side as described in any one of claim 1 to 7 when being executed by processor
The step of method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811295842.9A CN109491701A (en) | 2018-11-01 | 2018-11-01 | A kind of configuration information recovery method, system, equipment and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811295842.9A CN109491701A (en) | 2018-11-01 | 2018-11-01 | A kind of configuration information recovery method, system, equipment and computer storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109491701A true CN109491701A (en) | 2019-03-19 |
Family
ID=65692268
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811295842.9A Pending CN109491701A (en) | 2018-11-01 | 2018-11-01 | A kind of configuration information recovery method, system, equipment and computer storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109491701A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1866252A (en) * | 2006-02-20 | 2006-11-22 | 华为技术有限公司 | Method and system for transformation between different version configuration data |
CN1909693A (en) * | 2006-08-07 | 2007-02-07 | 华为技术有限公司 | Method and device for transformation of data configuration file in different editions of software |
US20130007709A1 (en) * | 2011-06-30 | 2013-01-03 | International Business Machines Corporation | Software configuration management |
US9298371B1 (en) * | 2014-12-22 | 2016-03-29 | American Megatrends, Inc. | System and method of reducing write cycles and increasing longevity of non-volatile memory in baseboard management controller (BMC) |
US20160323138A1 (en) * | 2015-04-28 | 2016-11-03 | Microsoft Technology Licensing, Llc. | Scalable Event-Based Notifications |
CN107977223A (en) * | 2017-11-20 | 2018-05-01 | 杭州迪普科技股份有限公司 | One kind configuration compliance check method and device |
CN108712298A (en) * | 2018-08-28 | 2018-10-26 | 深信服科技股份有限公司 | Upgrading network equipment method, apparatus, the network equipment and storage medium |
CN108717360A (en) * | 2018-08-24 | 2018-10-30 | 江苏神州信源系统工程有限公司 | A kind of software version updating method and device |
-
2018
- 2018-11-01 CN CN201811295842.9A patent/CN109491701A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1866252A (en) * | 2006-02-20 | 2006-11-22 | 华为技术有限公司 | Method and system for transformation between different version configuration data |
CN1909693A (en) * | 2006-08-07 | 2007-02-07 | 华为技术有限公司 | Method and device for transformation of data configuration file in different editions of software |
US20130007709A1 (en) * | 2011-06-30 | 2013-01-03 | International Business Machines Corporation | Software configuration management |
US9298371B1 (en) * | 2014-12-22 | 2016-03-29 | American Megatrends, Inc. | System and method of reducing write cycles and increasing longevity of non-volatile memory in baseboard management controller (BMC) |
US20160323138A1 (en) * | 2015-04-28 | 2016-11-03 | Microsoft Technology Licensing, Llc. | Scalable Event-Based Notifications |
CN107977223A (en) * | 2017-11-20 | 2018-05-01 | 杭州迪普科技股份有限公司 | One kind configuration compliance check method and device |
CN108717360A (en) * | 2018-08-24 | 2018-10-30 | 江苏神州信源系统工程有限公司 | A kind of software version updating method and device |
CN108712298A (en) * | 2018-08-28 | 2018-10-26 | 深信服科技股份有限公司 | Upgrading network equipment method, apparatus, the network equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102279776B (en) | Error checking and correcting ability testing method and device | |
CN103064712B (en) | A kind of method of Reconfigurations parameter, device and terminal device | |
RU2014148734A (en) | SYSTEM AND METHOD FOR INITIATING THE CHECK OF THE FLOW METER BY THE COMPUTER OF THE FLOW | |
CN106406935A (en) | OTA upgrading method for Bluetooth chip and Bluetooth chip | |
CN102681959A (en) | Method for interacting inner-band information and out-of-band information of server | |
CN113407393B (en) | Chip verification method, terminal device, verification platform and storage medium | |
CN109005188A (en) | A kind of data transmission device and method, system, equipment, computer storage medium | |
CN109240870A (en) | Solid state disk fault positioning method and related device | |
CN103106095A (en) | Method for remotely upgrading industrial camera and camera | |
TW201344437A (en) | System operation method, and memory controller and memory storage device using the same | |
CN110442356A (en) | The upgrade method and device of DSP firmware | |
CN105205019B (en) | NV parameter reading and writing system and methods based on high-pass platform mobile phone | |
CN109409531A (en) | A kind of machine learning method, device and equipment based on serializing file | |
CN103106088A (en) | Hardware and firmware independently updating system and method thereof | |
CN109491701A (en) | A kind of configuration information recovery method, system, equipment and computer storage medium | |
CN110335599A (en) | A kind of sound control method, system, equipment and computer readable storage medium | |
CN108829490A (en) | A kind of method of cloud platform resetting KVM virtualization platform Linux virtual machine password | |
CN107148612A (en) | A kind of method and apparatus of extending user subregion | |
WO2015155846A1 (en) | System for storage device to execute database hash join process | |
CN115776365A (en) | Method and system for correcting serial port baud rate, communication module and storage medium | |
CN109243650B (en) | Nuclear power station safety level instrument control system and method with configuration function based on FPGA | |
CN109739581A (en) | A kind of FPGA portion method for reconfiguration, system, equipment and computer media | |
CN110008105A (en) | A kind of BMC time reservation method, device and electronic equipment and storage medium | |
CN109542357A (en) | A kind of command parameter assemble method, system, equipment and computer storage medium | |
CN104174162A (en) | Game playing method and game playing device |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190319 |
|
RJ01 | Rejection of invention patent application after publication |