IP Library Granted Patent US 11,157,315
Granted Patent B2
US 11,157,315 · App. 16/746,220 · Granted Oct 26, 2021

Method for process management and electronic device

Inventors: Bing Du (Guangdong, CN); Zhiyong Lin (Guangdong, CN); Jun Zhang (Guangdong, CN)
Assignee: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD.
G06F9/4881G06F9/485G06F2209/482G06F2209/484
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 11,157,315
App. No.
16/746,220
Granted
Oct 26, 2021
Kind
B2
Abstract

A method for process management in an electronic device is disclosed. The method includes: acquiring a set of association processes corresponding to an application in the electronic device and priority levels of association processes, wherein the set of association processes includes a primary process of the application and at least one secondary process bound to the primary process; acquiring an operation state of the primary process and an operation state of each of the at least one secondary process, respectively; and adjusting a binding state between the primary process and each of the at least one secondary process and performing a priority adjustment for the primary process and each of the at least one secondary process between which are in the adjusted binding state according to the operation state of the primary process and the operation state of each of the at least one secondary process.

Claims (57)

1. A method for process management in an electronic device, comprising:

acquiring a set of association processes corresponding to an application in the electronic device and priority levels of association processes, wherein the set of association processes comprises a primary process of the application and at least one secondary process bound to the primary process;

acquiring an operation state of the primary process and an operation state of each of the at least one secondary process, respectively; and

adjusting a binding state between the primary process and each of the at least one secondary process and performing a priority adjustment for the primary process and each of the at least one secondary process between which are in the adjusted binding state according to the operation state of the primary process and the operation state of each of the at least one secondary process.

2. The method of claim 1 , wherein the adjusting the binding state between the primary process and each of the at least one secondary process and performing the priority adjustment for the primary process and each of the at least one secondary process between which are in the adjusted binding state according to the operation state of the primary process and the operation state of each of the at least one secondary process comprises:

maintaining the binding state between the primary process and the at least one secondary process in response to the primary process and the at least one secondary process all being in a non-running state; and

decreasing priority levels of the primary process and the at least one secondary process.

3. The method of claim 2 , further comprising:

after the decreasing the priority levels of the primary process and the at least one secondary process, shutting down the set of association processes to release buffer resource occupied by the set of association processes.

4. The method of claim 1 , wherein the adjusting the binding state between the primary process and each of the at least one secondary process and performing the priority adjustment for the primary process and each of the at least one secondary process between which are in the adjusted binding state according to the operation state of the primary process and the operation state of each of the at least one secondary process comprises:

unbinding a specific secondary process from the set of association processes in response to the primary process being in a non-running state and the specific secondary process of the at least one secondary process being in a running state; and

decreasing priority levels of the unbound set of association processes, wherein the unbound set of association processes comprises the primary process in the non-running state and others of the at least one secondary process without the specific secondary process.

5. The method of claim 1 , wherein the adjusting the binding state between the primary process and each of the at least one secondary process and performing the priority adjustment for the primary process and each of the at least one secondary process between which are in the adjusted binding state according to the operation state of the primary process and the operation state of each of the at least one secondary process comprises:

unbinding a specific secondary process from the set of association processes in response to the primary process being in a running state and the specific secondary process of the at least one secondary process being in a non-running state; and

decreasing a priority level of the unbound specific secondary process in the non-running state.

6. The method of claim 1 , further comprising:

acquiring an operation state of another secondary process in response to the primary process being in a running state and the another secondary process associated with the primary process being unbound to the primary process;

adding the another secondary process into the set of association processes to bind the another secondary process to the primary process in response to the another secondary process being in the running state; and

increasing priority levels of the added set of association processes.

7. The method of claim 1 , further comprising:

before the acquiring the set of association processes corresponding to the application in the electronic device and the priority levels of the association processes, determining whether the application is a background application and a duration of the application being in the background is greater than a preset threshold, to perform the acquiring a set of association processes corresponding to an application in the electronic device and priority levels of association processes, in response to the application being the background application and the duration being greater than the preset threshold.

8. An electronic device comprising a non-transitory memory storing a plurality of instructions, and a processor, wherein loading the plurality of instructions, the processor is configured to perform:

acquiring a set of association processes corresponding to an application in the electronic device and priority levels of association processes, wherein the set of association processes comprises a primary process of the application and at least one secondary process bound to the primary process;

acquiring an operation state of the primary process and an operation state of each of the at least one secondary process, respectively; and

adjusting a binding state between the primary process and each of the at least one secondary process and performing a priority adjustment for the primary process and each of the at least one secondary process between which are in the adjusted binding state according to the operation state of the primary process and the operation state of each of the at least one secondary process.

9. The electronic device of claim 8 , wherein the processor is further configured to perform:

maintaining the binding state between the primary process and the at least one secondary process in response to the primary process and the at least one secondary process all being in a non-running state; and

decreasing priority levels of the primary process and the at least one secondary process.

10. The electronic device of claim 9 , wherein the processor is further configured to perform:

after the decreasing the priority levels of the primary process and the at least one secondary process, shutting down the set of association processes to release buffer resource occupied by the set of association processes.

11. The electronic device of claim 8 , wherein the processor is further configured to perform:

unbinding a specific secondary process from the set of association processes in response to the primary process being in a non-running state and the specific secondary process of the at least one secondary process being in a running state; and

decreasing priority levels of the unbound set of association processes, wherein the unbound set of association processes comprises the primary process in the non-running state and others of the at least one secondary process without the specific secondary process.

12. The electronic device of claim 8 , wherein the processor is further configured to perform:

unbinding a specific secondary process from the set of association processes in response to the primary process being in a running state and the specific secondary process of the at least one secondary process being in a non-running state; and

decreasing a priority level of the unbound specific secondary process in the non-running state.

13. The electronic device of claim 8 , wherein the processor is further configured to perform:

acquiring an operation state of another secondary process in response to the primary process being in a running state and the another secondary process associated with the primary process being unbound to the primary process;

adding the another secondary process into the set of association processes to bind the another secondary process to the primary process in response to the another secondary process being in the running state; and

increasing priority levels of the added set of association processes.

14. The electronic device of claim 8 , the processor is further configured to perform:

determining whether the application is a background application and a duration of the application being in the background is greater than a preset threshold, to perform the acquiring a set of association processes corresponding to an application in the electronic device and priority levels of association processes, in response to the application being the background application and the duration being greater than the preset threshold.

15. A non-transitory storage medium storing a plurality of instructions, when executed, causing a processor to perform a method for process management, wherein the method comprises:

acquiring a primary process of an application and at least one secondary process and priority levels of the primary process and the at least one secondary process, wherein the at least one secondary process is bound to the primary process;

acquiring an operation state of the primary process and an operation state of each of the at least one secondary process, respectively; and

adjusting a binding state between the primary process and each of the at least one secondary process and performing a priority adjustment for the primary process and each of the at least one secondary process between which are in the adjusted binding state according to the operation state of the primary process and the operation state of each of the at least one secondary process.

16. The non-transitory storage medium of claim 15 , wherein the at least one secondary process comprises a first secondary process, and the primary process and the first secondary process all are in a non-running state; and

the first secondary process is maintained to be bound to the primary in response to the primary process and the first secondary process all being in a non-running state.

17. The non-transitory storage medium of claim 16 , wherein the primary process and the first secondary process are shut down.

18. The non-transitory storage medium of claim 15 , wherein the at least one secondary process comprises a first secondary process, and the primary process is in a non-running state and the first secondary process is in a running state; and

the first secondary process of the at least one secondary process is adjusted to be unbound to the primary process, and priority levels of the primary process and others of the at least one secondary process are decreased, in response to the primary process being in the non-running state and the first secondary process being in the running state.

19. The non-transitory storage medium of claim 15 , wherein the at least one secondary process comprises a first secondary process, and the primary process is in a running state and the first secondary process is in a non-running state; and

the first secondary process of the at least one secondary process is adjusted to be unbound to the primary process, and priority levels of the first secondary process is decreased, in response to the primary process being in the running state and the first secondary process being in the non-running state.

20. The non-transitory storage medium of claim 15 , wherein the method further comprises:

acquiring an operation state of another secondary process in response to the primary process being in a running state and the another secondary process associated with the primary process being unbound to the primary process;

binding the another secondary process to the primary process in response to the another secondary process being in a running state; and

increasing priority levels of the primary process and the another secondary process.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 24, 2025
From: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD.
To: NOKIA TECHNOLOGIES OY
Reel/Frame 071711/0153 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 17, 2020
From: DU, BING; LIN, ZHIYONG; ZHANG, JUN
To: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD.
Reel/Frame 051548/0506 →
Priority Claims (1)
CN 201710644146.3 · Jul 31, 2017 · national
Continuity (2)
Continuation PCTCN2018092041 · Jun 20, 2018
Related Publication 20200151009A1 · May 14, 2020