# US 2023/0266905 A1 · Method of controlling memory and electronic device performing the method

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0266905 A1
- Document ID: US20230266905A1
- Status: Published application
- Kind: A1
- Application number: 18/119,134
- Filed: 2023-03-08
- Published: 2023-08-24
- Earliest claimed: 2022-02-18
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Dongho KIM; Jiman KWON; Jaehyeon PARK; Geonhee BACK; Dongwook LEE; Daehyun CHO
- Web page: https://patentgrep.com/patent/US20230266905A1

## CPC

- G06F 1/206: {comprising thermal management}
- G06F 12/023: {Free address space management}
- G06F 1/20: Cooling means
- G06F 1/3225: of memory devices
- G06F 1/3228: Monitoring task completion, e.g. by use of idle timers, stop commands or wait commands
- G06F 1/3275: {Power saving in memory, e.g. RAM, cache}
- G06F 9/485: {Task life-cycle, e.g. stopping, restarting, resuming execution (G06F9/4881 takes precedence)}
- G06F 9/4893: {taking into account power or heat criteria (power management in computers in general G06F1/3203; thermal management in computers in general G06F1/206)}
- G06F 11/30: Monitoring
- G06F 12/0253: {Garbage collection, i.e. reclamation of unreferenced memory}
- G06F 11/004: {Error avoidance (G06F11/07 and subgroups take precedence)}
- G06F 12/0284: {Multiple user address space allocation, e.g. using different base addresses (interprocessor communication G06F15/163)}
- G06F 12/04: Addressing variable-length words or parts of words
- G06F 12/08: in hierarchically structured memory systems, e.g. virtual memory systems
- G06F 2212/1024: Latency reduction
- G06F 2212/1028: Power efficiency
- G06F 2212/1044: Space efficiency improvement
- G06F 2212/401: Compressed data
- G06F 2212/7204: Capacity control, e.g. partitioning, end-of-life degradation
- G06F 2212/7205: Cleaning, compaction, garbage collection, erase control
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method of controlling a memory and an electronic device performing the method are provided. The electronic device includes a memory configured to store instructions executable by the processor; and at least one processor configured to execute the instructions to: determine a use state of the electronic device corresponding to an available area of the memory, determine a temperature of the electronic device, determine a memory parameter based on the use state and the temperature, and convert a used area of the memory into the available area based on the memory parameter.

## Claims

### Claim 1

An electronic device comprising:
a memory configured to store instructions; and
at least one processor configured to execute the instructions to:
determine a use state of the electronic device corresponding to an available area of the memory,
identify a temperature of the electronic device,
determine a memory parameter based on the use state and the temperature, and
convert a used area of the memory into the available area based on the memory parameter.

### Claim 2 (depends on 1)

The electronic device of claim 1, wherein the at least one processor is further configured to execute the instructions to:
terminate a process using an area of the memory according to a priority of the process based on the available area of the memory and a predetermined threshold, and
determine the use state based on the priority of the terminated process.

### Claim 3 (depends on 1)

The electronic device of claim 1, wherein the at least one processor is further configured to execute the instructions to:
compress data stored in the used area of the memory and store the compressed data in a predetermined area of the memory, based on the memory parameter, and
convert the used area of the memory into the available area by deleting the data stored in the used area of the memory.

### Claim 4 (depends on 1)

The electronic device of claim 1, wherein a size of the memory parameter is positively correlated with a size of the converted available area.

### Claim 5 (depends on 1)

The electronic device of claim 1, wherein a size of the memory parameter is negatively correlated with a size of the available area of the memory according to the use state, and
wherein the size of the memory parameter is negatively correlated with the temperature.

### Claim 6 (depends on 5)

The electronic device of claim 5, wherein the at least one processor is further configured to execute the instructions to determine the memory parameter based on a table indicating a variation to be applied to the memory parameter according to the use state and the temperature.

### Claim 7 (depends on 1)

The electronic device of claim 1, wherein the at least one processor is further configured to execute the instructions to maintain a set memory parameter as the memory parameter based on the use state being a predetermined use state.

### Claim 8 (depends on 1)

The electronic device of claim 1, wherein the at least one processor is further configured to execute the instructions to:
determine a threshold for converting the used area of the memory into the available area based on the temperature, and
convert the used area of the memory into the available area based on an amount of the available area of the memory and the threshold.

### Claim 9

An electronic device comprising:
a memory electrically configured to store instructions; and
at least one processor configured to execute the instructions to:
determine a use state of the electronic device corresponding to an available area of the memory,
determine a temperature of the electronic device,
determine a threshold for converting a used area of the memory into the available area based on the temperature,
determine a memory parameter based on the use state and the temperature, and
based on a size of the available area of the memory being less than the threshold, convert the used area of the memory into the available area according to the memory parameter.

### Claim 10 (depends on 9)

The electronic device of claim 9, wherein the at least one processor is further configured to execute the instructions to determine the threshold to be positively correlated with the temperature.

### Claim 11 (depends on 9)

The electronic device of claim 9, wherein the at least one processor is further configured to execute the instructions to:
compress data stored in the used area of the memory and store the compressed data in a predetermined area of the memory, based on the memory parameter, and
convert the used area of the memory into the available area by deleting the data stored in the used area of the memory.

### Claim 12 (depends on 9)

The electronic device of claim 9, wherein a size of the memory parameter is negatively correlated with the available area of the memory according to the use state, and
wherein the size of the memory parameter is negatively correlated with the temperature.

### Claim 13

A method of controlling a memory, the method comprising:
determining a use state corresponding to an available area of the memory;
determining a temperature of an electronic device comprising the memory;
determining a memory parameter based on the use state and the temperature; and
converting a used area of the memory into the available area based on the memory parameter.

### Claim 14 (depends on 13)

The method of claim 13, wherein the determining of the use state comprises:
terminating a process using an area of the memory according to a priority of the process based on the available area of the memory and a predetermined threshold; and
determining the use state based on the priority of the terminated process.

### Claim 15 (depends on 13)

The method of claim 13, wherein the converting into the available area of the memory comprises:
compressing data stored in the used area of the memory and storing the compressed data in a predetermined area of the memory, based on the memory parameter; and
converting the used area of the memory into the available area by deleting the data stored in the used area of the memory.

### Claim 16 (depends on 13)

The method of claim 13, wherein a size of the memory parameter is positively correlated with a size of the converted available area of the memory.

### Claim 17 (depends on 13)

The method of claim 13, wherein a size of the memory parameter is negatively correlated with the available area of the memory according to the use state, and
wherein the size of the memory parameter is negatively correlated with the temperature.

### Claim 18 (depends on 17)

The method of claim 17, wherein the determining of the memory parameter comprises determining the memory parameter based on a table indicating a variation to be applied to the memory parameter according to the use state and the temperature.

### Claim 19 (depends on 13)

The method of claim 13, wherein the determining of the memory parameter comprises maintaining a predetermined memory parameter as the memory parameter based on the use state being a set use state.

### Claim 20 (depends on 13)

A non-transitory computer-readable storage medium storing instructions that, when executed by a processor, cause the processor to perform the method of claim 13.
