INVERSION-OF-CONTROL COMPONENT SERVICE MODELS FOR VIRTUAL ENVIRONMENTS
First Claim
1. A method of fulfilling component requests received from applications within a virtual environment on a device executing on a device having a processor and at least one component, the method comprising:
- executing on the processor instructions configured to;
upon receiving from an application executing within the virtual environment a component request specifying a component and a callback of the application;
store the callback associated with the component request and the application,send the component request to the component, andresume execution of the application within the virtual environment; and
upon detecting a completion of the component request by the component;
retrieve the callback associated with the component request, andinvoke the callback on behalf of the application.
3 Assignments
0 Petitions
Accused Products
Abstract
In the field of computing, many scenarios involve the execution of an application within a virtual environment of a device (e.g., web applications executing within a web browser). Interactions between applications and device components are often enabled through hardware abstractions or component application programming interfaces (API), but such interactions may provide more limited and/or inconsistent access to component capabilities for virtually executing applications than for native applications. Instead, the device may provide hardware interaction as a service to the virtual environment utilizing a callback model, wherein applications within the virtual environment initiate component request specifying a callback, and the device initiates the component requests with the components and invokes associated callbacks upon completion of a component request. This model may enable the applications to interact with the full capability set of the components, and may reduce blocked execution of the application within the virtual application in furtherance of application performance.
-
Citations
20 Claims
-
1. A method of fulfilling component requests received from applications within a virtual environment on a device executing on a device having a processor and at least one component, the method comprising:
executing on the processor instructions configured to; upon receiving from an application executing within the virtual environment a component request specifying a component and a callback of the application; store the callback associated with the component request and the application, send the component request to the component, and resume execution of the application within the virtual environment; and upon detecting a completion of the component request by the component; retrieve the callback associated with the component request, and invoke the callback on behalf of the application. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
11. A system configured to fulfill component requests received from applications within a virtual environment on a device executing on a device having a processor and at least one component, the system comprising:
-
a component request initiating component configured to, upon receiving from an application executing within the virtual environment a component request specifying a component and a callback of the application; store the callback associated with the component request and the application, and send the component request to the component, and resume execution of the application within the virtual environment; and a callback invoking component configured to, upon detecting a completion of the component request by the component; retrieve the callback associated with the component request, and invoke the callback on behalf of the application. - View Dependent Claims (12, 13, 14, 15, 16)
-
-
17. A nonvolatile computer-readable storage device comprising instructions that, when executed on a processor of a device comprising a virtual environment and at least one component, fulfill component requests received from applications executing within the virtual environment by:
-
upon receiving from an application executing within the virtual environment a component request specifying a component and a callback of the application; storing the callback associated with the component request and the application, sending the component request to the component, and resuming execution of the application within the virtual environment; and upon detecting a completion of the component request by the component; retrieving the callback associated with the component request, and invoking the callback on behalf of the application. - View Dependent Claims (18, 19, 20)
-
Specification