US 12,422,982 B2
Storage system and method of data management of the same
Junghoon Kim, Suwon-si (KR); Hyuntae Kim, Suwon-si (KR); Hojin Ahn, Suwon-si (KR); Jihun You, Suwon-si (KR); Doogie Lee, Suwon-si (KR); and Yeni Jang, Suwon-si (KR)
Assigned to SAMSUNG ELECTRONICS CO., LTD., Suwon-si (KR)
Filed by SAMSUNG ELECTRONICS CO., LTD., Suwon-si (KR)
Filed on Jun. 8, 2023, as Appl. No. 18/207,373.
Claims priority of application No. 10-2022-0131543 (KR), filed on Oct. 13, 2022.
Prior Publication US 2024/0126435 A1, Apr. 18, 2024
Int. Cl. G06F 3/06 (2006.01)
CPC G06F 3/0608 (2013.01) [G06F 3/064 (2013.01); G06F 3/0652 (2013.01); G06F 3/0679 (2013.01)] 18 Claims
OG exemplary drawing
 
1. A storage system comprising:
a host device comprising a file system configured to:
manage a file by dividing the file into a plurality of data blocks;
separately set a plurality of block expiration times respectively corresponding to each of the plurality of data blocks in the file; and
transfer the plurality of block expiration times after setting the plurality of plurality of block expiration times; and
a storage device configured to store data, the storage device comprising:
a nonvolatile memory device configured to store the plurality of data blocks from the host device;
a storage timer configured to provide a count value by counting time; and
a data deletion manager configured to:
generate a data deletion information table comprising a plurality of block deletion times for deleting the plurality of data blocks based on the plurality of block expiration times from the host device, and
delete each of the plurality of data blocks stored in the nonvolatile memory device based on the data deletion information table and the count value by providing a logic address corresponding to each of the plurality of data blocks to a flash translation layer (FTL) the storage device,
wherein the FTL is configured to convert the logic address to a physical address of the nonvolatile memory device and delete a data block stored at the physical address,
wherein the storage timer is further configured to provide the count value by initializing the count value to zero when the storage device is powered on to start counting time from a time point when the storage device is powered on,
wherein the data deletion manager is further configured to:
store an accumulated on time in the data deletion information table by accumulating the count value when the storage device is powered off,
calculate an accumulated usage time by summing the count value provided from the storage timer and the accumulated on time stored in the data deletion information table,
calculate a first block deletion time, among the plurality of block deletion times, corresponding to a first data block, among the one or more of the plurality of data blocks by adding a first block expiration time to the accumulated usage time at a first time when the first block expiration time, among the plurality of block expiration times, corresponding to the first data block is received from the host device, and
delete the first data block when the accumulated usage time at a second time is greater than the first block deletion time.