# US 2018/0321970 A1 · Controlling Background Activity of an Application Using a Policy

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2018/0321970 A1
- Document ID: US20180321970A1
- Status: Published application
- Kind: A1
- Application number: 15/588,651
- Filed: 2017-05-07
- Published: 2018-11-08
- Earliest claimed: 2017-05-07
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Christopher Alan CORTES; Jason Scott HOLMES; Richard Andrew POSPESEL; Timothy Michael KURTZMAN; Stefan WICK
- Web page: https://patentgrep.com/patent/US20180321970A1

## CPC

- G06F 9/4843: {by program, e.g. task dispatcher, supervisor, operating system}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Described herein is a system for controlling background execution of an application based on a stored policy. The stored policy can be defined by an enterprise administrator. The policy controls an ability of an application to execute in the background. The system includes a background access manager component that, in response to a request to execute in the background received from the application, determines whether or not to allow the application to execute in the background based upon the policy, a user-configured master control policy and/or relevant system state.

## Claims

### Claim 1

A system for controlling background execution of an application based on a stored policy:
a computer comprising a processor and a memory, the memory comprising:
a policy store configured to store a policy for controlling an ability of an application to execute in the background; and
a background access manager component configured to, in response to a request to execute in the background received from the application, determine whether or not to allow the application to execute in the background based upon the policy, the background access manager component further configured to allow the application to execute in the background when the policy identifies the application as allowed to execute in the background.

### Claim 2 (depends on 1)

The system of claim 1, further comprising a configuration service provider component configured to receive the policy from a remote computer, the configuration service provider component further configured to store the received policy in the policy store.

### Claim 3 (depends on 1)

The system of claim 1, wherein the policy comprises a master control policy that stores information regarding managed applications on the computer, the background access manager component further configured to determine whether or not to allow the application to execute in the background based upon the master control policy.

### Claim 4 (depends on 1)

The system of claim 1, wherein the policy stores information regarding at least one of a first group of one or more applications that are always allowed to run in the background, a second group of one or more applications that are never allowed to run in the background, or a third group of zero or more applications that are user configured for background execution.

### Claim 5 (depends on 4)

The system of claim 4, wherein the information regarding the first group, the second group or the third group controls background execution of a particular application over information stored in a master control policy regarding the particular application.

### Claim 6 (depends on 1)

The system of claim 1, wherein a local configuration store storing user-defined settings is stored separately from the policy.

### Claim 7 (depends on 1)

The system of claim 1, wherein the policy is applied based on at least one of a particular class of user, a location of the computer, connectivity of the computer, a connection bandwidth or a type of computer.

### Claim 8 (depends on 1)

The system of claim 1, wherein the request to execute in the background is received from the application during registration of one or more triggers that will wake the application up in the background.

### Claim 9 (depends on 8)

The system of claim 8, wherein the one or more triggers comprise at least one of a time trigger, a push notification trigger, a socket activity trigger, a toast notification action trigger, a toast notification history changed trigger, a user notification changed trigger, a location trigger, a contact store notification trigger, an appointment store notification trigger, an email store notification trigger, a cached file change notification trigger, a peripheral device use trigger, a peripheral device connection trigger, a peripheral device servicing trigger, a peripheral device watcher trigger, a Bluetooth advertisement watcher trigger, a Bluetooth advertisement publisher trigger, a Bluetooth generic attribute profile (Gatt) characteristic notification trigger, a Bluetooth generic attribute profile (Gatt) Service provider trigger, a user presence trigger, an Internet available trigger, a network state change trigger, a time zone change trigger, a power state change trigger, an application trigger, a media processing trigger, a content prefetch trigger, a maintenance trigger, a radio frequency communication (rf comm) connection trigger, a mobile broadband device service notification trigger, a mobile broadband pin lock state change trigger, a mobile broadband registration state change trigger, a mobile broadband radio state change trigger, a network operator notification trigger, a network operator hotspot authentication trigger, an secondary authentication factor authentication trigger, a sensor data threshold trigger, a short message service (SMS) message received trigger or a storage library content changed trigger.

### Claim 10 (depends on 1)

The system of claim 1, wherein the request to execute in the background is received from the application in response to a particular trigger being activated.

### Claim 11 (depends on 1)

The system of claim 1, wherein the request to execute in the background is received from the application at a time the application is active in the foreground and is attempting to be moved into the background.

### Claim 12 (depends on 1)

The system of claim 1, wherein the background access manager component is further configured to determine whether or not to allow the application to execute in the background based upon system state associated with the computer.

### Claim 13

A method of controlling background execution of an application based on a stored policy, comprising:
in response to receiving a request from the application to execute in the background, retrieving the stored policy;
determining whether or not to allow the application to execute in the background based upon the retrieved stored policy; and
when the policy identifies the application as allowed to execute in the background, allowing the application to execute in the background.

### Claim 14 (depends on 13)

The method of claim 13, wherein the policy comprises a master control policy that stores information regarding managed applications on the computer.

### Claim 15 (depends on 13)

The method of claim 13, wherein the policy stores information regarding at least one of a first group of one or more applications that are always allowed to run in the background, a second group of one or more applications that are never allowed to run in the background, or a third group of one or more applications that are user configured for background execution.

### Claim 16 (depends on 15)

The method of claim 15, wherein the information regarding the first group, the second group or the third group controls background execution of a particular application over information stored in a master control policy regarding the particular application.

### Claim 17

A computer storage media storing computer-readable instructions that when executed cause a computing device to:
in response to receiving a request from the application to execute in the background, retrieve a stored policy;
determine whether or not to allow an application to execute in the background based upon the retrieved stored policy; and
when the policy identifies the application as allowed to execute in the background, allow the application to execute in the background.

### Claim 18 (depends on 17)

The computer storage media of claim 17, wherein the policy comprises a master control policy that stores information regarding managed applications on the computing device.

### Claim 19 (depends on 17)

The computer storage media of claim 17, wherein the policy stores information regarding at least one of a first group of one or more applications that are always allowed to run in the background, a second group of one or more applications that are never allowed to run in the background, or a third group of one or more applications that are user configured for background execution.

### Claim 20 (depends on 19)

The computer storage media of claim 19, wherein the information regarding at least one of the first group, the second group or the third group controls background execution of a particular application over information stored in a master control policy regarding the particular application.
