计算机科学 ›› 2011, Vol. 38 ›› Issue (8): 147-149.

• 软件工程 • 上一篇    下一篇

整合RTSJ的动态实时OSGi服务部署机制研究

张奕,蔡皖东   

  1. (西北工业大学计算机学院 西安710072)
  • 出版日期:2018-11-16 发布日期:2018-11-16
  • 基金资助:
    本文受国家高技术发展计划863项目(2009AA01 6424)资助。

Research of Real-time OSGi Service Deployment Mechanism Based on RTSJ Event Mechanism

ZHANG Yi , CAI Wan-dong   

  • Online:2018-11-16 Published:2018-11-16

摘要: 针对当前OSCi规范没有对服务的实时性提出具体标准和详细解决方案的问题,试图将Java实时规范(Real-Time Specification for Java,RTSJ)整合到OSGi架构中,以提供一种在动态实时嵌入式环境下部署实时组件和服务的解决方案。通过分析RTSJ对OSGi框架的影响,针对OSGi事件机制在RTSJ中不能满足实时计算要求的现状,提出了基于RTSJ实时线程的事件机制,解决了OSGi在RTSJ中自适应环境变化所导致的服务之间的实时切换问题,从而确保了基于OSGi架构的实时嵌入式系统在动态不确定环境下的实时性。

关键词: 自适应,Java实时规范,OSGi框架,事件队列,实时线程

Abstract: OSGi specifications provide dynamic services management framework, but there arc no real-time criterion and detailed solutions on the specifications. This paper presented a solution of providing a dynamic real-time framework for deploying the real-time components and services by integrating RTSJ into OSGi. This paper first analyzed the impact of RTSJ on the OSGi framework, and then for the reason that the existing OSGi event mechanism in the RTSJ can not satisfy the real-time computing rectuirements, provided a new event mechanism solution based on the RTSJ real-time threads. It resolves the problem of real-time switching between the services in the RTSJ-based OSGi framework and ensures OSGi based time predictability of real-time embedded systems in the dynamic environment.

Key words: Adaptive, RTSJ , OSGi framework, Event ctueue, Real-time thread

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!