Method and system for scheduling threads for execution
US-2015347192-A1 · Dec 3, 2015 · US
US11157315B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-11157315-B2 |
| Application number | US-202016746220-A |
| Country | US |
| Kind code | B2 |
| Filing date | Jan 17, 2020 |
| Priority date | Jul 31, 2017 |
| Publication date | Oct 26, 2021 |
| Grant date | Oct 26, 2021 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
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.
Opening claim text (preview).
What is claimed is: 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 p
Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues · CPC title
Application · CPC title
considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration (scheduling strategies G06F9/4881 and subgroups) · CPC title
Task life-cycle, e.g. stopping, restarting, resuming execution (G06F9/4881 takes precedence) · CPC title
Precedence · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.