• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2015, Vol. 37 ›› Issue (10): 1877-1883.

• 论文 • 上一篇    下一篇

基于Tropos+需求模型的软件自适应方法

雷义伟,贲可荣,何智勇   

  1. (海军工程大学计算机工程系,湖北 武汉 430033)
  • 收稿日期:2015-07-26 修回日期:2015-09-23 出版日期:2015-10-25 发布日期:2015-10-25
  • 基金资助:

    软件工程国家重点实验室基金资助项目(SKLSE 20120938)

A software adaptation method based on
Tropos+ requirement model   

LEI Yiwei,BEN Kerong,HE Zhiyong   

  1. (Department of Computer Engineering,Naval University of Engineering,Wuhan 430033,China)
  • Received:2015-07-26 Revised:2015-09-23 Online:2015-10-25 Published:2015-10-25

摘要:

在模型驱动的软件自适应控制过程中,监测、分析、决策和执行等活动均基于共享的知识模型。为便于知识重用和运行时维护,常采用抽象级别较高的需求模型来表示知识。为建模软件的适应性需求,针对传统的Tropos及其扩展方法不能用于软件对异常事件适应性需求建模问题,对Tropos进行上下文和异常条件扩展,记为Tropos+。在此基础上,提出一种由Tropos+需求模型驱动的软件自适应方法,该方法能够用于软件运行环境和异常事件监测以及软件对环境变化和异常事件的自适应处理。最后通过一个案例说明了软件自适应过程。

关键词: 自适应软件, 需求模型, 自适应控制过程

Abstract:

In the selfadaptive control process of model-driven software adaption, the actions of monitoring,analyzing,planning and executing are based on the shared knowledge model.For the convenience of knowledge models’maintaining and reusing, highly abstract requirement models are usually used to represent the knowledge.In order to model the adaptive requirements of software and to solve the problem that traditional Tropos and its extended methods cannot model the software adaptive requirements to exceptional events,we propose the Tropos+ which can monitor and deal with context changes and exception events.Base on Tropos+, we present a requirement model-driven software selfadaption method.Finally, the process of software self-adaption based on the proposed method is illustrated by an example.

Key words: self-adaptive software;requirement model;adaptive control process