US 11,656,999 B2
Electronic device and method for determining and managing a partial region of mapping information in volatile memory
Manjong Lee, Suwon-si (KR); Hyeongjun Kim, Suwon-si (KR); Changheun Lee, Suwon-si (KR); and Jintae 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. 9, 2020, as Appl. No. 16/896,524.
Claims priority of application No. 10-2019-0071473 (KR), filed on Jun. 17, 2019.
Prior Publication US 2020/0394139 A1, Dec. 17, 2020
Int. Cl. G06F 12/10 (2016.01)
CPC G06F 12/10 (2013.01) [G06F 2212/657 (2013.01)] 14 Claims
OG exemplary drawing
 
1. An electronic device comprising:
a processor;
a first volatile memory; and
a storage including a nonvolatile memory and a second volatile memory, wherein the nonvolatile memory is configured to store mapping information in which logical addresses and physical addresses for the nonvolatile memory are mapped onto each other, the first volatile memory is configured to store a portion of the mapping information, and the second volatile memory is configured to store a portion of the mapping information,
wherein the processor is configured to:
identify an extension and attribute information of a file and a kind of a request for data included in the file in response to a creation of the request for the data,
set a reference flag in the request for the data when the request for the data is a read request based on the kind of the request and the file is a file used to execute a specific application based on the extension and the attribute information of the file,
identify whether mapping information of a region including a logical address of the data is stored in the first volatile memory in response to the setting the reference flag in the read request,
when the mapping information of the region including the logical address of the data is not stored in the first volatile memory:
set an update flag in the request for the data,
transmit the read request of the data including the logical address to the storage,
transmit a request to update the mapping information of the region including the logical address of the data in the first volatile memory to the storage in response to the setting the reference flag and the update flag in the read request, and
receive the mapping information of the region including the logical address of the data from the storage and store the received mapping information in the first volatile memory, and
when the mapping information of the region including the logical address of the data is stored in the first volatile memory:
identify a physical address mapped onto the logical address of the data through the mapping information of the region including the logical address of the data, and
transmit the read request of the data including the identified physical address to the storage.