Programming model for installing and distributing occasionally connected applications
First Claim
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 Assignments
0 Petitions
Accused Products
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.
-
Citations
20 Claims
-
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. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
-
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.
-
Specification