Efficient priority-aware thread scheduling
US-2017228260-A1 · Aug 10, 2017 · US
US11209894B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-11209894-B2 |
| Application number | US-201916427944-A |
| Country | US |
| Kind code | B2 |
| Filing date | May 31, 2019 |
| Priority date | Dec 10, 2013 |
| Publication date | Dec 28, 2021 |
| Grant date | Dec 28, 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 task management method and device where the method includes determining, according to a foreground task, a first scenario corresponding to the foreground task, searching for at least one background task corresponding to the first scenario when the first scenario corresponding to the foreground task is in a first list, where the first list includes a scenario in which task limitation is allowed, and performing limitation processing on the at least one background task corresponding to the first scenario, where the limitation processing refers to processing for reducing system resource usage.
Opening claim text (preview).
What is claimed is: 1. A task management method, implemented by an electronic device, the task management method comprising: executing a foreground task based on an input to the electronic device; determining, according to the foreground task, that a background task limitation is allowed; determining a first background task and a second background task; performing limitation processing on the first background task, wherein a user identifier of the first background task corresponds to a common user, wherein the limitation processing comprises at least one of freezing the first background task, stopping the first background task, or limiting a system resource used by the first background task; stopping the first background task from using a system component when the first background task uses the system component before performing the limitation processing on the first background task; and skipping limitation processing on the second background task, wherein a user identifier of the second background task corresponds to a system user. 2. The task management method of claim 1 , wherein performing the limitation processing on the first background task comprises reducing system resource usage of the first background task. 3. The task management method of claim 1 , wherein determining the first background task comprises determining the first background task when a system resource usage of the first background task reaches a preset threshold. 4. The task management method of claim 1 , wherein determining the second background task comprises determining the second background task when a system resource usage of the second background task reaches a preset threshold. 5. The task management method of claim 1 , further comprising: determining, according to the foreground task, a third background task; and performing limitation processing on the third background task. 6. The task management method of claim 1 , further comprising saving a status value of the system component when the system component stops using the first background task. 7. An electronic device, comprising: at least one processor; and at least one memory coupled to the at least one processor and configured to store computer instructions for execution by the at least one processor, wherein the computer instructions cause the at least one processor to be configured to: execute a foreground task based on an input to the electronic device; determine, according to the foreground task, that a background task limitation is allowed; determine a first background task and a second background task; perform limitation processing on the first background task, wherein a user identifier of the first background task corresponds to a common user, wherein the limitation processing comprises at least one of freezing the first background task, stopping the first background task, or limiting a system resource used by the first background task; stop the first background task from using a system component when the first background task uses the system component before performing the limitation processing on the first background task; and skip limitation processing on the second background task, wherein a user identifier of the second background task corresponds to a system user. 8. The electronic device of claim 7 , wherein the computer instructions cause the at least one processor to be configured to perform limitation processing on the first background task by reducing system resource usage of the first background task. 9. The electronic device of claim 7 , wherein the computer instructions further cause the at least one processor to be configured to determine the first background task when a system resource usage of the first background task reaches a preset threshold. 10. The electronic device of claim 7 , wherein the computer instructions further cause the at least one processor to be configured to determine the second background task when a system resource usage of the second background task reaches a preset threshold. 11. The electronic device of claim 7 , wherein the computer instructions further cause the at least one processor to be configured to: determine, according to the foreground task, a third background task; and perform limitation processing on the third background task. 12. The electronic device of claim 7 , wherein the computer instructions further cause the at least one processor to be configured to save a status value of the system component when the system component stops using the first background task. 13. An electronic device, comprising: at least one processor; and at least one memory coupled to the at least one processor and configured to store computer instructions for execution by the at least one processor, wherein the computer instructions cause the at least one processor to be configured to: allow a background task limitation; determine a background task that needs to be frozen; freeze the background task; stop the background task from using a system component when the background task uses the system component before freezing the background task; resume the system component when the electronic device displays a main user interface; and unfreeze the background task when the electronic device displays the main user interface. 14. The electronic device of claim 13 , wherein the background task that needs to be frozen comprises a background task that is prohibited from calling a system resource, and wherein the computer instructions further cause the at least one processor to be configured to prohibit the background task from calling the system resource. 15. The electronic device of claim 13 , wherein the computer instructions further cause the at least one processor to be configured to save a status value of the system component when the system component is stopped. 16. The task management method of claim 1 , wherein the first background task and the second background task correspond to threads of application programs. 17. The task management method of claim 1 , wherein the first background task and the second background task correspond to tasks that do not require user interaction. 18. The electronic device of claim 8 , wherein the first background task and the second background task correspond to threads of application programs. 19. The electronic device of claim 7 , wherein the first background task and the second background task correspond to tasks that do not require user interaction. 20. The electronic device of claim 13 , wherein the background task corresponds to a thread of an application program and does not require user interaction.
Energy efficient computing, e.g. low power processors, power management or thermal management · CPC title
by switching off individual functional units in the computer system · CPC title
by task scheduling · CPC title
Monitoring task completion, e.g. by use of idle timers, stop commands or wait commands · CPC title
Saving or restoring of program or task context · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.