计算机工程与应用 ›› 2008, Vol. 44 ›› Issue (32): 68-71.DOI: 10.3778/j.issn.1002-8331.2008.32.020

• 研发、设计、测试 • 上一篇    下一篇

一种支持软件体系结构重用的反射机制RMRSA

罗巨波1,2,叶 鹏1,袁文杰1,姚俊峰1   

  1. 1.武汉大学 软件工程国家重点实验室,武汉 430072
    2.武汉科技大学 管理学院,武汉 430081
  • 收稿日期:2008-03-13 修回日期:2008-05-07 出版日期:2008-11-11 发布日期:2008-11-11
  • 通讯作者: 罗巨波

Reflection mechanism RMRSA for reusing software architecture

LUO Ju-bo1,2,YE Peng1,YUAN Wen-jie1,YAO Jun-feng1   

  1. 1.State Key Laboratory of Software Engineering,Wuhan University,Wuhan 430072,China
    2.School of Management,Wuhan University of Science and Technology,Wuhan 430081,China
  • Received:2008-03-13 Revised:2008-05-07 Online:2008-11-11 Published:2008-11-11
  • Contact: LUO Ju-bo

摘要: 软件实现阶段的重用技术,特别是组件重用技术已经取得了巨大的进展。然而,对于软件开发早期阶段的软件资源的重用却进展缓慢。软件体系结构在软件重用中有着特殊的意义。反射机制在代码重用方面取得了成功,但还没有用于软件体系结构及其组成元素的重用。提出了一种支持软件体系结构设计时重用的反射机制,概述了基于反射机制的软件体系结构重用方法。详细说明了反射机制RMRSA的元级体系结构模型和基级体系结构模型,描述了元级软件体系结构和基级软件体系结构之间进行交互和互操作的协议PMB,以及反射机制RMRSA支持软件体系结构重用的过程。利用所提出的基于反射机制的重用方法,设计人员在软件设计阶段,通过重用体系结构及其组成元素来高效地完成软件计任务。

关键词: 软件体系结构, 软件体系结构重用, 反射, 元级, 基级, PMB

Abstract: Reusing technology,especially component reusing,has been widely applied and made great progress in software implementation stage.However,reusing software resources at early stages of software development is still insufficient.Research of software reusing in software architecture is especially important.Reflection mechanism has been successfully applied in the reuse of code component,but scarcely applied in the reuse of architecture and its constituents.This paper proposes a reflection mechanism supporting the reuse of architectural level designs,which generally describes the approach of software architecture reusing based on reflection mechanism.Moreover,this paper illustrates the meta-level architecture and base-level architecture model of RMRSA,and describes the PMB protocols used to complete interaction and interoperation between meta-level architecture and base-level architecture,and describes the process of software architecture reuse supported by RMRSA in detail.According to the approach of reuse based on the reflection mechanism,architects can accomplish the task of software design efficiently at software design stage by reusing software architecture and its constituents.

Key words: software architecture, reuse of software architecture, reflection, meta-level, base-level, Protocol for connecting Meta-level architecture and Base-level architecture(PMB)