摘要
容错是实现普适计算的可靠性和可用性的重要手段。由于OSGi标准缺乏对容错功能的支持,本文提出一种支持R-OSGi的容错架构。它不用修改原来R-OSGi的实现代码与框架,充分使用R-OSGi和OSGi框架提供的一些机制和服务来进行容错,容错后对外提供相同的服务。通过分析容错框架核心部件复制管理器的容错代理、容错步骤和状态的维护以及其它相关部件,得出该容错架构能满足需要容错的功能和服务的三要素,该架构可支持快速、高效地开发基于容错的应用系统。实验表明该方法切实可行,能满足远程通信的容错需求,有良好的实用价值。
Fault-tolerant is a key method to implement reliability and availability in pervasive computing.The OSGi standard lacks support for fault-tolerant.This article suggests a fault-tolerant architecture supporting R-OSGi.It does not modify the original R-OSGi implementation code and framework,makes full use of the R-OSGi and OSGi framework mechanisms and services to provide the same fault tolerance service for external.By analyzing the fault-tolerant agent,fault-tolerant steps,state maintenance and other related components of the core component replication manager in fault-tolerant framework,it approaches to conclude that the fault-tolerant architecture can meet the needs for three elements of fault tolerance features and services,which enables fast,efficient development of applications based on fault-tolerant systems.The experiments show that the method can meet the remote communication fault-tolerant requirements and is of good practicality.
出处
《计算机与现代化》
2013年第9期66-70,74,共6页
Computer and Modernization
基金
高等学校博士学科点专项科研基金资助项目(20090073110026)