US 11,893,272 B2
Memory storage device, method for operating the storage device and method for operating a host device
Hye Jeong Jang, Hwaseong-si (KR); Min Cheol Kwon, Yongin-si (KR); Eun Joo Oh, Hwaseong-si (KR); Sung Kyun Lee, Seongnam-si (KR); Sang Won Jung, Busan (KR); and Young Rae Jo, Suwon-si (KR)
Assigned to SAMSUNG ELECTRONICS CO., LTD., Suwon-si (KR)
Filed by Samsung Electronics Co., Ltd., Suwon-si (KR)
Filed on Dec. 22, 2021, as Appl. No. 17/559,011.
Claims priority of application No. 10-2021-0028597 (KR), filed on Mar. 4, 2021.
Prior Publication US 2022/0283734 A1, Sep. 8, 2022
Int. Cl. G06F 3/06 (2006.01)
CPC G06F 3/0656 (2013.01) [G06F 3/064 (2013.01); G06F 3/0619 (2013.01); G06F 3/0659 (2013.01); G06F 3/0679 (2013.01)] 16 Claims
OG exemplary drawing
 
1. A method for a memory storage device, the memory storage device comprising:
a memory controller; and
a non-volatile memory connected to the memory controller, the method comprising:
receiving, by the memory controller, a command from a host device, the command requesting information about lost LBAs (logical block addresses) lost from a buffer of the memory controller during a system shutdown of the memory storage device,
in response to the command, providing, by the memory controller, the information about the lost LBAs, and
receiving, by the memory controller, recovered data corresponding to the lost LBAs based on the information about the lost LBAs,
wherein the information about the lost LBAs includes at least one of the number of LBAs lost by system shutdown, an LBA list lost by system shutdown, and deletion of a previous LBA list lost by system shutdown,
wherein:
the memory controller receives and buffers write data and LBAs from the host device prior to the system shutdown,
the memory controller creates and stores a bitmap on the basis of the buffered write data and LBAs prior to the system shutdown, and
the memory controller programs the bitmap and at least some of the buffered write data into the non-volatile memory on the basis of the LBAs during a dumping time due to the system shutdown, the dumping time lasting from the time of system shutdown to a time when a temporary power source is exhausted.