OSGi平台服务动态更新的发布/订阅策略  被引量:4

OSGi PLATFORM SERVICE DYNAMIC UPDATE PUBLISH/SUBSCRIBE POLICIES

在线阅读下载全文

作  者:于庆梅[1] 赵杰[1] 黄冬梅[1] 尹朝万[2] 雷景生[3] 

机构地区:[1]上海海洋大学信息学院,上海201306 [2]中国科学院沈阳自动化研究所,辽宁沈阳110016 [3]上海电力学院计算机与信息工程学院,上海200090

出  处:《计算机应用与软件》2012年第6期17-20,32,共5页Computer Applications and Software

基  金:国家自然科学基金项目(61073189)

摘  要:针对7×24小时运行的系统,不能停止系统运行进行更新或维护的问题,根据OSGi(Open Service Gateway Initiative)框架的特点,在分析已有的服务动态更新方法基础上,克服已有策略不能保证服务更新前后的相互一致性和服务状态的一致性,以及更新策略实现过程中的编程模型不佳问题,提出基于发布/订阅模型的服务动态更新策略。以静止状态理论为依据,利用Petri网形式化描述服务动态更新过程,从理论上验证该策略的有效性;同时,以Event Admin Service作为策略的实现工具,具有良好的编程模型,从而实现OSGi平台上的动态演化,实验结果表明该策略具有可行性。It is a vital problem for a 7×24 running system to update and maintain software online.According to the characteristics of OSGi framework,the authors analyze existing service dynamic update policies for OSGi framework.In order to solve the problem of service mutual consistency and service state consistency during service update,the service dynamic update policy based on publish/subscribe model is presented.The policy is based on quiescent state theory to ensure mutual consistency when services are updated online.The process of the dynamic service update policy is described by Petri net.The authors realize the policy using Event Admin Service in an experiment with a well defined program model.Result shows that the policy is feasible.

关 键 词:OSGI框架 动态更新 事件发布/订阅模型 相互一致性 PETRI网 

分 类 号:TP311.51[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象