US 12,321,278 B2
Swap memory device providing data and data block, method of operating the same, and method of operating electronic device including the same
Won Woo Ro, Seoul (KR); Hyoseong Choi, Seoul (KR); Jiwon Lee, Seoul (KR); and Jeonghoon Choi, Suwon-si (KR)
Assigned to Samsung Electronics Co., Ltd., (KR)
Filed by Samsung Electronics Co., Ltd., Suwon-si (KR)
Filed on Jul. 11, 2023, as Appl. No. 18/350,148.
Claims priority of application No. 10-2022-0145399 (KR), filed on Nov. 3, 2022.
Prior Publication US 2024/0152461 A1, May 9, 2024
Int. Cl. G06F 12/0862 (2016.01)
CPC G06F 12/0862 (2013.01) [G06F 2212/1024 (2013.01)] 14 Claims
OG exemplary drawing
 
1. A method of operating a swap memory device configured to communicate with a host device and a main memory device, wherein the swap memory device includes a memory controller, a data buffer memory, and a volatile memory device, the method comprising:
storing a target data block including target data;
receiving, from the host device, a request corresponding to the target data;
determining, by the swap memory device, a first address of the target data and a second address of the target data block that includes the target data, based on the request;
providing, by the swap memory device, the target data to the host device based on the first address; and
providing, by the swap memory device, the target data block to the main memory device based on the second address,
wherein the determining of the first address of the target data and the second address of the target data block that includes the target data based on the request comprises:
determining, by the memory controller, whether the target data block is loaded to the data buffer memory;
in response to determining that the target data block is not loaded to the data buffer memory, loading, by the memory controller, the target data block from the volatile memory device to the data buffer memory; and
determining, by the memory controller, the first address and the second address, after loading the target data block to the data buffer memory.