The Research and Realization of Windows IOCP-Based High-Performance Server Framework
- Author
- LiXing
- Advisor
- ZhangPingJian
- School
- South China University of Technology
- Major
- Computer Software and Theory
- Classification
- TP393.05 Network equipment
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 79
- Citations
- 0
Abstract
With the rapid development of computer network technology, ever-changing network communications applications are constantly in our work and life, in order to meet the different needs of the various aspects. At the same time, these changes to the server development with increasing demand, especially for robust, high-performance communications applications demand. Traditional network communication server software developed for the specific needs of the service, specific service functions and the underlying function is closely linked to the versatility, scalability and portability are poor, in the development of other communications applications service need to repeat the same content to develop the underlying. The server framework is a collaborative components in accordance with certain industry standards, and can provide the basic function of certain software products. The framework provides a set of generic and specific application-independent basic functions, this design enables developers are more focused on the design of complex business applications and business logic. Framework emphasizes reusability and scalability, enabling developers to quickly on the basis of the framework for application development, can effectively shorten the system development cycle, and continue to improve the quality and stability of the software design. Communication Server for C / S needs analysis, based on completion port communication model to study the technology and Windows server framework, design a the completion port a Windows-based, high-performance server framework, and the completion of the overall framework of the system and Design and implementation of its core functions. First, the paper analyzes the research background, and summarizes the status of related research, research a topic related principles and technology to be used, including the framework, design patterns and Windows completion port. Secondly, the paper analyzes the the topic framework of the overall functional requirements, and is expected to reach the target, and in accordance with the functional requirements of a the completion port Windows-based server framework architecture. Then, starting from the architecture of the framework, the collaboration between the analysis within the framework of the detailed design of the components of the module, and the module, and a detailed description of the function of each module structure as well as a key part of the implementation. Finally, to achieve a simple communication prototype and design some basic use cases to test the framework, the test to show that the network communication performance and stability of the framework to achieve the system design requirements. Comprehensive summary and evaluation of the work done last subject, and the next step in research and development prospect. Windows completion port-based high-performance server framework provides the core functionality of the application of the general network communication, easy to extend and reuse, reduce application developers duplication of development of the low-level functions and control flow, has a certain reference value.
Table of contents
Abstract 5-6
Abstract 6-10
first chapter 10-14
issues 1.1 Background 10 - 11
1.2 Research issues 11-12
1.3 research content the organization 12-13
1.4 thesis 13-14
The second chapter of the relevant principles of Techniques 14-27
2.1 framework the 14-16 2.1.1 framework
concept 14
2.1 .2 framework features 14-15
2.1.3 framework design principles 15-16
2.2 design patterns 16
2.3 communication model 16-20
2.3.1 Windows the Socket 16-18
2.3.2 the Winsock I / O 18-20
2.4 multi-threading technology 20-21
2.5 completion ports (IOCP) 21-26
2.5.1 completed the port Profile 21-22
2.5.2 overlapping, I / O structure 22-23
2.5.3 port operating principle 23-24
2.5.4 port to use 24-26
2.6 of this chapter Summary 26-27
Chapter based framework architecture design of high-performance server for Windows completion port 27-36
3.1 Functional Analysis 27-28 < br /> 3.2 the choice of network protocols 28-29
3.3 design goals 29-30
3.4 System Architecture 30-32
3.5 module division and Features collaborative relationship between 32-33
3.6 module 33-35
3.7 Chapter Summary 35-36
Chapter system detailed design of each module and a key part to achieve 36-63
4.1 common base class and interface introduced 36-41
4.2 network communication module 41-54 < br /> 4.2.1 Overall design 41-45
4.2.2 receiver 45-46
4.2.3 I / O worker thread 46-49
4.2.4 Connection object class and connection object pool 49-54
4.3 message processing module the 54-60 4.3.1 Message Protocol
55 -56
4.3.2 message format 56-57
4.3.3 Service queue 57-59
the 4.3.4 news distribution 59-60
4.4 Service Management module 60-62
4.4.1 factories nbsp a; 61
4.4.2 Service Interface 61-62
4.5 Chapter Summary 62-63
Chapter running instance and system test 63-68
5.1 test environment 63
5.2 experiments described 63-64
5.3 test results analysis 64-67
5.4 Chapter Summary 67-68
summarize the outlook 68-69 <br / > References 69-71
master's degree obtained during the research 71-72
Acknowledgements 72
Related dissertations
- Racing Car Lightweight System Methods and Frame Optimization
- Design and Analysis of Frame Based on the Result of Topology Optimization
- The Optimization of College Student’s Formula One Racing Frame Structure Based on the Finite Analysis
- Research on Topological Optimization Light-weight Design Method of Truck Frame
- Study and Design of Distributed Control System Based on CAN Bus
- "PX" Issues under the Construction of Multiple Discourses
- The research of Chongqing city brand communication from the Semiotic Perspective
- Festival Carnival Research in the Perspective of Humanism
- The LabVIEW-based Design of Filling Stations Monitoring System
- Study on Industrialrobot Real-time Controlsoftware with Windows-based
- The Research of a Trusted Data Transmission Platform in A WAN Environment
- Design of Windows Handwritten Input Program
- Lightweight Localized Network Coding Aware Mechanism
- Design and implementation of the lightweight block cipher ESF
- China’s Maritime Law Enforcement Command and Communication System Design
- Design and Implementation of a Lightweight Communication Framework
- A Research on Communication in Mathematics Classroom in Secondary Schools in Machakos County, Kenya
- E-government Culture:the Research of Connotation and Development Strategy
- Local perspective in painting creation
- The paper sound painting modeling life - about animation films combine