CN106873912A - The dynamic partition storage method and device, system of TLC chip solid state hard discs - Google Patents
The dynamic partition storage method and device, system of TLC chip solid state hard discs Download PDFInfo
- Publication number
- CN106873912A CN106873912A CN201710083745.2A CN201710083745A CN106873912A CN 106873912 A CN106873912 A CN 106873912A CN 201710083745 A CN201710083745 A CN 201710083745A CN 106873912 A CN106873912 A CN 106873912A
- Authority
- CN
- China
- Prior art keywords
- area
- data
- storage
- solid state
- region
- 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.)
- Granted
Links
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/061—Improving I/O performance
- G06F3/0611—Improving I/O performance in relation to response time
-
- 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/0629—Configuration or reconfiguration of storage systems
- G06F3/0631—Configuration or reconfiguration of storage systems by allocating resources to storage systems
-
- 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
-
- 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/0673—Single storage device
- G06F3/0679—Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Read Only Memory (AREA)
- Memory System Of A Hierarchy Structure (AREA)
Abstract
The present invention provides a kind of the dynamic partition storage method and its device, system of TLC chips solid state hard disc, when hard drive space is more than default value, the mode for storing a data according to a memory cell stores in hard disk data flow, and when hard drive space is less than default value, hard drive space is divided into three regions, and heat, the cold data that will be stored in hard disk store two bits according to a memory cell and memory cell three modes for data of storage move store in two other regions respectively.So, when TLC chip solid state hard discs space is larger, the quick read-write to hard disk can be ensured, and when hard drive space is smaller, frequency of use according to data moves the data into different regions, and former region is still used for the storage of rapid data, so, ensure the normal operating of hard disk while reading and writing data speed is taken into account, substantially increase low cost, the performance of the TLC hard disks of Large Copacity.
Description
Technical field
The present invention relates to storage system field, more particularly to a kind of dynamic partition storage method of TLC chips solid state hard disc
And device, system.
Background technology
With continuing to develop for electronic technology, requirement to the performance of storage medium also more and more higher, flash memory is new non-
The representative of volatile storage media, has the advantages that the high and low power consumption of read or write speed and antidetonation, is widely used in embedded device, moves
In the consumer electronics products such as dynamic terminal.
At present, solid state hard disc mainly has SLC (Single-Level Cell) chip solid state hard disc, MLC (Multi-Level
Cell) chip solid state hard disc and TLC (Trinary-Level Cell) chip solid state hard discs these three types, these three solid-states are hard
Disk is compared, and the memory mechanism of TLC chip solid state hard discs is 3bit/1cell, and memory capacity is big, and cheap but speed is slow, this system
About application of the TCL chip solid state hard discs in High performance electronics, if its read or write speed can be improved, can substantially reduce
Application cost.
The content of the invention
One of it is contemplated that at least solve the above problems, there is provided a kind of dynamic partition storage of TLC chips solid state hard disc
Method and device, system, improve the read or write speed of TLC chip solid state hard discs.
To achieve the above object, the present invention has following technical scheme:
According to an aspect of the present invention, a kind of dynamic partition storage method of TLC chips solid state hard disc, including:
When the residual memory space of TLC chip solid state hard discs is more than the first default value, by data flow in the first way
In storing TLC chip solid state hard discs, to form fast operating data field;
When the residual memory space of TLC chip solid state hard discs is less than the first default value, with fast operating data field institute
Hard disk areas be first area, by the dsc data in first area move in a second manner storage arrive residual memory space
In second area, the cold data in first area is stored in the 3rd region of remaining space with Third Way movement, wherein,
First method is the mode that each memory cell stores a data, and second method is each memory cell storage two bits
Mode, Third Way is three modes of data of storage in each memory cell.
Alternatively, also include:
When the residual memory space of first area is more than the second default value, data flow is stored in the first way to the
In one region;
When the residual memory space of first area is less than the second default value, judge whether second area has enough
Dsc data in space first area, if so, then by the dsc data in first area in a second manner mobile storage to the
In two regions, if it is not, at least part of space of first area then is added into second area, and by the dsc data in first area
It is mobile in a second manner to store in second area;And
Judge whether the 3rd region has the cold data in enough space first areas, if so, then by the firstth area
Cold data in domain is stored in the 3rd region with Third Way movement, if it is not, then increasing at least part of space of first area
Add to the 3rd region, and by the cold data in first area with Third Way movement storage to the 3rd region.
Alternatively, also include:
According to the remaining erasable number of times of each region internal memory storage unit in TLC chip solid state hard discs, TLC chips are repartitioned
The first area of solid state hard disc, second area and the 3rd region, and carry out the replacement of data storage.
Alternatively, the determination method of cold data and dsc data includes in first area:According to the cold and hot number set up in caching
According to chained list, the cold data and dsc data in first area are determined.
Alternatively, the determination method of cold data and dsc data includes in first area:According to right in nearest certain period of time
The access frequency of the data in first area, determines the cold data and dsc data in first area.
According to another aspect of the present invention, a kind of dynamic partition storage device of TLC chips solid state hard disc, including:
Flash memory, for when the residual memory space of TLC chip solid state hard discs is more than the first default value, inciting somebody to action
Data flow is stored in TLC chip solid state hard discs in the first way, to form fast operating data field;
Second area divides memory cell, is preset less than first for the residual memory space when TLC chip solid state hard discs
During numerical value, the hard disk areas with where fast operating data field as first area, by the dsc data in first area with second party
Formula movement is stored in the second area of residual memory space;
3rd region division memory cell, presets for the residual memory space when TLC chip solid state hard discs less than first
During numerical value, by the cold data in first area with Third Way movement storage to the 3rd region of remaining space;
Wherein, first method is the mode that each memory cell stores a data, and second method is each memory cell
The mode of two bits is stored, Third Way is three modes of data of storage in each memory cell.
Alternatively, also include:
First area memory cell, for when the residual memory space of first area is more than the second default value, by number
Stored in first area in the first way according to stream;
Second area memory cell again, for when the residual memory space of first area is less than the second default value, sentencing
Whether disconnected second area has the dsc data in enough space first areas, if so, then by the hot number in first area
Second method movement according to this is stored in second area, if it is not, at least part of space of first area then is added into the secondth area
Domain, and movement is stored in second area in a second manner by the dsc data in first area;
3rd region memory cell again, for when the residual memory space of first area is less than the second default value, sentencing
Whether disconnected 3rd region has the cold data in enough space first areas, if so, then by the cold number in first area
Third Way movement according to this is stored in the 3rd region, if it is not, at least part of space of first area then is added into the 3rd area
Domain, and by the cold data in first area with Third Way movement storage to the 3rd region.
Alternatively, also include:
The subdivided unit in region, for according in TLC chip solid state hard discs each region internal memory storage unit it is remaining erasable
Number of times, repartitions first area, second area and the 3rd region of TLC chip solid state hard discs, and carries out replacing for data storage
Change.
Alternatively, according to the cold and hot data link table set up in caching, the cold data and dsc data in first area are determined.
Alternatively, according to, to the access frequency of the data in first area, determining first area in nearest certain period of time
In cold data and dsc data.
According to another aspect of the invention, a kind of dynamic partition storage system of TLC chips solid state hard disc, including above-mentioned
One storage device, and TLC chip solid state hard discs.
Alternatively, described storage device is arranged in main control unit.
Alternatively, the also main control unit including being connected with described storage device.
Alternatively, also including buffer unit.
The dynamic partition storage method and its device, system of a kind of TLC chips solid state hard disc are the embodiment of the invention provides,
When hard drive space is more than default value, data flow storage is arrived hard disk by the mode for storing a data according to a memory cell
In, and when hard drive space is less than default value, hard drive space is divided into three regions, will be stored on hot, cold in hard disk
Data store two bits according to a memory cell and a memory cell stores the mobile storage respectively of three modes of data
To in two other regions.So, when TLC chip solid state hard discs space is larger, it is ensured that the quick reading to hard disk
Write, and when hard drive space is smaller, different regions are moved the data into according to the frequency of use of data, former region is still used for fast
The storage of fast data, so, while reading and writing data speed is taken into account ensure hard disk normal operating, substantially increase it is low into
Originally, the performance of the TLC hard disks of Large Copacity.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are the present invention
Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis
These accompanying drawings obtain other accompanying drawings.
Fig. 1 shows the flow chart of the dynamic partition storage method of TLC chip solid state hard discs according to embodiments of the present invention;
Fig. 2 shows that the structure of the dynamic partition storage device of TLC chip solid state hard discs according to embodiments of the present invention is shown
It is intended to;
The system that Fig. 3 shows the dynamic partition storage device of according to embodiments of the present invention one TLC chip solid state hard discs
Schematic diagram;
The system that Fig. 4 shows the dynamic partition storage device of according to embodiments of the present invention two TLC chip solid state hard discs
Schematic diagram.
Specific embodiment
To enable the above objects, features and advantages of the present invention more obvious understandable, below in conjunction with the accompanying drawings to the present invention
Specific embodiment be described in detail.
Many details are elaborated in the following description in order to fully understand the present invention, but the present invention can be with
Other manner described here is different from using other to implement, those skilled in the art can be without prejudice to intension of the present invention
In the case of do similar popularization, therefore the present invention is not limited by following public specific embodiment.
Storage method provided in an embodiment of the present invention, is based on TLC chip solid state hard discs, traditional TLC chip solid-states
One memory cell of hard disk can store 3 data, i.e. 3bit/1cell, in the physical arrangement of TLC chip solid state hard discs,
One memory cell is a memory device, and memory device is usually MOSFET (Metal-Oxide-Semiconductor
Field-Effect Transistor, MOSFET), in data storage, that is, during write operation, the control to memory device
Grid apply eight kinds of different voltages, and 3 the eight of data kinds of states are represented respectively, therefore, it can store 3 in a memory cell
Position data, when reading, apply corresponding read voltage to obtain corresponding data, and the memory capacity of this hard disk is big, price
Cheap, but during read-write operation, the sensitiveness to voltage is strong, it is often necessary to repeatedly read operation, read or write speed is slow, constrain its
Application in premium quality product.Therefore, the present invention proposes a kind of dynamic partition storage method, it is hard to improve TLC chip solid-states
The read or write speed of disk.
With reference to shown in Fig. 1, a kind of dynamic partition storage method of TLC chips solid state hard disc, including:
S101, when the residual memory space of TLC chip solid state hard discs is more than the first default value, by data flow with first
Mode is stored in TLC chip solid state hard discs, to form fast operating data field;
S102, when the residual memory space of TLC chip solid state hard discs is less than the first default value, with fast operating data
Hard disk areas where area are first area, and by the dsc data in first area, mobile storage is empty to remaining storage in a second manner
Between second area in, by the cold data in first area with Third Way movement storage in the 3rd region of remaining space,
Wherein, first method is the mode that each memory cell stores a data, and second method is that each memory cell stores two
The mode of data, Third Way is three modes of data of storage in each memory cell.
In an embodiment of the present invention, TLC chips solid state hard disc can be made up of one or more TLC flash memory particles, example
It is such as the TLC chip solid state hard discs of 128G, can is the TLC flash memories particle of 128G, or is dodged by 4 TLC of 32G
Deposit particle composition, logically one hard-disc storage space of entirety of hard disk of multiple TLC flash memories particle compositions.
The technical scheme of embodiment for a better understanding of the present invention, first to the first storage mode, the second storage mode and
3rd storage mode is illustrated, and these three different storage modes are made to this TLC chips solid state hard disc.For
TLC chips solid state hard disc is made up of multiple memory cell, and each memory cell is a memory device, in this hard disks of TLC
Memory device, stores three data in a memory cell, for convenience, Third Way is denoted as in the present invention, writes behaviour
Make i.e. toward data storage in memory cell, applying eight kinds to control gate in write operation writes voltage, 3 the eight of data kinds of shapes of correspondence
State, so as to realize that a memory cell stores three data, this is the conventional store pattern of TLC hard disks, correspondingly, in read operation
When, apply corresponding eight kinds of read voltages, 3 readings of data are realized, the sensitivity requirement of voltage during due to read-write operation
It is high, it is often necessary to which that repeatedly read-write could succeed, cause read or write speed slow, in these three modes, Third Way is read or write speed
It is most slow, most save memory space.
And the memory device in this hard disks of TLC is directed to, in embodiments of the present invention, it is also proposed that first method and second
The storage mode of mode, first method is the mode that each memory cell stores a data, and second method is single for each storage
The mode of unit's storage two bits.For first method, in write operation applying two kinds to control gate writes voltage, 1 digit of correspondence
According to two states, so as to realize memory cell storage a data, correspondingly, in read operation, apply corresponding two
Read voltage is planted, 1 reading of data is realized, in these three modes, first method is most fast read or write speed, taken most
Memory space.For second method, in write operation applying four kinds to control gate writes voltage, 2 the four of data kinds of states of correspondence,
So as to realize a memory cell storage two bits, correspondingly, in read operation, apply corresponding four kinds of read voltages, it is real
Existing 2 readings of data, in these three modes, second method is that read or write speed and occupancy memory space are all placed in the middle.
Technical scheme is illustrated below with reference to specific embodiment.In an embodiment of the present invention,
First, when the residual memory space of TLC chip solid state hard discs is more than the first default value, by data flow with each memory cell
The mode of storage a data is stored in hard disk.
At this time, it is believed that the memory space of hard disk is comparatively rich, the data flow of storage can will be asked all with most
First storage mode of fast storage efficiency is put into hard disk, and the data that will be deposited into the first way here are denoted as fast operating data
Area.First default value can be set according to the need for specific, for example can be total memory space half or three/
It is second-class, at this point it is possible to so that the read or write speed of solid state hard disc is maximized.
Then, when the residual memory space of TLC chip solid state hard discs is less than the first default value, with fast operating data
Hard disk areas where area are first area, and the dsc data in first area is stored into residual memory space in a second manner
In second area, the cold data in first area is stored in the 3rd region of remaining space with Third Way, wherein, first
Region, second area and the 3rd region be respectively used in the first way, second method, Third Way data storage stream.
Now, as the data of first method storage are more and more, the consumption to memory space is increased, and remaining storage is empty
Between less and less, the situation of the hot and cold data in fast operating data field, these data with other two are taken into storage empty
Between smaller mode store in different regions, the region where fast operating data field originally is still used as follow-up data stream
Stored in the first way, so, ensure hard disk have sufficient space normally read-write in the case of, take into account read or write speed,
Readwrite performance is improved as much as possible.
When the residual memory space of hard disk is less than the first default value, hard disk is divided into three regions, and first area is
Hard disk areas where former fast operating data field, first area can be more than or equal to the region of fast operating data field, the
Two regions and the 3rd region are to mark off to come from residual memory space, and first area, second area, the 3rd region are all TLC
The logic region of chip solid state hard disc, each region can be that the continuous one piece of region in address or polylith region constitute, so,
Hard disk be divide into three regions, be respectively used in the first way, second method, Third Way data storage stream.
Specifically, during the dsc data in first area stored into second area in a second manner, by first area
Cold data is stored in the 3rd region with Third Way, and dsc data and cold data here are that comparatively, dsc data is phase
For the data that cold data has access frequency higher.
The cold data and dsc data in first area can be determined by different modes, in certain embodiments, can be with
According to the cold and hot data link table set up in caching, the cold data and dsc data in first area are determined.In some applications, data
Into before hard disk, cold and hot data link table can be in the buffer first set up, using different algorithm and method, can set up different
Cold and hot data link table, such as only exist a cold data chained list and a dsc data chained list, it is also possible to deposit in cold and hot data link table
In multiple cold data chained lists or multiple dsc data chained lists, in the cold data and dsc data in specifically determining first area, according to
Cold and hot chained list, the need for specific, can be using the data in hot chained list as the dsc data in first area, in cold chain table
Data as the cold data in first area, when chained list for it is multiple when, it is also possible to using the data in the hot chained list in part as first
Dsc data in region, the data in the hot chained list of another part and cold chain table are used as the cold data in first area, it is possible to understand that
, the cold and hot chained list in caching includes all data in first area, not in the cold and hot chain of caching in first area
The data occurred in table are to access little data for a period of time recently, and these data are considered as cold data.
In further embodiments, can directly judge cold and hot data, according in nearest certain period of time to first area
In data access frequency, determine the cold data and dsc data in first area.Specifically can be right by counting a period of time
The access times of the data in first area, so obtain this period access frequency, according to access frequency sequence or
The size of access frequency, determines some data for cold data, and other data are dsc data.
Then, the dsc data for determining will move into storage in second area in a second manner, will determination cold data with
Third Way movement storage is in the 3rd region, that is to say, that data after storage to second area, the number in first area
According to will be wiped free of.So, first area will discharge, still for storing the data that subsequent request is stored in the first way
Stream, and the few data of access times are stored in more intensive mode, the more data of access times are with storage speed and storage
Density mode placed in the middle is stored, and takes into account storage and speed, improves the speed and cost performance of TLC chip solid state hard discs.
Due to data volume and the difference of memory space, in certain embodiments, just can be with higher after above-mentioned subregion
Performance realizes the storage of data, and in further embodiments, in addition it is also necessary to further partitioned storage, specifically, also include with
The step of lower continuation subregion:
When the residual memory space of first area is more than the second default value, data flow is stored in the first way to the
In one region;
When the residual memory space of first area is less than the second default value, judge whether second area has enough
Dsc data in space first area, if so, then by the dsc data in first area in a second manner mobile storage to the
In two regions, if it is not, at least part of space of first area then is added into second area, and by the dsc data in first area
It is mobile in a second manner to store in second area;And
Judge whether the 3rd region has the cold data in enough space first areas, if so, then by the firstth area
Cold data in domain is stored in the 3rd region with Third Way movement, if it is not, then increasing at least part of space of first area
Add to the 3rd region, and by the cold data in first area with Third Way movement storage to the 3rd region.
In the step of the continuation subregion, data storage stream in the first way is continued in the first region, in first area
It is stored with after certain data volume, judges whether second area and the 3rd region there are enough spaces to move storage, if
Have, then by the dsc data in first area, movement is stored in second area in a second manner, by the cold data in first area
With in Third Way movement storage to the 3rd region;If no, carrying out the subdivided of memory space, by the part of first area
Space is allocated to second area and/or the 3rd region, then the dsc data in first area and cold data movement are stored to second
In region and the 3rd region, so, fully ensuring that hard disk normally in the case of read-write so that hard disk performance is maximized.At this
In the step of continuing subregion, the method for the determination of cold data and dsc data is repeated no more here with the description in above-described embodiment.
Repeatedly, when memory data output is continuously increased can constantly be reduced the need for specific, the step of the continuation subregion
Proportion shared by first area, fully ensures that hard disk is normally read and write.
For the above embodiments, subregion again can also be further carried out, the step of subregion includes again:According to TLC
The remaining erasable number of times of each region internal memory storage unit in chip solid state hard disc, repartitions the first of TLC chip solid state hard discs
Region, second area and the 3rd region, and carry out the replacement of data storage.
Again the step of subregion can be carried out at any time, be carried out preferably when hard disk is not operated, more preferably, can be with
Data in the first region are carried out before being stored to second area and the movement of the 3rd region.When region is repartitioned, mainly
Consider the remaining erasable number of times of each region internal memory storage unit in TLC chip solid state hard discs, for example, in the particular embodiment,
The remaining erasable number of times of the segment space in first area is less than certain preset value, segment space in second area it is surplus
Remaining erasable number of times is less than another preset value, and other spaces of hard disk have sky of the remaining erasable number of times more than a preset value
Between, then by first area and second area be divided into it is remaining it is erasable often spatially, according to the situation for dividing space, then
Determine the need for repartitioning the 3rd region.When repartitioning, the replacement of data storage is also carried out, will original each region
In data according to original storage mode movement storage to the new each region for dividing in, so, may further ensure that hard disk
The normal read-write of data.
The dynamic partition storage method to the TLC chip solid state hard discs of the embodiment of the present invention has been carried out specifically above
It is bright, additionally, present invention also offers the dynamic partition storage device of the TLC chip solid state hard disc corresponding with the above method, using
In the above method is realized, with reference to shown in Fig. 2, the device 200 includes:
Flash memory 210, the first default value is more than for the residual memory space when TLC chip solid state hard discs
When, during data flow to store TLC chip solid state hard discs in the first way, to form fast operating data field;
Second area divides memory cell 220, pre- less than first for the residual memory space when TLC chip solid state hard discs
If during numerical value, the hard disk areas with where fast operating data field as first area, by the dsc data in first area with second
Mode is moved and stored in the second area of residual memory space;
3rd region division memory cell 230, it is pre- less than first for the residual memory space when TLC chip solid state hard discs
If during numerical value, by the cold data in first area with Third Way movement storage to the 3rd region of remaining space;
Wherein, first method is the mode that each memory cell stores a data, and second method is each memory cell
The mode of two bits is stored, Third Way is three modes of data of storage in each memory cell.
Further, also include:
First area memory cell, for when the residual memory space of first area is more than the second default value, by number
Stored in first area in the first way according to stream;
Second area memory cell again, for when the residual memory space of first area is less than the second default value, sentencing
Whether disconnected second area has the dsc data in enough space first areas, if so, then by the hot number in first area
Second method movement according to this is stored in second area, if it is not, at least part of space of first area then is added into the secondth area
Domain, and movement is stored in second area in a second manner by the dsc data in first area;
3rd region memory cell again, for when the residual memory space of first area is less than the second default value, sentencing
Whether disconnected 3rd region has the cold data in enough space first areas, if so, then by the cold number in first area
Third Way movement according to this is stored in the 3rd region, if it is not, at least part of space of first area then is added into the 3rd area
Domain, and by the cold data in first area with Third Way movement storage to the 3rd region.
Further, also include:
The subdivided unit in region, for according in TLC chip solid state hard discs each region internal memory storage unit it is remaining erasable
Number of times, repartitions first area, second area and the 3rd region of TLC chip solid state hard discs, and carries out replacing for data storage
Change.
Further, according to the cold and hot data link table set up in caching, the cold data and dsc data in first area are determined.
Further, according to, to the access frequency of the data in first area, determining the firstth area in nearest certain period of time
Cold data and dsc data in domain.
It is hard present invention also offers the TLC chip solid-states comprising any of the above-described storage device 200 with reference to shown in Fig. 3 and Fig. 4
The dynamic partition storage system of disk, the system also includes TLC chips solid state hard disc 300.
As shown in figure 3, in certain embodiments, storage device 200 is arranged in main control unit 310, main control unit 310 can
Think a main control chip, be mainly responsible for the storage management of solid state hard disc and undertake the transfer of data, main control chip for example can be
((Microcontroller Unit, micro-control unit) chip, main control unit arrives the data flow dynamic memory from I/O to MCU
In TLC chips solid state hard disc 300, TLC chips solid state hard disc 300 can cache particle comprising one or more TLC, in the implementation
In example, storage system can further include buffer unit 320, and the randomness that buffer unit 320 is used for active file is read and write
And the buffering of fragment file fast reading and writing, storage device 200 is by the data flow dynamic memory from buffer unit to TLC chips
In solid state hard disc 300.
As shown in figure 4, in further embodiments, the storage system includes main control unit 410 and connects with main control unit
The described storage device 200 for connecing, main control unit 410 can be a main control chip, the storage management of main responsible solid state hard disc
And undertake the transfer of data, main control chip for example can for MCU ((Microcontroller Unit, micro-control unit) chip,
Such as described storage device 200 can be another control chip, another MCU chip, and main control unit 410 is by the number from I/O
According to stream by the dynamic memory of storage device 200 in TLC chips solid state hard disc 400, in this embodiment, storage system can be with
Further include buffer unit 420, storage device is according to the instruction of main control unit 410 by the data flow from buffer unit 420
Dynamic memory is in TLC chips solid state hard disc 400.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment
Divide mutually referring to what each embodiment was stressed is the difference with other embodiment.Especially for system reality
Apply for example, because it is substantially similar to embodiment of the method, so describing fairly simple, related part is referring to embodiment of the method
Part explanation.System embodiment described above is only schematical, wherein described illustrate as separating component
Module or unit can be or may not be it is physically separate, the part shown as module or unit can be or
Person may not be physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be with root
Some or all of module therein is factually selected the need for border to realize the purpose of this embodiment scheme.Ordinary skill
Personnel are without creative efforts, you can to understand and implement.
The above is only the preferred embodiment of the present invention, although the present invention is disclosed as above, so with preferred embodiment
And it is not limited to the present invention.Any those of ordinary skill in the art, are not departing from technical solution of the present invention ambit
Under, many possible variations and modification are all made to technical solution of the present invention using the methods and techniques content of the disclosure above,
Or it is revised as the Equivalent embodiments of equivalent variations.Therefore, every content without departing from technical solution of the present invention, according to of the invention
Technical spirit still falls within the technology of the present invention side to any simple modification, equivalent variation and modification made for any of the above embodiments
In the range of case protection.
Claims (14)
1. a kind of dynamic partition storage method of TLC chips solid state hard disc, it is characterised in that including:
When the residual memory space of TLC chip solid state hard discs is more than the first default value, data flow is stored in the first way
To in TLC chip solid state hard discs, to form fast operating data field;
When the residual memory space of TLC chip solid state hard discs is less than the first default value, with where fast operating data field
Hard disk areas are first area, and the dsc data in first area is moved into storage to the second of residual memory space in a second manner
In region, the cold data in first area is stored in the 3rd region of remaining space with Third Way movement, wherein, first
Mode is the mode that each memory cell stores a data, and second method is the side that each memory cell stores two bits
Formula, Third Way is three modes of data of storage in each memory cell.
2. dynamic partition storage method according to claim 1, it is characterised in that also include:
When the residual memory space of first area is more than the second default value, data flow is stored in the first way to the firstth area
In domain;
When the residual memory space of first area is less than the second default value, judge whether second area has enough spaces
The dsc data in first area is accommodated, if so, then movement is stored to the secondth area in a second manner by the dsc data in first area
In domain, if it is not, at least part of space of first area is then added to second area, and by the dsc data in first area with
Two modes are moved and stored in second area;And
Judge whether the 3rd region has the cold data in enough space first areas, if so, then by first area
Cold data with Third Way movement storage in the 3rd region, if it is not, then at least part of space of first area is added to
3rd region, and by the cold data in first area with Third Way movement storage to the 3rd region.
3. dynamic partition storage method according to claim 1 and 2, it is characterised in that also include:
According to the remaining erasable number of times of each region internal memory storage unit in TLC chip solid state hard discs, TLC chip solid-states are repartitioned
The first area of hard disk, second area and the 3rd region, and carry out the replacement of data storage.
4. dynamic partition storage method according to claim 1 and 2, it is characterised in that cold data and heat in first area
The determination method of data includes:According to the cold and hot data link table set up in caching, the cold data and hot number in first area are determined
According to.
5. dynamic partition storage method according to claim 1 and 2, it is characterised in that cold data and heat in first area
The determination method of data includes:According to, to the access frequency of the data in first area, determining first in nearest certain period of time
Cold data and dsc data in region.
6. a kind of dynamic partition storage device of TLC chips solid state hard disc, it is characterised in that including:
Flash memory, for when the residual memory space of TLC chip solid state hard discs is more than the first default value, by data
Stream is stored in TLC chip solid state hard discs in the first way, to form fast operating data field;
Second area divides memory cell, and the first default value is less than for the residual memory space when TLC chip solid state hard discs
When, the hard disk areas with where fast operating data field move the dsc data in first area as first area in a second manner
It is dynamic to store in the second area of residual memory space;
3rd region division memory cell, the first default value is less than for the residual memory space when TLC chip solid state hard discs
When, by the cold data in first area with Third Way movement storage to the 3rd region of remaining space;
Wherein, first method is the mode that each memory cell stores a data, and second method is stored for each memory cell
The mode of two bits, Third Way is three modes of data of storage in each memory cell.
7. storage device according to claim 6, it is characterised in that also include:
First area memory cell, for when the residual memory space of first area is more than the second default value, by data flow
Store in first area in the first way;
Second area memory cell again, for when the residual memory space of first area is less than the second default value, judging the
Two regions whether have enough space first areas in dsc data, if so, then by the dsc data in first area with
Second method movement is stored in second area, if it is not, at least part of space of first area is then added to second area, and
By the dsc data in first area, movement is stored in second area in a second manner;
3rd region memory cell again, for when the residual memory space of first area is less than the second default value, judging the
Three regions whether have enough space first areas in cold data, if so, then by the cold data in first area with
Third Way movement is stored in the 3rd region, if it is not, at least part of space of first area is then added to the 3rd region, and
By the cold data in first area with Third Way movement storage to the 3rd region.
8. the storage device according to claim 6 or 7, it is characterised in that also include:
The subdivided unit in region, for the remaining erasable number of times according to each region internal memory storage unit in TLC chip solid state hard discs,
First area, second area and the 3rd region of TLC chip solid state hard discs are repartitioned, and carries out the replacement of data storage.
9. the storage device according to claim 6 or 7, it is characterised in that according to the cold and hot data link table set up in caching,
Determine the cold data and dsc data in first area.
10. the storage device according to claim 6 or 7, it is characterised in that according in nearest certain period of time to the firstth area
The access frequency of the data in domain, determines the cold data and dsc data in first area.
11. a kind of dynamic partition storage systems of TLC chips solid state hard disc, it is characterised in that including in such as claim 6-10
Storage device described in any one, and TLC chip solid state hard discs.
12. storage systems according to claim 11, it is characterised in that described storage device is arranged on main control unit
In.
13. storage systems according to claim 11, it is characterised in that the also master including being connected with described storage device
Control unit.
14. storage system according to any one of claim 11-13, it is characterised in that also including buffer unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710083745.2A CN106873912B (en) | 2017-02-16 | 2017-02-16 | Dynamic partition storage method, device and system for TLC chip solid state disk |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710083745.2A CN106873912B (en) | 2017-02-16 | 2017-02-16 | Dynamic partition storage method, device and system for TLC chip solid state disk |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106873912A true CN106873912A (en) | 2017-06-20 |
CN106873912B CN106873912B (en) | 2020-02-07 |
Family
ID=59166410
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710083745.2A Active CN106873912B (en) | 2017-02-16 | 2017-02-16 | Dynamic partition storage method, device and system for TLC chip solid state disk |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106873912B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107450858A (en) * | 2017-08-11 | 2017-12-08 | 湖南国科微电子股份有限公司 | A kind of solid state hard disc classification storage method and system |
CN107608625A (en) * | 2017-08-11 | 2018-01-19 | 记忆科技(深圳)有限公司 | A kind of method for lifting solid storage device reading performance |
CN108549588A (en) * | 2018-03-27 | 2018-09-18 | 深圳忆联信息系统有限公司 | A method of eliminating TLC flash memory multi-disc program fails |
CN109521961A (en) * | 2018-11-13 | 2019-03-26 | 深圳忆联信息系统有限公司 | A kind of method and its system promoting solid state disk read-write performance |
CN109582217A (en) * | 2017-09-28 | 2019-04-05 | 慧荣科技股份有限公司 | Data storage device and method of writing data to memory device |
CN110364216A (en) * | 2018-04-09 | 2019-10-22 | 合肥沛睿微电子股份有限公司 | Solid state hard disk and its operation method |
CN110399451A (en) * | 2019-06-29 | 2019-11-01 | 苏州浪潮智能科技有限公司 | A kind of full-text search engine caching method based on Nonvolatile memory, system, equipment and readable storage medium storing program for executing |
WO2020186455A1 (en) * | 2019-03-19 | 2020-09-24 | 华为技术有限公司 | Data storage method and storage chip |
WO2021035555A1 (en) * | 2019-08-27 | 2021-03-04 | 华为技术有限公司 | Data storage method and apparatus for solid state disk and solid state disk (ssd) |
CN114168069A (en) * | 2020-08-21 | 2022-03-11 | 美光科技公司 | Memory device with enhanced data reliability capability |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101369451A (en) * | 2007-08-14 | 2009-02-18 | 三星电子株式会社 | Solid state memory (ssm), computer system including an ssm, and method of operating an ssm |
US20110066793A1 (en) * | 2009-09-15 | 2011-03-17 | Gregory Burd | Implementing RAID In Solid State Memory |
CN102956255A (en) * | 2011-08-30 | 2013-03-06 | 慧荣科技股份有限公司 | Flash memory controller |
CN103093822A (en) * | 2011-10-27 | 2013-05-08 | 慧荣科技股份有限公司 | Flash memory device of three-order storage unit and control method thereof |
CN103530236A (en) * | 2013-10-21 | 2014-01-22 | 华为技术有限公司 | Method and device for obtaining hybrid hard disk |
CN103914410A (en) * | 2013-01-08 | 2014-07-09 | 联想(北京)有限公司 | Storage device, electronic device and data access method |
US20140286102A1 (en) * | 2013-03-25 | 2014-09-25 | Lsi Corporation | Method of Optimizing Solid State Drive Soft Retry Voltages |
CN106155579A (en) * | 2015-04-27 | 2016-11-23 | 广明光电股份有限公司 | Method for dynamically storing data of conversion layer in solid state disk |
-
2017
- 2017-02-16 CN CN201710083745.2A patent/CN106873912B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101369451A (en) * | 2007-08-14 | 2009-02-18 | 三星电子株式会社 | Solid state memory (ssm), computer system including an ssm, and method of operating an ssm |
US20110066793A1 (en) * | 2009-09-15 | 2011-03-17 | Gregory Burd | Implementing RAID In Solid State Memory |
CN102956255A (en) * | 2011-08-30 | 2013-03-06 | 慧荣科技股份有限公司 | Flash memory controller |
CN103093822A (en) * | 2011-10-27 | 2013-05-08 | 慧荣科技股份有限公司 | Flash memory device of three-order storage unit and control method thereof |
CN103914410A (en) * | 2013-01-08 | 2014-07-09 | 联想(北京)有限公司 | Storage device, electronic device and data access method |
US20140286102A1 (en) * | 2013-03-25 | 2014-09-25 | Lsi Corporation | Method of Optimizing Solid State Drive Soft Retry Voltages |
CN103530236A (en) * | 2013-10-21 | 2014-01-22 | 华为技术有限公司 | Method and device for obtaining hybrid hard disk |
CN106155579A (en) * | 2015-04-27 | 2016-11-23 | 广明光电股份有限公司 | Method for dynamically storing data of conversion layer in solid state disk |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107608625A (en) * | 2017-08-11 | 2018-01-19 | 记忆科技(深圳)有限公司 | A kind of method for lifting solid storage device reading performance |
CN107608625B (en) * | 2017-08-11 | 2020-09-11 | 记忆科技(深圳)有限公司 | Method for improving reading performance of fixed storage equipment |
CN107450858A (en) * | 2017-08-11 | 2017-12-08 | 湖南国科微电子股份有限公司 | A kind of solid state hard disc classification storage method and system |
CN109582217A (en) * | 2017-09-28 | 2019-04-05 | 慧荣科技股份有限公司 | Data storage device and method of writing data to memory device |
CN108549588A (en) * | 2018-03-27 | 2018-09-18 | 深圳忆联信息系统有限公司 | A method of eliminating TLC flash memory multi-disc program fails |
CN110364216A (en) * | 2018-04-09 | 2019-10-22 | 合肥沛睿微电子股份有限公司 | Solid state hard disk and its operation method |
CN110364216B (en) * | 2018-04-09 | 2022-03-01 | 合肥沛睿微电子股份有限公司 | Solid state disk and operation method thereof |
CN109521961B (en) * | 2018-11-13 | 2021-10-26 | 深圳忆联信息系统有限公司 | Method and system for improving read-write performance of solid state disk |
CN109521961A (en) * | 2018-11-13 | 2019-03-26 | 深圳忆联信息系统有限公司 | A kind of method and its system promoting solid state disk read-write performance |
WO2020186455A1 (en) * | 2019-03-19 | 2020-09-24 | 华为技术有限公司 | Data storage method and storage chip |
CN113574497A (en) * | 2019-03-19 | 2021-10-29 | 华为技术有限公司 | Data storage method and storage chip |
CN110399451B (en) * | 2019-06-29 | 2021-11-26 | 苏州浪潮智能科技有限公司 | Full-text search engine caching method, system and device based on nonvolatile memory and readable storage medium |
CN110399451A (en) * | 2019-06-29 | 2019-11-01 | 苏州浪潮智能科技有限公司 | A kind of full-text search engine caching method based on Nonvolatile memory, system, equipment and readable storage medium storing program for executing |
WO2021035555A1 (en) * | 2019-08-27 | 2021-03-04 | 华为技术有限公司 | Data storage method and apparatus for solid state disk and solid state disk (ssd) |
CN114168069A (en) * | 2020-08-21 | 2022-03-11 | 美光科技公司 | Memory device with enhanced data reliability capability |
CN114168069B (en) * | 2020-08-21 | 2024-04-02 | 美光科技公司 | Memory device with enhanced data reliability capability |
US11966600B2 (en) | 2020-08-21 | 2024-04-23 | Micron Technology, Inc. | Memory device with enhanced data reliability capabilities |
Also Published As
Publication number | Publication date |
---|---|
CN106873912B (en) | 2020-02-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106873912A (en) | The dynamic partition storage method and device, system of TLC chip solid state hard discs | |
US10209902B1 (en) | Method and apparatus for selecting a memory block for writing data, based on a predicted frequency of updating the data | |
JP5728672B2 (en) | Hybrid memory management | |
US9104546B2 (en) | Method for performing block management using dynamic threshold, and associated memory device and controller thereof | |
CN106293521B (en) | A kind of flash translation layer (FTL) management method that mapping granule is adaptive | |
CN101777026B (en) | Memory management method, hard disk and memory system | |
JP2021128582A (en) | Memory system and control method | |
US20140129758A1 (en) | Wear leveling in flash memory devices with trim commands | |
CN103608782A (en) | Selective data storage in LSB and MSB pages | |
CN103838676B (en) | Data-storage system, date storage method and PCM bridges | |
KR101403922B1 (en) | Apparatus and method for data storing according to an access degree | |
US20140223072A1 (en) | Tiered Caching Using Single Level Cell and Multi-Level Cell Flash Technology | |
US20200019346A1 (en) | Integrating host-side storage device management with host-side non-volatile memory | |
CN105278875A (en) | Hybrid heterogeneous NAND solid state device | |
US7245527B2 (en) | Nonvolatile memory system using magneto-resistive random access memory (MRAM) | |
CN102999441A (en) | Fine granularity memory access method | |
US8856425B2 (en) | Method for performing meta block management, and associated memory device and controller thereof | |
CN113590505B (en) | Address mapping method, solid state disk controller and solid state disk | |
CN105630699B (en) | A kind of solid state hard disk and read-write cache management method using MRAM | |
CN111290706A (en) | Double-layer read-write wear balancing method based on bloom filter | |
KR100780963B1 (en) | Memory card and driving method of memory card | |
TWI724550B (en) | Data storage device and non-volatile memory control method | |
CN105608014B (en) | A kind of storage device using MRAM | |
CN112559384A (en) | Dynamic partitioning method for hybrid solid-state disk based on nonvolatile memory | |
CN115061623B (en) | A data storage method and device based on wear leveling algorithm |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20191205 Address after: 215100 No. 1 Guanpu Road, Guoxiang Street, Wuzhong Economic Development Zone, Suzhou City, Jiangsu Province Applicant after: Suzhou Wave Intelligent Technology Co., Ltd. Address before: 450018 Henan province Zheng Dong New District of Zhengzhou City Xinyi Road No. 278 16 floor room 1601 Applicant before: Zhengzhou Yunhai Information Technology Co. Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |