IP Library Granted Patent US 10,831,392
Granted Patent B2
US 10,831,392 · App. 16/075,447 · Granted Nov 10, 2020

Volatile and nonvolatile memory management method and electronic device

Inventors: Chulmin Kim (Suwon-si, KR); Sunae Seo (Suwon-si, KR); Sooyong Suk (Suwon-si, KR)
Assignee: Samsung Electronics Co., Ltd.
G06F3/0647G06F3/0604G06F3/0679G06F12/08G06F12/0897G06F12/126G06F12/128G06F12/0868G06F2212/1036G06F2212/214G06F2212/401G06F2212/502
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 10,831,392
App. No.
16/075,447
Granted
Nov 10, 2020
Kind
B2
Abstract

Various embodiments of the present invention relate to an apparatus and a method for managing memory in an electronic device. The electronic device comprises a volatile memory, a non-volatile memory and a processor, wherein the processor is configured to store first data and second data, stored in a first specified area of the volatile memory, in a second specified area of the volatile memory, to check the stored order of the first data and the second data stored in the second specified area, and to move at least one of the first data and the second data from the second specified area of the volatile memory to a third specified area of the non-volatile memory if the states of the first data and the second data satisfy a specified condition on the basis of the order. Other embodiments may be possible.

Claims (54)

1. An electronic device comprising:

a volatile memory;

a nonvolatile memory; and

a processor configured to:

store first data and second data which are stored in a first specified area of the volatile memory in a second specified area of the volatile memory,

identify an order in which the first data and the second data are stored in the second specified area,

determine, based on the order, whether a state of at least one of the first data and the second data satisfies a specified condition, and

when the state of at least one of the first data and the second data satisfies the specified condition, move the at least one of the first data or the second data from the second specified area of the volatile memory to a third specified area of the nonvolatile memory,

wherein the specified condition comprises a serial number and time information of the first data and second data stored in the second specified area.

2. The electronic device of claim 1 , wherein the specified condition further comprises at least one of a time at which data is stored in the second specified area, an estimated time at which data is to be stored in the second specified area, a frequency of use of data, or a last using time of data.

3. The electronic device of claim 1 , wherein, when the state of at least one of the first data and the second data satisfies another specified condition, the processor is further configured to prohibit the first data and the second data from being moved from the second specified area of the volatile memory to the third specified area of the nonvolatile memory at least temporarily.

4. The electronic device of claim 3 , wherein the another specified condition comprises at least one of a time at which data is stored in the second specified area, an estimate time at which data is to be stored in the second specified area, a frequency of use of data, or a last using time of data.

5. The electronic device of claim 1 , wherein the processor is further configured to:

identify at least one of capacities or compression rates of the first data and the second data, and

determine the state of at least one of the first data and the second data further based on the at least one of the capacity or the compression rate.

6. The electronic device of claim 1 , wherein the processor is further configured to:

identify a time at which the first data and the second data are stored in the volatile memory, and

determine the state of the first data and the second data further based on the time at which the data is stored.

7. The electronic device of claim 1 ,

wherein the first data and the second data which are stored in the second specified area comprise compressed data, and

wherein the processor is further configured to:

generate decompressed data by using at least a portion of the compressed data, as at least a portion of the moving operation, and

store the decompressed data in the third specified area of the nonvolatile memory.

8. The electronic device of claim 1 ,

wherein the first specified area comprises an area which stores uncompressed data at least temporarily, and

wherein the second specified area comprises an area which stores compressed data at least temporarily.

9. The electronic device of claim 1 , wherein the processor is further configured to move the first data and the second data from the first specified area to the second specified area, based on a usable capacity of the first specified area.

10. The electronic device of claim 1 , wherein the processor is further configured to:

detect an event for moving data from the second specified area to the third specified area, based on a usable capacity of the first specified area or a usable capacity of the second specified area, and

move at least one of the first data or the second data that satisfies the specified condition to the third specified area, based on the detecting operation.

11. The electronic device of claim 1 , wherein the processor is further configured to:

identify a state of the nonvolatile memory, and,

when the state of the nonvolatile memory satisfies another specified condition, move at least one data of the first data or the second data that satisfies the another specified condition from the second specified area of the volatile memory to the third specified area of the nonvolatile memory.

12. The electronic device of claim 11 , wherein, when the state of the nonvolatile memory does not satisfy the another specified condition, the processor is further configured to prohibit the first data and the second data from being moved from the second specified area of the volatile memory to the third specified area of the nonvolatile memory at least temporarily.

13. The electronic device of claim 11 , wherein the state of the memory comprises at least one of a usable capacity of the third specified area, a lifetime of the third specified area, or a lifetime of the nonvolatile memory.

14. The electronic device of claim 1 , wherein the processor is further configured to:

select one of the first data or the second data according to the specified condition, and

move the selected one data from the second specified area to the third specified area.

15. An operating method of an electronic device, the operating method comprising:

storing first data and second data which are stored in a first specified area of a volatile memory in a second specified area of the volatile memory;

identifying an order in which the first data and the second data are stored in the second specified area;

determining, based on the order, whether a state of at least one of the first data and the second data satisfies a specified condition; and

when the state of at least one of the first data and the second data satisfies the specified condition based on the order, moving the at least one of the first data or the second data from the second specified area of the volatile memory to a third specified area of a nonvolatile memory,

wherein the specified condition comprises a serial number and time information of the first data and second data stored in the second specified area.

16. The method of claim 15 , wherein the specified condition further comprises at least one of a time at which data is stored in the second specified area, an estimated time at which data is to be stored in the second specified area, a frequency of use of data, or a last using time of data.

17. The method of claim 15 , further comprising:

when the state of at least one of the first data and the second data satisfies another specified condition, prohibiting the first data and the second data from being moved from the second specified area of the volatile memory to the third specified area of the nonvolatile memory at least temporarily.

18. The method of claim 17 , wherein the another specified condition comprises at least one of a time at which data is stored in the second specified area, an estimate time at which data is to be stored in the second specified area, a frequency of use of data, or a last using time of data.

19. The method of claim 15 , further comprising:

identifying at least one of capacities or compression rates of the first data and the second data; and

determining the state of the first data and the second data further based on at least one of the capacity or the compression rate.

20. The method of claim 15 , further comprising:

identifying a time at which the first data and the second data are stored in the volatile memory; and

determining the state of at least one of the first data and the second data further based on the time at which the data is stored.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 3, 2018
From: KIM, CHULMIN; SEO, SUNAE; SUK, SOOYONG
To: SAMSUNG ELECTRONICS CO., LTD.
Reel/Frame 046552/0631 →
Priority Claims (1)
KR 10-2016-0014183 · Feb 4, 2016 · national
Continuity (1)
Related Publication 20190056883A1 · Feb 21, 2019
Cited By (2)
US 12,287,983 US 12,314,604