Data storage method, storage apparatus and host

US12164809B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12164809-B2
Application numberUS-202318124290-A
CountryUS
Kind codeB2
Filing dateMar 21, 2023
Priority dateSep 8, 2022
Publication dateDec 10, 2024
Grant dateDec 10, 2024

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A data storage method includes: in response to a stream ID carried by an IO write request of a host satisfying a first preset condition, writing data corresponding to the IO write request into a first storage unit; and in response to the stream ID carried by the IO write request satisfying a second preset condition, writing the data corresponding to the IO write request into a second storage unit, wherein the stream ID indicates write latency requirement information of the data corresponding to the IO write request, wherein a data write latency indicated by the stream ID satisfying the first preset condition is less than the data write latency indicated by the stream ID satisfying the second preset condition, wherein a read and write performance of the first storage unit is higher than the read and write performance of the second storage unit.

First claim

Opening claim text (preview).

What is claimed is: 1. A data storage method, the method comprising: in response to a stream identifier (ID) carried by an input/output (IO) write request of a host satisfying a first preset condition, writing data corresponding to the IO write request into a first storage unit of a storage apparatus; and in response to the stream ID carried by the IO write request satisfying a second preset condition, writing the data corresponding to the IO write request into a second storage unit of the storage apparatus, wherein the stream ID indicates write latency requirement information of the data corresponding to the IO write request, wherein a data write latency indicated by the stream ID satisfying the first preset condition is less than the data write latency indicated by the stream ID satisfying the second preset condition, wherein a read and write performance of the first storage unit is higher than the read and write performance of the second storage unit. 2. The data storage method of claim 1 , wherein a data type associated with the stream ID satisfying the first preset condition includes: log data of a file system, Bitmap data of the file system, Inode data of the file system, log data of a user, and metadata of the user, and wherein a data type associated with the stream ID satisfying the second preset condition includes: application data of the user, other data of the file systems, and other user data. 3. The data storage method of claim 1 , wherein the writing the data corresponding to the IO write request into the first storage unit includes: in response to the stream ID satisfying the first preset condition, writing the IO write request into a first IO request queue, and writing the data corresponding to the IO write request into the first storage unit by scheduling the first IO request queue via a first scheduler, and wherein the writing the data corresponding to the IO write request into the second storage unit includes: in response to the stream ID satisfying the second preset condition, writing the IO write request into a second IO request queue, and writing the data corresponding to the IO write request into the second storage unit by scheduling the second IO request queue via a second scheduler. 4. The data storage method of claim 3 , further comprising: in response to the first storage unit being full, reading migrated data from the first storage unit according to a preset rule and writing the migrated data into the second IO request queue via the first scheduler; and writing the migrated data into the second storage unit by scheduling the second IO request queue via the second scheduler. 5. The data storage method of claim 3 , further comprising: in response to a depth of the first IO queue being greater than a preset depth value, writing the IO write request whose write latency exceeds a preset latency value from the first IO request queue into the second IO request queue via the first scheduler; and writing data corresponding to the IO write request whose write latency exceeds the preset latency value into the second storage unit by scheduling the second IO request queue via the second scheduler. 6. The data storage method of claim 3 , further comprising: assigning a corresponding weight to the IO write request in the first TO request queue based on the stream ID carried by the IO write request, wherein the higher a write latency requirement of the data corresponding to the IO write request indicated by the stream ID is, the greater the weight corresponding to the IO write request is, and wherein the writing the data corresponding to the IO write request into the first storage unit by scheduling the first IO request queue via a first scheduler includes; scheduling the first IO request queue according to the weight in a round-robin manner, via the first scheduler. 7. The data storage method of claim 1 , wherein the first storage unit includes a storage class memory (SCM), and the second storage unit includes a NAND flash memory. 8. A data storage method, the method comprising: in response to an IO write request that is to be sent to a storage apparatus, determine a type of data corresponding to the IO write request; determine a stream ID corresponding to the IO write request based on the type of the data; and sending the IO write request that is carrying the stream ID to the storage apparatus, so that the storage apparatus stores data corresponding to the IO write request in a first storage unit of the storage apparatus when determining that the stream ID satisfies a first preset condition and stores the data corresponding to the IO write request in a second storage unit of the storage apparatus when determining that the stream ID satisfies a second preset condition; wherein the stream ID indicates write latency requirement information of the data corresponding to the IO write request, wherein a data write latency indicated by the stream ID satisfying the first preset condition is less than the data write latency indicated by the stream ID satisfying the second preset condition, wherein a read and write performance of the first storage unit is higher than the read and write performance of the second storage unit. 9. The data storage method of claim 8 , wherein a data type associated with the stream ID satisfying the first preset condition includes: log data of a file system, Bitmap data of the file system, Inode data of the file system, log data of a user, and metadata of the user, and wherein a data type associated with the stream ID satisfying the second preset condition includes: application data of the user, other data of the file systems, and other user data. 10. A storage apparatus supporting multi-stream, the storage apparatus comprising: a data writing unit configured to: in response to a stream ID carried by the IO write request of a host satisfying a first preset condition, write data corresponding to an IO write request into a first storage unit of the storage apparatus, and in response to the stream ID carried by the IO write request satisfying a second preset condition, write data corresponding to the IO write request into a second storage unit of the storage apparatus, wherein the stream ID indicates write latency requirement information of the data corresponding to the IO write request, wherein a data write latency indicated by the stream ID satisfying the first preset condition is less than the data write latency indicated by the stream ID satisfying the second preset condition, wherein a read and write performance of the first storage unit is higher than the read and write performance of the second storage unit. 11. The storage apparatus of claim 10 , wherein a data type associated with the stream ID satisfying the first preset condition includes: log data of a file system, Bitmap data of the file system, Inode data of the file system, log data of a user, and metadata of the user, and wherein a data type associated with the stream ID satisfying the second preset condition includes: application data of the user, other data of the file systems, and other user data. 12. The storage apparatus of claim 10 , wherein the data writing unit includes a first scheduler and a second scheduler, wherein the data writing unit is further configured to: in response to the stream ID satisfying the first preset condition, write the IO write request into a first IO request queue, and write the data corresponding to the IO write request into the first storage unit by scheduling the first IO request queue via the first scheduler, and in response to the stream ID satisfying the second preset condition, write the IO write request into a sec

Assignees

Inventors

Classifications

  • Plurality of storage devices · CPC title

  • Migration mechanisms · CPC title

  • Improving I/O performance · CPC title

  • Performance improvement · CPC title

  • G06F3/0679Primary

    Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP] · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US12164809B2 cover?
A data storage method includes: in response to a stream ID carried by an IO write request of a host satisfying a first preset condition, writing data corresponding to the IO write request into a first storage unit; and in response to the stream ID carried by the IO write request satisfying a second preset condition, writing the data corresponding to the IO write request into a second storage un…
Who is the assignee on this patent?
Samsung Electronics Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06F3/0679. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Dec 10 2024 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 6 related publications on this page (citations in our corpus or others sharing the same primary CPC).