Vol.14, No.8
©2003 Journal of Software 软 件 学 报
1000-9825/2003/14(08)1345
一种面向特征的领域模型及其建模过程
∗
张
伟
+
,
梅
宏
(北京大学 信息科学技术学院 软件研究所,北京 100871)
A Feature-Oriented Domain Model and Its Modeling Process
ZHANG Wei
+
, MEI Hong
(Institute of Software, School of Electronics Engineering and Computer Science, Peking University, Beijing 100871, China)
+ Corresponding author: Phn: 86-10-62757801, Fax: 86-10-62751792, E-mail: zhangw@cs.pku.edu.cn
http://www.sei.pku.edu.cn/belljointlab/
Received 2002-12-31; Accepted 2003-03-05
Zhang W, Mei H. A feature-oriented domain model and its modeling process. Journal of Software, 2003,14(8):
1345~1356.
http://www.jos.org.cn/1000-9825/14/1345.htm
Abstract: The feature model has been widely adopted as a domain requirements capturing model by most of the
current domain engineering methods. But these methods lack a well formatted framework for the feature models
which they use. This has led to the redundancy and confusion in feature model representation between different
domain engineering methods, and has made domain analysts difficult to built feature models effectively in practice.
In this paper, a uniform framework of feature model is presented from the aspects of basic structure, variability
representation and constraint mechanism, and variability binding time. A concrete form of this abstract framework is
also given based on the different type of features existing in requirements (service, use case, function, and behavior
characteristic), and the relationship among them. Then, combining with a real software domain, the modeling
process of the feature model is discussed systematically. This approach will be beneficial to successful domain
modeling practices.
Key words: feature model; domain analysis; domain engineering; software reuse
摘 要: 特征模型作为捕获领域需求的重要模型已被现阶段的主流领域工程方法所接受,但这些方法缺乏对特征
模型组织框架的细致研究和说明,在一定程度上导致了特征模型在表现形式上的冗余性和混乱性,也使得领域分析
人员在实践中很难有效地进行领域建模活动.从特征模型的基本组织结构、变化性的表现方式和限制机制、变化性
∗ Supported by the Key Project of the National Natural Science Foundation of China under Grant No.60233010 (国家自然科学基金
重点项目); the National Grand Fundamental Research 973 Program of China under Grant No.2002CB312003 (国家重点基础研究发展规
划(973)); the National Science Foundation for Distinguished Young Scholars of China under Grant No.60125206 (国家杰出青年科学基
金); the Major Project of Science and Technology Research of Ministry of Education of China under Grant No.MAJOR0214 (国家教育部
重大项目); the National Research Foundation for the Doctoral Program of Higher Education of China under Grant No.20010001001 (国家
教育部博士点基金)
第一作者简介: 张伟(1978-),男,江苏徐州人,博士生,主要研究领域为领域工程,软件构件技术,软件复用.