Task management method and device

US11209894B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11209894-B2
Application numberUS-201916427944-A
CountryUS
Kind codeB2
Filing dateMay 31, 2019
Priority dateDec 10, 2013
Publication dateDec 28, 2021
Grant dateDec 28, 2021

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

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.

First claim

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.

Assignees

Inventors

Classifications

  • 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

  • G06F1/329Primary

    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

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11209894B2 cover?
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 allowe…
Who is the assignee on this patent?
Huawei Device Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06F1/329. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Dec 28 2021 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 2 related publications on this page (citations in our corpus or others sharing the same primary CPC).