[关键词]
[摘要]
组件容器为组件提供部署和运行环境,是基于组件分布式应用开发的核心.近年来分布式组件的多样化和快速演化对组件容器的开发方法提出了挑战.产品线工程是基于公共的核心资产开发特定领域内软件产品系列的软件工程方法,产品线体系结构是其中最重要的部分.进行组件容器产品线体系结构的研究能够提高组件容器的结构复用性,获得更高的生产效率和质量.由于组件模型是组件容器设计的基础,在领域分析阶段引入组件模型分析,提出了组件模型分析框架,通过组件模型元素到领域需求元素的映射,建立组件容器领域模型.提出了组件容器设计的基本原则,并根据变化性封装原则,提出了组件容器产品线体系结构PLACE,通过引入可选属性、模块层次结构和决策模型,实现组件容器的领域需求.PLACE产品线体系结构已在网驰平台的多个组件容器设计中得到应用.
[Key word]
[Abstract]
Component containers play a key role as the infrastructure of component-based distributed applications at deployment and running time. In recent years, various kinds of component models are emerging and evolving, this brings great challenges to the development component container. Product line engineering is one of the most promising techniques to improve the quality and productivity of software. Study on product line architecture (PLA) for component containers is the most important, and of great help to improve the reusability of architectural design. Since component models are cornerstone of container design, an analyzing framework of component models is proposed integrated with domain analysis. This paper builds the domain model of component container by establishing mapping between component model elements and domain requirement elements. Based on the design principles of component container and variability encapsulation rules, this paper proposes a component container PLA, named PLACE, which meets domain requirements of component container by introducing optionality, hierarchical module structuring and decision model. PLACE is also applied to the development of several component containers on ONCE platform, which proved the effectiveness of this approach.
[中图分类号]
[基金项目]
Supported by the National Natural Science Foundation of China under Grant Nos.60673112, 90718033 (国家自然科学基金); the National Basic Research Program of China under Grant No.2009CB320704 (国家重点基础研究发展计划(973)); the National High-Tech Research and Development Plan of China under Grant Nos.2006AA01Z19B, 2007AA010301 (国家高技术研究发展计划(863))