# US 2022/0283865 A1 · Electronic apparatus and control method thereof

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

- Number: US 2022/0283865 A1
- Document ID: US20220283865A1
- Status: Published application
- Kind: A1
- Application number: 17/751,860
- Filed: 2022-05-24
- Published: 2022-09-08
- Earliest claimed: 2019-08-22
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Changhyeon CHAE; Jusun SONG; Jaehoon JEONG; Jihun JUNG; Jaeook KWON; Seokjae JEONG; Youngho CHOI; Cheulhee HAHM
- Web page: https://patentgrep.com/patent/US20220283865A1

## CPC

- G06F 9/5016: {the resource being the memory}
- G06F 9/485: {Task life-cycle, e.g. stopping, restarting, resuming execution (G06F9/4881 takes precedence)}
- G06F 9/5022: {Mechanisms to release resources}
- G06F 2209/503: Resource availability
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An electronic apparatus includes: a memory; a storage; and a processor, wherein: the electronic apparatus is configured to execute a plurality of processes as data of the plurality of processes is loaded into the memory based on execution of at least one program stored in the storage, the processor is configured to: identify a function currently running among a plurality of functions providable by the electronic apparatus, and based on a relationship between the plurality of processes and the identified function, terminate at least one process among the plurality of running processes, and allow a storage area of the memory loaded with the data of the terminated process to be available for another process.

## Claims

### Claim at position 1

1-18. (canceled)

### Claim 19

An electronic apparatus comprising:
a memory configured to load data of a plurality of processes and to execute a program; and
a processor configured to:
in response to a process to be terminated being selected among the plurality of processes while a first function runs among a plurality of functions provided by the electronic apparatus, identify whether the selected process is designated to restart,
based on the selected process being designated to restart, identify whether a restarting of the selected process is able to be delayed while the first function is run,
based on identifying that the restarting of the selected process is able to be delayed, terminate the selected process and prevent restarting the terminated process while the first function is run, and
in response to a second function running among the plurality of functions, allow to restart the terminated process.

### Claim 20 (depends on 19)

The electronic apparatus according to claim 19, wherein the processor is configured to select the process to be terminated, based on a relationship between the first function and the plurality of processes.

### Claim 21 (depends on 20)

The electronic apparatus according to claim 20, wherein the processor is configured to identify the relationship based on information about which function among the plurality of functions requires the processes among the plurality of processes.

### Claim 22 (depends on 19)

The electronic apparatus according to claim 19, wherein the processor is configured to allow a storage area of the memory loaded with data of the terminated process to be available for another process.

### Claim 23 (depends on 22)

The electronic apparatus according to claim 22, wherein the processor is configured to allow the storage area of the memory to be available for another process by releasing a mapping state between the terminated process and the storage area of the memory.

### Claim 24 (depends on 19)

The electronic apparatus according to claim 19, wherein the processor is configured to control execution of a partial process partially corresponding to data of the terminated process.

### Claim 25 (depends on 24)

The electronic apparatus according to claim 24, wherein the partial process is prepared to preload a relevant process and configured to execute the relevant process in response to occurrence of a predetermined event.

### Claim 26 (depends on 24)

The electronic apparatus according to claim 24, wherein the processor is configured to identify whether to execute the partial process based on information about whether each process is replaceable with the partial process based on the functions.

### Claim 27 (depends on 19)

The electronic apparatus according to claim 19, wherein the processor is configured to control to terminate the selected process by requesting a program relating to the selected process to terminate the selected process.

### Claim 28

A control method of an electronic apparatus, the method comprising:
in response to a process to be terminated being selected among a plurality of processes to execute a program while a first function runs among a plurality of functions provided by the electronic apparatus, identifying whether the selected process is designated to restart;
based on the selected process being designated to restart, identifying whether a restarting of the selected process is able to be delayed while the first function is run;
based on identifying that the restarting of the selected process is able to be delayed, terminating the selected process and preventing restarting the terminated process while the first function is run, and
in response to a second function running among the plurality of functions, allowing to restart the terminated process.

### Claim 29 (depends on 28)

The electronic apparatus according to claim 28, wherein the identifying whether the selected process is designated to restart comprises:
selecting the process to be terminated, based on a relationship between the first function and the plurality of processes.

### Claim 30 (depends on 29)

The control method according to claim 29, wherein the selecting the process to be terminated comprises:
identifying the relationship based on information about which function among the plurality of functions requires the processes among the plurality of processes.

### Claim 31 (depends on 28)

The control method according to claim 28, wherein the terminating the selected process comprises:
allowing a storage area of the memory loaded with data of the terminated process to be available for another process.

### Claim 32 (depends on 31)

The control method according to claim 31, wherein the allowing the storage area of the memory comprises:
allowing the storage area of the memory to be available for another process by releasing a mapping state between the terminated process and the storage area of the memory.

### Claim 33 (depends on 28)

The control method according to claim 28, further comprising:
controlling execution of a partial process partially corresponding to data of the terminated process.

### Claim 34 (depends on 33)

The control method according to claim 33, wherein the partial process is prepared to preload a relevant process and configured to execute the relevant process in response to occurrence of a predetermined event.

### Claim 35 (depends on 33)

The control method according to claim 33, wherein the controlling execution of the partial process comprises:
identifying whether to execute the partial process based on information about whether each process is replaceable with the partial process based on the functions.

### Claim 36 (depends on 28)

The control method according to claim 28, wherein the terminating the selected process comprises:
controlling to terminate the selected process by requesting a program relating to the selected process to terminate the selected process.

### Claim 37

A non-transitory computer-readable medium recording instructions for execution by a processor of an electronic apparatus to cause the electronic apparatus to perform a method, the method comprising:
in response to a process to be terminated being selected among a plurality of processes to execute a program while a first function runs among a plurality of functions provided by the electronic apparatus, identifying whether the selected process is designated to restart;
based on the selected process being designated to restart, identifying whether a restarting of the selected process is able to be delayed while the first function is run;
based on identifying that the restarting of the selected process is able to be delayed, terminating the selected process and preventing restarting the terminated process while the first function is run, and
in response to a second function running among the plurality of functions, allowing to restart the terminated process.
