×

Constrained execution of background application code on mobile devices

  • US 9,060,196 B2
  • Filed: 06/17/2011
  • Issued: 06/16/2015
  • Est. Priority Date: 02/14/2011
  • Status: Active Grant
First Claim
Patent Images

1. In a computing environment, a method performed at least in part on at least one processor, comprising:

  • receiving, from an application, a reservation request that requests device resources for background code;

    determining prior to scheduling the reservation request whether policy criteria is met for the reservation request, including that sufficient resources are available to ensure that the background code is able to have priority use of the device resources being requested, wherein said determining comprises determining for at least some of the device resources whether those requested device resources are within constraint limits for a type of background code corresponding to the reservation request, and if not, failing the reservation request or revising requirements of the requested device resources;

    if the policy criteria is met, reserving the device resources for use by the background code to allow the background code to run as background code and use the device resources, wherein a request for an additional resource is denied for the background code while running the background code; and

    managing a lifecycle of the background code, including launching a background agent corresponding to at least part of the background code into an active state in which the background agent executes, and moving the background agent between an inactive state, in which the background agent does not execute, and the active state, wherein the background agent executes the background code after the application is closed.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×