Data writing method and storage device
AssigneeHuawei Technologies Co., Ltd.
InventorsMeng Zhou, Jianhua Zhou
Life of this patent
Estimating the term…
Abstract
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.
Claims14
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.
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.
Dependencies are inferred from the claim text.