| 摘要: |
| 提出一种解决OSGi平台上服务动态演化的方法.针对OSGi平台的服务动态演化提出了重定向方法,解决了服务类定义的动态更新,较好地满足了演化中服务的透明性问题;提出了实现和数据相分离的方法,解决了服务动态演化中公共数据的一致性问题和动态演化问题;探讨了服务动态演化中服务增、减等问题.对所提出的方法均通过实例说明了其设计、运行和更新的可行性.所提出的方法可以用于指导解决组件、服务和面向对象软件动态演化中的相关问题. |
| 关键词: 服务动态演化 网构软件 OSGi 重定向服务 程序设计方法 |
| DOI: |
| 分类号: |
| 基金项目:Supported by the National Natural Science Foundation of China under Grant No.60673116 (国家自然科学基金); the National High-Tech Research and Development Plan of China under Grant No.2006AA01Z166 (国家高技术研究发展计划(863)); the Natural Science Foundation of Fujian Province of China under Grant No.2007J0315 (福建省自然科学基金); the Technology Plan for Provincial University of Fujian Province of China under Grant No.2007F5037 (福建省科技计划支柱省属高校项目) |
|
| Dynamic Service Evolving Based on OSGi |
|
ZHANG Shi,HUANG Lin-Peng
|
| Abstract: |
| A method is proposed in this paper for resolving dynamic service evolving based on OSGi. First, use indirect method for updating service definition based-on OSGi. The method can make dynamic evolving transparent. Then, divide service definition into implementation and data, which makes fields in service instance consistent and evolvable. The adding/deleting service during evolving is also discussed. A project is implemented, which can direct how to design, execute and evolve updatable service. The methods mentioned in the paper may be helpful to evolving components, service and object-oriented software. |
| Key words: dynamic service evolving Internetware OSGi indirect service program designing method |