CN105893181B - Restore hard disc data method in cloud - Google Patents

Restore hard disc data method in cloud Download PDF

Info

Publication number
CN105893181B
CN105893181B CN201610191949.3A CN201610191949A CN105893181B CN 105893181 B CN105893181 B CN 105893181B CN 201610191949 A CN201610191949 A CN 201610191949A CN 105893181 B CN105893181 B CN 105893181B
Authority
CN
China
Prior art keywords
data
hard disc
external processor
cloud
computer
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
CN201610191949.3A
Other languages
Chinese (zh)
Other versions
CN105893181A (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.)
Suzhou Meitian Network Technology Co Ltd
Original Assignee
Suzhou Meitian Network 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 Suzhou Meitian Network Technology Co Ltd filed Critical Suzhou Meitian Network Technology Co Ltd
Priority to CN201610191949.3A priority Critical patent/CN105893181B/en
Publication of CN105893181A publication Critical patent/CN105893181A/en
Application granted granted Critical
Publication of CN105893181B publication Critical patent/CN105893181B/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/1448Management of the data involved in backup or backup restore
    • 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
    • G06F11/1464Management of the backup or restore process for networked environments

Abstract

The invention discloses a kind of clouds to restore hard disc data method, it is applied to computer hard disc, it specifically includes: when reading data discovery mistake from computer hard disc, external processor is connect with computer by wired or wireless way, after the external processor reads in the computer hard disc wrong data and its respective physical block address, 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 computer hard disc respective physical block address by the external processor.Cloud disclosed in this case restores hard disc data method and carries out data recovery to faulty hard disk using cloud technology, and data recovery capabilities greatly improve.

Description

Restore hard disc data method in cloud
Technical field
The present invention relates to hard disk failure technical fields.It is more particularly related to which hard disc data is restored in a kind of cloud Method.
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 will occupy hard drive space, processing when occurring wide-area failures for hard disk is still time-consuming and laborious.
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 clouds to restore hard disc data method, using cloud technology to failure Hard disk carries out data recovery, and data recovery capabilities greatly improve.
In order to realize these purposes and other advantages according to the present invention, a kind of cloud recovery hard disc data side is provided Method is applied to computer hard disc, specifically includes:
When reading data discovery mistake from computer hard disc, external processor and computer are passed through into wired or wireless way Connection, after the external processor reads in the computer hard disc wrong data and its respective physical block address, to cloud service Device sends the IP address of the order and the external processor that restore corresponding data;
Corresponding data is sent to the external processor cache area by the cloud server;
The corresponding data is sent at the computer hard disc respective physical block address and counts by the external processor According to covering;
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, described external when the computer hard disc data read path shows mistake Processor carries out overall data covering to the computer hard disc.
Preferably, hard disc data method is restored in the cloud, wherein the external processor passes through with the computer USB data line electrical connection.
Preferably, hard disc data method is restored in the cloud, wherein the external processor passes through with the computer Network connection.
Preferably, hard disc data method is restored in the cloud, wherein further includes to computer hard disc respective physical block The new data of location covering is verified, specifically:
The external processor reads the computer hard disc respective physical block address data;
The external processor by data in the computer hard disc respective physical block address data of reading and buffer area into Row compares, and as a result unanimously then shows and restores data success;As a result inconsistent, show recovery error in data.
Preferably, hard disc data method is restored in the cloud, wherein described outer when display restores error in data Set processor again by the corresponding data that the cache bank memories store up be sent at the computer hard disc respective physical block address into Row data cover, and the new data of computer hard disc respective physical block address covering is verified again.
Preferably, hard disc data method is restored in the cloud, wherein before hard disc data recovery further includes to described The verification of computer hard disc data read path, specifically:
Preferably, hard disc data method is restored in the cloud, wherein when the computer hard disc data read path is aobvious When showing mistake, the external processor carries out overall data covering to the computer hard disc.
Preferably, hard disc data method is restored in the cloud, wherein the external processor sets central processing to be interior Unit and buffer area, peripheral hardware USB interface or the device for being wirelessly transferred end.
Preferably, hard disc data method is restored in the cloud, wherein the external processor be mobile phone, plate or One of PC machine.
Preferably, hard disc data method is restored in the cloud, wherein the external processor is to the cloud service Object where wrong data in physical address, the computer hard disc in the order of device transmission recovery corresponding data including the computer Manage clearance password between block address and the preset computer and cloud.
The present invention is include at least the following beneficial effects: being carried out hard disc data recovery by using external processor, is saved Hard drive space reduces the requirement to hard disk;By storing data backup in cloud, pass through clearance mouth between preset computer and cloud It enables and realizes that data are restored, ensure that the safety of computer backup data;Hard disc data recovery is carried out using cloud technology, quickly may be used It leans on, the amplification of capacity multiple.
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 cloud recovery hard disc data method, is applied to computer hard disc, specifically includes:
When reading data discovery mistake from computer hard disc, external processor and computer are passed through into wired or wireless way Connection, after the external processor reads in the computer hard disc wrong data and its respective physical block address, to cloud service Device sends the IP address of the order and the external processor that restore corresponding data;
Corresponding data is sent to the external processor cache area by the cloud server;
The corresponding data is sent at the computer hard disc respective physical block address and counts by the external processor According to covering.
The external processor is electrically connected with the computer by USB data line.Alternatively, the external processor with it is described Computer passes through network connection.
The new data of computer hard disc respective physical block address covering is verified, specifically:
The external processor reads the computer hard disc respective physical block address data;
The external processor by data in the computer hard disc respective physical block address data of reading and buffer area into Row compares, and as a result unanimously then shows and restores 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 computer hard disc respective physical block address, and computer hard disc respective physical block address is covered again The new data of lid 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. hard disc data method is restored in a kind of cloud, which is characterized in that it is applied to computer hard disc, specifically includes:
When reading data discovery mistake from computer hard disc, external processor and computer are connected by wired or wireless way It connects, after the external processor reads in the computer hard disc wrong data and its respective physical block address, to cloud server Send the IP address of the order and the external processor that restore corresponding data;
Corresponding data is sent to the external processor cache area by the cloud server;
The corresponding data is sent to progress data at the computer hard disc respective physical block address and covered by the external processor Lid;
It 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 processing Device carries out overall data covering to the computer hard disc.
2. hard disc data method is restored in cloud as described in claim 1, which is characterized in that the external processor and the electricity Brain is electrically connected by USB data line.
3. hard disc data method is restored in cloud as described in claim 1, which is characterized in that the external processor and the electricity Brain passes through network connection.
4. hard disc data method is restored in cloud as described in claim 1, which is characterized in that further include to computer hard disc homologue The new data of reason block address covering is verified, specifically:
The external processor reads the computer hard disc respective physical block address data;
The external processor compares the computer hard disc respective physical block address data of reading with data in buffer area It is right, it as a result unanimously then shows and restores data success;As a result inconsistent, show recovery error in data.
5. hard disc data method is restored in cloud as claimed in claim 4, which is characterized in that when display restores error in data, The external processor again by the corresponding data that the cache bank memories store up with being sent to the computer hard disc respective physical block Data cover is carried out at location, and the new data of computer hard disc respective physical block address covering is verified again.
6. as hard disc data method is restored in cloud described in any one of claim 1 to 5, which is characterized in that the external processing Device is the interior device for setting central processing unit and buffer area, peripheral hardware USB interface or wireless transmission end.
7. hard disc data method is restored in cloud as claimed in claim 6, which is characterized in that the external processor be mobile phone, One of plate or PC machine.
8. hard disc data method is restored in cloud as described in claim 1, which is characterized in that the external processor is to the cloud Wrong data in physical address, the computer hard disc in the order of end server transmission recovery corresponding data including the computer Clearance password between place physical block address and the preset computer and cloud.
CN201610191949.3A 2016-03-30 2016-03-30 Restore hard disc data method in cloud Active CN105893181B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610191949.3A CN105893181B (en) 2016-03-30 2016-03-30 Restore hard disc data method in cloud

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610191949.3A CN105893181B (en) 2016-03-30 2016-03-30 Restore hard disc data method in cloud

Publications (2)

Publication Number Publication Date
CN105893181A CN105893181A (en) 2016-08-24
CN105893181B true CN105893181B (en) 2019-05-28

Family

ID=57014880

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610191949.3A Active CN105893181B (en) 2016-03-30 2016-03-30 Restore hard disc data method in cloud

Country Status (1)

Country Link
CN (1) CN105893181B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108737469A (en) * 2017-04-20 2018-11-02 北京雷石天地电子技术有限公司 A kind of method and apparatus hard disk praameter monitoring and fed back
CN112181713B (en) * 2020-10-10 2021-06-04 上海威固信息技术股份有限公司 Data recovery method and system of computer storage system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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)

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

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN105893181A (en) 2016-08-24

Similar Documents

Publication Publication Date Title
US7984325B2 (en) Storage control device, data recovery device, and storage system
US10365967B2 (en) On the fly raid parity calculation
CN108089951B (en) Accelerated data recovery in a storage system
US9684591B2 (en) Storage system and storage apparatus
US10120769B2 (en) Raid rebuild algorithm with low I/O impact
JP5768587B2 (en) Storage system, storage control device, and storage control method
CN103718162B (en) Method and apparatus for flexible RAID in SSD
US8225136B2 (en) Control method and storage device
JP2006134064A (en) Storage control apparatus and method for detecting writing error in storage medium
JP2010015195A (en) Storage controller and storage control method
WO2013159503A1 (en) Hard disk data recovery method, device and system
TW201107981A (en) Method and apparatus for protecting the integrity of cached data in a direct-attached storage (DAS) system
US20160179609A1 (en) Bad Sector Repair Method and Apparatus
CN105893181B (en) Restore hard disc data method in cloud
KR20140086223A (en) Parity re-synchronization sturcture of disk array and the method thereof
CN105808386B (en) Hard disc data restores method of calibration
US20170371782A1 (en) Virtual storage
CN105893180B (en) The method that hard disc data uses cloud to be restored
US11163459B2 (en) Rekeying information on storage devices using a proactive copy service
US8671264B2 (en) Storage control device and storage system
CN106411832A (en) Cloud authentication hard disk recovery method
US20140173337A1 (en) Storage apparatus, control method, and control program
JP6600815B2 (en) Recording apparatus and information processing apparatus
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