计算机科学与探索 ›› 2010, Vol. 4 ›› Issue (2): 115-123.DOI: 10.3778/j.issn.1673-9418.2010.02.003

• 学术研究 • 上一篇    下一篇

策略驱动的软件自适应机制研究

史殿习1+,丁 博1,尹 刚1,冯 进2,王怀民1,3   

  1. 1. 国防科学技术大学 计算机学院,长沙 410073
    2. 南昌陆军学院 分队战斗实验室,南昌 330103
    3. 国防科学技术大学 并行与分布处理国防科技重点实验室,长沙 410073
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2010-02-15 发布日期:2010-02-15
  • 通讯作者: 史殿习

Research on Policy-Driven Software Self-Adaptation Mechanism

SHI Dianxi1+, DING Bo1, YIN Gang1, FENG Jin2, WANG Huaimin1,3   

  1. 1. School of Computer, National University of Defense Technology, Changsha 410073, China
    2. Laboratory of Unit Battle, Nanchang Military Academy, Nanchang 330103, China
    3. National Defense Laboratory for Parallel and Distributed Processing, National University of Defense Technology, Changsha 410073, China
  • Received:1900-01-01 Revised:1900-01-01 Online:2010-02-15 Published:2010-02-15
  • Contact: SHI Dianxi

摘要: 中间件是支持和实现软件自适应的重要手段。除了内建于中间件的通用自适应机制外,中间件还应当为应用相关的自适应过程提供开发和运行支持。以普适计算为背景,基于关注点分离原则,引入策略对软件自适应过程进行抽象描述,提出了基于策略的软件自适应概念模型,进而提出了适应使能、基层和元层分离的轻量级构件化实现模型。基于上述模型,在面向普适计算的自适应中间件平台UbiStar中设计实现了一种基于策略的软件自适应框架,可以支持基于上述模型的普适计算应用的开发和运行,从而为应用相关的软件自适应过程提供有效支持。

关键词: 普适计算, 中间件, 自适应, 策略, 构件, 计算反射

Abstract: Middleware is an important method for software self-adaptation, which should provide not only the general built-in self-adaptation mechanisms, but also the development and runtime supports for application of specific ones. This paper addresses the self-adaptation problem in ubiquitous computing software by using the principal of separation of concerns and introducing policies to model the software self-adaptation processes. The policy-based software self-adaptation concept model and the adaptation-enabled, base-meta level divided light weight component model are proposed, based on which a policy-based software self-adaptation framework is designed and implemented on a ubiquitous self-adaptation middleware named UbiStar. The framework provides the development and runtime supports for ubiquitous applications compliant to above models, and thus enables effectively for application-specific software self-adaptation processes.

Key words: ubiquitous computing, middleware, self-adaptation, policy, component, computing reflection

中图分类号: