To solve feature model's chaos and entanglement problems in certain domain and decouple the feature model and requirement model, we design a feature model componentization method. The method introduces the concept of Role, and implements an algorithm based on it called Feature-Role-Component Algorithn which maps domain features generated by requirement elicitation and analysis to different model components. The Role plays the role of intermediary, and decouples the feature and componont, which enables convenient selection and composition between feature variants and enhances the componentization level of the system.%为了解决领域特征模型混杂交织及其与需求模型过度耦合的问题,本文设计了一种特征模型构件化方法.该方法引入角色的概念,并以角色为中介设计了特征-角色-构件映射算法,将在领域分析过程中提取和抽象的特征映射到不同的构件模型上.通过角色的中介作用,方法实现了特征模型和需求模型的解耦,各个特征模型的可变点可以自由方便地选择和组合,从而提高了软件的构件化水平.
展开▼