发明名称 Resolving prerequisites for a client device in an open service gateway initiative (OSGI) framework
摘要 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.
申请公布号 US9176719(B2) 申请公布日期 2015.11.03
申请号 US200410787520 申请日期 2004.02.26
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 Hayes, Jr. Kent F.
分类号 G06F15/16;G06F9/445;H04L12/24 主分类号 G06F15/16
代理机构 Lee Law, PLLC 代理人 Lee Law, PLLC ;Lee Christopher B.
主权项 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.
地址 Armonk NY US