IP Library Granted Patent US 12,287,983
Granted Patent B2
US 12,287,983 · App. 18/082,966 · Granted Apr 29, 2025

Data swapping method and electronic device supporting same

Inventors: Chulmin Kim (Suwon-si, KR); Ohoon Kwon (Suwon-si, KR); Hyunjoon Cha (Suwon-si, KR); Jaewon Kim (Suwon-si, KR); Sooyong Suk (Suwon-si, KR); Yongtaek Lee (Suwon-si, KR)
Assignee: SAMSUNG ELECTRONICS CO., LTD.
G06F3/0653G06F3/061G06F3/0673
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,287,983
App. No.
18/082,966
Granted
Apr 29, 2025
Kind
B2
Abstract

An electronic device includes: a plurality of swap devices; a memory storing instructions and data to swap; and a processor configured to execute the instructions to: based on attributes of the data to swap stored in the memory and attributes of at least one swap device of the plurality of swap devices, identify a swap device for swapping the data among the plurality of swap devices, and swap the data using the identified swap device.

Claims (47)

1. An electronic device comprising:

a plurality of swap devices;

at least one processor; and

memory storing instructions and data to swap, wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to:

based on data attributes of each of a plurality of data stored in the memory, classify the plurality of data into groups, the data attributes comprising a first data attribute of first data of the plurality of data,

among the plurality of swap devices, identify swap devices corresponding to the groups based on the data attributes,

determine whether the first data attribute is changed during runtime of an executed process or an application program which uses the first data,

in response to determination that the first data attribute is changed, based on the changed first data attribute of the first data and device attributes of the plurality of swap devices, identify a first group among the groups comprising the first data,

identify a swap device corresponding to the first group, having a device attribute corresponding to the changed first data attribute, from the plurality of swap devices, and

swap the first data from the memory to the identified swap device,

wherein the changed first data attribute is at least one of: whether the first data is related to a user interface, or erasability of the first data.

2. The electronic device of claim 1 , wherein the device attributes of the plurality of swap devices comprise at least one of swap device performance, swap device lifespan, access availability to the plurality of swap devices, or data integrity in swapping using the plurality of swap devices.

3. The electronic device of claim 1 , wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to execute the instructions individually or collectively to:

identify at least a portion of data in each of the groups as a swapping target, based on data usage history information corresponding to each of the groups; and

swap the identified at least the portion of the data using a swap device among the plurality of swap devices corresponding to each of the groups.

4. The electronic device of claim 1 , wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to execute the instructions individually or collectively to:

generate association information between the first data attribute and the device attributes of the plurality of swap devices, and

identify the swap device for swapping the first data, based on the association information.

5. The electronic device of claim 4 , wherein the association information comprises information which sets at least one of the device attributes including swap device performance, swap device lifespan, access availability to the plurality of swap devices, or data integrity in swapping using the plurality of swap devices to correspond to at least one data attribute among the data attributes comprising whether data is related to the user interface, the erasability of data, a memory range accessed per unit time in execution of data, or the integrity of data in swapping.

6. The electronic device of claim 1 , wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to execute the instructions individually or collectively to identify the swap device for swapping the first data among the plurality of swap devices, further based on state information of each of the plurality of swap devices, and

wherein the state information of each of the plurality of swap devices comprises at least one of a swap device available space, a swap device free space, a data amount stored in the swap device, or a connection state of the swap device.

7. The electronic device of claim 1 , wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to execute the instructions individually or collectively to change the swap device for swapping the first data, based on a swapping overhead value of each of the plurality of swap devices with respect to the first data.

8. The electronic device of claim 1 , wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to execute the instructions individually or collectively to change the swap device for swapping the first data, based on a system performance improvement value according to securing a memory space for each of the plurality of swap devices and a swapping overhead value of each of the plurality of swap devices.

9. A data swapping method for an electronic device, the data swapping method comprising:

based on data attributes of each of a plurality of data stored in memory, classifying the plurality of data into groups, the data attributes comprising a first data attribute of first data of the plurality of data;

among a plurality of swap devices in the electronic device, identifying swap devices corresponding to the groups based on the data attributes;

determining whether the first data attribute is changed during runtime of an executed process or an application program which uses the first data;

in response to determination that the first data attribute is changed, based on the changed first data attribute of the first data and device attributes of the plurality of swap devices, identifying a first group among the groups comprising the first data,

identifying a swap device corresponding to the first group, having a device attribute corresponding to the changed first data attribute, among the plurality of swap devices; and

swapping the first data from the memory to the identified swap device,

wherein the changed first data attribute is at least one of: whether the first data is related to a user interface, or erasability of the first data.

10. The data swapping method of claim 9 , further comprising:

generating association information between the first data attribute of the data and the device attributes of the plurality of swap devices,

wherein the identifying the swap device comprises:

identifying the swap device for swapping the first data from the plurality of swap devices, based on the association information.

11. The data swapping method of claim 10 , wherein the generating the association information comprises setting information of performance of the plurality of swap devices, swap device lifespan, access availability to the plurality of swap devices, or data integrity in swapping using the plurality of swap devices to correspond to at least one data attribute among the data attributes comprising whether data is related to the user interface, the erasability of data, a memory range accessed per unit time in execution of data, or the integrity of data in swapping.

12. The data swapping method of claim 9 , further comprising:

changing the swap device for swapping the first data, based on a swapping overhead value of each of the plurality of swap devices with respect to the first data.

13. The data swapping method of claim 9 , further comprising:

changing the swap device for swapping the first data, based on a system performance improvement value according to securing a memory space for each of the plurality of swap devices and a swapping overhead value of each of the plurality of swap devices.

14. The data swapping method of claim 9 , wherein the device attributes of the plurality of swap devices comprise at least one of a swap device performance, a swap device lifespan, access availability to the swap device, or data integrity in swapping using the swap device.

15. The data swapping method of claim 9 , further comprising:

identifying, as a swapping target, at least a portion of data in each of the groups, based on data usage history information corresponding to each of the groups; and

swapping the identified at least the portion of data using the swap device corresponding to each of the groups.

16. The data swapping method of claim 9 ,

wherein the identifying the swap device comprises identifying the swap device for swapping the first data among the plurality of swap devices, further based on state information of each of the plurality of swap devices, and

wherein the state information of each of the plurality of swap devices comprises at least one of a swap device available space, a swap device free space, a data amount stored in the swap device, or a connection state of the swap device.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 16, 2022
From: KIM, CHULMIN; KWQN, OHOON; CHA, HYUNJOON; KIM, JAEWON; SUK, SOOYONG; LEE, YONGTAEK
To: SAMSUNG ELECTRONICS CO., LTD.
Reel/Frame 062128/0951 →
Priority Claims (1)
KR 10-2020-0074420 · Jun 18, 2020 · national
Continuity (2)
Continuation PCTKR2021006515 · May 25, 2021
Related Publication 20230118797A1 · Apr 20, 2023
References Cited (31)
US 9229751B2 · Yoo et al. · 2016 [cited by applicant]
US 9772776B2 · Tsirkin · 2017 [cited by applicant]
US 9934100B2 · Lim et al. · 2018 [cited by applicant]
US 10459852B1 · Michaud · 2019 [cited by examiner]
US 10545871B2 · Birke et al. · 2020 [cited by applicant]
US 10831392B2 · Kim et al. · 2020 [cited by applicant]
US 20090265506A1 · Mm · 2009 [cited by applicant]
US 20100241821A1 · Barde et al. · 2010 [cited by applicant]
US 20140173227A1 · Min et al. · 2014 [cited by applicant]
US 20150106582A1 · Mai · 2015 [cited by examiner]
US 20150242121A1 · Tsirkin · 2015 [cited by applicant]
US 20160018990A1 · Yun et al. · 2016 [cited by applicant]
US 20160055097A1 · Ki · 2016 [cited by examiner]
US 20170090775A1 · Kowles · 2017 [cited by examiner]
US 20190220217A1 · Kimmel · 2019 [cited by examiner]
US 20190258420A1 · Olderdissen · 2019 [cited by examiner]
US 20200348874A1 · Iyer · 2020 [cited by examiner]
US 20200409842A1 · Roh · 2020 [cited by applicant]
US 20210019168A1 · Aguilera · 2021 [cited by examiner]
KR 1020090109959A · 2009 [cited by applicant]
KR 1020120120651A · 2012 [cited by applicant]
KR 1020140078390A · 2014 [cited by applicant]
KR 1020160008885A · 2016 [cited by applicant]
KR 1020160022226A · 2016 [cited by applicant]
KR 101602991B1 · 2016 [cited by applicant]
KR 1020170092912A · 2017 [cited by applicant]
KR 101900569B1 · 2018 [cited by applicant]
KR 101907538B1 · 2018 [cited by applicant]
KR 1020190048078A · 2019 [cited by applicant]
International Search Report (PCT/ISA/210) issued Aug. 31, 2021 by the International Searching Authority in International Application No. PCT/KR2021/006515. [cited by applicant]
Written Opinion (PCT/ISA/237) issued Aug. 31, 2021 by the International Searching Authority in International Application No. PCT/KR2021/006515. [cited by applicant]