计算机工程与应用 ›› 2007, Vol. 43 ›› Issue (10): 87-92.

• 学术探讨 • 上一篇    下一篇

体系结构动态演化中的构件行为分析

黄崇德 彭鑫 赵文耘   

  1. 上海 复旦大学 软件工程实验室 复旦大学计算机科学与工程系软件工程实验室 复旦大学软件工程实验室
  • 收稿日期:2006-06-29 修回日期:1900-01-01 出版日期:2007-04-01 发布日期:2007-04-01
  • 通讯作者: 黄崇德

The Analysis of Component Behaviors in Dynamic Architecture Evolution

Xin Peng   

  • Received:2006-06-29 Revised:1900-01-01 Online:2007-04-01 Published:2007-04-01

摘要: 在体系结构演化的过程中,关闭运行时系统升级的代价增高和频繁改变的业务需求使得研究者考虑动态的软件升级机制.但在体系结构的动态升级过程中,由于构件风格、功能及交互方式等方面的差别,强制的构件升级会影响系统的稳定性和正确性.本文从构件行为的角度考虑,采用基于Wright的软件体系结构描述语言和通信顺序进程中对于进程的描述方法,描述构件行为并在构件替换之前分析原构件和新构件间的行为特性,在演化前确认构件的行为一致性,并在构件替换的同时根据构件行为特性自动为其创建相应的连接器,从而保证动态升级过程的正确性和合法性,以及提高系统演化的自适应性

关键词: 软件体系结构, 动态升级, 构件行为, CSP

Abstract: With the requirements of continuous service in mission and safety critical software applications, shutdown and restart the system during software upgrade is unacceptable.Dynamic update with foundation of runtime software evolution becomes a way to solve these problems.But as the variety of component style, ability, and communicating protocols, component substitute may encounter incompatibility.And force updating without adaptation may endanger the stability and correctness of current system. This paper focuses the behaviors of component and divides the behaviors into three levels.With the help of CSP, we analyze the consistency of behaviors of two components through the deadlock-free checking with the fundamental logical support of CSP.Be sure that the new component behaviors satisfy the system’s requirements.And this mechanism ensures the correctness and security of dynamic update.

Key words: software architecture, dynamic update, component behavior, CSP (Communicating Sequential Process), Wright