摘要
软件产品线作为系统化的软件复用方式,可以提高软件的开发效率和质量.软件产品线变化性建模是软件产品线的关键技术,通过建立变化性模型以记录软件产品线成员产品的共性和变化性.目前的软件产品线变化性建模方法大都通过领域专家进行分析建立,这种方法过度依赖于领域专家的分析能力,在系统规模较小的情况下,变化性分析比较容易,但是如果系统规模变大,则系统的规模对于变化性分析的影响会越来越大.文中提出一种半自动的软件产品线领域需求建模方法,基于关注点分离的思路,利用特征模型表示软件产品线中系列产品的不同方面的特征信息,通过特征模型的对比和组合实现领域需求模型的构建.为有效地实现特征模型对比与组合,文中提出一种基于标记和结构的特征模型对比方法,同时,文中实现了基于约束的特征模型组合.基于公开的特征模型,文中对提出的方法进行了验证,实验结果表明,文中提出的领域需求建模方法能够在一定准确率的情况下有效地实现领域需求模型的构建.
Software product line is one of the most effective strategies for reuse, and it can improve the development efficiency and quality of software. It is well known that variability modeling, which captures the eommonality and variability of software product families, is one of the most important techniques of software product lines. Current software product line variability modeling method, which relies on the domain analyst's analysis ability heavily, are all based on the domain analysis of product families. When software product families are large, it is difficult to establish the variability model. In this paper, a new domain requirement modeling method is presented. In order to achieve separation of concern, feature model is used to facilitate modeling of the different aspect of software product line families. Hence, the domain analysts can thereby eoncentrate on the modeling of different aspects of the software products. In the end, the domain requirement models are constructed by model differencing and merging algorithm. In this paper, the method for comparing different feature models based on signature and structure is presented. The feature model composition method with constraint is also presented. Experimental are conducted to verify our method and the results showing the efficiency of our domain requirement modelling method.
出处
《计算机学报》
EI
CSCD
北大核心
2014年第3期539-550,共12页
Chinese Journal of Computers
基金
国家自然科学基金(61170087
61370058)
软件开发环境国家重点实验室自主研究课题(SKLSDE-2012ZX-13)资助~~
关键词
模型对比
模型组合
特征模型
领域需求模型
需求工程
软件产品线中图法
model difference
model merge
feature model
domain requirement model
require- ments engineering
software product line