IP Library › Granted Patent US 9,680,964
Granted Patent B2
US 9,680,964 · App. 12/402,375 · Granted Jun 13, 2017

Programming model for installing and distributing occasionally connected applications

Inventors: Dharma Shukla (Sammamish, WA); Abhay Parasnis (Sammamish, WA); Raymond Endres (Seattle, WA); Arash Ghanaie-Sichanie (Brothell, WA); Israel Hilerio (Kenmore, WA); Farookh Mohammed (Woodinville, WA); Aditya Bhandarkar (Redmond, WA)
Assignee: MICROSOFT TECHNOLOGY LICENSING, LLC
H04L67/34
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,680,964
App. No.
12/402,375
Granted
Jun 13, 2017
Kind
B2
Abstract

An application executing in a virtual environment, such as a web browser, may be serviced by an application host, such as a webserver that maintains application resources or provides runtime services to the application. However, it may be difficult to configure the application to operate suitably when the application host is unavailable. Techniques for facilitating such operation include the storing of application resources in a computing environment (such as the local file system or a deployable mesh or cloud environment) while also initiating the application within the virtual environment in the context of the application host, which may reduce difficulties with isolation policies imposed by the virtual environment (e.g., cross-domain restrictions imposed by the web browser.) This configuration may promote the servicing of the application alongside other applications and data objects, e.g., the automated deployment and synchronization of the application among all devices comprising the user's mesh environment.

Claims (90)

1. A method of managing execution of an application on a device having a processor, the method comprising:

executing on the processor instructions configured to:

responsive to receiving an application resource to be stored on the device:

store the application resource; and

store, for the application resource, a record indicating the application host to which the application resource is restricted; and

responsive to receiving from the application a request to access a requested application resource stored on the device:

retrieve the record indicating the application host to which the requested application resource is restricted;

determine whether the application is permitted to access application resources restricted to the application host of the requested application resource;

responsive to determining that the application is permitted to access application resources restricted to the application host of the requested application resource, permit the application to access the requested application resource; and

responsive to determining that the application is not permitted to access application resources restricted to the application host of the requested application resource, restrict the application from accessing the requested application resource.

2. The method of claim 1 , the instructions further configured to initiate the application in an application host connection status selected from a set of application host connection statuses comprising a connected status and a disconnected status.

3. The method of claim 2 , initiating the application comprising:

detect a connection status of the application host comprising at least one of a connected status and a disconnected status;

responsive to detecting a connected connection status, initiating the application within an isolation boundary of the application host with the at least one application resource with a connected status; and

responsive to detecting failing to contact the application host, initiating the application within the isolation boundary of the application host with the at least one application resource with a disconnected status.

4. The method of claim 2 , the instructions further configured to:

after initiating the application, detect a changed connection status of an application host associated with the application; and

responsive to detecting the changed connection status, update the application host connection status of the application.

5. The method of claim 2 :

the device further comprising a memory; and

the instructions further configured to:

receive from the application host a local representation of at least one application resource;

store the local representation of the at least one application resource in the memory of the device;

responsive to initiating the application in a connected status:

retrieve the at least one application resource from the application host, and

initiate the application within an isolation boundary of the application host with the at least one application resource retrieved from the application host; and

responsive to initiating the application in a disconnected status:

retrieve the local representation of the at least one application resource from the memory of the device, and

initiate the application within the isolation boundary of application host with the local representation of the at least one application resource.

6. The method of claim 2 :

the device further comprising a memory storing application resources; and

the instructions further configured to, responsive to initiating the application in a connected context:

for respective application resources, identify a later updated application resource available through the application host than a corresponding application resource in the memory of the device, and

responsive to identifying the later version:

request the later updated application resource from the application host, and

responsive to receiving the later updated application resource from the application host:

replace the application resource in the memory of the device with the later updated application resource, and

initiate the application within the isolation boundary of the application host with the later updated application resource.

7. The method of claim 6 , the instructions further configured to, upon initiating the application in a connected context:

for respective application resources, identify a later versioned application resource stored in the memory of the device than a corresponding application resource available through the application host; and

responsive to identifying the later versioned application resource, send the later versioned application resource to the application host.

8. The method of claim 1 , wherein the application is executed within a computing environment deployed to the device by a computing environment host.

9. The method of claim 8 , the instructions further configured to execute the computing environment outside of a virtual environment and configured to perform at least one application service on the at least one application resource stored in the computing environment.

10. The method of claim 9 :

the application comprising at least one operation on at least one data object of the computing environment associated with a permission comprising at least one permission credential, and

the computing environment configured to verify the permission using the at least one permission credential on behalf of the application.

11. The method of claim 9 :

the computing environment including a representation of at least one device having an application installing component, and

the computing environment configured to deploy the application to the at least one device by delivering the at least one application resource to the application installing component of the device.

12. The method of claim 1 :

the device further comprising a memory storing application resources; and

the application configured to store at least one application resource within the memory in a virtual environment memory associated with a virtual environment within which the application is executed.

13. The method of claim 12 , the instructions further configured to associate at least one application resource stored in the virtual environment memory with at least one corresponding application resource stored in the memory of the device.

14. The method of claim 13 , the instructions further configured to:

for respective application resources, identify a later updated application resource stored in the virtual environment memory than a corresponding application resource stored in the memory of the device; and

responsive to identifying the later updated application resource, replacing the application resource stored in the memory of the device with the later updated application resource.

15. The method of claim 13 , the instructions further configured to:

for respective application resources, identify a later updated application resource stored in the memory of the device than a corresponding application resource stored in the virtual environment memory; and

responsive to identifying the later updated application resource, replacing the application resource stored in the virtual environment memory with the later updated application resource.

16. The method of claim 1 :

the at least one application resource comprising an application installing package, and

the instructions further configured to install the application on at least one device by delivering the application installing package to the at least one device.

17. The method of claim 1 :

the device further comprising a memory storing application resources; and

storing the at least one application resource comprising:

requesting a user permission to install the application, and

responsive to receiving the user permission, installing the at least one application resource in the memory of the device.

18. The method of claim 1 , receiving the at least one application resource comprising:

detecting at least one computer capability relating to the computer, and

requesting from the application host a version of the at least one application resource relating to the at least one computer capability.

19. A device that manages execution of an application comprising at least one application resource, the device comprising:

a processor; and

a memory storing instructions that, when executed by the processor, provide a system comprising:

an application resource store that, responsive to receiving an application resource to be stored on the device:

stores the application resource in the computing environment; and

stores, for the application resource, a record indicating the application host to which the application resource is restricted; and

an application execution environment that, responsive to receiving from the application a request to access a requested application resource stored on the device:

retrieve the record indicating the application host to which the requested application resource is restricted;

determine whether the application is permitted to access application resources restricted to the application host of the requested application resource;

responsive to determining that the application is permitted to access application resources restricted to the application host of the requested application resource, permitting the application to access the requested application resource; and

responsive to determining that the application is not permitted to access application resources restricted to the application host of the requested application resource, restricting the application from accessing the requested application resource.

20. A system that causes a computer comprising a memory device to manage execution of an application, the system comprising:

an application resource store comprising instructions stored in the memory device that, when executed on the processor, cause the computer to, responsive to receiving an application resource:

store the application resource in the computing environment; and

store, for the application resource, a record indicating the application host to which the application resource is restricted; and

an application execution environment comprising instructions stored in the memory device that, when executed on the processor, cause the computer to, responsive to receiving from the application a request to access a requested application resource:

retrieve the record indicating the application host to which the requested application resource is restricted;

determine whether the application is permitted to access application resources restricted to the application host of the requested application resource;

responsive to determining that the application is permitted to access application resources restricted to the application host of the requested application resource, permit the application to access the requested application resource; and

responsive to determining that the application is not permitted to access application resources restricted to the application host of the requested application resource, restrict the application from accessing the requested application resource.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 9, 2014
From: MICROSOFT CORPORATION
To: MICROSOFT TECHNOLOGY LICENSING, LLC
Reel/Frame 034564/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 3, 2009
From: SHUKLA, DHARMA; PARASNIS, ABHAY; ENDRES, RAYMOND; GHANALE-SICHANIE, ARASH; HILERIO, ISRAEL; MOHAMMED, FAROOKH; BHANDARKAR, ADITYA
To: MICROSOFT CORPORATION
Reel/Frame 023043/0215 →
Continuity (1)
Related Publication 20100235829A1 · Sep 16, 2010