CN112835742A - Data parameter backup recovery method - Google Patents
Data parameter backup recovery method Download PDFInfo
- Publication number
- CN112835742A CN112835742A CN202110047554.7A CN202110047554A CN112835742A CN 112835742 A CN112835742 A CN 112835742A CN 202110047554 A CN202110047554 A CN 202110047554A CN 112835742 A CN112835742 A CN 112835742A
- Authority
- CN
- China
- Prior art keywords
- partition
- data
- backup
- equipment
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 238000011084 recovery Methods 0.000 title claims abstract description 31
- 238000005192 partition Methods 0.000 claims abstract description 88
- 230000002159 abnormal effect Effects 0.000 claims description 4
- 238000013100 final test Methods 0.000 claims description 3
- 238000012360 testing method Methods 0.000 abstract description 4
- 230000007246 mechanism Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0614—Improving the reliability of storage systems
- G06F3/0619—Improving the reliability of storage systems in relation to data integrity, e.g. data losses, bit errors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0638—Organizing or formatting or addressing of data
- G06F3/0644—Management of space entities, e.g. partitions, extents, pools
Abstract
The invention discloses a data parameter backup recovery method, which relates to the technical field of data backup and comprises the following steps: the method comprises the steps of creating a hidden partition for storing data parameters in the equipment in advance, wherein the hidden partition comprises a first partition and a second partition, initializing the equipment, performing operation debugging, and backing up parameter information of the debugged equipment to the first partition; and calibrating and finally testing the equipment, and backing up the generated parameter information to the second partition. The invention realizes the storage of the equipment data information in the hidden partition, can automatically recover the data stored in the hidden partition, improves the safety of data backup by establishing the first partition and the second partition which are mutually independent, reduces the risk of data recovery, not only improves the integrity of the data, but also ensures the safety of the equipment, has low data recovery cost, safe, simple and portable operation process and wide limitation and strong adaptability.
Description
Technical Field
The invention relates to the technical field of data backup, in particular to a data parameter backup and recovery method.
Background
When data in a storage medium is damaged or lost, a data recovery method is often used to recover or reconstruct the damaged data, and a general data recovery method not only recovers or reconstructs the damaged portion, but also recovers the entire volume from a backup disc. When a backup disk is placed in a remote location or an amount of data exceeding the damaged portion of data needs to be recovered from the backup disk, such as when a user only needs to recover 5 bytes of data and the system is recovering 500 megabytes of data, the performance of the system may be reduced.
One existing method of recovering more efficiently is to add extra redundancy resiliency by copying or adding parity pairs to data stored locally on a relatively fast-rate storage medium. In the redundancy scheme, the damaged data is recovered quickly and without delay through the metadata and the redundancy coefficient in the system, which means that the data reconstruction time through the redundancy technology can be effectively shortened compared with the recovery of the whole volume.
Another approach is to perform data backup, which is typically used in disaster recovery when data redundancy mechanisms are unable to recover or reconstruct the damaged data. Because data backup is periodic, the newly written or updated data is not backed up in the backup disk, i.e., when the redundancy mechanism fails, the newly written data is the most vulnerable as it cannot be restored by the redundancy mechanism nor from the backup.
The patent CN106021029A for retrieving the invention of china discloses a backup recovery device and method for NV parameters, the device includes: the backup module is used for acquiring NV parameter data from an NV storage area and uploading the NV parameter data to a server for backup; the request module is used for sending an NV parameter recovery request to the server when the NV parameter is abnormal; and the recovery module is used for receiving the backup NV parameter data sent by the server and writing the NV parameter data into the NV storage area. Therefore, the backup and the recovery of the NV parameters can be directly and automatically carried out on the mobile terminal without the help of a computer and a high-pass software tool, the operation process is simplified, and the operation efficiency is improved. Meanwhile, the NV parameters are backed up in the server, so that the backup NV parameters are not damaged due to the failure of the mobile terminal, and the backup reliability is improved. But if the device is still improperly upgraded, important data in the device can be damaged and unrecoverable, and the device can be even disabled seriously.
An effective solution to the problems in the related art has not been proposed yet.
Disclosure of Invention
The present invention provides a data parameter backup and recovery method for solving the above technical problems in the related art.
The technical scheme of the invention is realized as follows:
a data parameter backup recovery method comprises the following steps:
step S1, a hidden partition for storing data parameters is created in advance in the device, wherein the hidden partition comprises a first partition and a second partition, and the first partition and the second partition are independent from each other;
step S2, initializing equipment, operating and debugging the equipment, and backing up the parameter information of the debugged equipment to the first partition;
step S3, calibrating and final testing the equipment, and backing up the generated parameter information to the second partition, wherein the step comprises the step of ensuring the equipment performance data to be stable data for the equipment debugging operation;
and step S4, guiding and recovering the acquired stable data to the equipment, and completing the startup, wherein the guiding includes setting recovery end reminding, and guiding the first partition parameter information to recover if the recovery is abnormal, and completing the reset restart.
Wherein, still include the following step:
setting a backup end prompt for the data parameter backup;
periodically performing data self-check on the backup data information of the first partition and the second partition, and determining the integrity of the backup data;
and updating the backup data of the first partition and the second partition, and generating historical backup data information by the backup data information of the first partition and the second partition, wherein the historical backup data information comprises at most three groups of sequence information of the same partition.
And the hidden partition comprises a boot backup restoration after the administrator authenticates, and cannot be accessed by users and other programs.
And the step of the administrator after authentication, guiding backup restoration, including manual recovery guidance and automatic recovery guidance.
Wherein, still include the following step:
allocating the priority of the first partition backup information and the priority of the second partition backup information;
restoring the boot to the device based on the priority.
Wherein a storage unit is provided in the device.
The invention has the beneficial effects that:
the data parameter backup recovery method comprises the steps of creating a hidden partition for storing data parameters in a device in advance, initializing the device, debugging the device, and backing up parameter information of the debugged device to a first partition; the method comprises the steps of calibrating and finally testing equipment, backing up generated parameter information to the second partition, wherein the equipment debugging operation is carried out to ensure that equipment performance data are stable data, the obtained stable data are guided and restored to the equipment, starting up is completed, the equipment data information is stored in the hidden partition, the data stored in the hidden partition can be automatically restored, the safety of data backup is improved by establishing the first partition and the second partition which are independent of each other, the risk of data restoration is reduced, the integrity of data is improved, the safety of the equipment is ensured, the data restoration cost is low, the operation process is safe, simple and portable, and the limitation is wide and the adaptability is high.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a flowchart illustrating a data parameter backup and recovery method according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present invention.
According to an embodiment of the invention, a data parameter backup and recovery method is provided.
As shown in fig. 1, a data parameter backup and recovery method according to an embodiment of the present invention includes the following steps:
step S1, a hidden partition for storing data parameters is created in advance in the device, wherein the hidden partition comprises a first partition and a second partition, and the first partition and the second partition are independent from each other;
step S2, initializing equipment, operating and debugging the equipment, and backing up the parameter information of the debugged equipment to the first partition;
step S3, calibrating and final testing the equipment, and backing up the generated parameter information to the second partition, wherein the step comprises the step of ensuring the equipment performance data to be stable data for the equipment debugging operation;
and step S4, guiding and recovering the acquired stable data to the equipment, and completing the startup, wherein the guiding includes setting recovery end reminding, and guiding the first partition parameter information to recover if the recovery is abnormal, and completing the reset restart.
By means of the scheme, a hidden partition for storing data parameters is created in the equipment in advance, the equipment is initialized and operation debugging is carried out, and the parameter information of the debugged equipment is backed up to the first partition; the method comprises the steps of calibrating and finally testing equipment, backing up generated parameter information to the second partition, wherein the equipment debugging operation is carried out to ensure that equipment performance data are stable data, the obtained stable data are guided and restored to the equipment, starting up is completed, the equipment data information is stored in the hidden partition, the data stored in the hidden partition can be automatically restored, the safety of data backup is improved by establishing the first partition and the second partition which are independent of each other, the risk of data restoration is reduced, the integrity of data is improved, the safety of the equipment is ensured, the data restoration cost is low, the operation process is safe, simple and portable, and the limitation is wide and the adaptability is high.
In addition, specifically, the method further comprises the following steps:
setting a backup end prompt for the data parameter backup;
periodically performing data self-check on the backup data information of the first partition and the second partition, and determining the integrity of the backup data;
and updating the backup data of the first partition and the second partition, and generating historical backup data information by the backup data information of the first partition and the second partition, wherein the historical backup data information comprises at most three groups of sequence information of the same partition.
In addition, the hidden partition includes boot backup restore after administrator authentication and is inaccessible to users and other programs.
And the step of the administrator after authentication, guiding backup restoration, including manual recovery guidance and automatic recovery guidance.
Wherein, still include the following step:
allocating the priority of the first partition backup information and the priority of the second partition backup information;
restoring the boot to the device based on the priority.
Wherein a storage unit is provided in the device.
In summary, according to the above technical solution of the present invention, a hidden partition for storing data parameters is created in the device in advance, the device is initialized and operation and debugging are performed, and the parameter information of the debugged device is backed up to the first partition; the method comprises the steps of calibrating and finally testing equipment, backing up generated parameter information to the second partition, wherein the equipment debugging operation is carried out to ensure that equipment performance data are stable data, the obtained stable data are guided and restored to the equipment, starting up is completed, the equipment data information is stored in the hidden partition, the data stored in the hidden partition can be automatically restored, the safety of data backup is improved by establishing the first partition and the second partition which are independent of each other, the risk of data restoration is reduced, the integrity of data is improved, the safety of the equipment is ensured, the data restoration cost is low, the operation process is safe, simple and portable, and the limitation is wide and the adaptability is high.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (6)
1. A data parameter backup and recovery method is characterized by comprising the following steps:
the method comprises the steps that a hidden partition used for storing data parameters is created in the equipment in advance, wherein the hidden partition comprises a first partition and a second partition, and the first partition and the second partition are independent from each other;
initializing equipment, operating and debugging the equipment, and backing up the parameter information of the debugged equipment to the first partition;
calibrating and final testing the equipment, and backing up the generated parameter information to the second partition, wherein the step of debugging and operating the equipment ensures that the performance data of the equipment is stable data;
and guiding and recovering the acquired stable data to the equipment, and completing the startup use, wherein the guiding and recovering comprises setting a recovery end prompt, and guiding the first partition parameter information to recover if the recovery is abnormal, and completing the reset restart.
2. The data parameter backup restoration method according to claim 1, further comprising the steps of:
setting a backup end prompt for the data parameter backup;
periodically performing data self-check on the backup data information of the first partition and the second partition, and determining the integrity of the backup data;
and updating the backup data of the first partition and the second partition, and generating historical backup data information by the backup data information of the first partition and the second partition, wherein the historical backup data information comprises at most three groups of sequence information of the same partition.
3. The data parameter backup restoration method according to claim 2, wherein the hidden partition comprises a boot backup restore after administrator authentication and is inaccessible to users and other programs.
4. The data parameter backup restoration method according to claim 3, wherein the step of the administrator authenticating the boot backup restoration comprises a manual restore boot and an automatic restore boot.
5. The data parameter backup restoration method according to claim 3, further comprising the steps of:
allocating the priority of the first partition backup information and the priority of the second partition backup information;
restoring the boot to the device based on the priority.
6. The method of claim 4, wherein a storage unit is disposed within the device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110047554.7A CN112835742B (en) | 2021-01-14 | 2021-01-14 | Data parameter backup and recovery method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110047554.7A CN112835742B (en) | 2021-01-14 | 2021-01-14 | Data parameter backup and recovery method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112835742A true CN112835742A (en) | 2021-05-25 |
CN112835742B CN112835742B (en) | 2024-02-20 |
Family
ID=75928033
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110047554.7A Active CN112835742B (en) | 2021-01-14 | 2021-01-14 | Data parameter backup and recovery method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112835742B (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002091833A (en) * | 2000-09-20 | 2002-03-29 | Kyocera Mita Corp | Device for gathering writing backup data and image forming device |
KR20060075041A (en) * | 2004-12-28 | 2006-07-04 | 주식회사 팬택앤큐리텔 | Nv item backup method of mobile communication terminal |
CN101183324A (en) * | 2007-12-10 | 2008-05-21 | 上海北大方正科技电脑系统有限公司 | Recovery method of computer system |
CN103019892A (en) * | 2012-12-29 | 2013-04-03 | 盛耀无线通讯科技(北京)有限公司 | NV data backup and recovery method based on high-pass platform |
CN104598335A (en) * | 2015-01-16 | 2015-05-06 | 深圳市中兴物联科技有限公司 | Method and device for restoring backup of NV parameters |
CN104820625A (en) * | 2015-05-19 | 2015-08-05 | 重庆大学 | A data record, backup, and recovery method oriented to an information management system |
CN105205019A (en) * | 2015-10-30 | 2015-12-30 | 上海斐讯数据通信技术有限公司 | Qualcomm platform mobile phone-based NV (Nonvolatile Random Access Memory) parameter reading and writing system and method |
CN105446826A (en) * | 2014-06-30 | 2016-03-30 | 国际商业机器公司 | Virtual machine backup and recovery method and device |
CN106021029A (en) * | 2016-05-27 | 2016-10-12 | 努比亚技术有限公司 | Backup-recovery device and method of NV parameters |
CN109255262A (en) * | 2018-09-03 | 2019-01-22 | 湖南国科微电子股份有限公司 | Data guard method and solid state hard disk |
CN109460317A (en) * | 2018-10-25 | 2019-03-12 | 众格智能科技(上海)有限公司 | A kind of backup and reduction method of pair of equipment configuration parameter |
-
2021
- 2021-01-14 CN CN202110047554.7A patent/CN112835742B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002091833A (en) * | 2000-09-20 | 2002-03-29 | Kyocera Mita Corp | Device for gathering writing backup data and image forming device |
KR20060075041A (en) * | 2004-12-28 | 2006-07-04 | 주식회사 팬택앤큐리텔 | Nv item backup method of mobile communication terminal |
CN101183324A (en) * | 2007-12-10 | 2008-05-21 | 上海北大方正科技电脑系统有限公司 | Recovery method of computer system |
CN103019892A (en) * | 2012-12-29 | 2013-04-03 | 盛耀无线通讯科技(北京)有限公司 | NV data backup and recovery method based on high-pass platform |
CN105446826A (en) * | 2014-06-30 | 2016-03-30 | 国际商业机器公司 | Virtual machine backup and recovery method and device |
CN104598335A (en) * | 2015-01-16 | 2015-05-06 | 深圳市中兴物联科技有限公司 | Method and device for restoring backup of NV parameters |
CN104820625A (en) * | 2015-05-19 | 2015-08-05 | 重庆大学 | A data record, backup, and recovery method oriented to an information management system |
CN105205019A (en) * | 2015-10-30 | 2015-12-30 | 上海斐讯数据通信技术有限公司 | Qualcomm platform mobile phone-based NV (Nonvolatile Random Access Memory) parameter reading and writing system and method |
CN106021029A (en) * | 2016-05-27 | 2016-10-12 | 努比亚技术有限公司 | Backup-recovery device and method of NV parameters |
CN109255262A (en) * | 2018-09-03 | 2019-01-22 | 湖南国科微电子股份有限公司 | Data guard method and solid state hard disk |
CN109460317A (en) * | 2018-10-25 | 2019-03-12 | 众格智能科技(上海)有限公司 | A kind of backup and reduction method of pair of equipment configuration parameter |
Non-Patent Citations (2)
Title |
---|
LUCA BECCHETTI 等: "Step-by-step community detection in volume-regular graphs", 《THEORETICAL COMPUTER SCIENCE》, pages 49 - 67 * |
阳辉 等: "分区隐藏与数据恢复技术", 《四川经济管理学院学报》, pages 53 - 56 * |
Also Published As
Publication number | Publication date |
---|---|
CN112835742B (en) | 2024-02-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6990611B2 (en) | Recovering data from arrays of storage devices after certain failures | |
US9442805B2 (en) | Recovering a volume table and data sets | |
US8074019B2 (en) | Preventing data loss in a storage system | |
US9053075B2 (en) | Storage control device and method for controlling storages | |
US7761732B2 (en) | Data protection in storage systems | |
US20050108302A1 (en) | Recovery of data on a primary data volume | |
US7975171B2 (en) | Automated file recovery based on subsystem error detection results | |
US20110004871A1 (en) | Embedded electronic device and firmware updating method thereof | |
US20130332771A1 (en) | Methods and apparatus for virtual machine recovery | |
US20120290541A1 (en) | Recovery procedure for a data storage system | |
US10191821B2 (en) | Cooperative data recovery in a storage stack | |
TW200528969A (en) | Method and apparatus for file system snapshot persistence | |
CN111158599B (en) | Method, device and equipment for writing data and storage medium | |
US20110173162A1 (en) | Scrubbing procedure for a data storage system | |
US9329799B2 (en) | Background checking for lost writes and data corruption | |
US20210365318A1 (en) | Using Erasure Coding in a Single Region to Reduce the Likelihood of Losing Objects Maintained in Cloud Object Storage | |
US9286163B2 (en) | Data recovery scheme based on data backup status | |
US20100138603A1 (en) | System and method for preventing data corruption after power failure | |
JP2005004753A (en) | Method and device of performing data version checking | |
CN112835742B (en) | Data parameter backup and recovery method | |
CN109871334B (en) | Cable modem and method of operation | |
CN112925676B (en) | WAL-based method for realizing recovery of distributed database cluster at any time point | |
US11726851B2 (en) | Storage management system and method | |
JP2014123258A (en) | Disk array system, data recovery method, and data recovery program | |
CN117762448A (en) | Application program upgrading method, device, medium and electronic terminal |
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 |