Search

CN-121999838-A - Storage device, operation method of storage device and computing system including storage device

CN121999838ACN 121999838 ACN121999838 ACN 121999838ACN-121999838-A

Abstract

A storage device, a method of operating the storage device, and a computing system including the storage device are provided. The storage device includes a nonvolatile memory device configured to store data, a storage interface connected to the host device, and a storage controller configured to receive a command from the host device through the storage interface and to control the nonvolatile memory device in response to the command. When the memory controller receives a command sequence from the host device more than a reference number of times and the command sequence sequentially includes a first write command indicating a first write operation, a second write command indicating a second write operation, and a flush command indicating a flush operation, the memory controller executes the first write command by sequential writing to store first write data in a first memory area of the nonvolatile memory device and executes the second write command by random writing to store second write data in a second memory area of the nonvolatile memory device.

Inventors

  • LI XIANGJIE
  • LI SEQI

Assignees

  • 三星电子株式会社

Dates

Publication Date
20260508
Application Date
20250707
Priority Date
20241101

Claims (20)

  1. 1. A storage device, comprising: a nonvolatile memory device configured to store data; A storage interface connected to an external host device, and A memory controller configured to receive a command from an external host device through the memory interface and to control the nonvolatile memory device in response to the command, Wherein when the storage controller receives a command sequence from the external host device more than a reference number of times and the command sequence includes a first write command indicating a first write operation, a second write command indicating a second write operation, and a flush command indicating a flush operation, the storage device is configured such that: the memory controller executes a first write command by sequential writing to store first write data in a first memory area of the nonvolatile memory device and executes a second write command by random writing to store second write data in a second memory area of the nonvolatile memory device.
  2. 2. The storage device of claim 1, wherein a capacity of the first write data is greater than a capacity of the second write data.
  3. 3. The storage device of claim 1, wherein the first write data is snapshot data generated by a review function activated in an operating system installed in the nonvolatile memory device and loaded into the external host device, and Wherein the second write data is metadata.
  4. 4. The memory device of claim 3, wherein the non-volatile memory device is configured to provide a review space comprising the first memory region and the second memory region, and Wherein the review space is defined in a system partition of an operating system in which the external host device is installed.
  5. 5. The storage device of claim 4, wherein when the remaining capacity of the system partition is less than a predetermined minimum free capacity, the storage device is configured such that: The memory controller stores the first write data and the second write data in a buffer area of the nonvolatile memory device different from the first memory area and the second memory area in response to a command sequence received from the external host device.
  6. 6. The memory device of claim 5, wherein the memory controller is configured to write 1-bit of each of the first write data and the second write data into each of a plurality of memory cells included in the buffer area.
  7. 7. The storage device of claim 6, wherein the storage controller is configured to move the first write data and the second write data in the write buffer area to a data area of the nonvolatile memory device that is different from the buffer area according to a predetermined migration policy.
  8. 8. The memory device of claim 1, wherein the memory controller is configured to store 2 or more bits of data in each of the plurality of first memory cells included in the first memory region and 1 bit of data in each of the plurality of second memory cells included in the second memory region.
  9. 9. The storage device of any one of claims 1 to 8, further comprising: a random access memory device having a memory cell, Wherein the refresh operation is an operation of moving data stored in the random access memory device to the nonvolatile memory device.
  10. 10. A method of operation of a storage device, the method of operation comprising: Receiving a command sequence including a first write command, a second write command, and a flush command from an external host device; comparing the number of times the command sequence is received with a reference number; when the number of times of receiving the command sequence is equal to or greater than the reference number, comparing the remaining capacity of the system partition in which the operating system is installed in the memory device included in the storage device with the reference free capacity, and When the remaining capacity is greater than or equal to the reference free capacity, the first write data is stored in a first memory area of the memory device by sequential writing in response to a first write command, and the second write data is stored in a second memory area of the memory device by random writing in response to a second write command.
  11. 11. The method of operation of claim 10, further comprising: when the number of times the command sequence is received is smaller than the reference number, the first write data and the second write data are stored in a buffer area different from the first memory area and the second memory area.
  12. 12. The method of operation of claim 10, further comprising: migration of second write data stored in the second memory area by random writing is prohibited.
  13. 13. The method of operation of claim 10, wherein the first memory region comprises at least one of a multi-level cell, a three-level cell, and a four-level cell, and Wherein the second memory region comprises single level cells.
  14. 14. The method of operation of claim 10, further comprising: When the remaining capacity is smaller than the minimum free capacity, the first write data and the second write data are stored in a buffer area different from the first memory area and the second memory area.
  15. 15. The method of operation of claim 10, further comprising: When the number of times the command sequence is received is equal to or greater than a reference number and the remaining capacity is greater than or equal to a reference free capacity, it is determined whether a first logical address of a first write command points to a first memory area and whether a second logical address of a second write command points to a second memory area.
  16. 16. The method of operation of claim 15, further comprising: When the first logical address does not point to the first memory area or the second logical address does not point to the second memory area, the first write data and the second write data are stored in a buffer area different from the first memory area and the second memory area.
  17. 17. The method of operation of claim 15, further comprising: when the number of times the command sequence is received is equal to or greater than a reference number and the remaining capacity is greater than or equal to a reference free capacity, it is determined whether first logical addresses of first write commands included in the command sequence overlap each other.
  18. 18. The method of operation of claim 17, further comprising: When the first logical addresses do not overlap each other, the first write data and the second write data are stored in a buffer area different from the first memory area and the second memory area.
  19. 19. A computing system, comprising: a memory device including a memory device, a memory interface and a memory controller, and A host device comprising a processor and a host interface connected to the storage interface, Wherein the processor is configured to: The boot process is performed by loading an operating system installed in a system partition of the memory device, Activating a review function of generating snapshot data and metadata obtained by capturing a screen displayed by an application executing on a host device, and Transmitting a command sequence to the storage device, the command sequence including a first write command indicating writing of snapshot data and a second write command indicating writing of metadata, and Wherein the memory controller is configured to: Snapshot data is stored in a first memory region of the system partition by sequential writing, Storing metadata in a second memory area of the system partition by random writing, and Migration of metadata written into the second memory region is prohibited.
  20. 20. The computing system of claim 19 wherein the processor is further configured to activate a review function when a remaining capacity of the system partition is equal to or greater than a reference free capacity, and Wherein the reference free capacity is determined based on the total capacity of the system partition.

Description

Storage device, operation method of storage device and computing system including storage device The present application claims priority from korean patent application No. 10-2024-0153291 filed on 1 month 2024 at 11 and korean patent application No. 10-2024-0195628 filed on 24 month 2024 at 12, each of which is incorporated herein by reference in its entirety. Technical Field Example embodiments of the present disclosure relate to a storage device, a method of operating the storage device, and a computing system including the storage device. Background The storage device may be connected to the host device, may store data transmitted from the host device, and may transmit the stored data to the host device. The storage device may include a memory device and a storage controller, and the storage controller may be connected to the host device through a predetermined interface. A host device connected to the storage device may provide a review (recall) function of "generating snapshot data by capturing data of a running screen and storing the generated data in the storage device so as to improve user convenience". By storing snapshot data generated from the host device in the storage device, the work history can be provided to the user. However, in the process of storing snapshot data in the storage device, a Write Amplification Factor (WAF) of the storage device may increase, so that the lifetime may be shortened or the reliability of the storage device may be deteriorated. Therefore, it is desirable to reduce the WAF of the storage device even when the process of storing snapshot data is performed. Disclosure of Invention Example embodiments of the present disclosure provide a storage device that may reduce an increase in WAF and may improve lifetime and reliability by storing snapshot data generated by activating a review function by a host device in sequential writing instead of random writing, an operation method of the storage device, and a computing system including the storage device. According to an example embodiment of the present disclosure, a storage device includes a non-volatile memory device configured to store data, a storage interface connected to an external host device, and a storage controller configured to receive a command from the external host device through the storage interface and to control the non-volatile memory device in response to the command. When the memory controller receives a command sequence from the external host device more than a reference number of times and the command sequence includes, in order, a first write command indicating a first write operation, a second write command indicating a second write operation, and a flush command indicating a flush operation, the memory controller executes the first write command by sequential writing to store first write data in a first memory area of the nonvolatile memory device, and executes the second write command by random writing to store second write data in a second memory area of the nonvolatile memory device. According to an example embodiment of the present disclosure, an operating method of a storage device includes receiving a command sequence including a first write command, a second write command, and a flush command from an external host device, comparing a number of times the command sequence is received with a reference number, comparing a remaining capacity of a system partition in which an operating system is installed, included in the storage device, with a reference free capacity when the number of times the command sequence is received is equal to or greater than the reference number, and storing first write data in a first memory area of the storage device by sequential writing in response to the first write command and storing second write data in a second memory area of the storage device by random writing in response to the second write command when the remaining capacity is greater than or equal to the reference free capacity. According to an example embodiment of the present disclosure, a computing system includes a storage device and a host device. The memory device includes a memory device, a memory interface, and a memory controller. The host device includes a processor and a host interface connected to the storage interface. The processor performs a boot process by loading an operating system installed in a system partition of the memory device, activates a review function that generates snapshot data and metadata obtained by capturing a screen displayed by an application executing on the host device, and sends a command sequence to the memory device, the command sequence including a first write command indicating writing the snapshot data and a second write command indicating writing the metadata. The storage controller stores snapshot data in a first memory area of the system partition by sequential writing, stores metadata in a second memory area of the system partition by random writing, and