# US 2014/0208328 A1 · Method for terminal acceleration, terminal and storage medium

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

- Number: US 2014/0208328 A1
- Document ID: US20140208328A1
- Status: Published application
- Kind: A1
- Application number: 14/226,299
- Filed: 2014-03-26
- Published: 2014-07-24
- Earliest claimed: 2013-01-05
- Assignees: Tencent Technology (Shenzhen) Company Limited
- Applicants: Tencent Technology (Shenzhen) Company Limited
- Inventors: Qiang CHEN
- Web page: https://patentgrep.com/patent/US20140208328A1

## CPC

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

## Abstract

A method for terminal acceleration, a terminal and a storage medium is provided. The method includes steps of: detecting a memory resource occupied by all running application processes; determining whether the memory resource occupied by all running application processes reaches or is greater than a preset memory threshold; and terminating the running of at least one of all the running application processes according to the preset terminating conditions, when the memory resource occupied by all the running application processes reaches or is greater than the preset memory threshold, so that the terminal can be automatically accelerated according to the current utilization condition of its memory and the running application processes, the operating speed of the terminal may be improved, and the functions of the terminal may be further diversified.

## Claims

### Claim 1

A method for terminal acceleration, using a terminal, comprising:
detecting a memory resource occupied by all running application processes;
determining whether the memory resource occupied by all running application processes reaches or is greater than a preset memory threshold; and
terminating the running of at least one of all the running application processes according to the preset terminating conditions, when the memory resource occupied by all the running application processes reaches or is greater than the preset memory threshold.

### Claim 2 (depends on 1)

The method according to claim 1, wherein, terminating the running of at least one of all the running application processes comprises according to the preset terminating conditions:
terminating an application process that is recorded in an automatic ending list among all the running application processes;
or, terminating the running of at least one of all the running application processes comprises:
obtaining priority levels corresponding to all the running application processes; and
terminating the running of at least one or all the running application processes according to the obtained priority levels.

### Claim 3 (depends on 2)

The method according to claim 2, wherein, terminating the running of at least one of all the running application processes according to the obtained priority levels comprises:
displaying the application processes with priority levels lower than a preset priority level among all the running application processes;
receiving a user selection of one or more application processes; and
terminating the running of the one or more application processes among all the running application processes according to the user selection;
or, terminating the running of at least one of all the running application processes according to the obtained priority levels comprises:
terminating an application process with the lowest priority level among all the running application processes.

### Claim 4 (depends on 3)

The method according to claim 3, wherein, after receiving a user selection of one or more application processes, the method further comprises: recording the one or more application processes to obtain a list of applications to be automatically ended.

### Claim 5 (depends on 2)

The method according to claim 2, wherein, the priority level comprises an oom_adj value.

### Claim 6 (depends on 3)

The method according to claim 3, wherein, the priority level comprises an oom_adj value.

### Claim 7 (depends on 4)

The method according to claim 4, wherein, the priority level comprises an oom_adj value.

### Claim 8 (depends on 2)

The method according to claim 2, wherein, displaying the application processes with priority levels lower than a preset priority level among all the running application processes, comprises:
displaying the application processes with oom_adj values greater than 2 for user selection.

### Claim 9 (depends on 3)

The method according to claim 3, wherein, displaying the application processes with priority levels lower than a preset priority level among all the running application processes, comprises:
displaying the application processes with oom_adj values greater than 2 for user selection.

### Claim 10 (depends on 4)

The method according to claim 4, wherein, displaying the application processes with priority levels lower than a preset priority level among all the running application processes, comprises:
displaying the application processes with oom_adj values greater than 2 for user selection.

### Claim 11

A terminal, comprising:
a detecting module, used for detecting a memory resource occupied by all running application processes;
a determining module, used for detecting whether the memory resource occupied by all running application processes reaches or is greater than a preset memory threshold; and
a terminating module, used for terminating the running of at least one of all the running application processes according to the preset terminating conditions, when the detecting module detects that the memory resource occupied by all the running application processes reaches or is greater than the preset memory threshold.

### Claim 12 (depends on 7)

The terminal according to claim 7, wherein, the terminating module is specifically adapted to terminate the application process that is recorded in an automatic ending list among all the running application processes;
or, the terminating module comprises:
a priority level obtaining submodule, used for obtaining the priority levels corresponding to all the running application processes; and
a terminating submodule, used for terminating the running of at least one of all the running application processes according to the priority levels obtained by the priority level obtaining submodule.

### Claim 13 (depends on 8)

The terminal according to claim 8, wherein, the terminating submodule is specifically adapted to instruct a display of the terminal to display the application processes with priority levels lower than a preset priority level among all the running application processes, and receive a user selection of one or more application processes, and terminate the running of the one or more application processes among all the running application processes according to the user selection;
or, the terminating submodule is specifically adapted to terminate an application process with the lowest priority level among all the running application processes.

### Claim 14 (depends on 9)

The terminal according to claim 9, further comprising:
a recording module, which is used for recording the one or more application processes to obtain a list of applications to be automatically ended, after the terminating submodule receives a user selection of one or more application processes.

### Claim 15 (depends on 12)

The terminal according to claim 12, wherein, the priority level obtained by the priority level obtaining submodule comprises an oom_adj value.

### Claim 16 (depends on 13)

The terminal according to claim 13, wherein, the priority level obtained by the priority level obtaining submodule comprises an oom_adj value.

### Claim 17 (depends on 14)

The terminal according to claim 14, wherein, the priority level obtained by the priority level obtaining submodule comprises an oom_adj value.

### Claim 18 (depends on 12)

The terminal according to claim 12, wherein, the terminating submodule is specifically adapted to:
instruct the display of the terminal to display the application processes with oom_adj values greater than 2 for user selection.

### Claim 19 (depends on 13)

The terminal according to claim 13, wherein, the terminating submodule is specifically adapted to:
instruct the display of the terminal to display the application processes with oom_adj values greater than 2 for user selection.

### Claim 20

A non-transitory storage medium containing computer-executable instructions, which, when executed by a computer processor, performs:
detecting a memory resource occupied by all running application processes;
determining whether the memory resource occupied by all running application processes reaches or is greater than a preset memory threshold; and
terminating the running of at least one of all the running application processes according to the preset terminating conditions, when the memory resource occupied by all the running application processes reaches or is greater than the preset memory threshold.
