CN112835742B - Data parameter backup and recovery method - Google Patents

Data parameter backup and recovery method Download PDF

Info

Publication number
CN112835742B
CN112835742B CN202110047554.7A CN202110047554A CN112835742B CN 112835742 B CN112835742 B CN 112835742B CN 202110047554 A CN202110047554 A CN 202110047554A CN 112835742 B CN112835742 B CN 112835742B
Authority
CN
China
Prior art keywords
partition
data
backup
information
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110047554.7A
Other languages
Chinese (zh)
Other versions
CN112835742A (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.)
Shanghai High Flying Electronics Technology Co ltd
Original Assignee
Shanghai High Flying Electronics Technology 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 Shanghai High Flying Electronics Technology Co ltd filed Critical Shanghai High Flying Electronics Technology Co ltd
Priority to CN202110047554.7A priority Critical patent/CN112835742B/en
Publication of CN112835742A publication Critical patent/CN112835742A/en
Application granted granted Critical
Publication of CN112835742B publication Critical patent/CN112835742B/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/1458Management of the backup or restore process
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0614Improving the reliability of storage systems
    • G06F3/0619Improving the reliability of storage systems in relation to data integrity, e.g. data losses, bit errors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0644Management of space entities, e.g. partitions, extents, pools

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Quality & Reliability (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a data parameter backup and recovery method, which relates to the technical field of data backup and comprises the following steps: creating a hidden partition for storing data parameters in the device in advance, wherein the hidden partition comprises a first partition creation and a second partition creation, initializing the device, performing operation debugging, and backing up the debugged device parameter information to the first partition; and carrying out equipment calibration and final measurement, and backing up the generated parameter information to the second partition. The invention realizes that the data information of the equipment is stored in the hidden partition, can automatically restore 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 restoration, improves the integrity of the data, ensures the safety of the equipment, has low data restoring cost, is safe and simple and portable in the operation process, and has wide limitation and strong adaptability.

Description

Data parameter backup and recovery method
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, there is often a data recovery method used to recover or reconstruct the damaged data, whereas a general data recovery method not only recovers or reconstructs the damaged portion, but also recovers the entire volume from the backup disc. When a backup disc is placed at a remote location or an amount of data exceeding the damaged portion of data needs to be restored from the backup disc, for example, when a user only needs to restore 5 bytes of data and the system is restored to 500 megabytes of data, the performance of the system may be degraded.
One existing approach to higher recovery efficiency is to add additional redundancy resilience by copying or adding parity pairs to data stored in a local, relatively fast-speed storage medium. In redundancy mechanisms, corrupted data is typically recovered quickly and without delay from the metadata and redundancy coefficients in the system, meaning that the data reconstruction time by redundancy techniques is effectively reduced compared to recovery for the whole volume.
Another approach is to perform data backup, which is typically used in disaster recovery, when the data redundancy mechanism is unable to recover or reconstruct the corrupted data. Because the 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 nor from the redundancy mechanism.
Retrieval of chinese patent No. CN106021029a discloses a device and method for recovering backup of NV parameters, said device comprising: the backup module is used for acquiring the NV parameter data from the NV storage area and uploading the NV parameter data to the 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 NV parameters are automatically backed up and restored directly on the mobile terminal, a computer and a high-pass software tool are not needed, the operation process is simplified, and the operation efficiency is improved. Meanwhile, the NV parameters are backed up in the server, so that the problem that the NV parameters of the backup are damaged due to the failure of the mobile terminal is avoided, and the reliability of the backup is improved. However, the upgrade is still improper, so that important data in the device is destroyed and cannot be recovered, and the device is seriously disabled.
For the problems in the related art, no effective solution has been proposed at present.
Disclosure of Invention
Aiming at the problems in the related art, the invention provides a data parameter backup and recovery method to overcome the technical problems in the prior art.
The technical scheme of the invention is realized as follows:
a data parameter backup and recovery method comprises the following steps:
step S1, creating a hidden partition for storing data parameters in a device in advance, wherein the hidden partition comprises a first partition and a second partition, and the first partition and the second partition are mutually independent;
step S2, initializing equipment, running and debugging, and backing up the parameter information of the debugged equipment to the first partition;
step S3, performing equipment calibration and final measurement, and backing up the generated parameter information to the second partition, wherein the step includes equipment debugging operation to ensure that equipment performance data is stable data;
and S4, guiding and recovering the acquired stable data into the equipment, and finishing the startup use, wherein the step comprises setting a recovery ending prompt, guiding the first partition parameter information to recover if the recovery is abnormal, and finishing the reset and restarting.
Wherein, still include the following step:
setting backup ending reminding for the data parameter backup;
periodically carrying out data self-checking 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.
The hidden partition includes guiding backup restoration after authentication of an administrator, and is not accessible to users and other programs.
And the step of guiding the backup reduction after the authentication of the administrator comprises manual recovery guiding and automatic recovery guiding.
Wherein, still include the following step:
distributing the priority of the first partition backup information and the second partition backup information;
the restoration boot is restored to the device based on the priority.
Wherein a storage unit is arranged in the device.
The invention has the beneficial effects that:
the invention relates to a data parameter backup and recovery method, which comprises the steps of creating a hidden partition for storing data parameters in advance in equipment, initializing the equipment, performing operation debugging, and backing up the parameter information of the debugged equipment to the first partition; carrying out equipment calibration and final measurement, backing up generated parameter information to the second partition, wherein the method comprises the steps of ensuring equipment performance data to be stable data for equipment debugging operation, guiding and recovering the obtained stable data to equipment, completing startup and using, realizing that equipment data information is stored in a hidden partition, automatically recovering the data stored in the hidden partition, improving the safety of data backup by establishing a first partition and a second partition which are mutually independent, reducing the risk of data recovery, not only improving the integrity of the data, but also ensuring the safety of the equipment, and having low data recovery cost, safe and simple operation process and wide limitation and strong adaptability.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are 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 other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a data parameter backup and restore method according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which are derived by a person skilled in the art based on the embodiments of the invention, fall within the scope of protection of the invention.
According to the embodiment of the invention, a data parameter backup and recovery method is provided.
As shown in fig. 1, the data parameter backup and recovery method according to an embodiment of the present invention includes the following steps:
step S1, creating a hidden partition for storing data parameters in a device in advance, wherein the hidden partition comprises a first partition and a second partition, and the first partition and the second partition are mutually independent;
step S2, initializing equipment, running and debugging, and backing up the parameter information of the debugged equipment to the first partition;
step S3, performing equipment calibration and final measurement, and backing up the generated parameter information to the second partition, wherein the step includes equipment debugging operation to ensure that equipment performance data is stable data;
and S4, guiding and recovering the acquired stable data into the equipment, and finishing the startup use, wherein the step comprises setting a recovery ending prompt, guiding the first partition parameter information to recover if the recovery is abnormal, and finishing the reset and restarting.
By means of the scheme, the hidden partition for storing the data parameters is created in the device in advance, the device is initialized, operation and debugging are conducted, and the parameter information of the debugged device is backed up to the first partition; carrying out equipment calibration and final measurement, backing up generated parameter information to the second partition, wherein the method comprises the steps of ensuring equipment performance data to be stable data for equipment debugging operation, guiding and recovering the obtained stable data to equipment, completing startup and using, realizing that equipment data information is stored in a hidden partition, automatically recovering the data stored in the hidden partition, improving the safety of data backup by establishing a first partition and a second partition which are mutually independent, reducing the risk of data recovery, not only improving the integrity of the data, but also ensuring the safety of the equipment, and having low data recovery cost, safe and simple operation process and wide limitation and strong adaptability.
In addition, the method specifically comprises the following steps:
setting backup ending reminding for the data parameter backup;
periodically carrying out data self-checking 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 an administrator authenticated boot backup restore that is not accessible to users and other programs.
And the step of guiding the backup reduction after the authentication of the administrator comprises manual recovery guiding and automatic recovery guiding.
Wherein, still include the following step:
distributing the priority of the first partition backup information and the second partition backup information;
the restoration boot is restored to the device based on the priority.
Wherein a storage unit is arranged in the device.
In summary, by means of the above technical solution of the present invention, a hidden partition for storing data parameters is created in advance in a device, the device is initialized and operated and debugged, and the debugged device parameter information is backed up to the first partition; carrying out equipment calibration and final measurement, backing up generated parameter information to the second partition, wherein the method comprises the steps of ensuring equipment performance data to be stable data for equipment debugging operation, guiding and recovering the obtained stable data to equipment, completing startup and using, realizing that equipment data information is stored in a hidden partition, automatically recovering the data stored in the hidden partition, improving the safety of data backup by establishing a first partition and a second partition which are mutually independent, reducing the risk of data recovery, not only improving the integrity of the data, but also ensuring the safety of the equipment, and having low data recovery cost, safe and simple operation process and wide limitation and strong adaptability.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, alternatives, and improvements that fall within the spirit and scope of the invention.

Claims (5)

1. The data parameter backup and recovery method is characterized by comprising the following steps:
creating a hidden partition used for storing data parameters in the device in advance, wherein the hidden partition comprises a first partition creation and a second partition creation, and the first partition and the second partition are mutually independent;
initializing equipment, running and debugging, and backing up the parameter information of the debugged equipment to the first partition;
performing equipment calibration and final measurement, and backing up the generated parameter information to the second partition, wherein the step of performing equipment debugging operation to ensure that the equipment performance data is stable data;
guiding and recovering the acquired stable data into the equipment, and finishing the startup use, wherein the method comprises the steps of setting a recovery ending prompt, guiding the first partition parameter information to recover if the recovery is abnormal, and finishing the reset and restarting;
setting backup ending reminding for the data parameter backup;
periodically carrying out data self-checking 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.
2. The data parameter backup restoration method as recited in claim 1, wherein the hidden partition comprises an administrator authenticated boot backup restore that is inaccessible to users and other programs.
3. The method of claim 2, wherein the step of guiding the backup restoration after the administrator authentication includes a manual restoration guide and an automatic restoration guide.
4. The data parameter backup restoration method as recited in claim 2, further comprising the step of:
distributing the priority of the first partition backup information and the second partition backup information;
the restoration boot is restored to the device based on the priority.
5. A data parameter backup and restore method according to claim 3, wherein a storage unit is provided in the device.
CN202110047554.7A 2021-01-14 2021-01-14 Data parameter backup and recovery method Active CN112835742B (en)

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 CN112835742A (en) 2021-05-25
CN112835742B true 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)

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

Patent Citations (11)

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

* Cited by examiner, † Cited by third party
Title
Step-by-step community detection in volume-regular graphs;Luca Becchetti 等;《Theoretical Computer Science》;第49-67页 *
分区隐藏与数据恢复技术;阳辉 等;《四川经济管理学院学报》;第53-56页 *

Also Published As

Publication number Publication date
CN112835742A (en) 2021-05-25

Similar Documents

Publication Publication Date Title
US6990611B2 (en) Recovering data from arrays of storage devices after certain failures
US7979742B2 (en) Recoverability of a dataset associated with a multi-tier storage system
US7590887B2 (en) Mapping apparatus for backup and restoration of multi-generation recovered snapshots
EP2444902B1 (en) Self-managed processing device
US9053075B2 (en) Storage control device and method for controlling storages
KR101044849B1 (en) Systems and methods for automatic database or file system maintenance and repair
US9442805B2 (en) Recovering a volume table and data sets
US7761732B2 (en) Data protection in storage systems
US8074019B2 (en) Preventing data loss in a storage system
US7685189B2 (en) Optimizing backup and recovery utilizing change tracking
US20050108302A1 (en) Recovery of data on a primary data volume
US7975171B2 (en) Automated file recovery based on subsystem error detection results
CN115793985B (en) Secure storage method, apparatus, device and storage medium
US5421003A (en) Disk storage system with fault tolerant media maintenance
EP3474143A1 (en) Method and apparatus for incremental recovery of data
US6636984B1 (en) System and method for recovering data from mirror drives following system crash
US7574621B2 (en) Method and system for identifying and recovering a file damaged by a hard drive failure
US20140201480A1 (en) Data Recovery Scheme Based on Data Backup Status
CN112835742B (en) Data parameter backup and recovery method
CN109871334B (en) Cable modem and method of operation
CN107402849B (en) Backup and recovery method based on K-UX system
CN114253765A (en) Data recovery method and related equipment
CN113050887A (en) Flash partition data processing method and device, computer equipment and storage medium
CN117762448A (en) Application program upgrading method, device, medium and electronic terminal
CN117492920A (en) Control method, device, equipment and medium of cloud platform

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