CN105893178A - Data backup method for mobile hard disk - Google Patents
Data backup method for mobile hard disk Download PDFInfo
- Publication number
- CN105893178A CN105893178A CN201610191660.1A CN201610191660A CN105893178A CN 105893178 A CN105893178 A CN 105893178A CN 201610191660 A CN201610191660 A CN 201610191660A CN 105893178 A CN105893178 A CN 105893178A
- Authority
- CN
- China
- Prior art keywords
- data
- backup area
- district
- host
- hard drive
- 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
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/1448—Management of the data involved in backup or backup restore
-
- 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/1461—Backup scheduling policy
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a data backup method for a mobile hard disk. The method comprises the steps that the mobile hard disk is divided into a main storage area and a backup area; the backup area is concealed, and according to settings, the backup area cannot be accessed by other programs based on a file system; according to settings, when data is guided into a main storage area, an interface of the mobile hard disk is examined and the data is backed up to the backup area; when data read from the main storage area is mistaken, the mistaken data is recovered according to a preset algorithm; the recovered data is compared with corresponding data in the backup area, and if the recovered data is consistent with the corresponding data in the backup area, it shows that the data is recovered successfully; if the recovered data is different from the corresponding data in the backup area, the recovered data is deleted, the corresponding data in the backup area is copied to the main storage area. By setting the backup subarea, consistency and effectiveness of data in each subarea are ensured through combination of repeated periodic automatic examination, so that the anti-lost capacity of data is improved, and safety, stability and reliability of the data in the hard disk are improved.
Description
Technical field
The present invention relates to the data back up method of a kind of portable hard drive.
Background technology
Along with the arriving of big data age, the rapid expansion of user group, user to the stability of data,
The requirement of reliability and safety is more and more higher.At present, conventional hard disk includes that mechanical hard disk and solid-state are hard
Dish, mechanical hard disk is owing to easily being affected by temperature, vibration and read-write error occurred, and solid state hard disc is certainly
The restriction of erasable number of times and bad block rate that body is intrinsic also result in read-write error.Although hard disk self has error correction
Function, but it can only correct the mistake less wrong data of figure place by self error correction algorithm, and therefore it entangles
Wrong ability is extremely limited.
In the prior art, there are some relatively new methods to may be used for protecting data, prevent it because of hard
Adjustment debit is bad and loses, but these method complex operations, the requirement to hard disk self is high, and protection cost is relatively
High.
Summary of the invention
In place of the deficiencies in the prior art, it is an object of the invention to provide the data of a kind of portable hard drive
Backup method, it can give data multiple protective, provide safe and stable for data, store reliably
Environment.
Technical scheme is summarized as follows:
A kind of data back up method of portable hard drive, comprising:
Portable hard drive is divided into main memory district and backup area;
Hide described backup area, and set described backup area and can not be visited by other programs based on file system
Ask;
Set when there being data to import to host district, carry out:
Portable hard drive interface check;And
Back up data in backup area;
When in time hosting reading data discovery mistake in district, according to preset algorithm, the data made a mistake are entered
Row recovery operation;
Data recovery obtained are compared with the corresponding data in backup area, if unanimously, show data
It is successfully recovered;If there are differences, then delete the data recovering to obtain, the corresponding data in backup area is multiple
Make to and host in district.
Preferably, the data back up method of described portable hard drive, wherein, also include:
Set a first detection cycle to host district detect, if find host district damage, then isolate
Host district, and format main memory district, copy to the data in backup area host in district.
Preferably, the data back up method of described portable hard drive, wherein, also include:
Setting a second detection cycle detects backup area, if finding, backup area damages, then stop
Host the data import feature in district, retain data export function.
Preferably, the data back up method of described portable hard drive, wherein, also include:
Setting a 3rd detection cycle compares to hosting district and backup area, and the number that will do not have each other
Back up according to carrying out respectively supplementing, to ensure to host district and the data consistent of backup area.
Preferably, the data back up method of described portable hard drive, wherein, also include:
When in time hosting reading data discovery mistake in district, record the address of the sector, data place of this mistake
Information, and preferentially the new data imported below is stored in other sectors beyond this sector.
The invention has the beneficial effects as follows: this case is by arranging backup subregion, and combines regular self-inspection repeatedly
Guarantee data concordance in each subregion and effectiveness, thus improve the anti-lost ability of data,
Add data safety, stability and reliability in a hard disk.
Detailed description of the invention
Below in conjunction with embodiment, the present invention is described in further detail, to make those skilled in the art join
Book word can be implemented according to this as directed.
This case proposes the data back up method of the portable hard drive of an embodiment, comprising:
Portable hard drive is divided into main memory district and backup area;
Hide backup area, and set backup area can not be by other routine accesses based on file system;
Set when there being data to import to host district, carry out:
Portable hard drive interface check;And
Back up data in backup area;
When in time hosting reading data discovery mistake in district, according to preset algorithm, the data made a mistake are entered
Row recovery operation;
Data recovery obtained are compared with the corresponding data in backup area, if unanimously, show data
It is successfully recovered;If there are differences, then delete the data recovering to obtain, the corresponding data in backup area is multiple
Make to and host in district.The purpose of do so is to try to preferentially carry out data recovery by main memory district, and the most excellent
First use backup area, only just use backup area when data cannot be recovered, so can reduce backup area
Reading frequency repeatedly, improve the stability of backup area and safety.
As another embodiment of this case, wherein, also include:
Set a first detection cycle to host district detect, if find host district damage, then isolate
Host district, and format main memory district, copy to the data in backup area host in district.
As the another embodiment of this case, wherein, also include:
Setting a second detection cycle detects backup area, if finding, backup area damages, then stop
Host the data import feature in district, retain data export function.Now should derive the number in backup area as early as possible
According to and carry out related repair work.The data that so can adequately protect in backup area can be safe and stable
Be transferred and be saved.
As the another embodiment of this case, wherein, also include:
Setting a 3rd detection cycle compares to hosting district and backup area, and the number that will do not have each other
Back up according to carrying out respectively supplementing, to ensure to host district and the data consistent of backup area.
As the another embodiment of this case, wherein, also include:
When in time hosting reading data discovery mistake in district, record the address of the sector, data place of this mistake
Information, and preferentially the new data imported below is stored in other sectors beyond this sector.Until other
Sector is all filled with and new data is stored in sector that mistake occurred again, and the purpose of do so is to reduce data
Because of sector failure risk of error occurring again.
Although embodiment of the present invention are disclosed as above, but it is not restricted to description and embodiment party
Listed utilization in formula, it can be applied to various applicable the field of the invention completely, for being familiar with ability
For the personnel in territory, be easily achieved other amendment, therefore without departing substantially from claim and etc. homotype
Enclosing under limited general concept, the present invention is not limited to specific details.
Claims (5)
1. the data back up method of a portable hard drive, it is characterised in that including:
Portable hard drive is divided into main memory district and backup area;
Hide described backup area, and set described backup area and can not be visited by other programs based on file system
Ask;
Set when there being data to import to host district, carry out:
Portable hard drive interface check;And
Back up data in backup area;
When in time hosting reading data discovery mistake in district, according to preset algorithm, the data made a mistake are entered
Row recovery operation;
Data recovery obtained are compared with the corresponding data in backup area, if unanimously, show data
It is successfully recovered;If there are differences, then delete the data recovering to obtain, the corresponding data in backup area is multiple
Make to and host in district.
The data back up method of portable hard drive the most according to claim 1, it is characterised in that also wrap
Include:
Set a first detection cycle to host district detect, if find host district damage, then isolate
Host district, and format main memory district, copy to the data in backup area host in district.
The data back up method of portable hard drive the most according to claim 1, it is characterised in that also wrap
Include:
Setting a second detection cycle detects backup area, if finding, backup area damages, then stop
Host the data import feature in district, retain data export function.
The data back up method of portable hard drive the most according to claim 1, it is characterised in that also wrap
Include:
Setting a 3rd detection cycle compares to hosting district and backup area, and the number that will do not have each other
Back up according to carrying out respectively supplementing, to ensure to host district and the data consistent of backup area.
The data back up method of portable hard drive the most according to claim 1, it is characterised in that also wrap
Include:
When in time hosting reading data discovery mistake in district, record the address of the sector, data place of this mistake
Information, and preferentially the new data imported below is stored in other sectors beyond this sector.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610191660.1A CN105893178A (en) | 2016-03-30 | 2016-03-30 | Data backup method for mobile hard disk |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610191660.1A CN105893178A (en) | 2016-03-30 | 2016-03-30 | Data backup method for mobile hard disk |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105893178A true CN105893178A (en) | 2016-08-24 |
Family
ID=57014724
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610191660.1A Pending CN105893178A (en) | 2016-03-30 | 2016-03-30 | Data backup method for mobile hard disk |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105893178A (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109189712A (en) * | 2018-08-21 | 2019-01-11 | 宁波明科机电有限公司 | USB data transmission system |
WO2019137152A1 (en) * | 2018-01-12 | 2019-07-18 | 深圳大普微电子科技有限公司 | Solid-state drive and data processing method and system thereof |
CN110502386A (en) * | 2019-08-30 | 2019-11-26 | 西安易朴通讯技术有限公司 | The on-line fault diagnosis method and apparatus of hard disk |
WO2021196620A1 (en) * | 2020-04-01 | 2021-10-07 | 长鑫存储技术有限公司 | Read-write method and memory device |
US11527301B2 (en) | 2020-04-01 | 2022-12-13 | Changxin Memory Technologies, Inc. | Method for reading and writing and memory device |
US11869615B2 (en) | 2020-04-01 | 2024-01-09 | Changxin Memory Technologies, Inc. | Method for reading and writing and memory device |
US11881240B2 (en) | 2020-04-01 | 2024-01-23 | Changxin Memory Technologies, Inc. | Systems and methods for read/write of memory devices and error correction |
US11886287B2 (en) | 2020-04-01 | 2024-01-30 | Changxin Memory Technologies, Inc. | Read and write methods and memory devices |
US11894088B2 (en) | 2020-04-01 | 2024-02-06 | Changxin Memory Technologies, Inc. | Method for reading and writing and memory device |
US11899971B2 (en) | 2020-04-01 | 2024-02-13 | Changxin Memory Technologies, Inc. | Method for reading and writing and memory device |
US11914479B2 (en) | 2020-04-01 | 2024-02-27 | Changxin Memory Technologies, Inc. | Method for reading and writing and memory device |
US11922023B2 (en) | 2020-04-01 | 2024-03-05 | Changxin Memory Technologies, Inc. | Read/write method and memory device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1419196A (en) * | 2001-11-12 | 2003-05-21 | 联想(北京)有限公司 | Hard disk data backup and restore method |
CN1456980A (en) * | 2002-05-08 | 2003-11-19 | 联想(北京)有限公司 | Hard disc data duplicating and reproducing method |
CN1838082A (en) * | 2005-03-25 | 2006-09-27 | 鸿富锦精密工业(深圳)有限公司 | Computer hard disk data protection method |
US7689861B1 (en) * | 2002-10-09 | 2010-03-30 | Xpoint Technologies, Inc. | Data processing recovery system and method spanning multiple operating system |
CN101777013A (en) * | 2009-01-12 | 2010-07-14 | 成都市华为赛门铁克科技有限公司 | Solid state disk and data read-write method |
-
2016
- 2016-03-30 CN CN201610191660.1A patent/CN105893178A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1419196A (en) * | 2001-11-12 | 2003-05-21 | 联想(北京)有限公司 | Hard disk data backup and restore method |
CN1456980A (en) * | 2002-05-08 | 2003-11-19 | 联想(北京)有限公司 | Hard disc data duplicating and reproducing method |
US7689861B1 (en) * | 2002-10-09 | 2010-03-30 | Xpoint Technologies, Inc. | Data processing recovery system and method spanning multiple operating system |
CN1838082A (en) * | 2005-03-25 | 2006-09-27 | 鸿富锦精密工业(深圳)有限公司 | Computer hard disk data protection method |
CN101777013A (en) * | 2009-01-12 | 2010-07-14 | 成都市华为赛门铁克科技有限公司 | Solid state disk and data read-write method |
Non-Patent Citations (4)
Title |
---|
彭国军等: "《软件安全》", 30 September 2015, 武汉大学出版社 * |
李大友等: "《计算机应用基础》", 30 April 2003, 清华大学出版社 * |
王正万等: "《计算机组装与维护教程》", 31 August 2013, 西南交通大学出版社 * |
陈应明等: "《现代计算机操作系统》", 31 January 2004, 冶金工业出版社 * |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019137152A1 (en) * | 2018-01-12 | 2019-07-18 | 深圳大普微电子科技有限公司 | Solid-state drive and data processing method and system thereof |
US11307936B2 (en) | 2018-01-12 | 2022-04-19 | Shenzhen Dapu Microelectronics Co., Ltd. | Solid-state drive data security |
CN109189712A (en) * | 2018-08-21 | 2019-01-11 | 宁波明科机电有限公司 | USB data transmission system |
CN110502386B (en) * | 2019-08-30 | 2023-08-22 | 西安易朴通讯技术有限公司 | Method and device for diagnosing faults of hard disk on line |
CN110502386A (en) * | 2019-08-30 | 2019-11-26 | 西安易朴通讯技术有限公司 | The on-line fault diagnosis method and apparatus of hard disk |
WO2021196620A1 (en) * | 2020-04-01 | 2021-10-07 | 长鑫存储技术有限公司 | Read-write method and memory device |
US11527301B2 (en) | 2020-04-01 | 2022-12-13 | Changxin Memory Technologies, Inc. | Method for reading and writing and memory device |
US11869615B2 (en) | 2020-04-01 | 2024-01-09 | Changxin Memory Technologies, Inc. | Method for reading and writing and memory device |
US11881240B2 (en) | 2020-04-01 | 2024-01-23 | Changxin Memory Technologies, Inc. | Systems and methods for read/write of memory devices and error correction |
US11886287B2 (en) | 2020-04-01 | 2024-01-30 | Changxin Memory Technologies, Inc. | Read and write methods and memory devices |
US11894088B2 (en) | 2020-04-01 | 2024-02-06 | Changxin Memory Technologies, Inc. | Method for reading and writing and memory device |
US11899971B2 (en) | 2020-04-01 | 2024-02-13 | Changxin Memory Technologies, Inc. | Method for reading and writing and memory device |
US11914479B2 (en) | 2020-04-01 | 2024-02-27 | Changxin Memory Technologies, Inc. | Method for reading and writing and memory device |
US11922023B2 (en) | 2020-04-01 | 2024-03-05 | Changxin Memory Technologies, Inc. | Read/write method and memory device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105893178A (en) | Data backup method for mobile hard disk | |
US10643668B1 (en) | Power loss data block marking | |
TW200921360A (en) | Data preserving method and data accessing method for non-volatile memory | |
US9524212B2 (en) | Method, device and operating system for processing and using burn data of NAND flash | |
CN106227625B (en) | A kind of restoration methods and system of the flash data damaged by power down | |
CN102981936A (en) | Method for reconstructing disk array data | |
US20120063602A1 (en) | Method and apparatus for maintaining key information area in file system | |
CN104778106A (en) | Restoration method of Western Digital hard disk firmware zone scratch | |
JP2006519444A (en) | Flash memory data management method | |
CN106155839A (en) | A kind of method and apparatus for Backup Data | |
CN107850984A (en) | Recovered using the write-in data stored by power loss Data Protection Technologies | |
CN105549985A (en) | Method and system for enhancing reliability of Linux application system | |
CN105808385A (en) | Anti-loss method of hard disk data | |
US20150339066A1 (en) | Non-volatile complement data cache | |
CN104050014A (en) | Efficient storage management method based on virtualization platform | |
CN111666046B (en) | Data storage method, device and equipment | |
CN105893179A (en) | Backup method for data of mobile hard disk drive | |
US7600151B2 (en) | RAID capacity expansion interruption recovery handling method and system | |
US7577804B2 (en) | Detecting data integrity | |
CN106598481B (en) | A kind of guard method of vehicle-mounted predistribution FAT32 video file system | |
CN105808386A (en) | Hard disk data recovery verifying method | |
CN105893182A (en) | Backup method for data in hard disk | |
US9286936B1 (en) | Zone based band mapping | |
CN109960611B (en) | Data recovery method and device, electronic equipment and machine-readable storage medium | |
CN118152181A (en) | Solid state disk data recovery method, terminal equipment, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160824 |