1 / 51
文档名称:

软件设计模式库系统的设计与实现.pdf

格式:pdf   页数:51页
下载后只包含 1 个 PDF 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

软件设计模式库系统的设计与实现.pdf

上传人:山吉 2014/2/17 文件大小:0 KB

下载得到文件列表

软件设计模式库系统的设计与实现.pdf

文档介绍

文档介绍:华中科技大学
硕士学位论文
软件设计模式库系统的设计与实现
姓名:王玉栋
申请学位级别:硕士
专业:计算机软件与理论
指导教师:徐政权
20090526
华中科技大学硕士学位论文

摘要
设计模式是指在特定背景下反复出现问题的解决方案,是经验的文档化。设计
模式复用是将设计模式应用到软件系统的设计中,重复使用已有的设计方案,避免
重复设计。它把软件复用的层次从代码复用提高到设计复用,从而更好的解决了软
件开发中存在的质量与效率问题,提高了软件系统的可靠性、可维护性和可扩展性,
减少了软件系统开发时间和成本。
通过将大量的设计模式组织成设计模式库,提供设计模式的自动化检索和实例
化方法,从而方便软件设计人员从设计模式库中选取出所需的设计模式,并结合用
户具体需求自动产生应用了此设计模式的问题解决方案,更好的为设计模式复用提
供支持。
介绍了设计模式、设计模式库和设计模式复用等相关理论,对已有的相关工作
进行了分析和总结。阐述了和软件设计模式库相关的设计模式分类、描述、存储、
检索、实例化等方面的内容。其中,重点介绍了设计模式检索和设计模式实例化。
根据设计模式的分类、名称和目标相似性,提出了按类型、关键词和需求三种检索
设计模式的算法。按需求检索设计模式是根据用户的设计需求和设计模式的目标进
行相似性匹配,从而在最大程度上实现设计模式的自动选取,提高设计模式的复用
率。设计模式的实例化是在设计模式库中找到合适的设计模式后,结合用户需求生
成应用设计模式的问题解决方案。每个设计模式都具有稳定的模式框架,而用户需
求具有可变性,可以采用模板方法模式来解决这一问题,将稳定的模式框架固定为
模板,对可变的用户需求进行可变性封装,从而将设计模式和用户需求联系起来,
实现设计模式的自动实例化。
关键词:软件复用;设计模式;设计模式库;设计模式实例化
I
华中科技大学硕士学位论文

Abstract
Design pattern is a document of experiences and a solution for repeating appearance
problems in the given condition. Design pattern reuse puts design pattern to the design of
software system, which design scheme can be reused to avoid repeated design. It improves
the layer of software reuse from code reuse to design reuse. Accordingly it enhances the
efficiency and quality in software development and improves the reliability,
maintainability and expandability of software system and reduces the development time
and cost of software system.
In order to supply a convenience for software design persons to select needed one
from lots of design patterns and to obtain the solution scheme with special requirement
and further sustainment for design pattern reuse lots of design patterns anized into
design pattern store and the search and instantiation of design pattern were supplied.
Design pattern, design pattern store and design pattern reuse are studied. Software
design pattern store is expatiated, including design pattern classification, description,
storage, search, instantiation, automation, and etc.