CN104156676A - Method and device for protecting disc data - Google Patents

Method and device for protecting disc data Download PDF

Info

Publication number
CN104156676A
CN104156676A CN201410380053.0A CN201410380053A CN104156676A CN 104156676 A CN104156676 A CN 104156676A CN 201410380053 A CN201410380053 A CN 201410380053A CN 104156676 A CN104156676 A CN 104156676A
Authority
CN
China
Prior art keywords
data
backup
recovery
partition
data backup
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
Application number
CN201410380053.0A
Other languages
Chinese (zh)
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.)
Inspur Beijing Electronic Information Industry Co Ltd
Original Assignee
Inspur Beijing Electronic Information Industry 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 Inspur Beijing Electronic Information Industry Co Ltd filed Critical Inspur Beijing Electronic Information Industry Co Ltd
Priority to CN201410380053.0A priority Critical patent/CN104156676A/en
Publication of CN104156676A publication Critical patent/CN104156676A/en
Pending legal-status Critical Current

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Storage Device Security (AREA)

Abstract

The invention discloses a method and device for protecting disc data. In the basic input/output system (BIOS) environment, the method comprises the steps of establishing a subregion for data backup, writing data requiring backup into the established subregion for data backup during data backup, and reading data to be recovered from the subregion where the data requiring backup are written during data recovery. According to the method and device for protecting the disc data, the security of data backup is improved by establishing the subregion for data backup and conducting writing of the backup data in the BIOS environment; furthermore, operability of data backup and recovery is achieved by arranging a recovery key.

Description

Method and device for protecting disk data
Technical Field
The present application relates to computer storage technologies, and in particular, to a method and an apparatus for protecting disk data.
Background
During use of a computer device, many factors can lead to a crash of the computer system and the loss of disk data. Once the disk data is lost, the recovery is difficult, and great loss is brought to users. Therefore, the efficient and effective saving and restoring of disk data is an important aspect of computer user attention. At present, the conventional system recovery/backup methods mainly include:
1. and backing up and recovering the disk data by using the second disk.
2. The optical disc is used for data backup, namely the attached optical disc is used for restoring the computer to factory settings.
3. Under the working environment, a special partition is established in a disk of disk data needing to be backed up for backing up and restoring the disk data.
Although reliable data backup and recovery can be realized by adopting the first method, the second disk and the disk for data storage are usually different in model, and the disks of different models are adopted for backup and recovery, so that a user needs to have certain professional technical capability and is difficult to operate for a common user; the second method is adopted to restore the system to factory configuration, the content of data backup is limited by time, and the backed-up data can not meet the requirements of users. By adopting the third method, the same disk is selected to perform data backup and recovery in a working environment, although the operation is easy, when the same disk performs backup, the original data has problems, the backup data may have problems, and the safety is very poor.
In summary, the conventional disk backup and recovery method cannot meet the requirements of users at the same time in terms of easy operability and safety.
Disclosure of Invention
In order to solve the above problems, the present invention provides a method and an apparatus for protecting disk data, which can simultaneously meet the requirements of easy operability and security of disk data protection.
In order to achieve the purpose of the invention, the application provides a method for protecting disk data; the method comprises the following steps: in a Basic Input Output System (BIOS) environment, comprising: establishing a partition for data backup in a Basic Input Output System (BIOS) environment;
when data backup is carried out, writing data to be backed up into the established partition for data backup; when data recovery is performed, data for recovery is read from the partition in which backup data is written.
Further, the method further comprises: after the partition for data backup is established, a recovery key for starting the data backup is preset.
Further, when the computer is powered on and receives a signal of a recovery key, the method further comprises the following steps: judging the effectiveness of backup data needing data recovery; when the backup data is valid, performing data recovery; otherwise, the feedback data is erroneous and recovery is terminated.
Further, the method further comprises: setting authority verification for the partition established for data backup; when the authority passes the verification, the data backup/recovery is allowed; otherwise, the data backup/restore is denied.
In another aspect, the present application further provides a device for protecting disk data, in a BIOS environment, comprising: a partition unit and a write/restore unit; wherein,
the partition unit is used for establishing a partition for data backup;
the write/recovery unit is used for writing data to be backed up in the established partition for data backup when data backup is carried out; when data recovery is performed, data for recovery is read from the partition in which backup data is written.
Further, the device also comprises a key setting unit for setting a recovery key for starting the data backup after the partition for the data backup is established.
Furthermore, the device also comprises an effectiveness judgment unit which is used for judging the effectiveness of the backup data needing data recovery when the computer is started and receives a signal of a recovery key; when the backup data is valid, performing data recovery; otherwise, the feedback data is erroneous and recovery is terminated.
Further, the device also comprises a verification unit used for setting authority verification when the partition used for data backup is established;
when the authority passes the verification, the data backup/recovery is allowed; otherwise, the data backup/restore is denied.
Compared with the prior art, the technical scheme provided by the invention comprises the following steps in a Basic Input Output System (BIOS) environment: establishing a partition for data backup; when data backup is carried out, writing data to be backed up into the established partition for data backup; when data recovery is performed, data for recovery is read from the partition in which backup data is written. According to the invention, the partition for data backup is established in the BIOS environment, and the backup data is written, so that the data backup security is improved; furthermore, by arranging a recovery key, the operability of data backup and recovery is met.
Drawings
The accompanying drawings are included to provide a further understanding of the claimed subject matter and are incorporated in and constitute a part of this specification, illustrate embodiments of the subject matter and together with the description serve to explain the principles of the subject matter and not to limit the subject matter.
FIG. 1 is a flow chart of a method of protecting disk data in accordance with the present invention;
FIG. 2 is a block diagram of an apparatus for protecting disk data according to the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the present application more apparent, embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
Fig. 1 is a flowchart of a method for protecting disk data according to the present invention, as shown in fig. 1, in a BIOS environment, including:
step 100, a partition for data backup is established in a Basic Input Output System (BIOS) environment.
It should be noted that, in the BIOS environment, establishing partitions for data backup is a routine technique for those skilled in the art.
Step 101, writing data to be backed up in the established partition for data backup when data backup is performed; when data recovery is performed, data for recovery is read from the partition in which backup data is written.
It should be noted that, in the BIOS environment, it is also common knowledge of those skilled in the art that data to be backed up can be displayed and written into the data to be backed up. The method can realize effective protection of the disk data, and is based on data backup in the BIOS safety environment, when an operating system during work of a user is started, the backup data in the BIOS environment cannot be displayed, and the safety requirement of the backup data is the safety requirement of the BIOS environment, so that the safety of data backup is higher.
The method of the invention also comprises the following steps: after the partition for data backup is established, a restore key for starting the data backup is set.
The data backup operation is simple and easy to use by setting the recovery key, for a user, the operation processes of data backup and data backup in the same hard disk are basically the same when the user enters a BIOS environment, the setting of the recovery key is to set the key for entering the data backup or recovery when the user starts up, in order to avoid conflict, the keys which are already set to be in a safe mode, a BIOS mode and the like and have set attributes are eliminated, and other single or combined keys can be used for setting the recovery key.
When the computer is started and receives a signal of recovering the key, the method further comprises the following steps:
judging the effectiveness of backup data needing data recovery; when the backup data is valid, performing data recovery; otherwise, the feedback data is erroneous and recovery is terminated.
It should be emphasized that, because backup may be interrupted or a physical error of a disk may cause failure of backup data, when data is restored, validity judgment of the backup data is required, and the method for performing validity judgment is an existing method, for example, a parity method is used to perform validity judgment on the backup data to make data restoration reasonable.
The method of the invention also comprises the following steps: setting authority verification for the partition established for data backup, and allowing data backup/recovery when the authority verification is passed; otherwise, the data backup/restore is denied.
It should be noted that, through the authority verification, the security of the data backup/recovery process is further ensured, so that the execution of the above operations needs to be performed through user confirmation. The method of authority verification is an existing method, such as a method of inputting a user name and a password, or a process of biometric matching by a computer provided with biometric recognition (e.g., fingerprint recognition, voice print recognition, etc.).
Fig. 2 is a block diagram of a device for protecting disk data according to the present invention, as shown in fig. 2, in a Basic Input Output System (BIOS) environment, including: a partition unit and a write/restore unit; wherein,
the partition unit is used for establishing a partition for data backup;
the write/recovery unit is used for writing data to be backed up in the established partition for data backup when data backup is carried out; when data recovery is performed, data for recovery is read from the partition in which backup data is written.
The device also comprises a key setting unit, a recovery key setting unit and a recovery unit, wherein the key setting unit is used for setting a partition for data backup and setting the recovery key for starting the data backup;
the device also comprises an effectiveness judgment unit which is used for judging the effectiveness of the backup data needing data recovery when the computer is started and receives a signal of a recovery key; when the backup data is valid, performing data recovery; otherwise, the feedback data is erroneous and recovery is terminated.
The device also comprises a verification unit, a storage unit and a processing unit, wherein the verification unit is used for setting authority verification when the partition for data backup is established;
when the authority passes the verification, the data backup/recovery is allowed; otherwise, the data backup/restore is denied.
Although the embodiments disclosed in the present application are described above, the descriptions are only used for facilitating the understanding of the embodiments of the present application, and are not intended to limit the present application, such as the specific implementation methods in the embodiments of the present invention. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the disclosure as defined by the appended claims.

Claims (8)

1. A method for protecting disk data, in a BIOS environment, comprising: establishing a partition for data backup in a Basic Input Output System (BIOS) environment;
when data backup is carried out, writing data to be backed up into the established partition for data backup; when data recovery is performed, data for recovery is read from the partition in which backup data is written.
2. The method of claim 1, further comprising: after the partition for data backup is established, a recovery key for starting the data backup is preset.
3. The method of claim 2, wherein when the device is powered on and a resume key signal is received, the method further comprises: judging the effectiveness of backup data needing data recovery; when the backup data is valid, performing data recovery; otherwise, the feedback data is erroneous and recovery is terminated.
4. A method according to any of claim 3, characterized in that the method further comprises: setting authority verification for the partition established for data backup; when the authority passes the verification, the data backup/recovery is allowed; otherwise, the data backup/restore is denied.
5. An apparatus for protecting disk data in a BIOS environment, comprising: a partition unit and a write/restore unit; wherein,
the partition unit is used for establishing a partition for data backup;
the write/recovery unit is used for writing data to be backed up in the established partition for data backup when data backup is carried out; when data recovery is performed, data for recovery is read from the partition in which backup data is written.
6. The apparatus of claim 5, further comprising a key setting unit for setting a restore key for starting the data backup after the partition for the data backup is established.
7. The device according to claim 5 or 6, further comprising a validity judging unit for judging the validity of the backup data to be restored when the computer is powered on and a signal of a restore key is received; when the backup data is valid, performing data recovery; otherwise, the feedback data is erroneous and recovery is terminated.
8. The apparatus according to claim 7, further comprising a verification unit for setting authority verification when the partition for data backup is established;
when the authority passes the verification, the data backup/recovery is allowed; otherwise, the data backup/restore is denied.
CN201410380053.0A 2014-08-04 2014-08-04 Method and device for protecting disc data Pending CN104156676A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410380053.0A CN104156676A (en) 2014-08-04 2014-08-04 Method and device for protecting disc data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410380053.0A CN104156676A (en) 2014-08-04 2014-08-04 Method and device for protecting disc data

Publications (1)

Publication Number Publication Date
CN104156676A true CN104156676A (en) 2014-11-19

Family

ID=51882173

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410380053.0A Pending CN104156676A (en) 2014-08-04 2014-08-04 Method and device for protecting disc data

Country Status (1)

Country Link
CN (1) CN104156676A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105159995A (en) * 2015-09-06 2015-12-16 浪潮(北京)电子信息产业有限公司 Method and device for carrying out effectiveness verification on database backup data
CN106201786A (en) * 2016-07-21 2016-12-07 浪潮(北京)电子信息产业有限公司 The backup method of a kind of computer hard disk data and restoration methods
CN106294017A (en) * 2016-08-11 2017-01-04 苏州华兴源创电子科技有限公司 A kind of information security back-up method
CN108038022A (en) * 2017-12-19 2018-05-15 盛科网络(苏州)有限公司 A kind of method for improving switch system storage stability
CN109144780A (en) * 2018-08-06 2019-01-04 环胜电子(深圳)有限公司 product data backup and reading system and method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6944758B2 (en) * 2003-03-31 2005-09-13 Giga-Byte Technology Co., Ltd. Backup method for interface BIOS by making backup copy of interface BIOS in system BIOS and executing backup interface BIOS in system BIOS if error occurs
CN101807163A (en) * 2009-02-18 2010-08-18 英业达股份有限公司 Method and system for saving and restoring basic input/output system data
CN102567136A (en) * 2010-12-15 2012-07-11 研祥智能科技股份有限公司 Backup and recovery method of computer system, device and computer system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6944758B2 (en) * 2003-03-31 2005-09-13 Giga-Byte Technology Co., Ltd. Backup method for interface BIOS by making backup copy of interface BIOS in system BIOS and executing backup interface BIOS in system BIOS if error occurs
CN101807163A (en) * 2009-02-18 2010-08-18 英业达股份有限公司 Method and system for saving and restoring basic input/output system data
CN102567136A (en) * 2010-12-15 2012-07-11 研祥智能科技股份有限公司 Backup and recovery method of computer system, device and computer system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105159995A (en) * 2015-09-06 2015-12-16 浪潮(北京)电子信息产业有限公司 Method and device for carrying out effectiveness verification on database backup data
CN106201786A (en) * 2016-07-21 2016-12-07 浪潮(北京)电子信息产业有限公司 The backup method of a kind of computer hard disk data and restoration methods
CN106294017A (en) * 2016-08-11 2017-01-04 苏州华兴源创电子科技有限公司 A kind of information security back-up method
CN106294017B (en) * 2016-08-11 2019-10-25 苏州华兴源创科技股份有限公司 A kind of information security back-up method
CN108038022A (en) * 2017-12-19 2018-05-15 盛科网络(苏州)有限公司 A kind of method for improving switch system storage stability
CN109144780A (en) * 2018-08-06 2019-01-04 环胜电子(深圳)有限公司 product data backup and reading system and method

Similar Documents

Publication Publication Date Title
CN104156676A (en) Method and device for protecting disc data
US7290276B2 (en) Information processing apparatus for secure information recovery
US11307936B2 (en) Solid-state drive data security
US20080155216A1 (en) Protection and Recovery System for Automatic Disk Recovery
US20090046858A1 (en) System and Method of Data Encryption and Data Access of a Set of Storage Devices via a Hardware Key
WO2013086057A1 (en) System and method for restoring application data
EP1953668A2 (en) System and method of data encryption and data access of a set of storage devices via a hardware key
US20150309925A1 (en) Method for completing a secure erase operation
CN102455952B (en) Data backup and recovery method, device and system
JP5319830B2 (en) Data protection method and computer apparatus
CN106681865B (en) Service recovery method and device
CN106815095A (en) Virtual-machine data guard method under a kind of cloud platform environment
CN104361297B (en) A kind of file encryption-decryption method based on (SuSE) Linux OS
CN105095020A (en) System backup and recovery device and system backup and recovery methods suitable for system on chip
US8341538B1 (en) Systems and methods for reducing redundancies in quality-assurance reviews of graphical user interfaces
CN111338889A (en) Evidence obtaining method, device, equipment and storage medium supporting multiple operating systems
CN102142066A (en) Computing equipment and backup recovery method thereof
CN103955412A (en) Computer hard disc data recovering equipment and method
CN110874183A (en) Solid state disk capable of destroying and recovering data and method
CN104461767A (en) Information processing method and electronic equipment
KR101008939B1 (en) System for the protection of data delete base firmware and method thereof
CN103677875A (en) Method for starting electronic equipment, method for controlling permission and electronic equipment
CN108196981B (en) Power-down service protection strategy during password TF card communication
Sladović et al. Overview of Mac system security and its impact on digital forensics process
JP6460765B2 (en) Information processing apparatus, control method for information processing apparatus, and program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20141119

WD01 Invention patent application deemed withdrawn after publication