Design and Implementation of the casual game server based on ACE framework
- Author
- HouRuiZuo
- Advisor
- ChenPing
- School
- Zhejiang University
- Major
- Computer Applications
- Classification
- TP393.05 Network equipment
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 258
- Citations
- 7
Abstract
With the continually development of Internet infrastructure and raid increase of net.citizen, people spend more and more time on entertainment with Internet. Casual game, according with people’s entertainment habits, has improved greatly in the past few years. Consequently, casual game is becoming an important application of distributed software system, and the research on it is being of great significance.The thesis discusses Casual Game Server Related technology to achieve a thorough exploration and research, analyses the domain of Casual Game thoroughly, identify the problem space and the core design challenges, and propose a feasible solution, which reduce the development difficulty of Game Server and decrease of volume of work, thus the developer can focus on the development of game itself.The thesis analyses the domain of Casual Game thoroughly, include1. How to use ACE and framework for systematic reuse to reduce development difficulty.2. Discusses load balanced servers in the application and realization and solutions to the resulting synchronous problems.3. Discusses network security issues in online game, and gives a one-time authentication mechanism solution.4. Discusses the I/O strategy to handle the large-customer communication and the concurrent architecture based on this.5. Design game server with modular ideas, which increase the expansionary greatly.6. Also discusses the means to achieve high performance and stability on the server.According to the results of the analysis of applications, the thesis gives the overall Casual Game server structure, which composes of the game server, access server, authentication server, online server, and elaborated on the function and implementation of the servers.Casual game consists of a series of small game, which is different with MMORPG games. The game server of the games consists of the framework for the bottom layer and logic processing layer modules. Framework Bottom layer focus on communications and processing logic hall, and the logic layer is responsible for the realization of specific logic game. For different game servers, communications module and hall module are consistent, only logic processing layer module different. Therefore, logic processing layer module is realized as DLL. So this module division increased server stability, and allow developers to focus on the development of logic layer, thus greatly accelerating the development ofthe game server efficiency.
Table of contents
The first chapter 7-12
1.1 online game development status 7-8
1.2 Overview casual online games 8-9
1.3 leisure network Game Development History and Current Status 9-10
1.4 thesis work 10
1.5 The structure of the paper is arranged 10-12
the second chapter leisure network the field of game server 12-20
2.1 load balancing the load balancing 12-14
2.1.1 12-13
2.1.2 short connection and long connection are found; 13-14
2.2 network communication technology 14-15
the 2.2.1 network communication mode 14-15
2.2.2 game network communication protocol used 15
2.3 one-time authentication mechanism 15-16
2.4 I / O strategy selection 16-18
2.5 ACE reduce design complexity 18-19
2.6 Other issues 19-20
Chapter technical principles 20-42
3.1 one-time certification principle the 20-24
3.1.1-way hash function MD5 algorithm Profile are found; the MD5 algorithm Protection 20-21
3.1.2 An improved password scheme nbsp object-oriented framework for network programming; 21-24
3.2 24-27
3.2.1 Object-Oriented Framework Summary 24-26
3.2. 2 modes, libraries and frameworks 26-27
3.3 ACE Summary 27-42
3.3.1 ACE's history 27-28
3.3 .2 ACE Overview 28-33
3.3.3 Acceptor-Connector framework the framework introduced nbsp 33-35
3.3.4 Proactor,; 35-38
3.3.5 ACE Task framework 38-40
3.3.6 ACE memory management mechanism the overall 40-42
Chapter casual game server architecture 42-49
4.1 the server overall architecture 42-43
4.2 access server the 43-45 4.3 authentication server
45-46
4.4 Online server 46-47
4.5 game server 47-49
fifth chapter 1 game server Design and Implementation 49-62
5.1 game server design analysis 49-53
5.1.1 framework underlying and logical layer divided 49-50
5.1.2 message handling mechanism design 50-51 <br / > 5.1.3 Enhanced server stability and performance discussion 51-53
5.2 the game server implementation 53-62
5.2.1 module introduced 53 - 54
5.2.2 underlying framework and game logic layer collaboration 54-55
5.2.3 game server source code 55-62
Chapter VI summarizes Looking 62-63
6.1 summarizes 62
6.2 Looking 62-63
Reference 63-64
Acknowledgements 64
Related dissertations
- The Design and Development of Unattended Remote Measurement and Monitoring System in Steel Business
- Application on Virtualized High Availability System Design on Campus Network
- Design and Implementation of the ICS Server
- Design and Implementation of Remote Video Monitor System Based on Embedded Technology
- The Research and Implementation of Payment Terminals Based on Fingerprint Identification Technology
- The Design and Implementation of a Network Communication Game on Linux
- Design and Implementation of Handheld Campus System Based on Theandroid Platform
- Design and Implemention of Android-based Taxi Reservations System
- Design and Implementation of SRCB Data Exchange Platform
- Design and Implementation of College Property Management System Based on B/S Mode
- Manufacturing Enterprise Fixed Assets Management System Design and Implementation
- Integrated Skills Graduation.NET-based Platform System Design and Research
- Designs and Realization of Mobile Office System Based on3G Smart Phones
- Research of the AtoN Video Surveillance System Based on3G Wireless Network
- The UAV Control System and the Design of Images Processing Software
- A Research on the Project Quality Management of Foxconn X-Server System Integration Test (SIT)
- A Research on Implementing the Model of Qualification Management in Foxconn Server Testing Team
- Server Pilot Run Project Quality Control Research
- Implementation and Test of the Wireless Communication of Fire Alarm Controllers
- Design and Reserch of Smart Security System Based on Embedded System