CN107273306A - A kind of digital independent of solid state hard disc, method for writing data and solid state hard disc - Google Patents
A kind of digital independent of solid state hard disc, method for writing data and solid state hard disc Download PDFInfo
- Publication number
- CN107273306A CN107273306A CN201710465127.4A CN201710465127A CN107273306A CN 107273306 A CN107273306 A CN 107273306A CN 201710465127 A CN201710465127 A CN 201710465127A CN 107273306 A CN107273306 A CN 107273306A
- Authority
- CN
- China
- Prior art keywords
- physical page
- target data
- block address
- flash media
- caching
- 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
- 239000007787 solid Substances 0.000 title claims abstract description 34
- 238000000034 method Methods 0.000 title claims abstract description 28
- 230000008859 change Effects 0.000 claims description 12
- 238000013507 mapping Methods 0.000 claims description 6
- 238000013519 translation Methods 0.000 claims description 5
- 230000008569 process Effects 0.000 abstract description 5
- 238000012937 correction Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 4
- 230000003321 amplification Effects 0.000 description 2
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 238000003199 nucleic acid amplification method Methods 0.000 description 2
- 241001269238 Data Species 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- 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
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1456—Hardware arrangements for backup
-
- 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/7201—Logical to physical mapping or translation of blocks or pages
-
- 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/7203—Temporary buffering, e.g. using volatile buffer or dedicated buffer blocks
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Memory System Of A Hierarchy Structure (AREA)
Abstract
This application provides a kind of digital independent of solid state hard disc, method for writing data and solid state hard disc, wherein method includes:Receive the event read request of the logical block address comprising target data;Lookup corresponding physical block address in Flash media with the logical block address;Calculate present physical block address and the difference of the physical block address;If the difference is more than the quantity of unstable Physical Page in Flash media, the target data is read based on the physical block address from the Flash media;If the difference is not more than the quantity of unstable Physical Page in Flash media, the target data is read based on the physical block address from caching;Wherein, backup has the data in the unstable Physical Page in the caching.The application on the basis of the intractability in not increasing reading process, can improve the accuracy of digital independent.
Description
Technical field
The application is related to solid state hard disc technical field, more particularly to a kind of digital independent of solid state hard disc, data write-in side
Method and solid state hard disc.
Background technology
Solid state hard disc includes control unit and solid state storage elements, and Flash media are used wherein solid state storage elements more.By
Data in Flash medium own hardware problems, Flash media in new write-in Physical Page are generally unstable.Therefore, when reading
During the Physical Page newly write in Flash media, easily occurs read error.
At present, in order to prevent using complicated error correction algorithm more than read error, still, because the error correcting capability of error correction algorithm is difficult
To ensure, so being read using error correction algorithm during data, not only increase the intractability of reading process and the degree of accuracy is difficult to protect
Card.
The content of the invention
This application provides a kind of digital independent of solid state hard disc, method for writing data and solid state hard disc, it can not increase
Plus on the basis of the intractability in reading process, improve the accuracy and reduction read latch of digital independent.
This application provides following technical characteristic to achieve these goals:
A kind of method for reading data of solid state hard disc, including:
Receive the event read request of the logical block address comprising target data;
Lookup corresponding physical block address in Flash media with the logical block address;
Calculate present physical block address and the difference of the physical block address;
If the difference is more than the quantity of unstable Physical Page in Flash media, institute is based on from the Flash media
State physical block address and read the target data;
If the difference is not more than the quantity of unstable Physical Page in Flash media, the physics is based on from caching
Block address reads the target data;Wherein, backup has the data in the unstable Physical Page in the caching.
Optionally, it is described that the target data is read based on the physical block address from caching, including:
In corresponding relation of the unstable Physical Page with caching, with searching Physical Page corresponding with the physical block address
Location;
The corresponding target data of the physical page address is read from the caching.
Optionally, it is described lookup with the logical block address in Flash media corresponding physical block address, including:
In flash translation layer (FTL) FTL mapping tables, physical block address corresponding with the logical block address is searched.
A kind of method for writing data of solid state hard disc, including:
Receive the event write request for including target data;
The target data is backed up in the buffer and the target data is write into Flash media.
Optionally, the caching includes original amount Physical Page, and, unstable Physical Page quantity in Flash media
Individual Physical Page;It is then described to back up the target data in the buffer, and the target data is write into Flash media, including:
The target data that the event write request is included writes the Physical Page for being designated in the caching and writing mark, and more
Change the Physical Page is designated reading mark;
Build physical block address of the target data in Flash media and pair of the physical page address in the caching
It should be related to, the target data is write into Flash media;
Empty to be designated in the caching and read mark and cache-time most long Physical Page, change being designated for the Physical Page
Mark is write, and deletes the corresponding relation for the physical page address for having emptied Physical Page.
Optionally, in addition to:
Determine unstable Physical Page quantity in Flash media;
The caching is extended into unstable Physical Page quantity Physical Page.
A kind of solid state hard disc, including:
Control unit, the event read request for receiving the logical block address comprising target data;Search and the logic
Block address corresponding physical block address in Flash media;Calculate present physical block address and the difference of the physical block address;
If the difference is more than the quantity of unstable Physical Page in Flash media, the physical block is based on from the Flash media
Read the target data in address;If the difference is not more than the quantity of unstable Physical Page in Flash media, from caching
The target data is read based on the physical block address;Wherein, in the caching there be in the unstable Physical Page backup
Data.
A kind of solid state hard disc, including:
Control unit, for receiving the event write request for including target data;The target data is backed up in the buffer simultaneously
The target data is write into Flash media.
Optionally, the caching includes original amount Physical Page, and, unstable Physical Page quantity in Flash media
Individual Physical Page;It is then described to back up the target data in the buffer and the target data is write into Flash media, specific bag
Include:
The target data that the event write request is included writes the Physical Page for being designated in the caching and writing mark, and more
Change the Physical Page is designated reading mark, builds physical block address of the target data in Flash media and the caching
In physical page address corresponding relation, by the target data write Flash media, empty be designated in the caching reading mark
Know and cache-time most long Physical Page, change being designated for the Physical Page and write mark, and deletion has emptied the physics of Physical Page
The corresponding relation of page address.Pass through above technological means, it is possible to achieve following beneficial effect:
The application is but unstable from avoiding reading from Flash media in root no longer using complicated error correction algorithm
A series of data in Physical Page, so as to avoid time-consuming error correction algorithm emulation, realization complexity, error correcting capability it cannot be guaranteed that waiting ask
Topic.
Also, data are directly read in the application from caching, so as to ensure data accuracy.Due to directly from caching
Data are read, the speed than reading data in the original medium from Flash faster, reduces read latch.
Brief description of the drawings
, below will be to embodiment or existing in order to illustrate more clearly of the embodiment of the present application or technical scheme of the prior art
There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of application, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of flow chart of the method for writing data of solid state hard disc disclosed in the embodiment of the present application;
Fig. 2 and Fig. 3 are respectively the schematic diagram cached in a kind of solid state hard disc disclosed in the embodiment of the present application;
Fig. 4 is a kind of flow chart of the method for reading data of solid state hard disc disclosed in the embodiment of the present application.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only some embodiments of the present application, rather than whole embodiments.It is based on
Embodiment in the application, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of the application protection.
Term is explained:
FTL:Flash translation layer (FTL), Flash translation layer.In order to not aggravate the burden of operating system, solid-state
The control unit of hard disk operates the independent sector that the operation of flash memory invents disk using software mode, here it is FTL.
LBA:LBA (Logical Block Address), Chinese, logical block addresses.
PBA:Physics Block Address, Chinese, physical block address.
The English name of HDD, Hard Disk Drive abbreviation, i.e. hard disk drive.
FTL mapping tables:For the incidence relation between LBA and PBA.
Because HDD data can be covered directly, so LBA and PBA relation is 1:1 correspondence, i.e. LBA=PBA.But
The storage medium nand flash memory used on SSD, which needs first to wipe, to be write again, read and write in units of Physical Page, wipe with block
(multiple pages of compositions) is the characteristic of unit, and the relation for causing LBA and PBA is no longer changeless.
Therefore SSD needs FTL to change, to coordinate existing file system.Due to the characteristic of nand flash memory, SSD's
Main control unit manages flash memory using LBA and PBA mapping table.When the data for having renewal will write, main control unit can be new
Data are written in blank block, are then updated mapping table data, LBA are pointed to new PBA.
Because FTL is present between file system and physical medium (flash memory), operating system need to only operate LBA as before
, and LBA to PBA all conversion works, just transfer to FTL to be responsible for entirely.
The application applicant has found in research process, because the Physical Page newly write in Flash media is unstable, therefore
The application provide technical scheme be:The Physical Page newly write is backed up in the buffer.So, when reading Flash media
In new write-in Physical Page when unstable data are no longer read in Flash media, but data are read from caching, so as to ensure
Read the accuracy of data.
The implementation procedure of the application is described below:
Due to the quantity of unstable Physical Page in different Flash media, so the application can determine whether that Flash is situated between first
The quantity of unstable Physical Page in matter.The one embodiment provided according to the application, can be in the following way:
First, a Block is chosen in Flash media and data are write;For example, writing the whole half datas of block mono-
Measure (M Physical Page).Then, read operation is done to the Physical Page newly write sequentially since Physical Page 0, and is recorded for the first time
The Physical Page N of read error.Finally, the quantity for determining the unstable Physical Page in Flash media is M-N Physical Page.
In practical situations both, to be on the safe side can using M-N+1 as the unstable Physical Page in Flash media number
Amount.
There is caching, caching has original amount Physical Page in the control unit of solid state hard disc, it is used to cache one
Or the data that multiple event write requests are included, then another and write-in is into Flash media, so as to improve the effect of event write request
Rate.
In order to be backed up to the target data that event write request is included in the application, amplification operation is carried out to caching, will
The unstable Physical Page quantity Physical Page of caching amplification, for unstable Physical Page quantity physics in backup Flash media
Data in page.
It is assumed that unstable Physical Page quantity is 4 in Flash media, original physical number of pages is 3, then referring to Fig. 1 institutes
The caching schematic diagram shown, can expand 4 Physical Page on the basis of original 3 Physical Page, eventually become the slow of 7 Physical Page
Deposit.
Wherein, can have that 3 (original physical number of pages) are individual is designated the Physical Page for writing mark in caching, for caching event
Have 4 (unstable Physical Page quantity) are individual to be designated the Physical Page for reading mark in data in write request, also, caching, use
Data in the unstable Physical Page of backup.
According to one embodiment of the application there is provided a kind of solid state hard disc wiring method.Referring to Fig. 2, specifically include
Following steps:
Step S201:Control unit receives the event write request for including target data.
The control unit of solid state hard disc can receive event write request, and for the ease of description, the data wherein included are referred to as
Target data.
Step S202:The target data that control unit includes the event write request writes to be designated in the caching and write
The Physical Page of mark, and change the Physical Page be designated reading mark.
Continue by taking the caching shown in Fig. 1 as an example, control unit determines to be designated the Physical Page (label for writing mark in the buffer
5- labels 7), and by the signified Physical Page (the corresponding Physical Page of label 5) of target data write head, and by the Physical Page
Mark is changed to read mark.
Step S203:Build physical block address of the data in Flash media corresponding with the physical page address in caching
Relation, Flash media are write by target data.
The corresponding relation of the physical page address in the physical block address and caching in Flash media can be built.That is, build
Physical page address marked as 5, with the corresponding relation of target data physical block in Flash media.Then, then by number of targets
According to new write-in Flash media.
Step S204:Empty to be designated in the caching and read mark and cache-time most long Physical Page, and change the thing
Being designated for page of reason writes mark, deletes the corresponding relation for the physical page address for having emptied Physical Page.
Control unit determines cache-time most long Physical Page in the Physical Page for reading mark is designated, and the Physical Page is in mesh
Mark after data write-in Flash media, the unstable Physical Page in Flash media will be departed from into stablizing in Physical Page, therefore,
The Physical Page may not necessarily cached.
Therefore, control unit can empty cache-time most long Physical Page, and the mark of the Physical Page is changed to write
Mark, to continue the data in caching event write request.
Continue by taking the caching shown in Fig. 1 as an example, cache-time most long Physical Page is found in mark is read (marked as 1
Physical Page), then, the Physical Page is changed to write mark.
It is the schematic diagram cached after step S202, step S203 and step S204 are finished referring to Fig. 3, can from diagram
To find out, the Physical Page marked as 5 has been changed to read mark, and the Physical Page marked as 1 is changed to write mark.
Because data have been emptied in Physical Page originally marked as 1, marked as the data in 1 Physical Page, in label 5
After target data write-in Flash media, stable data are had changed into.Therefore, can subsequently be read in Flash media marked as
1 data, can delete the corresponding relation between the physical block address of the physical page address and original data storage marked as 1.
Understood with reference to step S202- steps S204, each Physical Page rotation in the present embodiment caching is used, so can be with
Realize that the application backs up the purpose of unstable Physical Page using minimum caching Physical Page.
According to another embodiment that the application is provided, there is provided a kind of method for reading data of solid state hard disc.Referring to figure
4, specifically include following steps:
Step S401:Receive the event read request of the logical block address comprising target data.
Control unit receives event read request, and event read request includes the logical block address of target data.
Step S402:Lookup corresponding physical block address in Flash media with the logical block address.
Control unit searches physical block address corresponding with the logical block address in flash translation layer (FTL) FTL mapping tables.
Step S403:Calculate present physical block address and the difference of the physical block address.
In a Block, control unit can know the physical block address being currently being operated.Also, each
Be in Block order operate, i.e., first can operating physical block address minimum physical block, then, in gradually operating physical block
The larger physical block in address, until the physical block writes full.
In order to determine whether physical block address is that in the range of unstable Physical Page, can calculate and work as in event read request
The difference of preceding physical block address and physical block address in event read request.
Step S404:Judge whether difference is more than unstable Physical Page quantity in Flash media, if so, then entering step
S405, otherwise into step S406.
Control unit judges the size of difference and unstable Physical Page quantity, if difference is more than unstable Physical Page, says
Physical block address in bright event read request is in the range of Physical Page is stablized, now into step S405, in Flash
Target data is read in medium.
If difference is not more than unstable Physical Page, illustrate the physical block address in event read request still in unstable earnest
Manage in the range of page, now into step S406, target data is read in the buffer.
Step S405:If the difference is more than the quantity of unstable Physical Page in Flash media, it is situated between from the Flash
The target data is read based on the physical block address in matter.
Step S406:If the difference is not more than the quantity of unstable Physical Page in Flash media, it is based on from caching
The physical block address reads the target data;Wherein, backup has the data in the unstable Physical Page in the caching.
In corresponding relation of the unstable Physical Page with caching, with searching Physical Page corresponding with the physical block address
Location, reads the corresponding target data of the physical page address from the caching.
By the process shown in Fig. 2 it is known that the physical page address in caching and the physical block address in Flash media
Between there is corresponding relation, therefore, it can search corresponding with physical block address physical page address in corresponding relation, so as to
Target data is searched based on physical page address in caching.
The scheme provided by the application understands that the application has the advantages that:
The application is but unstable from avoiding reading from Flash media in root no longer using complicated error correction algorithm
A series of data in Physical Page, so as to avoid time-consuming error correction algorithm emulation, realization complexity, error correcting capability it cannot be guaranteed that waiting ask
Topic.Also, data are directly read in the application from caching, so as to ensure data accuracy.Due to being read directly from caching
Data, on the contrary than reading data in the original medium from Flash, reading speed is faster.
Corresponding with the method for writing data of the solid state hard disc shown in Fig. 2, present invention also provides a kind of solid state hard disc, bag
Include:
Control unit, for receiving the event write request for including target data;The target data is backed up in the buffer simultaneously
The target data is write into Flash media.
Wherein, caching includes original amount Physical Page, and, unstable Physical Page quantity physics in Flash media
Page;It is then described to back up the target data in the buffer and the target data is write into Flash media, specifically include:
The target data that the event write request is included writes the Physical Page for being designated in the caching and writing mark, and more
Change the Physical Page is designated reading mark, builds physical block address of the target data in Flash media and the caching
In physical page address corresponding relation, by the target data write Flash media, empty be designated in the caching reading mark
Know and cache-time most long Physical Page, change being designated for the Physical Page and write mark, and deletion has emptied the physics of Physical Page
The corresponding relation of page address.
Corresponding with the method for reading data of the solid state hard disc shown in Fig. 4, this application provides a kind of solid state hard disc, bag
Include:
Control unit, the event read request for receiving the logical block address comprising target data;Search and the logic
Block address corresponding physical block address in Flash media;Calculate present physical block address and the difference of the physical block address;
If the difference is more than the quantity of unstable Physical Page in Flash media, the physical block is based on from the Flash media
Read the target data in address;If the difference is not more than the quantity of unstable Physical Page in Flash media, from caching
The target data is read based on the physical block address;Wherein, in the caching there be in the unstable Physical Page backup
Data.
If the function described in the present embodiment method is realized using in the form of SFU software functional unit and is used as independent product pin
Sell or in use, can be stored in a computing device read/write memory medium.Understood based on such, the embodiment of the present application
The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, and this is soft
Part product is stored in a storage medium, including some instructions to cause a computing device (can be personal computer,
Server, mobile computing device or network equipment etc.) perform all or part of step of the application each embodiment methods described
Suddenly.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), deposit at random
Access to memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
The embodiment of each in this specification is described by the way of progressive, what each embodiment was stressed be with it is other
Between the difference of embodiment, each embodiment same or similar part mutually referring to.
The foregoing description of the disclosed embodiments, enables professional and technical personnel in the field to realize or use the application.
A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein
General Principle can in other embodiments be realized in the case where not departing from spirit herein or scope.Therefore, the application
The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one
The most wide scope caused.
Claims (9)
1. a kind of method for reading data of solid state hard disc, it is characterised in that including:
Receive the event read request of the logical block address comprising target data;
Lookup corresponding physical block address in Flash media with the logical block address;
Calculate present physical block address and the difference of the physical block address;
If the difference is more than the quantity of unstable Physical Page in Flash media, the thing is based on from the Flash media
Manage block address and read the target data;
If the difference is not more than the quantity of unstable Physical Page in Flash media, from caching with being based on the physical block
Read the target data in location;Wherein, backup has the data in the unstable Physical Page in the caching.
2. the method as described in claim 1, it is characterised in that described described based on physical block address reading from caching
Target data, including:
In corresponding relation of the unstable Physical Page with caching, physical page address corresponding with the physical block address is searched;
The corresponding target data of the physical page address is read from the caching.
3. the method as described in claim 1, it is characterised in that the lookup is with the logical block address in Flash media
Corresponding physical block address, including:
In flash translation layer (FTL) FTL mapping tables, physical block address corresponding with the logical block address is searched.
4. a kind of method for writing data of solid state hard disc, it is characterised in that including:
Receive the event write request for including target data;
The target data is backed up in the buffer and the target data is write into Flash media.
5. method as claimed in claim 4, it is characterised in that the caching includes original amount Physical Page, and,
Unstable Physical Page quantity Physical Page in Flash media;It is then described to back up the target data in the buffer, and by the mesh
Data write-in Flash media are marked, including:The target data that the event write request is included writes to be designated in the caching and write
The Physical Page of mark, and change the Physical Page be designated reading mark;
Build physical block address of the target data in Flash media pass corresponding with the physical page address in the caching
System, Flash media are write by the target data;
Empty to be designated in the caching and read mark and cache-time most long Physical Page, change being designated for the Physical Page and write mark
Know, and delete the corresponding relation for the physical page address for having emptied Physical Page.
6. method as claimed in claim 5, it is characterised in that also include:
Determine unstable Physical Page quantity in Flash media;
The caching is extended into unstable Physical Page quantity Physical Page.
7. a kind of solid state hard disc, it is characterised in that including:
Control unit, the event read request for receiving the logical block address comprising target data;With searching with the logical block
Location corresponding physical block address in Flash media;Calculate present physical block address and the difference of the physical block address;If institute
Quantity of the difference more than unstable Physical Page in Flash media is stated, then the physical block address is based on from the Flash media
Read the target data;If the difference is not more than the quantity of unstable Physical Page in Flash media, it is based on from caching
The physical block address reads the target data;Wherein, backup has the data in the unstable Physical Page in the caching.
8. a kind of solid state hard disc, it is characterised in that including:
Control unit, for receiving the event write request for including target data;The target data is backed up in the buffer and by institute
State target data write-in Flash media.
9. solid state hard disc as claimed in claim 8, it is characterised in that the caching includes original amount Physical Page, and,
Unstable Physical Page quantity Physical Page in Flash media;It is then described to back up the target data in the buffer and by the mesh
Data write-in Flash media are marked, are specifically included:
The target data that the event write request is included writes the Physical Page for being designated in the caching and writing mark, and change should
The reading that is designated of Physical Page is identified, and is built in physical block address and the caching of the target data in Flash media
The corresponding relation of physical page address, by the target data write Flash media, empty be designated in the caching reading mark and
Cache-time most long Physical Page, changes being designated for the Physical Page and writes mark, and with deleting the Physical Page for having emptied Physical Page
The corresponding relation of location.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710465127.4A CN107273306B (en) | 2017-06-19 | 2017-06-19 | Data reading and writing method for solid state disk and solid state disk |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710465127.4A CN107273306B (en) | 2017-06-19 | 2017-06-19 | Data reading and writing method for solid state disk and solid state disk |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107273306A true CN107273306A (en) | 2017-10-20 |
CN107273306B CN107273306B (en) | 2021-01-12 |
Family
ID=60067944
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710465127.4A Active CN107273306B (en) | 2017-06-19 | 2017-06-19 | Data reading and writing method for solid state disk and solid state disk |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107273306B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110597741A (en) * | 2019-08-23 | 2019-12-20 | 苏州浪潮智能科技有限公司 | Reading-writing and updating method of L2P table and L2P table |
CN110990301A (en) * | 2019-11-15 | 2020-04-10 | 苏州浪潮智能科技有限公司 | Sequential reading method of multi-plane storage medium and related device |
CN111190835A (en) * | 2019-12-29 | 2020-05-22 | 北京浪潮数据技术有限公司 | Data writing method, device, equipment and medium |
CN113157212A (en) * | 2021-04-23 | 2021-07-23 | 歌尔股份有限公司 | Flash storage method and device, intelligent wearable device and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101436152A (en) * | 2008-12-02 | 2009-05-20 | 成都市华为赛门铁克科技有限公司 | Method and device for data backup |
CN101702139A (en) * | 2009-11-24 | 2010-05-05 | 中兴通讯股份有限公司 | Method and device for accessing data of Nand flash memory |
CN103136121A (en) * | 2013-03-25 | 2013-06-05 | 中国人民解放军国防科学技术大学 | Cache management method for solid-state disc |
US20160019142A1 (en) * | 2014-07-17 | 2016-01-21 | Quanta Storage Inc. | Method of collecting garbage blocks in a solid state drive |
CN105630404A (en) * | 2015-04-02 | 2016-06-01 | 上海磁宇信息科技有限公司 | Solid-state drive using MRAM and read-write method |
CN105630691A (en) * | 2015-04-29 | 2016-06-01 | 上海磁宇信息科技有限公司 | MRAM-using solid state hard disk and physical address-using reading/writing method |
CN106527988A (en) * | 2016-11-04 | 2017-03-22 | 郑州云海信息技术有限公司 | SSD (Solid State Drive) data migration method and device |
CN106557264A (en) * | 2015-09-25 | 2017-04-05 | 伊姆西公司 | For the storage method and equipment of solid state hard disc |
-
2017
- 2017-06-19 CN CN201710465127.4A patent/CN107273306B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101436152A (en) * | 2008-12-02 | 2009-05-20 | 成都市华为赛门铁克科技有限公司 | Method and device for data backup |
CN101702139A (en) * | 2009-11-24 | 2010-05-05 | 中兴通讯股份有限公司 | Method and device for accessing data of Nand flash memory |
CN103136121A (en) * | 2013-03-25 | 2013-06-05 | 中国人民解放军国防科学技术大学 | Cache management method for solid-state disc |
US20160019142A1 (en) * | 2014-07-17 | 2016-01-21 | Quanta Storage Inc. | Method of collecting garbage blocks in a solid state drive |
CN105630404A (en) * | 2015-04-02 | 2016-06-01 | 上海磁宇信息科技有限公司 | Solid-state drive using MRAM and read-write method |
CN105630691A (en) * | 2015-04-29 | 2016-06-01 | 上海磁宇信息科技有限公司 | MRAM-using solid state hard disk and physical address-using reading/writing method |
CN106557264A (en) * | 2015-09-25 | 2017-04-05 | 伊姆西公司 | For the storage method and equipment of solid state hard disc |
CN106527988A (en) * | 2016-11-04 | 2017-03-22 | 郑州云海信息技术有限公司 | SSD (Solid State Drive) data migration method and device |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110597741A (en) * | 2019-08-23 | 2019-12-20 | 苏州浪潮智能科技有限公司 | Reading-writing and updating method of L2P table and L2P table |
CN110597741B (en) * | 2019-08-23 | 2021-09-10 | 苏州浪潮智能科技有限公司 | Reading-writing and updating method of L2P table and L2P table |
CN110990301A (en) * | 2019-11-15 | 2020-04-10 | 苏州浪潮智能科技有限公司 | Sequential reading method of multi-plane storage medium and related device |
CN111190835A (en) * | 2019-12-29 | 2020-05-22 | 北京浪潮数据技术有限公司 | Data writing method, device, equipment and medium |
CN111190835B (en) * | 2019-12-29 | 2022-06-10 | 北京浪潮数据技术有限公司 | Data writing method, device, equipment and medium |
CN113157212A (en) * | 2021-04-23 | 2021-07-23 | 歌尔股份有限公司 | Flash storage method and device, intelligent wearable device and storage medium |
CN113157212B (en) * | 2021-04-23 | 2023-02-28 | 歌尔股份有限公司 | Flash storage method and device, intelligent wearable device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107273306B (en) | 2021-01-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11640353B2 (en) | Memory system, data storage device, user device and data management method thereof | |
US11226747B2 (en) | System and method for copy on write on an SSD | |
US11232041B2 (en) | Memory addressing | |
US9619158B2 (en) | Two-level hierarchical log structured array architecture with minimized write amplification | |
US10402091B1 (en) | Managing data in log-structured storage systems | |
US11782632B2 (en) | Selective erasure of data in a SSD | |
US20130151759A1 (en) | Storage device and operating method eliminating duplicate data storage | |
CN108139902A (en) | The method and apparatus of SSD drive are accessed for providing mixed mode | |
US9606734B2 (en) | Two-level hierarchical log structured array architecture using coordinated garbage collection for flash arrays | |
WO2017113213A1 (en) | Method and device for processing access request, and computer system | |
US11030092B2 (en) | Access request processing method and apparatus, and computer system | |
CN107273306A (en) | A kind of digital independent of solid state hard disc, method for writing data and solid state hard disc | |
CN106662985A (en) | Host-managed non-volatile memory | |
KR102530583B1 (en) | Storage device and memory system | |
US20130346724A1 (en) | Sequential block allocation in a memory | |
CN110187834B (en) | Data processing method and device for duplicate copies and electronic equipment | |
CN111722797A (en) | SSD and HA-SMR hybrid storage system oriented data management method, storage medium and device | |
KR101191650B1 (en) | Apparatus and method for mapping the data address in NAND flash memory | |
US20160371192A1 (en) | Apparatus and method for performing cache management in a storage system | |
US11409665B1 (en) | Partial logical-to-physical (L2P) address translation table for multiple namespaces | |
US20210263648A1 (en) | Method for managing performance of logical disk and storage array | |
CN113608676A (en) | Copyback method and system based on disk array and computer storage medium |
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 |
Effective date of registration: 20201202 Address after: 215100 No. 1 Guanpu Road, Guoxiang Street, Wuzhong Economic Development Zone, Suzhou City, Jiangsu Province Applicant after: SUZHOU LANGCHAO 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. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |