发明名称 |
Background task resource control |
摘要 |
Among other things, one or more techniques and/or systems are provided for controlling resource access for background tasks. For example, a background task created by an application may utilize a resource (e.g., CPU cycles, bandwidth usage, etc.) by consuming resource allotment units from an application resource pool. Once the application resource pool is exhausted, the background task is generally restricted from utilizing the resource. However, the background task may also utilize global resource allotment units from a global resource pool shared by a plurality of applications to access the resource. Once the global resource pool is exhausted, unless the background task is a guaranteed background task which can consume resources regardless of resource allotment states of resource pools, the background task may be restricted from utilizing the resource until global resource allotment units within the global resource pool and/or resource allotment units within the application resource pool are replenished. |
申请公布号 |
US9164803(B2) |
申请公布日期 |
2015.10.20 |
申请号 |
US201213355115 |
申请日期 |
2012.01.20 |
申请人 |
Microsoft Technology Licensing, LLC |
发明人 |
Kishan Arun;Pulapaka Hari;Gefflaut Alain;Bendetov Alex;Justo Teixeira Pedro Miguel Sequeira de |
分类号 |
G06F15/16;G06F15/173;G06F9/50 |
主分类号 |
G06F15/16 |
代理机构 |
|
代理人 |
Jardine John;Chinagudabha Raghu;Minhas Micky |
主权项 |
1. A method for controlling resource access for background tasks, comprising:
assigning an initial resource allotment comprising resource allotment units to an application resource pool associated with an application, the initial resource allotment based upon a power state of a device within which the background task is executing; allowing a background task of the application to utilize a resource by consuming resource allotment units from the application resource pool; and upon exhaustion of the application resource pool, restricting the background task from utilizing the resource. |
地址 |
Redmond WA US |