CN101388255A - Solid hard disk using method and apparatus - Google Patents

Solid hard disk using method and apparatus Download PDF

Info

Publication number
CN101388255A
CN101388255A CNA2008101723159A CN200810172315A CN101388255A CN 101388255 A CN101388255 A CN 101388255A CN A2008101723159 A CNA2008101723159 A CN A2008101723159A CN 200810172315 A CN200810172315 A CN 200810172315A CN 101388255 A CN101388255 A CN 101388255A
Authority
CN
China
Prior art keywords
storage unit
advance
data block
keeps
solid state
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
CNA2008101723159A
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 CNA2008101723159A priority Critical patent/CN101388255A/en
Publication of CN101388255A publication Critical patent/CN101388255A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The example of the invention discloses a use method of a solid harddisk and a device, wherein the method comprises the following steps: whether a reservation block which is used to replace a wrong block in a current storage unit of the solid harddisk is exhausted is detected, when the reservation block in the current storage unit is exhausted, other storage units of the solid harddisk obtain data blocks which are preliminarily reserved to replace the wrong blocks in the storage unit. The example of the invention replaces the wrong blocks in the solid harddisk through obtaining the data blocks which are preliminarily reserved, which leads the data blocks which are preliminarily reserved in a certain storage unit by the solid harddisk to be continuously used when using out, thereby prolonging the service life of the solid harddisk.

Description

A kind of using method of solid state hard disc and device
Technical field
The embodiment of the invention relates to area information storage, relates in particular to a kind of using method and device of solid state hard disc.
Background technology
SSD (solid state disk, solid state hard disc) is made up of control module and memory module usually.Wherein, memory module adopts non-volatile Flash (flash memory) chip to constitute more.And SSD does not have mechanical rotation device, thereby SSD has the readwrite performance height, advantages such as shock resistance is strong, and the power supply expense is little, and be widely used in fields such as military affairs, vehicle-mounted, industry control, video monitoring, network monitoring, the network terminal, electric power, medical treatment, aviation, navigator.
Flash SSD can be divided into SLC (Single Level Cell, single-layer type) storage, with two kinds of MLC (MultiLevel Cell, multiple field) storages.All there is the erasing and writing life problem in two media, about 100,000 times of SLC, and about 10,000 times of MLC if the user can obtain accurately early warning information then can shift to an earlier date Backup Data before the SSD life termination, guarantees safety of data.
The storage organization of existing Flash chip is divided according to the mode of Layer (layer), Plane (face), and storage unit is Plane.For replacing the bad piece that occurs in the use, usually delimit certain zone among each Plane and be reserved as the reserved area, reserve part data block in advance, this part data that keep in advance can be used for replacing the bad piece that the SSD use produces soon, also can be used to store some redundant informations.The data block that keeps in advance that has some among each Plane can be replaced bad piece with the data block that keeps in advance when bad piece occurring among the current Plane, announce this SSD life termination after the data block that keeps in advance among a certain Plane uses.
Concrete, in the solid state hard disc data storage procedure, when bad piece appears in certain Plane that is used for storing data, can be according to the address information of the data block that keeps in advance directly with data storage in the data block that keeps in advance, realize replacing the purpose of bad piece.
In implementing process of the present invention, the inventor finds to exist at least in the prior art following shortcoming:
As long as will announce the Fixed disk life termination when data block that keeps in advance in certain page level storage unit has exhausted, thereby influence the serviceable life of solid state hard disc.
Summary of the invention
The embodiment of the invention provides a kind of using method and device of solid state hard disc, to realize can continuing to use this solid state hard disc when reserved block exhausts in certain storage unit.
The embodiment of the invention provides a kind of using method of solid state hard disc, may further comprise the steps:
Whether detect the data block that keeps in advance that is used to replace bad piece in the current memory cell of solid state hard disc exhausts;
When the data block that keeps in advance in the described current memory cell exhausts, obtain the data block that keeps in advance to other storage unit of described solid state hard disc and replace bad piece in the described storage unit.
The embodiment of the invention provides a kind of control device of solid state hard disc, comprising:
Whether the data block that keeps in advance that detecting unit, the current memory cell that is used for detecting solid state hard disc are used to replace bad piece exhausts;
Replace the unit, be used for when data block that described current memory cell keeps in advance exhausts, data block from reservation in advance to other storage unit of described solid state hard disc that obtain is replaced the bad piece in the described storage unit.
Compared with prior art, the embodiment of the invention has the following advantages at least:
By obtaining the bad piece in the data block replacement solid state hard disc that keeps in advance, the data block that solid state hard disc is kept in a certain storage unit in advance can continue when exhausting to use, thereby has prolonged the serviceable life of solid state hard disc.
Description of drawings
The schematic flow sheet of the method that Fig. 1 provides for the embodiment of the invention;
The schematic flow sheet of the method that Fig. 2 provides for another embodiment of the present invention;
The structural representation of Flash chip in the method that Fig. 3 provides for the embodiment of the invention;
The structural representation of the device that Fig. 4 provides for the embodiment of the invention;
The structural representation of the device that Fig. 5 provides for another embodiment of the present invention.
Embodiment
Below in conjunction with the drawings and specific embodiments the present invention is further introduced.
The embodiment of the invention provides a kind of using method of solid state hard disc, as shown in Figure 1, may further comprise the steps:
Whether step s101 detects the data block that keeps in advance that is used to replace bad piece in the current memory cell of solid state hard disc and exhausts;
Step s102 when the data block that keeps in advance in the current memory cell exhausts, obtains the data block that keeps in advance to other storage unit of solid state hard disc and replaces bad piece in the storage unit.
By the method that adopts the embodiment of the invention to provide, obtain the bad piece in the data block replacement solid state hard disc that keeps in advance, the data block that solid state hard disc is kept in a certain storage unit in advance can continue when exhausting to use, thereby has prolonged the serviceable life of solid state hard disc.
Below in conjunction with concrete application scenarios the embodiment of the invention is further introduced.Wherein, the storage organization of solid state hard disc is an example with the Flash chip structure, and storage unit is an example with Plane, Layer, and the data block of Bao Liuing abbreviates reserved block as in advance.
The embodiment of the invention provides a kind of using method of solid state hard disc, as shown in Figure 2, may further comprise the steps:
Step s201 when bad piece occurring among a certain Plane of solid state hard disc, utilizes the data block that keeps in advance among this Plane to replace the bad piece that occurs.
As shown in Figure 3, the storage organization of Flash chip is divided according to the mode of Layer, Plane, and storage unit is Plane.For replacing the bad piece that occurs in the use, mark certain zone among each Plane and be reserved as the reserved area, reserve part data block in advance, this part data block that keeps in advance can be called reserved block, and reserved block can be used for replacing the bad piece that solid state hard disc occurs.The reserved block that has some among each Plane can be replaced bad piece with this reserved block when bad piece occurring among the current Plane, make solid state hard disc can continue to use.
Step s202 when certain Plane reserved block exhausts, if still have available reserved block among other Plane under the same Layer, then directly obtains the reserved block among this other Plane.
When certain Plane reserved block exhausts, can travel through the reserved block among other Plane, if this reserved block is not used, then obtain this reserved block; Also can set in advance statistical table and be used for adding up the reserved block information among the Plane under each Layer of Flash chip, when certain Plane reserved block exhausts, can obtain reserved block according to the reserved block information that is not used among other Plane under this Plane place Layer that adds up in this statistical table.
Step s203 when the reserved block among other Plane under the same Layer exhausts, then obtains the reserved block under other Layer.
The solid state storage unit that provides in the embodiment of the invention is a two-stage, i.e. Plane and Layer; When the storage unit of solid state hard disc is more senior in addition, then obtain reserved block to more higher leveled storage unit successively, the reserved block in solid state hard disc in all storage unit exhausts.
The method of obtaining reserved block from other Plane can set in advance, and for example, can be set to adopt the mode of traversal to obtain reserved block from other Plane.Also can set in advance in the statistical table statistics Flash chip reserved block information among the Plane under each Layer, obtain reserved block under the corresponding Layer according to the statistical information of this statistical table.
Step s204 sends early warning signal when a certain Plane brings into use another Plane reserved block.
Solid state hard disc is using reserved block to replace in the process of bad piece, and the Plane that can set in advance bad piece of monitoring appearance gets access to the rank of other storage unit at reserved block place; Can send different early warning signals according to other difference of other memory cell level.When using up, the reserved block in the solid state hard disc sends the life termination prompting.
The mode of sending of this early warning signal can have multiple, for example with sound and light signal as early warning signal.Acousto-optic device is linked to each other with control module in the solid state hard disc, switching mode is set.Reserved block exhausts in a certain Plane in this solid state hard disc, and when getting access to the reserved block in other storage unit, control module is sent sound and light signal according to the switching mode guide sound electro-optical device that is provided with.
By the method that adopts the embodiment of the invention to provide, obtain the bad piece in the reserved block replacement solid state hard disc, make this hard disk when the reserved block of a certain storage unit exhausts, can continue to use, prolonged the serviceable life of solid state hard disc.
The embodiment of the invention provides a kind of control device of solid state hard disc, as shown in Figure 4, comprising:
Whether the data block that keeps in advance that detecting unit 41, the current memory cell that is used for detecting solid state hard disc are used to replace bad piece exhausts;
Replace unit 42, be used for when detecting unit 41 detects data block that current memory cell keeps in advance and exhausts, obtain bad piece in the data block replacement storage unit of reservation in advance to other storage unit of solid state hard disc.
The control device of the solid state hard disc that further embodiment of this invention provides as shown in Figure 5, also comprises:
Prewarning unit 43 is used for sending early warning signal when obtaining the data block that keeps in advance from other storage unit.
Above-mentioned replacement unit 42 comprises:
First obtains subelement 421, is used for obtaining the data block that keeps in advance to other storage unit of peer;
Second obtains subelement 422, is used for obtaining to higher leveled storage unit when data block that all at the same level storage unit keep in advance exhausts;
The 3rd obtains subelement 423, is used for obtaining to more higher leveled storage unit successively when all data blocks that keep in advance of higher leveled storage unit exhaust, and the data block that keeps in advance in other storage unit of all grades in solid state hard disc exhausts.
Prewarning unit 43 comprises:
Monitor subelement 431, be used to monitor the rank of other storage unit;
Early warning subelement 432 is used for sending different early warning signals according to the different stage that monitoring subelement 431 monitors.
By the device that adopts the embodiment of the invention to provide, obtain the bad piece in the reserved block replacement solid state hard disc, make this hard disk when the reserved block of a certain storage unit exhausts, can continue to use, prolonged the serviceable life of solid state hard disc.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
In a word, the above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1, a kind of using method of solid state hard disc is characterized in that, may further comprise the steps:
Whether detect the data block that keeps in advance that is used to replace bad piece in the current memory cell of solid state hard disc exhausts;
When the data block that keeps in advance in the described current memory cell exhausts, obtain the data block that keeps in advance to other storage unit of described solid state hard disc and replace bad piece in the described storage unit.
2, the method for claim 1 is characterized in that, described other storage unit to described solid state hard disc is obtained the data block that keeps in advance and comprised:
Obtain the data block that keeps in advance to other storage unit of peer;
When the data block that keeps in advance in all storage unit of described peer exhausts, obtain to higher leveled storage unit;
When all data blocks that keep in advance exhaust in the described higher leveled storage unit, to obtain to more higher leveled storage unit successively, the data block that keeps in advance in all storage unit in described solid state hard disc exhausts.
3, the method for claim 1 is characterized in that, described other storage unit to described solid state hard disc is obtained the data block that keeps in advance and comprised:
Travel through the data block that keeps in advance in described other storage unit,, then obtain the described data block that keeps in advance if the data block that keeps in advance in described other storage unit is not used; Perhaps
Set in advance the statistical table of the use information that is used for adding up the data block that each storage unit keeps in advance in the described solid state hard disc, obtain the data block of reservation in advance that is not used according to the statistics of described statistical table.
4, the method for claim 1 is characterized in that, this method also comprises:
When obtaining the data block that keeps in advance from described other storage unit, send early warning signal.
5, method as claimed in claim 4 is characterized in that, the described early warning signal that sends comprises:
The rank of described other storage unit of monitoring;
Send different early warning signals according to described other difference of level.
As each described method of claim 1-5, it is characterized in that 6, described current memory cell is specially page or leaf level storage unit.
7, a kind of control device of solid state hard disc is characterized in that, comprising:
Whether the data block that keeps in advance that detecting unit, the current memory cell that is used for detecting solid state hard disc are used to replace bad piece exhausts;
Replace the unit, be used for when described detecting unit detects data block that current memory cell keeps in advance and exhausts, data block from reservation in advance to other storage unit of described solid state hard disc that obtain is replaced the bad piece in the described storage unit.
8, control device as claimed in claim 7 is characterized in that, described replacement unit comprises:
First obtains subelement, is used for obtaining the data block that keeps in advance to other storage unit of peer;
Second obtains subelement, when being used for data block that all storage unit when described peer keep in advance and exhausting, obtains to higher leveled storage unit;
The 3rd obtains subelement, is used for obtaining to more higher leveled storage unit successively when all data blocks that keep in advance of described higher leveled storage unit exhaust, and the data block that keeps in advance in all storage unit in described solid state hard disc exhausts.
9, control device as claimed in claim 7 is characterized in that, also comprises:
Prewarning unit is used for sending early warning signal when obtaining the data block that keeps in advance from described other storage unit.
10, control device as claimed in claim 9 is characterized in that, described prewarning unit comprises:
Monitor subelement, be used to monitor the rank of described other storage unit;
The early warning subelement is used for sending different early warning signals according to the different stage that described monitoring subelement monitors.
CNA2008101723159A 2008-10-31 2008-10-31 Solid hard disk using method and apparatus Pending CN101388255A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008101723159A CN101388255A (en) 2008-10-31 2008-10-31 Solid hard disk using method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008101723159A CN101388255A (en) 2008-10-31 2008-10-31 Solid hard disk using method and apparatus

Publications (1)

Publication Number Publication Date
CN101388255A true CN101388255A (en) 2009-03-18

Family

ID=40477602

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008101723159A Pending CN101388255A (en) 2008-10-31 2008-10-31 Solid hard disk using method and apparatus

Country Status (1)

Country Link
CN (1) CN101388255A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102301339A (en) * 2009-04-21 2011-12-28 国际商业机器公司 Apparatus and method for controlling a solid state disk (SSD) device
CN103309816A (en) * 2013-05-31 2013-09-18 苏州亮智科技有限公司 Solid hard disk, electronic device with solid hard disk and dynamic capacity control method of solid hard disk
CN104375953A (en) * 2013-08-15 2015-02-25 联想(北京)有限公司 Equipment control method and electronic equipment
CN105355233A (en) * 2015-11-23 2016-02-24 清华大学 Efficient data writing method based on PCM (Phase Change Memory) reverse error correction algorithm
CN106486170A (en) * 2016-09-06 2017-03-08 深圳忆数存储技术有限公司 The potential bad block localization method of solid state hard disc and device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102301339A (en) * 2009-04-21 2011-12-28 国际商业机器公司 Apparatus and method for controlling a solid state disk (SSD) device
US8775864B2 (en) 2009-04-21 2014-07-08 International Business Machines Corporation Controlling a solid state disk (SSD) device
US8793530B2 (en) 2009-04-21 2014-07-29 International Business Machines Corporation Controlling a solid state disk (SSD) device
CN102301339B (en) * 2009-04-21 2017-08-25 国际商业机器公司 Apparatus and method for controlling solid-state disk (SSD) equipment
CN103309816A (en) * 2013-05-31 2013-09-18 苏州亮智科技有限公司 Solid hard disk, electronic device with solid hard disk and dynamic capacity control method of solid hard disk
CN104375953A (en) * 2013-08-15 2015-02-25 联想(北京)有限公司 Equipment control method and electronic equipment
CN105355233A (en) * 2015-11-23 2016-02-24 清华大学 Efficient data writing method based on PCM (Phase Change Memory) reverse error correction algorithm
CN105355233B (en) * 2015-11-23 2018-04-10 清华大学 Efficient data wiring method based on PCM reversion error correction algorithms
CN106486170A (en) * 2016-09-06 2017-03-08 深圳忆数存储技术有限公司 The potential bad block localization method of solid state hard disc and device
CN106486170B (en) * 2016-09-06 2019-11-26 深圳忆数存储技术有限公司 The potential bad block localization method and device of solid state hard disk

Similar Documents

Publication Publication Date Title
CN104091617A (en) Flash memory equipment detection method and apparatus thereof
CN102508787B (en) System and method for memory allocation of composite memory
US20070294570A1 (en) Method and System for Bad Block Management in RAID Arrays
CN101388255A (en) Solid hard disk using method and apparatus
MY118342A (en) Information recording medium, information recording method and information recording/reproducing system
CN105278876A (en) Data wiping method and device of solid state device
CN101398749B (en) Static state attrition balancing method, device and system
CN104699546A (en) Memory system
CN104461935A (en) Method, device and system for data storage
CN101593157A (en) The bad block management method of nandflash and device
TW200745883A (en) Data management system and method
CN103647804B (en) Method for data processing of storage unit, device and system
US8984213B2 (en) Electronic system and memory managing method thereof
MX2009005226A (en) Optical recording medium, apparatus and method of manufacturing optical recording medium, and apparatus and method of recording/reproducing data of optical recording medium.
CN102214143A (en) Method and device for managing multilayer unit flash memory, and storage equipment
CN102915770B (en) Method for reducing inter-crosstalk of internal data of flash memory chip, flash memory storage system and controller thereof
CN102314322B (en) Data processing method and device based on RAID (redundant array of independent disks)
CN109101437A (en) Data storage method and terminal
US8307150B2 (en) Apparatus and method for managing memory
CN115495025A (en) Method and device for managing abnormal memory block
CN102880432B (en) Method and system for increasing writing speeds of flash memory chips by aid of limited lives of data and controller of system
CN111078128B (en) Data management method and device and solid state disk
CN110262980B (en) High-speed storage system based on limited-life storage medium
US20090106519A1 (en) Storage Device and Method of Accessing a Status Thereof
CN115562595B (en) Volume creating method and device, volume reading and writing method and device, and electronic 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: 20090318