首页 | 本学科首页   官方微博 | 高级检索  
     

cwinOSGi:Windows平台下基于C++的OSGi框架设计与实现
引用本文:肖斌,张怡,斯添浩.cwinOSGi:Windows平台下基于C++的OSGi框架设计与实现[J].小型微型计算机系统,2012(10):2227-2230.
作者姓名:肖斌  张怡  斯添浩
作者单位:国防科学技术大学计算机学院
基金项目:长江学者和创新团队发展计划项目(IRT1012)资助;“网络技术”湖南省高校科技创新团队支持计划项目资助;湖南省自然科学基金项目(11JJ7003)资助
摘    要:OSGi(Open Service Gateway Initiative)服务平台规范定义了一个开放的一般性架构,为网络服务、软件的开发和部署提供一致性的协作环境,其核心是提供一个通用、安全并且可管理的Java框架.OSGi规范本身利用了Java语言的特性,非常适合用Java实现.但其Java实现对系统资源的消耗较大并且运行时依赖Java虚拟机环境(JVM),不适合在系统资源较少和未安装JVM的环境中使用,例如移动设备.本文在分析OSGi框架原理的基础上,提出了一种轻量级的Windows平台下基于C++的OSGi框架实现方案--cwinOSGi,重点解决了组件的打包方式、加载方法、组件间的可见性及动态更新等关键技术问题,实现了OSGi模型的主要功能.实验证明,与OSGi框架的Java实现相比,cwinOSGi的系统资源需求大幅降低,具有更广的适应性.

关 键 词:OSGi  组件  C++

cwinOSGi:Design and Implementation of OSGi Framework Based on C++ on Windows Platform
XIAO Bin,ZHANG Yi,SI Tian-hao.cwinOSGi:Design and Implementation of OSGi Framework Based on C++ on Windows Platform[J].Mini-micro Systems,2012(10):2227-2230.
Authors:XIAO Bin  ZHANG Yi  SI Tian-hao
Affiliation:(College of Computer,National University of Defense Technology,Changsha 410073,China)
Abstract:OSGi(Open Services Gateway Initiative) Service Platform specification defines an open general framework,which also provides consistent and collaborative environment for the network services,software development and deployment.Its core is to offer a common,safe and can be managed Java framework.The OSGi specification uses the features of the java language,is very suitable to implement in java.The OSGi java implementation makes large consumption of system resources and relies on the Java Virtual Machine(JVM) at runtime.So,it is not suitable for being used in less system resources and no JVM environment,such as mobile devices.Based on the analysis of the OSGi framework’s principle,a lightweight implementation scheme based on the C++ language on Windows System named cwinOSGi is proposed in this paper.This scheme mainly solves some technical issues,such as bundle packaging,loading method,visibility and dynamic updating.Also,it achieves the main functions of OSGi module.Experiments show that,compared with the OSGi java implementation,the requirement of system resource on cwinOSGi are substantially reduced and with wider adaptability.
Keywords:OSGi  bundle  C++
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号