CN103713969A - Method and device for improving reliability of solid state disk - Google Patents
Method and device for improving reliability of solid state disk Download PDFInfo
- Publication number
- CN103713969A CN103713969A CN201310744083.0A CN201310744083A CN103713969A CN 103713969 A CN103713969 A CN 103713969A CN 201310744083 A CN201310744083 A CN 201310744083A CN 103713969 A CN103713969 A CN 103713969A
- Authority
- CN
- China
- Prior art keywords
- flash memory
- memory particle
- solid state
- particle
- hard disc
- 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
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0614—Improving the reliability of storage systems
- G06F3/0616—Improving the reliability of storage systems in relation to life time, e.g. increasing Mean Time Between Failures [MTBF]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/0223—User address space allocation, e.g. contiguous or non contiguous base addressing
- G06F12/023—Free address space management
- G06F12/0238—Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory
- G06F12/0246—Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory in block erasable memory, e.g. flash memory
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0646—Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
- G06F3/0647—Migration mechanisms
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0683—Plurality of storage devices
- G06F3/0688—Non-volatile semiconductor memory arrays
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/10—Providing a specific technical effect
- G06F2212/1032—Reliability improvement, data loss prevention, degraded operation etc
- G06F2212/1036—Life time enhancement
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/72—Details relating to flash memory management
- G06F2212/7211—Wear leveling
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
The embodiment of the invention provides a method and device for improving the reliability of a solid state disk. The method for improving the reliability of the solid state disk comprises the steps of judging whether first flash memory particles of the solid state disk are about to lose efficacy or not, if it is determined that the first flash memory particles are about to lose efficacy, data are forbidden from being written into the first flash memory particles, and migrating the data on the first flash memory particles to second flash memory particles on the solid state disk, wherein the second flash memory particles are effective particles of the solid state disk. Therefore, the problem that after the flash memory particles on the solid state disk lose efficacy, the reliability of the whole solid state disk cannot be ensured or even used is solved, and the reliability of the solid state disk is improved.
Description
Technical field
The embodiment of the present invention relates to the communication technology, relates in particular to the reliability method of a kind of raising solid state hard disc and device.
Background technology
Solid state hard disc (Solid State Disk is called for short SSD) generally adopts Sheffer stroke gate flash memory (NAND Flash) to realize, and is widely used in server, desktop computer, notebook, mobile device, game machine etc.Solid state hard disc (Solid State Disk, abbreviation SSD) flash memory particle mainly contains multiple field storage element (Multi Level Cell, be called for short MLC) and single-layer type storage element (Single Level Cell, be called for short SLC), due to MLC in price than cheap many of SLC, using is at present MLC the most widely.
Renewal along with the manufacturing technology of chip, the erasing and writing life of flash memory particle becomes more and more lower, corresponding make it read the life-span also to reduce, flash memory particle occurs that the probability of irrecoverable error is also increasing, and the intergranular reliability of different flash memory is also different.And the reliability of present SSD design dependency flash memory particle is more and more stronger, when some flash memory particles lost efficacy, will cause whole SSD no longer reliable.In prior art by set up Redundant Array of Independent Disks (RAID) (Redundant Array of Independent Disks between SSD; be called for short RAID); with redundancy hard disk, carry out the reliability that data protection guarantees SSD; yet; after a flash memory particle lost efficacy; still continue to use the flash memory particle of this inefficacy to cause loss of data, can not guarantee that the reliability of SSD even causes SSD not use.
Summary of the invention
The embodiment of the present invention provides the reliability method of a kind of raising solid state hard disc and device, and to solve after the flash memory particle of solid state hard disc lost efficacy, whole solid state hard disc reliability can not guarantee even out of use problem.
First aspect, the embodiment of the present invention provides the reliability method of a kind of raising solid state hard disc, comprising:
Whether the first flash memory particle that judges solid state hard disc is about to lose efficacy;
If determine, described the first flash memory particle is about to lose efficacy, and forbids to described the first flash memory particle data writing;
By the Data Migration on described the first flash memory particle to the second flash memory particle on described solid state hard disc, effective flash memory particle that described the second flash memory particle is described solid state hard disc.
In the possible implementation of the first of first aspect, whether described the first flash memory particle that judges solid state hard disc is about to lost efficacy, and comprising:
Add up the number of the piece in abnormality in described the first flash memory particle;
Whether the number of determining the piece in abnormality in described the first flash memory particle is more than or equal to the first predetermined threshold value;
If determine, the number of the piece in abnormality in described the first flash memory particle is more than or equal to the first predetermined threshold value, determines that described the first flash memory particle is about to lose efficacy.
According to first aspect, in the possible implementation of the second, whether described the first flash memory particle that judges solid state hard disc is about to lost efficacy, and comprising:
Add up the erasable number of times of described the first flash memory particle;
Whether the erasable number of times of determining described the first flash memory particle is more than or equal to the second predetermined threshold value;
If determine, the erasable number of times of described the first flash memory particle is more than or equal to the second predetermined threshold value, determines that described the first flash memory particle is about to lose efficacy.
According to the first of first aspect, first aspect or the possible implementation of the second, in the third possible implementation, described solid state hard disc comprises at least two flash memory particles, and each flash memory particle comprises at least one storage unit, and described method also comprises:
Between at least two described storage unit, set up RAID;
If judge, described the first flash memory particle lost efficacy, forbid to described the first flash memory particle data writing, and by comprising that the data of storing in other storage unit except the storage unit of described the first flash memory particle in the RAID of storage unit of described the first flash memory particle recover the data on described the first flash memory particle.
According to the third possible implementation of first aspect, in the 4th kind of possible implementation, after described data of storing in by other storage unit except the storage unit of described the first flash memory particle in comprising the RAID of storage unit of described the first flash memory particle are recovered the data on described the first flash memory particle, also comprise:
By the Data Migration after recovering to described the second flash memory particle.
Second aspect, the embodiment of the present invention provides a kind of raising solid state hard disc reliability device, comprising:
Judge module, for judging whether the first flash memory particle of solid state hard disc is about to lose efficacy;
Processing module, if for determining that described the first flash memory particle is about to lose efficacy, forbid to described the first flash memory particle data writing;
Data Migration module, for by the Data Migration on described the first flash memory particle to the second flash memory particle on described solid state hard disc, effective flash memory particle that described the second flash memory particle is described solid state hard disc.
In the possible implementation of the first of second aspect, described judge module, specifically for adding up the number of the piece in abnormality in described the first flash memory particle; Whether the number of determining the piece in abnormality in described the first flash memory particle is more than or equal to the first predetermined threshold value; If determine, the number of the piece in abnormality in described the first flash memory particle is more than or equal to the first predetermined threshold value, determines that described the first flash memory particle is about to lose efficacy.
According to second aspect, in the possible implementation of the second, described judge module, specifically for adding up the erasable number of times of described the first flash memory particle; Whether the erasable number of times of determining described the first flash memory particle is more than or equal to the second predetermined threshold value; If determine, the erasable number of times of described the first flash memory particle is more than or equal to the second predetermined threshold value, determines that described the first flash memory particle is about to lose efficacy.
According to the first of second aspect, second aspect or the possible implementation of the second, in the third possible implementation, described solid state hard disc comprises at least two flash memory particles, each flash memory particle comprises at least one storage unit, described processing module, also for setting up RAID between at least two described storage unit; If judge, described the first flash memory particle lost efficacy, forbid to described the first flash memory particle data writing, and by comprising that the data of storing in other storage unit except the storage unit of described the first flash memory particle in the RAID of storage unit of described the first flash memory particle recover the data on described the first flash memory particle.
According to the third possible implementation of second aspect, in the 4th kind of possible implementation, described Data Migration module, after also the data on described the first flash memory particle being recovered for the data of storing in other storage unit except the storage unit of described the first flash memory particle at the described RAID of storage unit by comprising described the first flash memory particle, by the Data Migration after recovering to described the second flash memory particle.
The embodiment of the present invention is by judging whether the first flash memory particle of solid state hard disc is about to lose efficacy, when judgement the first flash memory particle is about to lose efficacy, forbid to the first flash memory particle data writing, and by the Data Migration on the first flash memory particle to effective flash memory particle of the solid state hard disc on solid state hard disc.Thereby solved after the flash memory particle of solid state hard disc lost efficacy, whole solid state hard disc reliability can not guarantee even out of use problem, has improved the reliability of solid state hard disc.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The process flow diagram of the raising solid state hard disc reliability method that Fig. 1 provides for the embodiment of the present invention one;
The process flow diagram of the raising solid state hard disc reliability method that Fig. 2 provides for the embodiment of the present invention two;
The process flow diagram of the raising solid state hard disc reliability method that Fig. 3 provides for the embodiment of the present invention three;
The structural representation of the raising solid state hard disc reliability device 400 that Fig. 4 provides for the embodiment of the present invention four;
The structural representation of the raising solid state hard disc reliability device 500 that Fig. 5 provides for the embodiment of the present invention five.
Embodiment
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.
In order to make scheme clearer, the embodiment of the present invention is first done simple an introduction to solid state hard disc (Solid State Disk is called for short SSD).SSD is used semiconductor material Nand Flash as basic storage medium.NAND Flash is a kind of based non-volatile random access storage medium, be characterized in power-off after data do not disappear, therefore can be used as external memory storage and use.NAND Flash device is comprised of an internal register and storage matrix conventionally, storage matrix comprises some (Block), each Block comprises again some pages (Page), and each Page comprises some bytes (Bytes), and some Bytes is wherein proprietary data; The storage matrix size definition of every kind of NAND Flash chip is different, for example by a kind of NAND Flash, with 8640 Bytes, form a Page, 256 Page form a Block, 2048 Block form a Plane, 2 plane form LUN (Logical Unit), then form whole flash memory (Flash) storer by one or some LUN.Before in every page, 8192Bytes is for storing data, and rear 448Bytes is used for depositing error correcting code (Error Correction Code, ECC) data check code, is called band outer data (Out of Bank, OOB) district.
The process flow diagram of the raising solid state hard disc reliability method that Fig. 1 provides for the embodiment of the present invention one.The method is carried out by improving solid state hard disc reliability device, and this device is realized in the mode of hardware and/or software conventionally.The method of the present embodiment comprises the steps:
The flash memory particle of mentioning in the present embodiment refers to NAND Flash device, and what flash memory particle referred to is exactly a NAND Flash device.SSD is used semiconductor material Nand Flash device as basic storage medium.Change a kind of expression way, a SSD is usingd flash memory particle as basic storage medium, and a SSD can comprise a plurality of flash memory particles.Each flash memory particle can comprise a plurality of storage unit, and each storage unit can comprise a plurality of Die.Wherein, Die refers to the crystal grain before chip does not encapsulate, and is also usually said flash chip.Die is the small pieces (Die) that form by cut from Silicon Wafer, and its thickness need to be weighed by nanometer.Each Die can be an independently functional chip, and it is comprised of numerous transistor circuit, but is used as Yi Ge unit and packed our the common flash chip that becomes the most at last.The capacity of single Die is generally 4GB (SLC) or 8GB (MLC) at present, if comprise 2 flash memory particles in a SSD, each flash memory particle comprises 2 storage unit, each storage unit comprises 2 Die, a SSD comprises 8 Die, and this SSD just can accomplish 32GB or 64GB.
In prior art due to after flash memory particle at SSD lost efficacy, still continue to use the flash memory particle losing efficacy, therefore cause loss of data, cause the reliability of SSD not guarantee, step 110 in the present embodiment passes through to judge whether the first flash memory particle of solid state hard disc is about to lose efficacy, thereby the Data Migration on the first flash memory particle that is about to lose efficacy can be gone to other space of this SSD.
If step 120 judgement the first flash memory particle is about to lose efficacy, forbid to the first flash memory particle data writing.
There is the flash memory particle of three kinds of states: effective flash memory particle, the flash memory particle and the inefficacy flash memory particle that will soon lose efficacy.Therefore in 120~130, when judgement the first flash memory particle is about to lose efficacy, forbid to the first flash memory particle data writing, to avoid loss of data, and by the Data Migration on the first flash memory particle to the effective flash memory particle on solid state hard disc.It should be noted that, if determine that the first flash memory particle is not in being about to failure state, can, by dynamic monitoring the first flash memory particle, continue to carry out 110 to determine whether the first flash memory particle is about to lose efficacy.
The raising solid state hard disc reliability method that the present embodiment provides, by, forbidding to the first flash memory particle data writing while being about to lose efficacy at judgement the first flash memory particle, and by the Data Migration on the first flash memory particle to the effective flash memory particle on solid state hard disc.Thereby solved after the flash memory particle of solid state hard disc lost efficacy, whole solid state hard disc reliability can not guarantee even out of use problem, has improved the reliability of solid state hard disc.
The present embodiment be take above-described embodiment one as basis, is further optimized the process flow diagram of the raising solid state hard disc reliability method that Fig. 2 provides for the embodiment of the present invention two.With reference to Fig. 2, the method for the present embodiment can comprise:
The number of the piece in abnormality in step 210, statistics the first flash memory particle.
The flash memory granule interior tissue of solid state hard disc is that to take flash block (block) be unit, the main state of flash block inside has 5 kinds: normal flash block, occur check errors flash block, wipe the flash block of failure, the flash block of program fail, there is the flash block of error correcting code, in these 5 kinds of flash block, only having normal flash block is normal condition, and other four kinds of flash block are abnormality.If the flash block of these abnormality is too much, and continue to use the flash block in abnormality, can cause loss of data, cause the reliability of solid state hard disc to reduce, even can not use.By adding up these abnormal mass data, predict in time whether flash memory particle lost efficacy, in the situation that losing efficacy, do not re-use the flash memory particle of this inefficacy.
If step 230 is determined the number of the interior piece in abnormality of the first flash memory particle and is more than or equal to the first predetermined threshold value, determine that the first flash memory particle is about to lose efficacy.
It should be noted that, carrying out 210 o'clock, if the flash block counting is nearly all the piece in abnormality or is all the piece in abnormality, can determine that the first flash memory particle is about to lose efficacy, forbid to the first flash memory particle data writing, to avoid continuing use at the first flash memory particle in the situation that being about to lose efficacy, cause loss of data, cause the reliability of solid state hard disc to reduce, even cause the not spendable situation of solid state hard disc to occur.
If step 240 determines that the first flash memory particle is about to lose efficacy, forbid to the first flash memory particle data writing.
It should be noted that, solid state hard disc comprises at least two flash memory particles, each flash memory particle comprises at least one storage unit, and can set up RAID between at least two storage unit, if judgement the first flash memory particle lost efficacy, can forbid to the first flash memory particle data writing, and by comprising that the data of storing in other storage unit except the storage unit of the first flash memory particle in the RAID of storage unit of the first flash memory particle recover the data on the first flash memory particle, and by the Data Migration after recovering to the second flash memory particle.Therefore by the RAID setting up between storage unit, not only can recover the data on flash memory particle; and owing to being the RAID setting up between the storage unit of solid state hard disc; therefore do not need redundancy solid state hard disc just can protect data, thereby saved resource.
The raising solid state hard disc reliability method that the present embodiment provides, by adding up the abnormal mass number of the first flash memory particle, when abnormal mass number is more than or equal to the first predetermined threshold value, determine that the first flash memory particle is about to lose efficacy, after this no longer to the first flash memory particle data writing, and by the Data Migration on the first flash memory particle to the second flash memory particle.Thereby solved after the flash memory particle of solid state hard disc lost efficacy, whole solid state hard disc reliability can not guarantee even out of use problem, has improved the reliability of solid state hard disc.The method of the present embodiment is applicable at the flash memory particle of solid state hard disc in the situation that being about to lose efficacy, forbid the flash memory particle data writing losing efficacy to being about to, therefore can guarantee can not use the flash memory particle of this inefficacy after the flash memory particle that is about to lose efficacy at this lost efficacy, thereby can guarantee the reliability of solid state hard disc.
The present embodiment be take above-described embodiment one as basis, is further optimized the process flow diagram of the raising solid state hard disc reliability method that Fig. 3 provides for the embodiment of the present invention three.With reference to Fig. 3, the method for the present embodiment can comprise:
The erasable number of times of step 310, statistics the first flash memory particle.There is the erasable number of times of general employing in serviceable life of NAND Flash chip in solid state hard disc to determine.The NAND Flash chip of single-layer type storage element type is can 100,000 times erasable, the NAND Flash chip of multiple field storage element type be generally less than 10,000 times erasable, the NAND Flash chip of three-layer type Storage Unit Type be generally less than 1,000 times erasable.Therefore, in embodiments of the present invention, can predict whether flash memory particle lost efficacy by the erasable number of times of flash memory particle in statistics solid state hard disc.
If step 330 is determined the erasable number of times of the first flash memory particle and is more than or equal to the second predetermined threshold value, determine that the first flash memory particle is about to lose efficacy.
If step 340 determines that the first flash memory particle is about to lose efficacy, forbid to the first flash memory particle data writing.
The raising solid state hard disc reliability method that the present embodiment provides, the erasable number of times having used by adding up the first flash memory particle, if determine, the erasable number of times that the first flash memory particle has been used is more than or equal to the second predetermined threshold value, determine that the first flash memory particle is about to lose efficacy, after this no longer to the first flash memory particle data writing, and by the Data Migration on the first flash memory particle to the second flash memory particle.Thereby solved after the flash memory particle of solid state hard disc lost efficacy, whole solid state hard disc reliability can not guarantee even out of use problem, has improved the reliability of solid state hard disc.
The structural representation of the raising solid state hard disc reliability device 400 that Fig. 4 provides for the embodiment of the present invention four.This device is realized in the mode of hardware and/or software conventionally.With reference to Fig. 4, this device comprises as lower module: judge module 410, processing module 420 and Data Migration module 430.
Further, judge module 410, specifically for adding up the number of the piece in abnormality in the first flash memory particle; Whether the number of determining the piece in abnormality in the first flash memory particle is more than or equal to the first predetermined threshold value; If determine, the number of the piece in abnormality in the first flash memory particle is more than or equal to the first predetermined threshold value, determines that the first flash memory particle is about to lose efficacy.
Optionally, judge module 410, specifically for adding up the erasable number of times of the first flash memory particle; Whether the erasable number of times of determining the first flash memory particle is more than or equal to the second predetermined threshold value; If determine, the erasable number of times of the first flash memory particle is more than or equal to the second predetermined threshold value, determines that the first flash memory particle is about to lose efficacy.
Further, solid state hard disc comprises at least two flash memory particles, and each flash memory particle comprises at least one storage unit, and processing module 420, also for setting up RAID between at least two storage unit; If judgement the first flash memory particle lost efficacy, forbid to the first flash memory particle data writing, and by comprising that the data of storing in other storage unit except the storage unit of the first flash memory particle in the RAID of storage unit of the first flash memory particle recover the data on the first flash memory particle.
Further, after the data that Data Migration module 430 is also stored in other storage unit except the storage unit of the first flash memory particle for the RAID of storage unit by comprising the first flash memory particle are recovered the data on the first flash memory particle, by the Data Migration after recovering to the second flash memory particle.
The raising solid state hard disc reliability device that the present embodiment provides, by, forbidding to the first flash memory particle data writing while being about to lose efficacy at judgement the first flash memory particle, and by the Data Migration on the first flash memory particle to the effective flash memory particle on solid state hard disc.Thereby solved after the flash memory particle of solid state hard disc lost efficacy, whole solid state hard disc reliability can not guarantee even out of use problem, has improved the reliability of solid state hard disc.
The structural representation of the raising solid state hard disc reliability device 500 that Fig. 5 provides for the embodiment of the present invention five, with reference to Fig. 5, this device comprises: processor 501, storer 502, communication interface 503 and bus 504.Wherein, processor 501, storer 502, communication interface 503 interconnect by bus 504.
The stored program of processor 501 execute store 502, realizes and improves solid state hard disc reliability method, comprising:
Further, processor 501 is specifically for adding up the number of the piece in abnormality in the first flash memory particle; Whether the number of determining the piece in abnormality in the first flash memory particle is more than or equal to the first predetermined threshold value; If determine, the number of the piece in abnormality in the first flash memory particle is more than or equal to the first predetermined threshold value, determines that the first flash memory particle is about to lose efficacy.
Optionally, processor 501 is specifically for adding up the erasable number of times of the first flash memory particle; Whether the erasable number of times of determining the first flash memory particle is more than or equal to the second predetermined threshold value; If determine, the erasable number of times of the first flash memory particle is more than or equal to the second predetermined threshold value, determines that the first flash memory particle is about to lose efficacy.
Further, solid state hard disc comprises at least two flash memory particles, and each flash memory particle comprises at least one storage unit, and processor 501 also for setting up RAID between at least two storage unit; If judgement the first flash memory particle lost efficacy, forbid to the first flash memory particle data writing, and by comprising that the data of storing in other storage unit except the storage unit of the first flash memory particle in the RAID of storage unit of the first flash memory particle recover the data on the first flash memory particle.
Further, after the data that processor 501 is also stored in other storage unit except the storage unit of the first flash memory particle for the RAID of storage unit by comprising the first flash memory particle are recovered the data on the first flash memory particle, by the Data Migration after recovering to the second flash memory particle.
The raising solid state hard disc reliability device that the present embodiment provides, by, forbidding to the first flash memory particle data writing while being about to lose efficacy at judgement the first flash memory particle, and by the Data Migration on the first flash memory particle to the effective flash memory particle on solid state hard disc.Thereby solved after the flash memory particle of solid state hard disc lost efficacy, whole solid state hard disc reliability can not guarantee even out of use problem, has improved the reliability of solid state hard disc.
One of ordinary skill in the art will appreciate that: all or part of step that realizes above-mentioned each embodiment of the method can complete by the relevant hardware of programmed instruction.Aforesaid program can be stored in a computer read/write memory medium.This program, when carrying out, is carried out the step that comprises above-mentioned each embodiment of the method; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CDs.
Finally it should be noted that: each embodiment, only in order to technical scheme of the present invention to be described, is not intended to limit above; Although the present invention is had been described in detail with reference to aforementioned each embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or some or all of technical characterictic is wherein equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.
Claims (10)
1. improve a solid state hard disc reliability method, it is characterized in that, comprising:
Whether the first flash memory particle that judges solid state hard disc is about to lose efficacy;
If determine, described the first flash memory particle is about to lose efficacy, and forbids to described the first flash memory particle data writing;
By the Data Migration on described the first flash memory particle to the second flash memory particle on described solid state hard disc, effective flash memory particle that described the second flash memory particle is described solid state hard disc.
2. method according to claim 1, is characterized in that, whether described the first flash memory particle that judges solid state hard disc is about to lost efficacy, and comprising:
Add up the number of the piece in abnormality in described the first flash memory particle;
Whether the number of determining the piece in abnormality in described the first flash memory particle is more than or equal to the first predetermined threshold value;
If determine, the number of the piece in abnormality in described the first flash memory particle is more than or equal to the first predetermined threshold value, determines that described the first flash memory particle is about to lose efficacy.
3. method according to claim 1, is characterized in that, whether described the first flash memory particle that judges solid state hard disc is about to lost efficacy, and comprising:
Add up the erasable number of times of described the first flash memory particle;
Whether the erasable number of times of determining described the first flash memory particle is more than or equal to the second predetermined threshold value;
If determine, the erasable number of times of described the first flash memory particle is more than or equal to the second predetermined threshold value, determines that described the first flash memory particle is about to lose efficacy.
4. according to the method described in any one in claim 1~3, it is characterized in that, described solid state hard disc comprises at least two flash memory particles, and each flash memory particle comprises at least one storage unit, and described method also comprises:
Between at least two described storage unit, set up RAID;
If judge, described the first flash memory particle lost efficacy, forbid to described the first flash memory particle data writing, and by comprising that the data of storing in other storage unit except the storage unit of described the first flash memory particle in the RAID of storage unit of described the first flash memory particle recover the data on described the first flash memory particle.
5. method according to claim 4, it is characterized in that, after described data of storing in by other storage unit except the storage unit of described the first flash memory particle in comprising the RAID of storage unit of described the first flash memory particle are recovered the data on described the first flash memory particle, also comprise:
By the Data Migration after recovering to described the second flash memory particle.
6. improve a solid state hard disc reliability device, it is characterized in that, comprising:
Judge module, for judging whether the first flash memory particle of solid state hard disc is about to lose efficacy;
Processing module, if for determining that described the first flash memory particle is about to lose efficacy, forbid to described the first flash memory particle data writing;
Data Migration module, for by the Data Migration on described the first flash memory particle to the second flash memory particle on described solid state hard disc, effective flash memory particle that described the second flash memory particle is described solid state hard disc.
7. device according to claim 6, is characterized in that:
Described judge module, specifically for adding up the number of the piece in abnormality in described the first flash memory particle; Whether the number of determining the piece in abnormality in described the first flash memory particle is more than or equal to the first predetermined threshold value; If determine, the number of the piece in abnormality in described the first flash memory particle is more than or equal to the first predetermined threshold value, determines that described the first flash memory particle is about to lose efficacy.
8. device according to claim 6, is characterized in that:
Described judge module, specifically for adding up the erasable number of times of described the first flash memory particle; Whether the erasable number of times of determining described the first flash memory particle is more than or equal to the second predetermined threshold value; If determine, the erasable number of times of described the first flash memory particle is more than or equal to the second predetermined threshold value, determines that described the first flash memory particle is about to lose efficacy.
9. according to the device described in any one in claim 6~8, it is characterized in that: described solid state hard disc comprises at least two flash memory particles, each flash memory particle comprises at least one storage unit;
Described processing module, also for setting up RAID between at least two described storage unit; If judge, described the first flash memory particle lost efficacy, forbid to described the first flash memory particle data writing, and by comprising that the data of storing in other storage unit except the storage unit of described the first flash memory particle in the RAID of storage unit of described the first flash memory particle recover the data on described the first flash memory particle.
10. device according to claim 9, is characterized in that:
Described Data Migration module, after also the data on described the first flash memory particle being recovered for the data of storing in other storage unit except the storage unit of described the first flash memory particle at the described RAID of storage unit by comprising described the first flash memory particle, by the Data Migration after recovering to described the second flash memory particle.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310744083.0A CN103713969A (en) | 2013-12-30 | 2013-12-30 | Method and device for improving reliability of solid state disk |
PCT/CN2014/084593 WO2015101051A1 (en) | 2013-12-30 | 2014-08-18 | Method and apparatus for improving reliability of solid state disk |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310744083.0A CN103713969A (en) | 2013-12-30 | 2013-12-30 | Method and device for improving reliability of solid state disk |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103713969A true CN103713969A (en) | 2014-04-09 |
Family
ID=50406970
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310744083.0A Pending CN103713969A (en) | 2013-12-30 | 2013-12-30 | Method and device for improving reliability of solid state disk |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103713969A (en) |
WO (1) | WO2015101051A1 (en) |
Cited By (11)
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 |
CN105096993A (en) * | 2015-09-21 | 2015-11-25 | 联想(北京)有限公司 | Solid state drives, electronic equipment and information processing method |
CN105159800A (en) * | 2015-09-10 | 2015-12-16 | 华为技术有限公司 | Data recovery method, data backup method, data recovery equipment, data backup equipment, data recovery system and data backup system |
CN105204780A (en) * | 2015-09-14 | 2015-12-30 | 联想(北京)有限公司 | Information processing method, solid-state hard disk and electronic equipment |
CN107885457A (en) * | 2016-09-30 | 2018-04-06 | 华为技术有限公司 | A kind of solid-state hard disk SSD, storage device and date storage method |
CN108762670A (en) * | 2018-05-22 | 2018-11-06 | 郑州云海信息技术有限公司 | Management method, system and the device of data block in a kind of SSD firmwares |
CN110364216A (en) * | 2018-04-09 | 2019-10-22 | 合肥沛睿微电子股份有限公司 | Solid state hard disk and its operation method |
CN111104056A (en) * | 2018-10-25 | 2020-05-05 | 华为技术有限公司 | Data recovery method, system and device in storage system |
CN114281265A (en) * | 2021-12-28 | 2022-04-05 | 深圳大普微电子科技有限公司 | Storage medium failure processing method and device and solid state disk |
CN114550772A (en) * | 2022-03-10 | 2022-05-27 | 北京得瑞领新科技有限公司 | Method for managing particles in NAND flash memory, storage medium and storage device |
CN116302633A (en) * | 2023-01-18 | 2023-06-23 | 北京得瑞领新科技有限公司 | Logical unit failure management method, device, medium and equipment of flash memory |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105630623A (en) * | 2015-12-31 | 2016-06-01 | 深圳市金胜电子科技有限公司 | Flash memory particle detection device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040260967A1 (en) * | 2003-06-05 | 2004-12-23 | Copan Systems, Inc. | Method and apparatus for efficient fault-tolerant disk drive replacement in raid storage systems |
CN101004935A (en) * | 2006-01-17 | 2007-07-25 | 株式会社东芝 | Information recording apparatus and control method thereof |
CN101097531A (en) * | 2006-06-28 | 2008-01-02 | 联想(北京)有限公司 | Computer RAID array early-warning system and method |
CN102508620A (en) * | 2011-12-01 | 2012-06-20 | 浪潮电子信息产业股份有限公司 | Method for processing RAID5 (Redundant Array of Independent Disks) bad sector |
CN102521058A (en) * | 2011-12-01 | 2012-06-27 | 北京威视数据系统有限公司 | Disk data pre-migration method of RAID (Redundant Array of Independent Disks) group |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101727397B (en) * | 2008-10-20 | 2012-06-27 | 群联电子股份有限公司 | Block management and change method, flash memory storage system and controller thereof |
CN101436153A (en) * | 2008-11-29 | 2009-05-20 | 成都市华为赛门铁克科技有限公司 | Method and apparatus for restoring solid storage hard disk data |
CN101504625B (en) * | 2009-03-04 | 2010-07-28 | 成都市华为赛门铁克科技有限公司 | Method for implementing independent disk redundancy array, solid state disk and electronic equipment |
CN102043689B (en) * | 2010-12-28 | 2012-11-07 | 武汉固捷联讯科技有限公司 | Fault tolerance design method for solid-state memory device |
CN103713969A (en) * | 2013-12-30 | 2014-04-09 | 华为技术有限公司 | Method and device for improving reliability of solid state disk |
-
2013
- 2013-12-30 CN CN201310744083.0A patent/CN103713969A/en active Pending
-
2014
- 2014-08-18 WO PCT/CN2014/084593 patent/WO2015101051A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040260967A1 (en) * | 2003-06-05 | 2004-12-23 | Copan Systems, Inc. | Method and apparatus for efficient fault-tolerant disk drive replacement in raid storage systems |
CN101004935A (en) * | 2006-01-17 | 2007-07-25 | 株式会社东芝 | Information recording apparatus and control method thereof |
CN101097531A (en) * | 2006-06-28 | 2008-01-02 | 联想(北京)有限公司 | Computer RAID array early-warning system and method |
CN102508620A (en) * | 2011-12-01 | 2012-06-20 | 浪潮电子信息产业股份有限公司 | Method for processing RAID5 (Redundant Array of Independent Disks) bad sector |
CN102521058A (en) * | 2011-12-01 | 2012-06-27 | 北京威视数据系统有限公司 | Disk data pre-migration method of RAID (Redundant Array of Independent Disks) group |
Non-Patent Citations (1)
Title |
---|
SOOJUN IM AND DONGKUN SHIN: "Flash-Aware RAID Techniques for Dependable and High-Performance Flash Memory SSD", 《IEEE TRANSACTIONS ON COMPUTERS》 * |
Cited By (22)
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 |
CN105159800A (en) * | 2015-09-10 | 2015-12-16 | 华为技术有限公司 | Data recovery method, data backup method, data recovery equipment, data backup equipment, data recovery system and data backup system |
CN109522154B (en) * | 2015-09-10 | 2023-02-03 | 华为技术有限公司 | Data recovery method and related equipment and system |
CN105159800B (en) * | 2015-09-10 | 2018-11-16 | 华为技术有限公司 | Data reconstruction method, data back up method and relevant device, system |
CN109522154A (en) * | 2015-09-10 | 2019-03-26 | 华为技术有限公司 | Data reconstruction method and relevant device and system |
CN105204780A (en) * | 2015-09-14 | 2015-12-30 | 联想(北京)有限公司 | Information processing method, solid-state hard disk and electronic equipment |
CN105204780B (en) * | 2015-09-14 | 2019-03-22 | 北京联想核芯科技有限公司 | Information processing method, solid state hard disk and electronic equipment |
CN105096993A (en) * | 2015-09-21 | 2015-11-25 | 联想(北京)有限公司 | Solid state drives, electronic equipment and information processing method |
CN105096993B (en) * | 2015-09-21 | 2017-11-07 | 北京联想核芯科技有限公司 | Solid state hard disc, electronic equipment and information processing method |
CN107885457A (en) * | 2016-09-30 | 2018-04-06 | 华为技术有限公司 | A kind of solid-state hard disk SSD, storage device and date storage method |
CN110364216A (en) * | 2018-04-09 | 2019-10-22 | 合肥沛睿微电子股份有限公司 | Solid state hard disk and its operation method |
CN108762670B (en) * | 2018-05-22 | 2021-06-29 | 郑州云海信息技术有限公司 | Management method, system and device for data blocks in SSD (solid State disk) firmware |
CN108762670A (en) * | 2018-05-22 | 2018-11-06 | 郑州云海信息技术有限公司 | Management method, system and the device of data block in a kind of SSD firmwares |
CN111104056A (en) * | 2018-10-25 | 2020-05-05 | 华为技术有限公司 | Data recovery method, system and device in storage system |
CN111552435A (en) * | 2018-10-25 | 2020-08-18 | 华为技术有限公司 | Data recovery method, system and device in storage system |
CN111104056B (en) * | 2018-10-25 | 2021-12-31 | 华为技术有限公司 | Data recovery method, system and device in storage system |
CN114281265A (en) * | 2021-12-28 | 2022-04-05 | 深圳大普微电子科技有限公司 | Storage medium failure processing method and device and solid state disk |
WO2023124571A1 (en) * | 2021-12-28 | 2023-07-06 | 深圳大普微电子科技有限公司 | Storage medium failure processing method and apparatus, and solid state disk |
CN114281265B (en) * | 2021-12-28 | 2023-08-15 | 深圳大普微电子科技有限公司 | Storage medium failure processing method and device and solid state disk |
CN114550772A (en) * | 2022-03-10 | 2022-05-27 | 北京得瑞领新科技有限公司 | Method for managing particles in NAND flash memory, storage medium and storage device |
CN116302633A (en) * | 2023-01-18 | 2023-06-23 | 北京得瑞领新科技有限公司 | Logical unit failure management method, device, medium and equipment of flash memory |
CN116302633B (en) * | 2023-01-18 | 2024-04-09 | 北京得瑞领新科技有限公司 | Logical unit failure management method, device, medium and equipment of flash memory |
Also Published As
Publication number | Publication date |
---|---|
WO2015101051A1 (en) | 2015-07-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103713969A (en) | Method and device for improving reliability of solid state disk | |
US9715939B2 (en) | Low read data storage management | |
KR101655306B1 (en) | Memory system and access method thereof | |
TWI419161B (en) | Memory system storing management information and method of controlling the same | |
US10048863B1 (en) | Open block refresh management | |
US11036421B2 (en) | Apparatus and method for retaining firmware in memory system | |
US8533385B2 (en) | Method for preventing read-disturb happened in non-volatile memory and controller thereof | |
US20130024735A1 (en) | Solid-state memory-based storage method and device with low error rate | |
US9858002B1 (en) | Open block stability scanning | |
US10762967B2 (en) | Recovering from failure in programming a nonvolatile memory | |
CN111400200A (en) | Controller and operation method thereof | |
US10437512B2 (en) | Techniques for non-volatile memory page retirement | |
KR20110036816A (en) | Method and apparatus for error correction according to erase counts of a solid-state memory | |
US20110138254A1 (en) | Method for reducing uncorrectable errors of a memory device regarding error correction code, and associated memory device and controller thereof | |
US9952978B2 (en) | Method for improving mixed random performance in low queue depth workloads | |
KR102282879B1 (en) | Method and system for using nand page buffers to improve the transfer buffer utilization of a solid state drive | |
WO2021101581A1 (en) | Ssd system using power-cycle based read scrub | |
US20240202084A1 (en) | Cache program with backup blocks | |
US11269645B2 (en) | Storage system and method for implementing an encoder, decoder, and/or buffer using a field programmable gate array | |
US20240256454A1 (en) | Tokens to indicate completion of data storage | |
CN111984462B (en) | Pre-warning-free power-off restoration management method, memory device, controller and electronic device | |
WO2021216125A1 (en) | Storage devices having minimum write sizes of data | |
KR101645829B1 (en) | Apparatuses and methods for storing validity masks and operating apparatuses | |
US11513890B1 (en) | Adaptive read scrub | |
TWI823649B (en) | Control method of flash memory controller, flash memory controller, and electronic device |
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: 20140409 |