Resolving prerequisites for a client device in an open service gateway initiative (OSGI) framework
First Claim
1. A computer-implemented method for resolving prerequisites for client devices in an Open Service Gateway Initiative (OSGi) framework, comprising:
- determining, on a server device, prerequisites for an OSGi bundle to be loaded on a client device, the prerequisites comprising a set of all OSGi bundles that are necessary for utilizing the OSGi bundle;
communicating, prior to communicating any of the OSGi bundles to the client device, a list of the prerequisites from the server device to the client device;
receiving a response from the client device, wherein the response identifies any resource limitations of the client device determined by the client device based on a comparison of the list of the prerequisites and current OSGi package and OSGi service interface resources of the client device, the resource limitations comprising all prerequisites of the list of the prerequisites that are not currently present on the client device;
automatically recursively resolving via the server device, in response to determining that the list of the prerequisites that are not currently present on the client device would not require more client device OSGi package and OSGi service interface resources than the current OSGi package and OSGi service interface resources of the client device, the prerequisites by identifying a final set of OSGi bundles on the server device that fulfills the prerequisites within the resource limitations of the client device; and
substituting via the server device, in response to determining that the list of the prerequisites that are not currently present on the client device would require more client device OSGi package and OSGi service interface resources than the current OSGi package and OSGi service interface resources of the client device, at least one other OSGi bundle that operates within the resource limitations of the client device for one of the OSGi bundles and one of the prerequisites of the list of the prerequisites that are not currently present on the client device.
1 Assignment
0 Petitions
Accused Products
Abstract
Under the present invention, prerequisites are first determined on a server for one or more OSGi bundles that are to be loaded on a client device. Once determined, the prerequisites are communicated to the client device. Upon receipt, the client device will determine whether it has/meets the prerequisites. If not, any prerequisites that the client device does not have represent resource limitations that are communicated back to the server in a response. The server will then recursively resolve the prerequisites by identifying a final set (e.g., one or more) of OSGi bundles that fulfill the prerequisites within the resource limitations of the client device. Once all prerequisites are resolved, the final set OSGi bundles can be loaded on the client device.
11 Citations
29 Claims
-
1. A computer-implemented method for resolving prerequisites for client devices in an Open Service Gateway Initiative (OSGi) framework, comprising:
-
determining, on a server device, prerequisites for an OSGi bundle to be loaded on a client device, the prerequisites comprising a set of all OSGi bundles that are necessary for utilizing the OSGi bundle; communicating, prior to communicating any of the OSGi bundles to the client device, a list of the prerequisites from the server device to the client device; receiving a response from the client device, wherein the response identifies any resource limitations of the client device determined by the client device based on a comparison of the list of the prerequisites and current OSGi package and OSGi service interface resources of the client device, the resource limitations comprising all prerequisites of the list of the prerequisites that are not currently present on the client device; automatically recursively resolving via the server device, in response to determining that the list of the prerequisites that are not currently present on the client device would not require more client device OSGi package and OSGi service interface resources than the current OSGi package and OSGi service interface resources of the client device, the prerequisites by identifying a final set of OSGi bundles on the server device that fulfills the prerequisites within the resource limitations of the client device; and substituting via the server device, in response to determining that the list of the prerequisites that are not currently present on the client device would require more client device OSGi package and OSGi service interface resources than the current OSGi package and OSGi service interface resources of the client device, at least one other OSGi bundle that operates within the resource limitations of the client device for one of the OSGi bundles and one of the prerequisites of the list of the prerequisites that are not currently present on the client device. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer-implemented method for recursively resolving prerequisites for client devices in an Open Service Gateway Initiative (OSGi) framework, comprising:
-
determining, on a server device, prerequisites for an OSGi bundle to be loaded on a client device, the prerequisites comprising a set of all OSGi bundles that are necessary for utilizing the OSGi bundle; communicating, prior to communicating any of the OSGi bundles to the client device, a list of the prerequisites from the server device to the client device; receiving a response from the client device, wherein the response identifies any resource limitations of the client device determined by the client device based on a comparison of the list of the prerequisites and current OSGi package and OSGi service interface resources of the client device, the resource limitations comprising all prerequisites of the list of the prerequisites that are not currently present on the client device; caching information derived from the response on the server device; automatically recursively resolving via the server device, in response to determining that the list of the prerequisites that are not currently present on the client device would not require more client device OSGi package and OSGi service interface resources than the current OSGi package and OSGi service interface resources of the client device, the prerequisites by recursively identifying a final set of OSGi bundles on the server device that fulfills the prerequisites within the resource limitations of the client device; and substituting via the server device, in response to determining that the list of the prerequisites that are not currently present on the client device would require more client device OSGi package and OSGi service interface resources than the current OSGi package and OSGi service interface resources of the client device, at least one other OSGi bundle that operates within the resource limitations of the client device for one of the OSGi bundles and one of the prerequisites of the list of the prerequisites that are not currently present on the client device. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. A computerized system for resolving prerequisites for client devices in an Open Service Gateway Initiative (OSGi) framework, comprising:
-
a memory that stores OSGi bundle information at a server device; and a processor programmed to execute; a prerequisite computation system for determining, on the server device, prerequisites for an OSGi bundle to be loaded on a client device, the prerequisites comprising a set of all OSGi bundles that are necessary for utilizing the OSGi bundle; a communication system for communicating, prior to communicating any of the OSGi bundles to the client device, a list of the prerequisites from the server device to the client device, and for receiving a response from the client device, wherein the response identifies any resource limitations of the client device determined by the client device based on a comparison of the list of the prerequisites and current OSGi package and OSGi service interface resources of the client device, the resource limitations comprising all prerequisites of the list of the prerequisites that are not currently present on the client device; and a prerequisite resolution system for; automatically recursively resolving via the server device, in response to determining that the list of the prerequisites that are not currently present on the client device would not require more client device OSGi package and OSGi service interface resources than the current OSGi package and OSGi service interface resources of the client device, the prerequisites by identifying a final set of OSGi bundles stored within the memory at the server device that fulfills the prerequisites within the resource limitations of the client device; and substituting via the server device, in response to determining that the list of the prerequisites that are not currently present on the client device would require more client device OSGi package and OSGi service interface resources than the current OSGi package and OSGi service interface resources of the client device, at least one other OSGi bundle that operates within the resource limitations of the client device for one of the OSGi bundles and one of the prerequisites of the list of the prerequisites that are not currently present on the client device. - View Dependent Claims (16, 17, 18, 19, 20, 21, 22)
-
-
23. A program product stored on a storage memory and executed by a computer for resolving prerequisites for clients devices in an Open Service Gateway Initiative (OSGi) framework, comprising:
-
program code for determining, on a server device, prerequisites for an OSGi bundle to be loaded on a client device, the prerequisites comprising a set of all OSGi bundles that are necessary for utilizing the OSGi bundle; program code for communicating, prior to communicating any of the OSGi bundles to the client device, a list of the prerequisites from the server device to the client device, and for receiving a response from the client device, wherein the response identifies any resource limitations of the client device determined by the client device based on a comparison of the list of the prerequisites and current OSGi package and OSGi service interface resources of the client device, the resource limitations comprising all prerequisites of the list of the prerequisites that are not currently present on the client device; program code for automatically recursively resolving via the server device, in response to determining that the list of the prerequisites that are not currently present on the client device would not require more client device OSGi package and OSGi service interface resources than the current OSGi package and OSGi service interface resources of the client device, the prerequisites by identifying a final set of OSGi bundles on the server device that fulfills the prerequisites within the resource limitations of the client device; and program code for substituting via the server device, in response to determining that the list of the prerequisites that are not currently present on the client device would require more client device OSGi package and OSGi service interface resources than the current OSGi package and OSGi service interface resources of the client device, at least one other OSGi bundle that operates within the resource limitations of the client device for one of the OSGi bundles and one of the prerequisites of the list of the prerequisites that are not currently present on the client device. - View Dependent Claims (24, 25, 26, 27, 28, 29)
-
Specification