ISCAS OpenIR  > 中科院软件所  > 中科院软件所
通过设计模式构造的通信应用服务框架
高鹏
Major计算机软件与理论
2003
Degree Grantor中国科学院软件研究所
Degree Level博士
Place of Degree Grantor中国科学院软件研究所
Keyword框架 设计模式 通信应用
English Abstract由于通信软件内在的复杂性,通信软件的开发人员通常需要面对诸多挑战,而利用针对通信软件的设计模式可以帮助软件开发人员克服困难,开发出高性能的通信软件。然而由于这些设计模式通常是彼此孤立的,因此把这些设计模式组织起来构成一个框架将更有利于提高开发的效率。正是基于此目的,本篇论文的作者设计开发了一个建立在匕inux操作系统之上的通信应用服务框架。在此框架中,作者对底层函数进行了改造,并设计实现了C++包装类来提供类似操作系统API的功能,在此基础上,对那些针对通信应用服务软件的设计模式进行编码,从而实现了通信应用服务的核心部分:并发策略(通过Acceptor-Connector模式实现)、事件的分离与分发策略(通过Reactor模式实现)、连接的建立(通过Acceptor-Connector模式实现)、服务的初始化策略(通过Service Configurator模式实现)等等。通过使用该框架,通信应用服务软件的开发人员可以无须实现那些共性问题,而是集中力量去实现那些与应用相关的关键问题,从而提高开发的效率。在开发出此框架后,本文作者通过该框架实现了一个应用于金融业务的应用级网关来进行大规模的消息处理。
AbstractBecause of the internal complexities of communication application, developers of communication application must face many challenges. But it is easier to overcome these challenges and develop high-performance communication software by using design patterns for communication software. But these design patterns are isolated, so it is better for improving developing efficiency to organize these design patterns into a framework. Basing on this objective, the writer of this paper developed a framework of communication service for Linux operation system. In this framework, writer rebuild the low-level functions and designed many C++ wrapper facade to provide function as OS API- And on the basis of above, writer coded design patterns for communication applications to implement the key part of the communication service such as concurrency strategy (by Leader/Followers pattern), demultiplexing and dispatching strategy(by Reactor pattern), connection initialization(by Connector-Acceptor pattern) and service initialization strategy(by Service Configurator pattern). With this framework, developers of communication applications need not implement those common problems and may concentrate on those key problems related to special applications to improve the efficiency of development. After developed this framework, writer has succeeded implementing an application-level gateway for finance operations by using this framework to deal with a large number of messages.
Pages65
Language中文
Content Type学位论文
URIhttp://ir.iscas.ac.cn/handle/311060/6008
Collection中科院软件所_中科院软件所
Recommended Citation
GB/T 7714
高鹏. 通过设计模式构造的通信应用服务框架[D]. 中国科学院软件研究所. 中国科学院软件研究所,2003.
Files in This Item:
File Name/Size DocType Version Access License
LW011228.pdf(2562KB) 限制开放--Application Full Text
Related Services
Recommend this item
Bookmark
Usage statistics
Export to Endnote
Google Scholar
Similar articles in Google Scholar
[高鹏]'s Articles
Baidu academic
Similar articles in Baidu academic
[高鹏]'s Articles
Bing Scholar
Similar articles in Bing Scholar
[高鹏]'s Articles
Terms of Use
No data!
Social Bookmark/Share
All comments (0)
No comment.
 

Items in the repository are protected by copyright, with all rights reserved, unless otherwise indicated.