节点文献

软件模式理论的研究及其在开发TroBus中的应用

【作者】 王存思

【导师】 傅清祥;

【作者基本信息】 福州大学 , 计算机软件与理论, 2002, 硕士

【摘要】 软件模式是近年来软件工程领域热门研究的课题,有效地解决软件设计策略的复用问题,其目标是文档化优秀的软件系统设计成果,为软件设计人员提供类似于其他工程领域的设计手册。本文研究了软件模式的基本理论及其在分布式对象中间件TroBus设计中的应用。 文章首先对软件模式的基本理论作了较系统的概括:从软件模式理论的来源到模式的定义与要素、软件模式的描述形式与质量、模式语言与模式目录等;接着,对软件模式与反模式、算法、组件、框架、范例等之间的异同点作了比较;对软件模式的分类作了扩展与补充;对分层、管道—过滤器、仓库、客户机—派发者—服务器、模型—视图—控制器等软件体系结构模式作了归纳整理。关于软件模式理论的这些概括和归纳整理,在国内文献中还不曾见到。 在应用方面,本文作者成功地把软件模式应用到具有自主知识产权的分布式对象中间件TroBus的设计中,为研发其它类型的中间件提供了新思路。该系统兼容CORBA 2.3规范及其服务规范,具有较高的起点,已通过典型算例的测试,正在走向产品化。本文在第三章详细地阐述了分层、管道一过滤器软件体系结构模式在TroBus体系结构设计中的应用,远程代理、单件、工厂方法等设计模式在TroBus系统的微结构设计中的应用,智能指针、懒惰初始化C++代码模式在TroBus系统的底层设计中的应用,还论述了TroBus系统的体系结构描述语言、视点与视图、类设计原则。对于TroBus系统的开发,本文作者主要参与该系统的总体设计,负责ORB子系统、IDL子系统的体系结构设计,并设计与实现了IDL编译器、ORB子系统中的客户桩模块、网络连接复用管理模块。

【Abstract】 In recent years, the software pattern discipline, which can solve effectively the problems of reusing software design strategies, and which aims at creating design handbooks like other engineering field for software developers by documenting excellent achievements of software system designing, has been one of the most popular topics in the field of software engineering. This thesis focuses on the research of the basic theory of software patterns and application of it on the design of the TroBus System, a distributed-object middleware. Firstly, the thesis systematically introduces the basic theory of software patterns, including the origin of the discipline, the definitions and elements of patterns, the description forms and qualities of software patterns, and the languages and catalogs of patterns. Secondly, it respectively compares software patterns with the following five concepts, namely, anti-atterns, algorithms, components, frameworks and paradigms, and summarizes the similarities and differences as well. Thirdly, it expands the current classification of software patterns. Finally, it sums up some representative architecture patterns, such as Layers, Pipesilters, Repositories, Client-lispatcher-werver and Model-liew-ontroller. These supplements and summaries haven’t been found in the related domestic documents. As far as the application is concerned, the author has successfully employed these software patterns to design the TroBus System having independent knowledge property right, which provides a new thought to design other kinds of middleware. The system is compatible with CORBA V2.3 Specification and its corresponding Service Specification, whose version is relatively advanced. Therefore, its starting point is fairly high. Furthermore, it has passed several typical case tests and is being commercialized. The design details are expounded in the third chapter, for instance, how to apply Layers and Pipes-filters software architecture patterns to design its architecture, how to use design patterns, such as Proxy, Singleton and Factory Method, to design its micro-architecture, and how to employ intelligent C++ coding patterns, such as Smart Pointer and Lazy Initialization, to design its code-pevel. In addition, its architecture description language, viewpoints, views and classes design principles are described in detail. During the development of the TroBus System, the author has taken part in the system general design, taken charge of designing the ORB sub-system and the IDL sub-system architecture, and designed and implemented the IDL compiler and the two modules in the ORB sub-system, that is the client stub module and the management module of reusing network connection.

  • 【网络出版投稿人】 福州大学
  • 【网络出版年期】2002年 02期
  • 【分类号】TP311.52
  • 【被引频次】1
  • 【下载频次】82
节点文献中: 

本文链接的文献网络图示:

本文的引文网络