CN105893180B - The method that hard disc data uses cloud to be restored - Google Patents
The method that hard disc data uses cloud to be restored Download PDFInfo
- Publication number
- CN105893180B CN105893180B CN201610191840.XA CN201610191840A CN105893180B CN 105893180 B CN105893180 B CN 105893180B CN 201610191840 A CN201610191840 A CN 201610191840A CN 105893180 B CN105893180 B CN 105893180B
- Authority
- CN
- China
- Prior art keywords
- data
- hard disc
- computer
- block address
- external processor
- 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
Links
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
- G06F11/1464—Management of the backup or restore process for networked environments
-
- 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/1448—Management of the data involved in backup or backup restore
Abstract
The invention discloses a kind of methods that hard disc data uses cloud to be restored, it is applied to computer hard disc, it specifically includes: when reading data discovery mistake from computer hard disc, wrong data corresponding first logical block address in the hard disk occurs for record, first logical block address and the second physical block address of hard disk redundancy area storage are attached most importance to mapping relations, and the computer reads second physical block address;External processor is connect with computer by wired or wireless way, the external processor is read in the computer hard disc after wrong data and the first physical block address corresponding with first logical block, and the order and the IP address of the external processor for restoring corresponding data are sent to cloud server;Corresponding data is sent to the external processor cache area by the cloud server;The corresponding data is sent to progress data cover at the first physical block address described in the computer hard disc by the external processor.Hard disc data disclosed in this case carries out data recovery to faulty hard disk using cloud technology using the method that cloud is restored, and data recovery capabilities greatly improve.
Description
Technical field
The present invention relates to hard disk failure technical fields.It is more particularly related to which a kind of carry out hard disk using cloud
The method that data are restored.
Background technique
Currently, common hard disk includes mechanical hard disk and solid state hard disk, since mechanical hard disk is easy by temperature, the shadow of vibration
It rings and read-write error occurs, and the intrinsic erasable number limitation of solid state hard disk itself and bad block rate also result in read-write error.Though
Right hard disk has error correcting capability, but it can only correct the less wrong data of number of errors, error correction by itself error correction algorithm
Ability is limited.
In the prior art, when the number of errors of wrong data is too many, hard disk can not carry out error correction by itself error correction algorithm
When, storage control mostly uses RAID (Redundant Array of Independent Disks, the redundancy battle array of independent disk
Column) algorithm corrects mistake, and is restored by reconstruction or format manipulation to hard disc data.If during reconstruction operation
There is mistake in other hard disks in hard disk array, and the data in hard disk will be unable to restore;And format manipulation needs to carry out entirely
The reading data of magnetic track, formats and data write operation twice, for the first time for the data of entire magnetic track (including are passed through RAID
Other data where recovery data and wrong data that algorithm obtains on magnetic track) write-in reservation region, being for the second time will be entire
On magnetic track after the completion of the data writing format of magnetic track, frequent operation is relatively time-consuming, and it is hard for saving for retaining region
The parameter and configuration information of disk carry out that biggish risk can be brought when first time data write operation.The prior art is to improve firmly
The remediation efficiency of disk erroneous sector or hard disk bad block is replaced old logical block address by the way of mapping logic block address and is realized
It repairs, but this method is time-consuming and laborious, influences normal use.
Summary of the invention
It is an object of the invention to solve at least the above problems, and provide the advantages of at least will be described later.
It is a still further object of the present invention to provide a kind of methods that hard disc data uses cloud to be restored, and utilize cloud
Technology carries out data recovery to faulty hard disk, and data recovery capabilities greatly improve.
In order to realize these purposes and other advantages according to the present invention, provides a kind of hard disc data and carried out using cloud
The method of recovery is applied to computer hard disc, specifically includes:
When reading data discovery mistake from computer hard disc, the data that mistake occurs for record are corresponding in the hard disk
Second physical block address of the first logical block address, first logical block address and the storage of hard disk redundancy area is to remap pass
System, the computer read second physical block address;
External processor is connect with computer by wired or wireless way, it is hard that the external processor reads the computer
In disk after wrong data and the first physical block address corresponding with first logical block, is sent to cloud server and restore phase
Answer the order of data and the IP address of the external processor;
Corresponding data is sent to the external processor cache area by the cloud server;
The external processor by the corresponding data be sent at the first physical block address described in the computer hard disc into
Row data cover.
Preferably, the method that the hard disc data uses cloud to be restored, wherein the external processor and institute
Computer is stated to be electrically connected by USB data line or USB interface.
Preferably, the method that the hard disc data uses cloud to be restored, wherein the external processor and institute
It states computer and passes through network connection.
Preferably, the method that the hard disc data uses cloud to be restored, wherein further include to computer hard disc institute
The new data for stating the covering of the first physical block address is verified, specifically:
The external processor reads the first physical block address data described in the computer hard disc;
Number in first physical block address data described in the computer hard disc of the external processor by reading and buffer area
According to being compared, as a result unanimously then shows and restore data success;As a result inconsistent, show recovery error in data.
Preferably, the method that the hard disc data uses cloud to be restored, wherein when display restores error in data
When, the corresponding data that the cache bank memories store up is sent to the first object described in the computer hard disc again by the external processor
It manages and carries out data cover at block address, and the new data of the covering of the first physical block address described in computer hard disc carries out school again
It tests.
Preferably, the method that the hard disc data uses cloud to be restored, wherein before hard disc data restores also
Including the verification to the computer hard disc data read path, specifically:
The external processor sends a certain physics read in addition to physical block address where wrong data to the computer
The order of block address data, the computer export storing data to the external processor cache area, the external processor to
The cloud sends the order and its IP address for reading respective physical block address storing data, and the cloud is by respective stored data
It is sent to the external processor cache area to be compared with computer output storing data, unanimously then shows that the computer is hard
Disk data read path is correct, otherwise shows mistake.
Preferably, the method that the hard disc data uses cloud to be restored, wherein when the computer hard disc data
When read path display mistake, the external processor carries out overall data covering to the computer hard disc.
Preferably, the method that the hard disc data uses cloud to be restored, wherein the external processor is interior
If central processing unit and buffer area, peripheral hardware USB interface or the device for being wirelessly transferred end.
Preferably, the method that the hard disc data uses cloud to be restored, wherein the external processor is hand
One of machine, plate or PC machine.
Preferably, the hard disc data uses the method restored of cloud, wherein the external processor is to institute
Stating cloud server and sending includes the physical address of the computer, mistake in the computer hard disc in the order for restoring corresponding data
Clearance password between physical block address and the preset computer and cloud where data.
The present invention is include at least the following beneficial effects: restoring simultaneously, to read in redundant area with parallel processing manner in data
The Backup Data of storage, does not influence normal use;Hard disc data recovery is carried out by using external processor, saves hard disk sky
Between, reduce the requirement to hard disk;By storing data backup in cloud, realized by clearance password between preset computer and cloud
Data are restored, and ensure that the safety of computer backup data;Hard disc data recovery is carried out using cloud technology, it is fast and reliable, hold
Measure multiple amplification.
Further advantage, target and feature of the invention will be partially reflected by the following instructions, and part will also be by this
The research and practice of invention and be understood by the person skilled in the art.
Specific embodiment
The present invention is described in further detail below, to enable those skilled in the art's refer to the instruction text being capable of evidence
To implement.
It should be appreciated that such as " having ", "comprising" and " comprising " term used herein do not allot one or more
The presence or addition of a other elements or combinations thereof.
The present invention provides a kind of method that hard disc data uses cloud to be restored, and is applied to computer hard disc, specific to wrap
It includes:
When reading data discovery mistake from computer hard disc, the data that mistake occurs for record are corresponding in the hard disk
Second physical block address of the first logical block address, first logical block address and the storage of hard disk redundancy area is to remap pass
System, the computer read second physical block address;
External processor is connect with computer by wired or wireless way, it is hard that the external processor reads the computer
In disk after wrong data and the first physical block address corresponding with first logical block, is sent to cloud server and restore phase
Answer the order of data and the IP address of the external processor;
Corresponding data is sent to the external processor cache area by the cloud server;
The external processor by the corresponding data be sent at the first physical block address described in the computer hard disc into
Row data cover.
The external processor is electrically connected with the computer by USB data line or USB interface.Alternatively, the external place
Reason device and the computer pass through network connection.
The new data of the covering of the first physical block address described in computer hard disc verifies, specifically:
The external processor reads the first physical block address data described in the computer hard disc;
Number in first physical block address data described in the computer hard disc of the external processor by reading and buffer area
According to being compared, as a result unanimously then shows and restore data success;As a result inconsistent, show recovery error in data.
When display restores error in data, the corresponding data that the external processor again stores up the cache bank memories is sent out
It send to progress data cover at the first physical block address described in the computer hard disc, and the first physics described in computer hard disc again
The new data of block address covering is verified.
It further include verification to the computer hard disc data read path before hard disc data recovery, specifically:
The external processor sends a certain physics read in addition to physical block address where wrong data to the computer
The order of block address data, the computer export storing data to the external processor cache area, the external processor to
The cloud sends the order and its IP address for reading respective physical block address storing data, and the cloud is by respective stored data
It is sent to the external processor cache area to be compared with computer output storing data, unanimously then shows that the computer is hard
Disk data read path is correct, otherwise shows mistake.It is described external when the computer hard disc data read path shows mistake
Processor carries out overall data covering to the computer hard disc.
The external processor is the interior dress for setting central processing unit and buffer area, peripheral hardware USB interface or wireless transmission end
It sets.Wherein, the external processor is one of mobile phone, plate or PC machine.
Wherein, it includes the electricity in the order for restoring corresponding data that the external processor is sent to the cloud server
Clearance between physical block address and the preset computer and cloud where wrong data in the physical address of brain, the computer hard disc
Password.
The present invention carries out hard disc data recovery by using external processor, saves hard drive space, reduces to hard disk
Requirement;By storing data backup in cloud, realizes that data are restored by clearance password between preset computer and cloud, ensure that
The safety of computer backup data;Hard disc data recovery is carried out using cloud technology, fast and reliable, capacity multiple amplification.
Number of devices and treatment scale described herein are for simplifying explanation of the invention.To application of the invention,
Modifications and variations will be readily apparent to persons skilled in the art.
Although the embodiments of the present invention have been disclosed as above, but its is not only in the description and the implementation listed
With it can be fully applied to various fields suitable for the present invention, for those skilled in the art, can be easily
Realize other modification, therefore without departing from the general concept defined in the claims and the equivalent scope, the present invention is simultaneously unlimited
In specific details.
Claims (8)
1. a kind of method that hard disc data uses cloud to be restored, which is characterized in that it is applied to computer hard disc, specific to wrap
It includes:
When reading data discovery mistake from computer hard disc, the data of mistake occur for record corresponding first in the hard disk
Second physical block address of logical block address, first logical block address and the storage of hard disk redundancy area is attached most importance to mapping relations, institute
It states computer and reads second physical block address;
External processor is connect with computer by wired or wireless way, the external processor is read in the computer hard disc
After wrong data and the first physical block address corresponding with first logical block, is sent to cloud server and restore respective counts
According to order and the external processor IP address;
Corresponding data is sent to the external processor cache area by the cloud server;
The corresponding data is sent at the first physical block address described in the computer hard disc and counts by the external processor
According to covering;
It wherein, further include verification to the computer hard disc data read path before hard disc data recovery, specifically:
The external processor is with reading a certain physical block in addition to physical block address where wrong data to computer transmission
The order of location data, the computer export storing data to the external processor cache area, and the external processor is to described
Cloud sends the order and its IP address for reading respective physical block address storing data, and the cloud sends respective stored data
It is compared to the external processor cache area with computer output storing data, unanimously then shows the computer hard disc number
It is correct according to read path, otherwise show mistake;
When the computer hard disc data read path shows mistake, the external processor carries out the computer hard disc whole
Data cover.
2. the method that hard disc data as described in claim 1 uses cloud to be restored, which is characterized in that the external processing
Device is electrically connected with the computer by USB data line or USB interface.
3. the method that hard disc data as described in claim 1 uses cloud to be restored, which is characterized in that the external processing
Device and the computer pass through network connection.
4. the method that hard disc data as described in claim 1 uses cloud to be restored, which is characterized in that further include to computer
The new data of the covering of first physical block address described in hard disk is verified, specifically:
The external processor reads the first physical block address data described in the computer hard disc;
In first physical block address data described in the computer hard disc of the external processor by reading and buffer area data into
Row compares, and as a result unanimously then shows and restores data success;As a result inconsistent, show recovery error in data.
5. the method that hard disc data as claimed in claim 4 uses cloud to be restored, which is characterized in that when display restores number
When according to mistake, the corresponding data that the cache bank memories store up is sent to described in the computer hard disc by the external processor again
At first physical block address carry out data cover, and again the first physical block address described in computer hard disc covering new data into
Row verification.
6. the method for using cloud to be restored such as hard disc data described in any one of claim 1 to 5, which is characterized in that institute
Stating external processor is the interior device for setting central processing unit and buffer area, peripheral hardware USB interface or wireless transmission end.
7. the method that hard disc data as claimed in claim 6 uses cloud to be restored, which is characterized in that the external processing
Device is one of mobile phone, plate or PC machine.
8. the method that hard disc data as described in claim 1 uses cloud to be restored, which is characterized in that the external processing
Device sends physical address, the computer hard disc including the computer in the order for restoring corresponding data to the cloud server
Clearance password between physical block address and the preset computer and cloud where middle wrong data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610191840.XA CN105893180B (en) | 2016-03-30 | 2016-03-30 | The method that hard disc data uses cloud to be restored |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610191840.XA CN105893180B (en) | 2016-03-30 | 2016-03-30 | The method that hard disc data uses cloud to be restored |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105893180A CN105893180A (en) | 2016-08-24 |
CN105893180B true CN105893180B (en) | 2019-02-19 |
Family
ID=57014025
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610191840.XA Active CN105893180B (en) | 2016-03-30 | 2016-03-30 | The method that hard disc data uses cloud to be restored |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105893180B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106776114A (en) * | 2016-11-11 | 2017-05-31 | 安徽维德工业自动化有限公司 | A kind of disk array backup management system with Cloud Server backup |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102708019A (en) * | 2012-04-28 | 2012-10-03 | 华为技术有限公司 | Method, device and system for hard disk data recovery |
CN104854567A (en) * | 2012-09-04 | 2015-08-19 | 微软技术许可有限责任公司 | Device backups and updates in view of data usage statistics |
CN104969198A (en) * | 2013-01-14 | 2015-10-07 | 美光科技公司 | Data path integrity verification |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7302603B2 (en) * | 2003-11-20 | 2007-11-27 | International Business Machines Corporation | Host-initiated data reconstruction for improved RAID read operations |
US8959389B2 (en) * | 2011-11-23 | 2015-02-17 | International Business Machines Corporation | Use of a virtual drive as a hot spare for a raid group |
-
2016
- 2016-03-30 CN CN201610191840.XA patent/CN105893180B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102708019A (en) * | 2012-04-28 | 2012-10-03 | 华为技术有限公司 | Method, device and system for hard disk data recovery |
CN104854567A (en) * | 2012-09-04 | 2015-08-19 | 微软技术许可有限责任公司 | Device backups and updates in view of data usage statistics |
CN104969198A (en) * | 2013-01-14 | 2015-10-07 | 美光科技公司 | Data path integrity verification |
Also Published As
Publication number | Publication date |
---|---|
CN105893180A (en) | 2016-08-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10922172B2 (en) | On the fly raid parity calculation | |
US7984325B2 (en) | Storage control device, data recovery device, and storage system | |
CN108089951B (en) | Accelerated data recovery in a storage system | |
US9424141B2 (en) | Hard disk data recovery method, apparatus, and system | |
CN103718162B (en) | Method and apparatus for flexible RAID in SSD | |
US10120769B2 (en) | Raid rebuild algorithm with low I/O impact | |
US20130290629A1 (en) | Storage system and storage apparatus | |
JPH05505264A (en) | Non-volatile memory storage of write operation identifiers in data storage devices | |
JP2010015195A (en) | Storage controller and storage control method | |
JP4114877B2 (en) | Apparatus, method, and program for detecting illegal data | |
US20100235678A1 (en) | System and Method for Data Protection Against Power Failure During Sector Remapping | |
TW201107981A (en) | Method and apparatus for protecting the integrity of cached data in a direct-attached storage (DAS) system | |
TW202026874A (en) | Method and apparatus for performing dynamic recovery management regarding redundant array of independent disks and storage system operating according to the method | |
CN105808386B (en) | Hard disc data restores method of calibration | |
CN105893181B (en) | Restore hard disc data method in cloud | |
US20170371782A1 (en) | Virtual storage | |
CN105893180B (en) | The method that hard disc data uses cloud to be restored | |
US8418029B2 (en) | Storage control device and storage control method | |
US20130086300A1 (en) | Storage caching acceleration through usage of r5 protected fast tier | |
JP2019023936A (en) | Memory device and memory system | |
US10014983B2 (en) | System, receiving device, and method | |
CN106411832A (en) | Cloud authentication hard disk recovery method | |
US20110205654A1 (en) | Control apparatus, nonvolatile storage apparatus and data initialization method | |
US20170344425A1 (en) | Error-laden data handling on a storage device | |
JP5598124B2 (en) | DATA RECORDING / REPRODUCING DEVICE, DATA RECORDING METHOD, AND DATA RECORDING 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |