IP Library › Granted Patent US 12,210,396
Granted Patent B2
US 12,210,396 · App. 17/619,147 · Granted Jan 28, 2025

Application freezing control method and device, terminal, and readable storage medium

Inventor: Sihai Yang (Shenzhen, CN)
Assignee: ZTE CORPORATION
G06F1/3234
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,210,396
App. No.
17/619,147
Granted
Jan 28, 2025
Kind
B2
Abstract

An application freezing control method and device, a terminal, and a non-transitory computer-readable storage medium are disclosed. The method may include: updating, after freezing detection processing for currently running applications is triggered based on a current cyclic detection time interval, the cyclic detection time interval in response to determining, based on a current application running state of the terminal device, that the cyclic detection time interval needs to be updated (S 101 ); and determining, based on the updated cyclic detection time interval, whether the freezing detection processing needs to be performed on the currently running applications (S 102 ).

Claims (57)

1. An application freezing control method applied to a terminal device, comprising:

updating, after freezing detection processing for currently running applications is triggered based on a current cyclic detection time interval, the cyclic detection time interval in response to determining, based on a current application running state of the terminal device, that a value of the cyclic detection time interval needs to be updated, wherein, based on the correspondence between the value of the cyclic detection time interval and at least one of a time of day, a battery level of the terminal device, a location of the terminal device, a screen-on or screen-off state of the terminal device, and a duration of continuous wake-up or sleep of the terminal device, determining whether the value of the cyclic detection time interval currently needs to be updated; and

determining, based on the updated cyclic detection time interval, whether the freezing detection processing needs to be performed on the currently running applications.

2. The application freezing control method of claim 1 , wherein it is determined that the cyclic detection time interval needs to be updated in response to at least one of:

detecting a change from empty to non-empty as regards applications in a list of freezing control;

detecting a change from non-empty to empty as regards applications in the list of freezing control;

detecting a change from empty to non-empty as regards applications in a list of abnormal applications; or

detecting a change from non-empty to empty as regards applications in the list of abnormal applications;

wherein the list of freezing control is configured to store applications that are currently under freezing control, and the list of abnormal applications is configured to store applications that are currently running abnormally.

3. The application freezing control method of claim 2 , wherein updating the cyclic detection time interval comprises at least one of:

decreasing the cyclic detection time interval in response to detecting a change from empty to non-empty as regards applications in the list of freezing control and the maintenance of empty as regards applications in the list of abnormal applications, or in response to detecting a change from empty to non-empty as regards applications in the list of abnormal applications; or

increasing the cyclic detection time interval in response to detecting a change from non-empty to empty as regards applications in the list of freezing control and the maintenance of empty as regards applications in the list of abnormal applications, or in response to detecting a change from non-empty to empty as regards applications in the list of abnormal applications.

4. The application freezing control method of claim 3 , wherein decreasing the cyclic detection time interval in response to detecting a change from empty to non-empty as regards applications in the list of freezing control and the maintenance of empty as regards applications in the list of abnormal applications, or in response to detecting a change from empty to non-empty as regards applications in the list of abnormal applications comprises:

updating the cyclic detection time interval from T0 to T1 in response to detecting a change from empty to non-empty as regards applications in the list of freezing control and the maintenance of empty as regards applications in the list of abnormal applications, T0 being greater than T1; and

updating the cyclic detection time interval from T0 or T1 to T2 in response to detecting a change from empty to non-empty as regards applications in the list of abnormal applications, T1 being greater than T2.

5. The application freezing control method of claim 4 , further comprising:

timing with a timer to determine, based on the cyclic detection time interval, whether the freezing detection processing needs to be performed on the currently running applications;

controlling the timer to sleep and stop timing in response to detecting that the terminal device has entered a sleep state; and

waking up the timer to continue timing in response to detecting that the terminal device has switched from the sleep state to a wake-up state.

6. The application freezing control method of claim 4 , wherein performing the freezing detection processing on the currently running applications comprises:

in response to a detection of a target application in the currently running applications that qualifies for freezing processing, performing the freezing processing on the target application,

the freezing processing comprising one of disabling, freezing and clearing the target application.

7. The application freezing control method of claim 3 , wherein increasing the cyclic detection time interval in response to detecting a change from non-empty to empty as regards applications in the list of freezing control and the maintenance of empty as regards applications in the list of abnormal applications, or in response to detecting a change from non-empty to empty as regards applications in the list of abnormal applications comprises:

updating the cyclic detection time interval from T1 to T0 in response to detecting a change from non-empty to empty as regards applications in the list of freezing control and the maintenance of empty as regards applications in the list of abnormal applications, T0 being greater than T1; and

updating the cyclic detection time interval from T2 to T1 or T0 in response to detecting a change from non-empty to empty as regards applications in the list of abnormal applications, T1 being greater than T2.

8. The application freezing control method of claim 7 , further comprising:

timing with a timer to determine, based on the cyclic detection time interval, whether the freezing detection processing needs to be performed on the currently running applications;

controlling the timer to sleep and stop timing in response to detecting that the terminal device has entered a sleep state; and

waking up the timer to continue timing in response to detecting that the terminal device has switched from the sleep state to a wake-up state.

9. The application freezing control method of claim 7 , wherein performing the freezing detection processing on the currently running applications comprises:

in response to a detection of a target application in the currently running applications that qualifies for freezing processing, performing the freezing processing on the target application,

the freezing processing comprising one of disabling, freezing and clearing the target application.

10. The application freezing control method of claim 3 , further comprising:

timing with a timer to determine, based on the cyclic detection time interval, whether the freezing detection processing needs to be performed on the currently running applications;

controlling the timer to sleep and stop timing in response to detecting that the terminal device has entered a sleep state; and

waking up the timer to continue timing in response to detecting that the terminal device has switched from the sleep state to a wake-up state.

11. The application freezing control method of claim 3 , wherein performing the freezing detection processing on the currently running applications comprises:

in response to a detection of a target application in the currently running applications that qualifies for freezing processing, performing the freezing processing on the target application,

the freezing processing comprising one of disabling, freezing and clearing the target application.

12. The application freezing control method of claim 2 , wherein performing the freezing detection processing on the currently running applications comprises:

in response to a detection of a target application in the currently running applications that qualifies for freezing processing, performing the freezing processing on the target application,

the freezing processing comprising one of disabling, freezing and clearing the target application.

13. The application freezing control method of claim 1 , wherein performing the freezing detection processing on the currently running applications comprises:

in response to a detection of a target application in the currently running applications that qualifies for freezing processing, performing the freezing processing on the target application,

the freezing processing comprising one of disabling, freezing and clearing the target application.

14. An application freezing control device, comprising:

a control module configured to update, after freezing detection processing for currently running applications is triggered based on a current cyclic detection time interval, a value of the cyclic detection time interval in response to determining, based on a current application running state of the terminal device, that the cyclic detection time interval needs to be updated, wherein, based on the correspondence between the value of the cyclic detection time interval and at least one of a time of day, a battery level of the terminal device, a location of the terminal device, a screen-on or screen-off state of the terminal device, and a duration of continuous wake-up or sleep of the terminal device, determining whether the value of the cyclic detection time interval currently needs to be updated; and to determine, based on the updated cyclic detection time interval, whether the freezing detection processing needs to be performed on the currently running applications.

15. 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 processor is configured to execute the computer program to implement an application freezing control method applied to a terminal device, comprising:

updating, after freezing detection processing for currently running applications is triggered based on a current cyclic detection time interval, a value of the cyclic detection time interval in response to determining, based on a current application running state of the terminal device, that the cyclic detection time interval needs to be updated, wherein, based on the correspondence between the value of the cyclic detection time interval and at least one of a time of day, a battery level of the terminal device, a location of the terminal device, a screen-on or screen-off state of the terminal device, and a duration of continuous wake-up or sleep of the terminal device, determining whether the value of the cyclic detection time interval currently needs to be updated; and

determining, based on the updated cyclic detection time interval, whether the freezing detection processing needs to be performed on the currently running applications.

16. A non-transitory computer-readable storage medium storing at least one computer program executable by at least one processor to implement an application freezing control method applied to a terminal device, comprising:

updating, after freezing detection processing for currently running applications is triggered based on a current cyclic detection time interval, a value of the cyclic detection time interval in response to determining, based on a current application running state of the terminal device, that the cyclic detection time interval needs to be updated, wherein, based on the correspondence between the value of the cyclic detection time interval and at least one of a time of day, a battery level of the terminal device, a location of the terminal device, a screen-on or screen-off state of the terminal device, and a duration of continuous wake-up or sleep of the terminal device, determining whether the value of the cyclic detection time interval currently needs to be updated; and

determining, based on the updated cyclic detection time interval, whether the freezing detection processing needs to be performed on the currently running applications.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 14, 2021
From: YANG, SIHAI
To: ZTE CORPORATION
Reel/Frame 058388/0464 →
Priority Claims (1)
CN 201910591068.4 · Jul 2, 2019 · national
Continuity (1)
Related Publication 20220357789A1 · Nov 10, 2022
References Cited (14)
US 10817307B1 · De La Cropte De Chanterac · 2020 [cited by examiner]
US 20180157498A1 · Borlick · 2018 [cited by examiner]
CN 101281486A · 2008 [cited by applicant]
CN 103049319A · 2013 [cited by applicant]
CN 106126305A · 2016 [cited by applicant]
CN 106295275A · 2017 [cited by applicant]
CN 107329772A · 2017 [cited by applicant]
CN 107450969A · 2017 [cited by applicant]
CN 107491348A · 2017 [cited by applicant]
CN 109543401A · 2019 [cited by applicant]
CN 109739632A · 2019 [cited by applicant]
WO 2015184885A1 · 2015 [cited by applicant]
International Searching Authority. International Search Report and Written Opinion for PCT Application No. PCT/CN2020/089216 and English translation, mailed Aug. 11, 2020, pp. 1-12. [cited by applicant]
European Patent Office. Extended European Search Report for EP Application No. 20834494.5, mailed Sep. 29, 2022, pp. 1-9. [cited by applicant]