模型驱动的软件体系结构自适应是支持软件适应性的主要方法之一,其重点是基于模型来支持适应过程中的分析和规划.但是已有的方法和实现大多特定于体系结构描述语言,导致复用性和集成性比较差.由于使用标准的模型技术能够提高方法的复用性和集成性,总结了分析和规划中所需的模型以及模型上的操作,并考察了如何在体系结构建模语言中引入标准模型技术进行支持.基于分析所得的设计原则,对ABC-ADL进行扩展,并且在实现中使用模型转换和模型查询等标准化技术来支持分析和规划.以ECPerf系统中一个性能相关的不良模式自适应分析和规划的过程为例,展示了如何使用扩展后的ADL对分析规划过程进行支持.此外,其中使用2种不同的分析方法,展示了如何使用ADL复用和集成不同的分析和规划方法.
The approach based on model-driven software architecture is one of the most important approaches for software adaptation. Especially in the analysis and planning stages, many model-based methods and tools are used to support designers in decision making. But most of these approaches and their supporting tools are provided only for specific architectural description languages or modeling tools. It is hard to reuse or integrate them with other approaches. On the other hand, recent research in the field of model driven architecture (MDA) provides standards to enhance the interoperability of the methods and tools. These standards include MOF for meta modeling, QVT for model query, view and transformation, and so on. For these concerns, the authors summarize the models and model operations needed in the analysis and planning stages to see how to apply standard model technologies to support these stages. They then extend the ABC-ADL, and use the standard model technologies including model transformation and model query in its implementation to support analysis and planning. The adaptation of an anti pattern in ECPerf system is used as a case study to show the usability of our ADL. In addition, two analysis approaches used in the case study show how to use their ADL to reuse and integrate other approaches.