# US 12,008,396 B2 · Application state control method apparatus, and terminal and computer-readable storage medium

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

- Number: US 12,008,396 B2
- Document ID: US12008396B2
- Status: Granted
- Kind: B2
- Application number: 17/441,072
- Filed: 2020-04-10
- Published: 2022-06-09
- Granted: 2024-06-11
- Earliest claimed: 2019-05-06
- Assignees: Xi'an Zhongxing New Software Co., Ltd.
- Applicants: ZTE Corporation
- Inventors: Peng Wu
- Web page: https://patentgrep.com/patent/US12008396B2

## CPC

- 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 1/3203: Power management, i.e. event-based initiation of a power-saving mode
- G06F 1/329: by task scheduling
- G06F 9/44505: {Configuring for program initiating, e.g. using registry, configuration files}
- G06F 9/524: {Deadlock detection or avoidance}
- G06F 9/526: {Mutual exclusion algorithms}
- G06F 11/0757: {by exceeding a time limit, i.e. time-out, e.g. watchdogs}
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

A method for controlling an application state, an apparatus, a terminal device and a non-transitory computer-readable storage medium are disclosed. The method may include: unfreezing a target application currently to be called in response to a determination that the target application is in a frozen state and a current call meets an application unfreezing trigger condition.

## Claims

### Claim 1

A method for controlling an application state, comprising:
unfreezing a target application currently to be called in response to a determination that the target application is in a frozen state and a current call meets an application unfreezing trigger condition;
wherein the method further comprising:
before unfreezing the target application, sending an unfreezing request message for requesting unfreezing the target application to a freezing service module through an inter-process communication driver module, and calling an unfreezing driver module to unfreeze the target application according to the unfreezing request message from the freezing service module.

### Claim 2 (depends on 1)

The method of claim 1, wherein the application unfreezing trigger condition comprises at least one of:
a calling type of the current call is a synchronous call; or
a calling type of the current call is an asynchronous call, and the current call is in a preset call white list.

### Claim 3 (depends on 1)

The method of claim 1, after unfreezing the target application, further comprising:
updating the frozen state of the target application to an unfrozen state through the freezing service module.

### Claim 4 (depends on 1)

The method of claim 1, wherein determining whether the target application currently to be called is in a frozen state comprises:
acquiring the freezing status of the target application currently to be called through the inter-process communication driver module.

### Claim 5 (depends on 1)

The method of claim 1, after unfreezing the target application, further comprising:
refreezing the target application in response to monitoring that a refreezing condition of the target application is triggered;
wherein the refreezing condition includes at least one of:
an end of an execution of the current call;
a timer reaching a preset time threshold, wherein the timer starts counting after the target application is unfrozen; or
a reception of a refreezing instruction for the target application.

### Claim 6 (depends on 2)

The method of claim 2, after unfreezing the target application, further comprising:
refreezing the target application in response to monitoring that a refreezing condition of the target application is triggered;
wherein the refreezing condition includes at least one of:
an end of an execution of the current call;
a timer reaching a preset time threshold, wherein the timer starts counting after the target application is unfrozen; or
a reception of a refreezing instruction for the target application.

### Claim 7 (depends on 3)

The method of claim 3, after unfreezing the target application, further comprising:
refreezing the target application in response to monitoring that a refreezing condition of the target application is triggered;
wherein the refreezing condition includes at least one of:
an end of an execution of the current call;
a timer reaching a preset time threshold, wherein the timer starts counting after the target application is unfrozen; or
a reception of a refreezing instruction for the target application.

### Claim 8

An apparatus for controlling an application state, comprising:
a control module configured to unfreeze a target application currently to be called in response to a determination that the target application is in a frozen state and a current call meets an application unfreezing trigger condition;
wherein the control module comprises:
a freezing service module receives an unfreezing request message for requesting unfreezing the target application through an inter-process communication driver module, and
an unfreezing driver module unfreezes the target application according to the unfreezing request message in response to calling the unfreezing drive module from the freezing service module.

### Claim 9

A terminal device comprising:
a processor;
a memory storing a computer program; and
a communication bus configured to connect the processor and the memory;
wherein the computer program, when executed by the processor, causes the processor to perform the step of a method comprising:
unfreezing a target application currently to be called in response to a determination that the target application is in a frozen state and a current call meets an application unfreezing trigger condition;
before unfreezing the target application, sending an unfreezing request message for requesting unfreezing the target application to a freezing service module through an inter-process communication driver module, and calling an unfreezing driver module to unfreeze the target application according to the unfreezing request message from the freezing service module.

### Claim 10 (depends on 1)

A non-transitory computer-readable storage medium storing one or more computer programs which, when executed by one or more processors, cause the one or more processors to perform steps of the method for controlling an application state of claim 1.
