作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2009, Vol. 35 ›› Issue (22): 79-81. doi: 10.3969/j.issn.1000-3428.2009.22.027

• 软件技术与数据库 • 上一篇    下一篇

一种可复用的插件粒度划分方法

王 俊1,邵 堃1,刘 磊1,刘宗田2   

  1. (1. 合肥工业大学计算机与信息学院,合肥 230009;2. 上海大学计算机工程与科学学院,上海 200072)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2009-11-20 发布日期:2009-11-20

Reusable Method for Dividing Plug-in Granularity

WANG Jun1, SHAO Kun1, LIU Lei1, LIU Zong-tian2   

  1. (1. School of Computer and Information, Hefei University of Technology, Hefei 230009;2. School of Computer Engineering and Science, Shanghai University, Shanghai 200072)
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-11-20 Published:2009-11-20

摘要: 基于应用程序功能来划分插件的传统方法不能快速适应可复用的插件设计要求。针对这一问题,提出一种基于领域分析的插件划分方法。该方法采用了多分层插件软件模式,重点突出软件体系结构中的领域层,并运用面向特征的领域建模技术针对插件软件应用系统实现领域特征的共性和个性的划分。通过应用案例证明,该方法可以有效地降低插件模块间的耦合性,提高复用粒度。

关键词: 软件体系结构, 插件, 领域建模, 复用

Abstract: The traditional method of dividing plug-in among application functions can not adapt to reusable plug-ins requirement quickly. To solve this problem, this paper introduces a method of dividing plug-in based on domain analysis. The method uses a multilayer architecture and presents the domain layer particularly. Meanwhile, the technology of feature-oriented domain modeling is used to capture the similarities and variations in the application system of plug-in software. The example shows that this method can reduce the coupling between plug-in modules effectively and get reusability for applying.

Key words: software architecture, plug-in, domain modeling, reusable

中图分类号: