摘要
R-OSG采用生产者—消费者模式调用远程服务的R-OSGi,不仅会增加每个系统OSGi的工作负载,同时对网络资源的消耗也很大,更无法对远程服务进行统一的管理。基于OSGi的两层服务模型正是针对R-OSGi的这些缺点,从一种新的视角来看待分布式环境中的OSGi平台,将每一个独立的OSGi平台视为一个能够提供远程服务并可能要获取其他远程服务的构件,使用面向服务的构件模型的方式来解决分布式环境中远程服务的发布和获取的问题。提出了基于OSGi的两层服务模型,并详细介绍了其工作原理、流程及相关问题,同时总结了该模型与R-OSGi相比的优缺点。
R-OSGi has disadvantages in the management of remote service and using of network resource. R-OSGi also increases the workload of OSGi platform in the system. Two-tier service-oriented model based on OSGi solved this issue of R-OSGi. In two-tier service-oriented model based on OSGi, every platform would be viewed as a component, which could publish" remote service for other platform and also could get remote service from other platform. Through the way of service-orient component model, two-tier service-oriented model based on OSGi solved the difficulty of publishing and getting remote service in the distributed environment. This paper described the two-tier service-oriented model, and also concluded the differences between this model and R-OSGi.
出处
《计算机应用研究》
CSCD
北大核心
2009年第7期2590-2592,2597,共4页
Application Research of Computers
基金
国家自然科学基金资助项目(60673116)
国家"863"计划资助项目(2006AAOIZ166)