Control system
US-2018277173-A1 · Sep 27, 2018 · US
US11237765B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-11237765-B2 |
| Application number | US-202016854109-A |
| Country | US |
| Kind code | B2 |
| Filing date | Apr 21, 2020 |
| Priority date | Oct 25, 2017 |
| Publication date | Feb 1, 2022 |
| Grant date | Feb 1, 2022 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
This application provides a data writing method and a storage device. The method is applied to a solid-state storage device SSD, and the method includes: receiving a write command, where the write command carries a type of to-be-written data; determining, based on the type of to-be-written data, a type of storage area that is in an SSD and into which the to-be-written data is written, where the SSD includes a plurality of types of storage areas; determining, based on the type of storage area, a target storage area into which the to-be-written data is written; and writing the to-be-written data into the target storage area. In embodiments of this application, data processing efficiency can be improved.
Opening claim text (preview).
What is claimed is: 1. A data writing method, applied to a solid-state storage device (SSD), wherein the method comprises: receiving a write command, wherein the write command carries a type of to-be-written data; determining, based on the type of to-be-written data, a type of storage area that is in the SSD and into which the to-be-written data is written, wherein the SSD comprises a plurality of types of storage areas; and writing the to-be-written data into a storage area corresponding to the type of storage area. 2. The method according to claim 1 , wherein the SSD stores a correspondence between a data type and a storage area type, and the determining, based on the type of to-be-written data, the type of storage area that is in the SSD and into which the to-be-written data is written comprises: determining, based on the type of to-be-written data and the correspondence, a type of target storage area into which the to-be-written data is written. 3. The method according to claim 2 , wherein the SSD comprises a plurality of storage blocks, the SSD is divided into different types of storage areas based on types of the storage blocks, and the correspondence is a correspondence between the data type and a storage block type. 4. The method according to claim 3 , wherein the SSD comprises at least two of an SLC (single level cell) area, an MLC (multi-level cell) area, a TLC (triple level cell) area, and a QLC (quad level cell) area, performance of the SLC area, the MLC area, the TLC area, and the QLC area sequentially decreases, and before the determining, based on the type of storage area, the target storage area into which the to-be-written data is written, the method further comprises: if there is no idle storage page in all storage blocks in a storage area corresponding to the type of storage area that is in the SSD and into which the to-be-written data is written, converting a type of at least one block that comprises an idle storage page and that is in a storage area having lower performance than a storage area corresponding to the type of storage area that is in the SSD and into which the to-be-written data is written to a type that is the same as a type of the storage area corresponding to the type of storage area that is in the SSD and into which the to-be-written data is written. 5. The method according to claim 2 , wherein the SSD comprises a plurality of storage blocks, each storage block comprises at least one type of storage page, and the correspondence is a correspondence between the data type and a storage page type. 6. The method according to claim 5 , wherein different types of each storage pages are corresponding to one storage list, and each storage list records one type of storage page; and the determining, based on the type of storage area, the target storage area into which the to-be-written data is written comprises: finding, based on the storage page type, an available storage page in a storage list corresponding to the storage page type, and using the available storage page as the target storage area; and if there is an available storage page in the storage list, using the available storage page as the target storage area; or if there is no available storage page in the storage list, obtaining an idle storage block in the SSD, and using a first storage page in the idle storage block as the target storage area. 7. The method according to claim 5 , wherein the storage block comprises at least two of an LSB (least significant bit) page, a CSB (central significant bit) page, and an MSB (most significant bit) page, performance of the LSB page, the CSB page, and the MSB page sequentially decreases, and the determining, based on the type of storage area, the target storage area into which the to-be-written data is written comprises: if a storage area corresponding the type of storage area that is in the SSD and into which the to-be-written data is written is the MSB page or the CSB page, and there is no available storage page in the storage area corresponding the type of storage area that is in the SSD and into which the to-be-written data is written, determining, as the target storage area, at least one available storage page having higher performance than the storage area corresponding the type of storage area that is in the SSD and into which the to-be-written data is written. 8. A solid-state device SSD, comprising: a memory storing instructions; and a processor coupled to the memory to execute the instructions to: receive a write command, wherein the write command carries a type of to-be-written data; determine, based on the type of to-be-written data, a type of storage area that is in the SSD and into which the to-be-written data is written, wherein the SSD comprises a plurality of types of storage areas; and write the to-be-written data into a storage area corresponding to the type of storage area. 9. The SSD according to claim 8 , wherein the SSD stores a correspondence between a data type and a storage area type, and when performing the operation of determining the type of storage area that is in the SSD and into which the to-be-written data is written, the processor is configured to: determine, based on the type of to-be-written data and the correspondence, a type of target storage area into which the to-be-written data is written. 10. The SSD according to claim 9 , wherein the SSD comprises a plurality of storage blocks, the SSD is divided into different types of storage areas based on types of the storage blocks, and the correspondence is a correspondence between the data type and a storage block type. 11. The SSD according to claim 10 , wherein the SSD comprises at least two of an SLC (single level cell) area, an MLC (multi-level cell) area, a TLC (triple level cell) area, and a QLC (quad level cell) area, performance of the SLC area, the MLC area, the TLC area, and the QLC area sequentially decreases, and if there is no idle storage page in all storage blocks in a storage area corresponding to the type of storage area that is in the SSD and into which the to-be-written data is written, the processor is further configured to convert a type of at least one block that comprises an idle storage page and that is in a storage area having lower performance than the type of storage area that is in the SSD and into which the to-be-written data is written to a type that is the same as a type of storage area of the type of storage area that is in the SSD and into which the to-be-written data is written. 12. The SSD according to claim 9 , wherein the SSD comprises a plurality of storage blocks, each storage block comprises at least one type of storage page, the SSD is divided into different types of storage areas based on storage page types, and the correspondence is a correspondence between the data type and the storage page type. 13. The SSD according to claim 12 , wherein different types of each storage pages are corresponding to one storage list, and each storage list records one type of storage page; and when performing the operation of determining the target storage area into which the to-be-written data is written, the processor is configured to: find, based on the storage page type, an available storage page in a storage list corresponding to the storage page type, and use the available storage page as the target storage area; and if there is an available storage page in the storage list, use the available storage page as the target storage area; or if there is no available storage page in the storage list, obtain an idle storage block in the SSD, and use a first storage page in the idle storage block as the target
Floating-gate IGFETs · CPC title
Programming or data input circuits · CPC title
Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP] · CPC title
Improving or facilitating administration, e.g. storage management · CPC title
Command handling arrangements, e.g. command buffers, queues, command scheduling · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.