# US 2017/0286174 A1 · Terminal application process management method and apparatus

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

- Number: US 2017/0286174 A1
- Document ID: US20170286174A1
- Status: Published application
- Kind: A1
- Application number: 15/625,701
- Filed: 2017-06-16
- Published: 2017-10-05
- Earliest claimed: 2015-05-22
- Assignees: Tencent Technology (Shenzhen) Company Limited
- Applicants: Tencent Technology (Shenzhen) Company Limited
- Inventors: Peng JIANG
- Web page: https://patentgrep.com/patent/US20170286174A1

## CPC

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

## Abstract

A terminal application process management method includes: detecting a first-type terminal application, the first-type terminal application being a preset terminal application that needs to be accelerated but has not been started yet; obtaining attribute information of a second-type terminal application if the first-type terminal application is trigger-started, the second-type terminal application being another currently-running terminal application; and terminating a process of the second-type terminal application according to the attribute information of the second-type terminal application until there is sufficient resource for starting the first-type terminal application. Embodiments of the present invention further provide a terminal application process management apparatus.

## Claims

### Claim 1

A terminal application process management method performed at a terminal having one or more processors and memory for storing programs to be executed by the one or more processors, the method comprising:
detecting, by the terminal, a first-type terminal application to obtain a detection result, the first-type terminal application being a preset terminal application that needs to be accelerated but has not been started yet;
obtaining, by the terminal, attribute information of a second-type terminal application when the detection result indicates that the first-type terminal application is trigger-started, the second-type terminal application being another currently-running terminal application; and
terminating, by the terminal, a process of the second-type terminal application according to the attribute information of the second-type terminal application until there is sufficient resource for starting the first-type terminal application.

### Claim 2 (depends on 1)

The terminal application process management method according to claim 1, further comprising:
after terminating the process of the second-type terminal application:
obtaining the attribute information of another second-type terminal application when it is determined that the first-type terminal application is currently running; and
terminating the process of the second-type terminal application according to the attribute information of the second-type terminal application.

### Claim 3 (depends on 1)

The terminal application process management method according to claim 1, further comprising:
after terminating the process of the second-type terminal application:
obtaining the attribute information of another second-type terminal application when it is determined that the first-type terminal application is currently running;
receiving, by using a preset acceleration control, an operating instruction entered by a user; and
terminating, triggered by the user-entered operating instruction, the process of the second-type terminal application according to the attribute information of the second-type terminal application.

### Claim 4 (depends on 2)

The terminal application process management method according to claim 2, wherein the operation of obtaining the attribute information of another second-type terminal application when it is determined that the first-type terminal application is currently running comprises:
detecting whether frame freezing occurs during running of the first-type terminal application, when it is determined that the first-type terminal application is currently running; and
obtaining the attribute information of the second-type terminal application, when it is determined that frame freezing occurs during running of the first-type terminal application.

### Claim 5 (depends on 4)

The terminal application process management method according to claim 4, wherein the operation of detecting whether frame freezing occurs during running of the first-type terminal application comprises:
detecting a quantity of screen frames; and
determining that frame freezing occurs during running of the first-type terminal application, when it is determined that the quantity of screen frames is less than a preset threshold; and
determining that frame freezing does not occur during running of the first-type terminal application, when it is determined that the quantity of screen frames is greater than or equal to a preset threshold.

### Claim 6 (depends on 1)

The terminal application process management method according to claim 1, further comprising:
before detecting a first-type terminal application to obtain a detection result:
determining whether there is a preset first-type local terminal application set, the first-type terminal application set comprising at least one first-type terminal application;
obtaining attribute information of currently-running terminal applications when it is determined that the terminal application set is currently trigger-started; and
terminating processes of the corresponding terminal applications according to the attribute information of the currently-running terminal applications.

### Claim 7

A terminal, comprising:
one or more processors;
memory; and
programs stored in the memory that, when executed by the one or more processors, cause the terminal to perform a plurality of operations including:
detecting a first-type terminal application to obtain a detection result, the first-type terminal application being a preset terminal application that needs to be accelerated but has not been started yet;
obtaining attribute information of a second-type terminal application when the detection result indicates that the first-type terminal application is trigger-started, the second-type terminal application being another currently-running terminal application;
terminating a process of the second-type terminal application according to the attribute information of the second-type terminal application until there is sufficient resource for starting the first-type terminal application.

### Claim 8 (depends on 7)

The terminal according to claim 7, wherein the terminal is further configured to obtain the attribute information of the second-type terminal application when it is determined that the first-type terminal application is currently running.

### Claim 9 (depends on 7)

The terminal according to claim 7, wherein the terminal is further configured to:
receive, by using a preset acceleration control, an operating instruction entered by a user; and
terminate, triggered by the user-entered operating instruction, the process of the second-type terminal application according to the attribute information of the second-type terminal application.

### Claim 10 (depends on 8)

The terminal according to claim 8, wherein the terminal is further configured to:
detect whether frame freezing occurs during running of the first-type terminal application, when it is determined that the first-type terminal application is currently running; and
obtain the attribute information of the second-type terminal application, when it is determined that frame freezing occurs during running of the first-type terminal application.

### Claim 11 (depends on 10)

The terminal according to claim 10, wherein the terminal is further configured to:
detect a quantity of screen frames; and
determine that frame freezing occurs during running of the first-type terminal application, when it is determined that the quantity of screen frames is less than a preset threshold; and
determining that frame freezing does not occur during running of the first-type terminal application, when it is determined that the quantity of screen frames is greater than or equal to a preset threshold.

### Claim 12 (depends on 7)

The terminal according to claim 7, wherein the terminal is further configured to:
determine whether there is a preset first-type local terminal application set, the first-type terminal application set comprising at least one first-type terminal application;
obtain attribute information of currently-running terminal applications when it is determined that the terminal application set is currently trigger-started; and
terminate processes of the corresponding terminal applications according to the attribute information of the currently-running terminal applications.

### Claim 13

A non-transitory computer readable storage medium storing a plurality of programs in connection with a terminal having one or more processors, which, when executing the plurality of programs, cause the terminal to:
detect a first-type terminal application to obtain a detection result, the first-type terminal application being a preset terminal application that needs to be accelerated but has not been started yet;
obtain attribute information of a second-type terminal application when the detection result indicates that the first-type terminal application is trigger-started, the second-type terminal application being another currently-running terminal application; and
terminate a process of the second-type terminal application according to the attribute information of the second-type terminal application until there is sufficient resource for starting the first-type terminal application.
