CN101436153A - Method and apparatus for restoring solid storage hard disk data - Google Patents

Method and apparatus for restoring solid storage hard disk data Download PDF

Info

Publication number
CN101436153A
CN101436153A CNA2008102177960A CN200810217796A CN101436153A CN 101436153 A CN101436153 A CN 101436153A CN A2008102177960 A CNA2008102177960 A CN A2008102177960A CN 200810217796 A CN200810217796 A CN 200810217796A CN 101436153 A CN101436153 A CN 101436153A
Authority
CN
China
Prior art keywords
hard disk
solid state
serviceable life
hard disc
data
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
CNA2008102177960A
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.)
Huawei Digital Technologies Chengdu Co Ltd
Original Assignee
Huawei Symantec Technologies 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 Huawei Symantec Technologies Co Ltd filed Critical Huawei Symantec Technologies Co Ltd
Priority to CNA2008102177960A priority Critical patent/CN101436153A/en
Publication of CN101436153A publication Critical patent/CN101436153A/en
Pending legal-status Critical Current

Links

Images

Abstract

The embodiment of the invention discloses a method and a device for recovering data of solid-state storage hard disk in storage system. The method comprises the following steps: whether the life span of the solid-state hard disk reaches a preset upper limit is judged according to the life-span parameter of the solid-state hard disk; when the life span of the solid-state hard disk is over, the data in the solid-state hard disk is stored into a backup hard disk of which the life span is not over yet; and the backup hard disk is switched to for continuing operation. Therefore, the invention reduces unrecoverable data loss caused by the ending of the life span of the hard disk.

Description

The restoring solid storage hard disk data method and apparatus
Technical field
The present invention relates to field of data storage, relate in particular to the restoring solid storage hard disk data method and apparatus.
Background technology
(Solid State Disk SSD) is the abandoning tradition magnetic medium to solid storage hard disk, a kind of technology that adopts electronic storage medium to carry out data storage and read.Owing to broken through the performance bottleneck of traditional mechanical hard disk, thereby had high memory property.In some military systems, high-performance calculation research field outstanding application performance is arranged, and very likely replace some expensive large computer systems.Because the conventional store development can't break through bottleneck of performance for many years all the time, solid-state storage is considered to the technical renovation of storage industry of future generation, and not only that, some insiders are defined as solid-state storage and change one of five following technology.Think that it has the potentiality of developing new frame in the storage industry field.Two great development branches have also been formed on the developing direction of solid-state storage gradually.A kind of solid-state storage array that is based on RAM medium (memory medium), this novel storage products based on the memory principle is developed by ram disk, the memory capacity 16-128G that general separate unit capacity provides does not wait, product behind the composition array can reach TB (Trillionbyte, terabyte) rank.An other class then is based on the solid-state storage product of flash media (USB flash disk medium).At present, the main product on the solid-state storage market can adopt inner UPS (Uninterruptible Power System, uninterrupted power source) electric power system and the protection of outside ups power usually.The battery that similar our radio frequency identification marking of inner UPS is signed, shape may be also different according to producer's difference.Outside UPS then is similar to the ups power that our server is used, for solid-state memory system provides power down protection.At present, most of solid-state storage producer all adopts two kinds of patterns to use simultaneously, to pursue the data security of higher level.
For traditional disk or tape storage mode,, recover perhaps can also save a part of data by data if damage has taken place storage medium; But for existing solid state hard disc, if flash chip is damaged, that almost is exactly impossible to want to give data for change in the flash chip that is broken into several lobes or is punctured by electric current.The restorability of data.When close to an end the serviceable life of solid state hard disc in the existing storage system, do not carry out the processing of automatic restore data.
The inventor is in realizing process of the present invention, and find that there is following shortcoming at least in prior art: existing solid hard disk storage system lacks the function of automatic restore data, can cause expendable loss of data when terminate the serviceable life of solid state hard disc.
Summary of the invention
The embodiment of the invention provides the restoring solid storage hard disk data method and apparatus, makes memory device possess the function of automatic restore data.
The embodiment of the invention provides a kind of restoring solid storage hard disk data method on the one hand, may further comprise the steps:
Read the parameter in serviceable life of solid state hard disc;
According to the parameter in serviceable life of described solid state hard disc, whether reach preset upper limit the serviceable life of judging described solid state hard disc;
If reach preset upper limit the serviceable life of described solid state hard disc, trigger the data of backup hard disk and recover, make the data of described solid state hard disc copy to the backup hard disk.
The embodiment of the invention provides a kind of restoring solid storage hard disk data device on the other hand, it is characterized in that, comprise: controller system memory, host interface controller and hard disk interface controller, controller system memory, host interface controller and hard disk interface controller pass through interconnects;
Described host interface controller is used to receive the data and the control command of external host, and the operation store system controller carries out data and recovers;
Described controller system memory reads solid state hard disc according to the data and the control command of host interface controller by hard disk interface controller parameter in serviceable life; According to the parameter in serviceable life of described solid state hard disc, controller system memory judges whether reach preset upper limit the serviceable life of described solid state hard disc; If reach preset upper limit the serviceable life of described solid state hard disc, controller system memory recovers by the data that hard disk interface controller triggers the backup hard disk, makes the data of described solid state hard disc copy to the backup hard disk.
The embodiment of the invention is by the parameter in serviceable life according to described solid state hard disc, whether reach preset upper limit the serviceable life of judging solid state hard disc, the serviceable life of solid state hard disc is when terminating, with wherein deposit data in serviceable life also unclosed backup hard disk, and switch to continuation operation on the backup hard disk, reduced the expendable loss of data that serviceable life, termination caused owing to solid state hard disc.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is an embodiment of the invention restoring solid storage hard disk data method flow diagram;
Fig. 2 is an embodiment of the invention restoring solid storage hard disk data method process flow diagram on the other hand;
Fig. 3 is the structural representation of embodiment of the invention restoring solid storage hard disk data device; With
Fig. 4 is an embodiment of the invention restoring solid storage hard disk data device structural representation on the other hand.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
As shown in Figure 1, the embodiment of the invention 1 provides a kind of restoring solid storage hard disk data method, may further comprise the steps:
Step 101: the parameter in serviceable life that reads solid state hard disc;
Step 102:, whether reach preset upper limit the serviceable life of judging described solid state hard disc according to the parameter in serviceable life of described solid state hard disc;
Step 103: if reach preset upper limit the serviceable life of described solid state hard disc, trigger the data of backup hard disk and recover, make the data of described solid state hard disc copy to the backup hard disk.
Step 104: the serviceable life that finishes to judge described solid state hard disc.
Optionally, after carry out step 102,, directly enter step 104, finish to judge the serviceable life of described solid state hard disc if do not reach preset upper limit the serviceable life of described solid state hard disc.
The embodiment of the invention is by the parameter in serviceable life according to described solid state hard disc, whether reach preset upper limit the serviceable life of judging solid state hard disc, the serviceable life of solid state hard disc is when terminating, with wherein deposit data in serviceable life also unclosed backup hard disk, and switch to continuation operation on the backup hard disk, reduced the expendable loss of data that serviceable life, termination caused owing to solid state hard disc.
As Fig. 2, in the embodiment of the invention, step 103 can also may further comprise the steps after all data of described solid state hard disc are copied to the backup hard disk:
Step 201: it is the work at present hard disk that the backup hard disk is set, and the solid state hard disc that reaches preset upper limit described serviceable life is set is the inefficacy hard disk;
Step 202: hang up the inefficacy hard disk, activate the work at present hard disk.
Hanging up the inefficacy hard disk is for avoiding these inefficacy hard disks of visit such as memory controller or external host.Activate the work at present hard disk, visit such as memory controller that makes or external host work at present hard disk carries out data read-write operation to the work at present hard disk.And then reduced the expendable loss of data that termination causes owing to serviceable life of solid state hard disc, under the support of the current hard disk after the switching, storage system works on.
In the embodiment of the invention, behind the activation work at present hard disk, send a warning message, indicate the failure state of the solid state hard disc that reaches preset upper limit serviceable life or the state of activation of work at present hard disk by memory controller.And then the user can remove to judge whether to need to change solid state hard disc by warning information.
See also Fig. 3, the embodiment of the invention 2 provides a kind of restoring solid storage hard disk data device 500, comprising: host interface controller 501, hard disk interface controller 502 and controller system memory 503.Controller system memory 503, host interface controller 501 and hard disk interface controller 502 are by system bus 504 interconnection;
Described host interface controller 501 is used to receive the data and the control command of external host 600, operation store system controller 503 carries out data and recovers, described controller system memory 503 reads solid state hard disc 700 according to the data and the control command of host interface controller 501 by hard disk interface controller 502 parameter in serviceable life, according to the parameter in serviceable life of described solid state hard disc 700, controller system memory 503 judges whether reach preset upper limit the serviceable life of described solid state hard disc 700; If reach preset upper limit the serviceable life of described solid state hard disc 700, controller system memory 503 recovers by the data that hard disk interface controller 502 triggers backup hard disk 701, makes the data of described solid state hard disc 700 copy to backup hard disk 701.
Optionally, controller system memory 503 is judged when do not reach preset upper limit the serviceable life of described solid state hard disc 700, finishes to judge the serviceable life of described solid state hard disc 700.
Optionally, controller system memory 503 is judged when reach preset upper limit the serviceable life of described solid state hard disc 700, by hard disk interface controller 502 backup hard disk 701 is set and is the work at present hard disk, and the solid state hard disc 700 that reaches preset upper limit described serviceable life is set is the inefficacy hard disk.
The embodiment of the invention is by the parameter in serviceable life according to described solid state hard disc, whether reach preset upper limit the serviceable life of judging solid state hard disc, the serviceable life of solid state hard disc is when terminating, with wherein deposit data in serviceable life also unclosed backup hard disk, and switch to continuation operation on the backup hard disk, reduced the expendable loss of data that serviceable life, termination caused owing to solid state hard disc.
See also Fig. 4, restoring solid storage hard disk data device 500 can also comprise alarm module 505; Controller system memory 503 be provided with reach preset upper limit described serviceable life solid state hard disc 700 for behind the inefficacy hard disk, send a warning message by alarm module 505, indicate the failure state of the solid state hard disc 700 that reaches preset upper limit serviceable life.Warning information can be in sound, light, the electric signal (voice signal, light signal, electric signal) one or more.Can directly make user's perception warning information by voice signal and light signal, also can warning information is delivered to and go to influence the user in other alarm devices or influence control command, remove to judge whether to need to change solid state hard disc by sound, light, electric signal.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in the foregoing description method, be to instruct relevant hardware to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
The above only is several embodiments of the present invention, and those skilled in the art can carry out various changes or modification to the present invention and do not break away from the spirit and scope of the present invention according to application documents are disclosed.

Claims (9)

1, a kind of restoring solid storage hard disk data method is characterized in that, may further comprise the steps:
Read the parameter in serviceable life of solid state hard disc;
According to the parameter in serviceable life of described solid state hard disc, whether reach preset upper limit the serviceable life of judging described solid state hard disc;
If reach preset upper limit the serviceable life of described solid state hard disc, trigger the data of backup hard disk and recover, make the data of described solid state hard disc copy to the backup hard disk.
2, restoring solid storage hard disk data method according to claim 1 is characterized in that, and is further comprising the steps of:
If do not reach preset upper limit the serviceable life of described solid state hard disc, finish to judge the serviceable life of described solid state hard disc.
3, restoring solid storage hard disk data method according to claim 1 is characterized in that, all data of described solid state hard disc are copied to the backup hard disk after, further comprising the steps of:
It is the work at present hard disk that the backup hard disk is set, and the solid state hard disc that reaches preset upper limit described serviceable life is set is the inefficacy hard disk;
Hang up the inefficacy hard disk, activate the work at present hard disk.
4, restoring solid storage hard disk data method according to claim 3 is characterized in that, and is behind the activation work at present hard disk, further comprising the steps of:
Send a warning message by memory controller, indicate the failure state of the solid state hard disc that reaches preset upper limit serviceable life or the state of activation of work at present hard disk.
5, a kind of restoring solid storage hard disk data device, it is characterized in that, comprise: controller system memory, host interface controller and hard disk interface controller, controller system memory, host interface controller and hard disk interface controller pass through interconnects;
Described host interface controller is used to receive the data and the control command of external host, and the operation store system controller carries out data and recovers;
Described controller system memory reads solid state hard disc according to the data and the control command of host interface controller by hard disk interface controller parameter in serviceable life; According to the parameter in serviceable life of described solid state hard disc, controller system memory judges whether reach preset upper limit the serviceable life of described solid state hard disc; If reach preset upper limit the serviceable life of described solid state hard disc, controller system memory recovers by the data that hard disk interface controller triggers the backup hard disk, makes the data of described solid state hard disc copy to the backup hard disk.
6, restoring solid storage hard disk data device according to claim 5 is characterized in that, described controller system memory is judged when do not reach preset upper limit the serviceable life of described solid state hard disc, finishes to judge the serviceable life of described solid state hard disc.
7, restoring solid storage hard disk data device according to claim 6, it is characterized in that, controller system memory is judged when reach preset upper limit the serviceable life of described solid state hard disc, by hard disk interface controller the backup hard disk being set is the work at present hard disk, and the solid state hard disc that reaches preset upper limit described serviceable life is set is the inefficacy hard disk.
8, restoring solid storage hard disk data device according to claim 7 is characterized in that, also includes alarm module; After controller system memory is provided with the solid state hard disc that reaches preset upper limit described serviceable life and is the inefficacy hard disk, send a warning message, indicate the failure state that reaches the solid state hard disc of preset upper limit serviceable life by alarm module.
9, restoring solid storage hard disk data device according to claim 8, the warning information that described alarm module sends are one or more in sound, light, the electric signal.
CNA2008102177960A 2008-11-29 2008-11-29 Method and apparatus for restoring solid storage hard disk data Pending CN101436153A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008102177960A CN101436153A (en) 2008-11-29 2008-11-29 Method and apparatus for restoring solid storage hard disk data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008102177960A CN101436153A (en) 2008-11-29 2008-11-29 Method and apparatus for restoring solid storage hard disk data

Publications (1)

Publication Number Publication Date
CN101436153A true CN101436153A (en) 2009-05-20

Family

ID=40710600

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008102177960A Pending CN101436153A (en) 2008-11-29 2008-11-29 Method and apparatus for restoring solid storage hard disk data

Country Status (1)

Country Link
CN (1) CN101436153A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015101051A1 (en) * 2013-12-30 2015-07-09 华为技术有限公司 Method and apparatus for improving reliability of solid state disk
CN106909482A (en) * 2017-03-01 2017-06-30 郑州云海信息技术有限公司 A kind of method and device of solid-state disk service life detection
CN111324304A (en) * 2020-02-14 2020-06-23 西安奥卡云数据科技有限公司 Data protection method and device based on SSD hard disk life prediction

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015101051A1 (en) * 2013-12-30 2015-07-09 华为技术有限公司 Method and apparatus for improving reliability of solid state disk
CN106909482A (en) * 2017-03-01 2017-06-30 郑州云海信息技术有限公司 A kind of method and device of solid-state disk service life detection
CN111324304A (en) * 2020-02-14 2020-06-23 西安奥卡云数据科技有限公司 Data protection method and device based on SSD hard disk life prediction

Similar Documents

Publication Publication Date Title
US9886200B2 (en) Concurrent upgrade and backup of non-volatile memory
US7711981B2 (en) Information processing apparatus, backup device and information processing method
CN100481040C (en) Method for implementing real-time hot-plug of USB memory under TV embedded Linux system
US20090063895A1 (en) Scaleable and maintainable solid state drive
WO2006067550A1 (en) Hardware-initiated automated back-up of data from an internal memory of a hand-portable electronic device
CN101815983A (en) Method and system for preventing corruption of hard disk drive file system
CN103034592A (en) Data processing method and device
CN101281452A (en) Method for automatically rebuilding hard disk
CN101436153A (en) Method and apparatus for restoring solid storage hard disk data
CN102142010A (en) Method and equipment for inputting data to multimedia service database on embedded equipment
CN102355568A (en) Method and device for carrying out charged uninstallation and installation of hard disk for digital video recorder
CN203260027U (en) Backup device and data backup system
CN109445982A (en) Realize the data storage device of data reliable read write
CN103049391B (en) Data processing method and equipment
CN109358984A (en) The storage device of data recovery is carried out using temperature equalization data reconstruction method
US7321532B2 (en) Protection device and method of a read and write medium apparatus
US7127569B2 (en) Information handling system including media drive resume recording feature
TW201416852A (en) Method and system for automatically restoring RAID card
CN112784101B (en) Video data storage method and device and data storage equipment
US7028155B2 (en) Master-slave data management system and method
CN109375869A (en) Realize the method and system, storage medium of data reliable read write
CN200953144Y (en) Mobile memory device for computer or cellphone operating system and data recovery
KR101624918B1 (en) A removable storage device using video recording equipment to restore a system and method for a vehicle
CN201600927U (en) U disk data recovery device
JP3107817U (en) Wafer production facility storage and backup equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20090520