General and High Performance Networks Chess Game Server Research and Design

Author
WangYuKui
Advisor
ZhouCaiLan
School
Wuhan University of Technology
Major
Computer Science and Technology
Classification
TP393.09 The application of computer network
Degree
Master's thesis
Year
2011
Downloads
64
Citations
0

Request the full text

Abstract

Chess casual games now have a very broad mass base, such as folk traditional Chinese chess, poker, chess are one of the most common entertainment activities. Typical game lobby Internet company providing products, is commonly used in chess casual games integrated into a platform game time you log in, you can play a variety of chess casual games, providing a one-stop service. However, in our limited commercial competition, and other reasons, the game lobby providers and not announce its realization principle. Abroad, because of cultural differences, the chess game is not common, so chess technology not conducted in-depth research, these reasons have led to the very lack of the technical data of the Network chess game. Server technology occupies an important position in the chess network game, network chess game technology to better promote the development, design a general-purpose high-performance network chess game server platform. This article is in the the Thunder game lobby server project group internship work, according to the actual project experience, Network chess game server technology research and innovation. The main work of this paper are as follows: First analysis of the background and significance of the research projects, analysis and summary of the characteristics of the user base of board games, chess game, another analysis of the status and trends of the development of domestic and international network chess game. 2 describes the relevant background knowledge and key technologies for the chess server. Analysis of typical network structure, summarize the advantages and disadvantages of each, another preliminary Epoll technology introduction. Analysis of the characteristics of network chess game, determine the core functionality of the server to achieve, and core server architecture. Then determined on the basis of a chess game flow, and to assume the functions of each of the core server, and gives important implementation class. Determine core server architecture based on the analysis of a chess game with common application of the idea of ??object-oriented framework and specific logical separation of the service end of the game logic. Common framework to achieve the work and the underlying communication, maintenance and other basic functions. The framework identifies a third-party interface, developed by third parties, according to the interface specific game logic. Determined by the framework when the service end of the game logic runs to load specific game logic, so that the end of the game logic versatility, the service end of the game logic evolved into a common platform. Multiple network game server performance issues have been of concern, the goal of the game to ensure that the large amount of users online at the same time, this article from the structure and procedures to achieve solutions. Such as the choice of operating system and IO model, the specific application of the distributed architecture, data processing mode and application caching mechanism and so on. Study how to achieve the stability of the chess game, put forward solutions to the problems of the common affect stability.

Table of contents

Summary 4-6 Abstract 6-11 Chapter 1 Introduction 11-16 1.1 research background and significance nbsp the; -13 1.2 Network chess game development status and trends 13-14 1.3 The main work 14-15 1.4 The structure of the paper 15-16 Chapter 2, background knowledge and key technologies 16-29 2.1 Linux operating system features 16 2.2 Epoll technology 16-25 2.2.1 Epoll the following advantages 17 2.2.2 Epoll two operating modes 17-18 to 2.2.3 Epoll the interface 18-19 2.2.4 Epoll applications to achieve the 19-20 the 2.2.5 Epoll functional, code examples 20-25 2.3 online games infrastructure 25-27 2.3.1 client / server (C / S) structure 26 2.3.2 Point-to-Point (Peer to Peer) structure 26 2.3.3 mirror service side architecture 26-27 2.3.4 browser / server (B / S) structure 27 2.4 communication protocol of of design 27 2.5 database memory access technology 27-28 2.6 Chapter Summary 28-29 Chapter 3 Network chess game server architecture basic flow; nbsp nbsp the design goals 29-43 3.1; 29 the 3.2 Network chess system requirements analysis nbsp the architecture part 29-31 3.3; 31 -34 3.3.1 server architecture selection 31 3.3.2 core server functionality during the game 31-32 3.3.3 core server interaction the 32-33 select 3.3.4 network communication protocol 33 3.3.5 relates to the module the 33-34 3.4 chess game flow 34-37 3.5 important data structures class 37-40 3.6 important functions 40-42 3.6.1 Registration System 40 3.6.2 login system 40-41 3.6.3 update 41 3.6.4 chat system 41-42 <br / > 3.6.5 Summary 42 3.7 Chapter Summary 42-43 Chapter 4 platform server general realization 43-52 4.1 the versatility needs analysis 43 4.2 chess game common feature the 43-44 4.3 versatile solution 44-46 4.3.1 General nature of the two architectures 44-45 4.3.2 Linux the dynamic chain library technology 45 4.3.3 Universal programs 45-46 4.4 LS framework and SO components to achieve 46-50 4.4.1 Detailed design 46-47 4.4.2 Universal Interface class 47-50 4.5 Chapter Summary 50-52 Chapter 5 platform server performance implementations 52-69 5.1 operating system to select 52 5.2 Socket IO model select 52 5.3 program using multithreaded mechanism 52-60 5.3.1 thread pool model 53-59 <br / > 5.3.2 server thread processing flow 59-60 5.4 using asynchronous processing mode the 60-61 5.5 distributed architecture 61 5.6 the database memory access design 61-62 5.7 caching mechanism 62-66 5.8 server front-end and back-end mode 66-68 5.9 This chapter Summary nbsp realization of 68-69 Chapter 6 platform server stability; the 69-72 6.1 redundant configuration 69 6.2 core separation 69 6.3 smooth upgrade and maintenance 69-70 6.4 all kinds of exception handling 70 6.5 Chapter Summary 70-72 <br / > Chapter 7 Summary and Outlook 72-73 Acknowledgements to References 73-74 74-77 master degree studies published during the Dissertation 77

Related dissertations

  1. Research and Implementation of Scalable Server Cluster
    ZhangZuo ·South China University of Technology ·2013 ·Master's thesis
  2. Design and Implementation of High Performance Computing Service Management Platform Based on JavaEE
    YuJun ·South China University of Technology ·2013 ·Master's thesis
  3. The Research and Design of High Performance BWDSP Processor Instruction Cache
    HongXingYong ·Hefei University of Technology ·2013 ·Doctoral dissertation
  4. The Design of TLD in Hign Performance Embedded CPU
    YangZuo ·Zhejiang University ·2014 ·Master's thesis
  5. Design and implementation of communication on the switch board
  6. B2C Online Shopping Packaging Design of Clothing, Footwear Category
    ZhangShuai ·Hunan University of Technology ·2013 ·Master's thesis
  7. Structure and Performance of High-performance Graded Crushed-stone Base Course Based on the Interaction between Granular Materials
    TuShuai ·Chang'an University ·2013 ·Doctoral dissertation
  8. Research on the Risk Management of High Performance Aluminum Alloy Plate, Strip and Extrusion Material Project in Nanning
    ZuoZuo ·Guangxi University ·2012 ·Master's thesis
  9. Food Packaging Design for B2C Online Shopping
    ZhaoPei ·Hunan University of Technology ·2013 ·Master's thesis
  10. Preparation and Industrial Production of High-performance Ceria-Zirconia Mixed Oxides
    YangJiaFu ·University of Jinan ·2013 ·Master's thesis
  11. Research on the Key Technologies of High Performance Computing WebGIS Model
    GuoMingQiang ·China University of Geosciences ·2013 ·Doctoral dissertation
  12. Improvement of System Based on the Competence of Private Enterprises in the FMCG Industry City Manager with the Example of G Company
    RenZhuXin ·Zhejiang University ·2012 ·Master's thesis
  13. The Establishment Project of D Company Sales Team
    AnRan ·South China University of Technology ·2012 ·Master's thesis
  14. Design and Application of the Integrated Platfom of the Remote Meter Reading System
  15. Financial Risk Measurement Oriented High Performance Scientific Computing Application Platform
    WeiDaiZheng ·Shandong University ·2012 ·Master's thesis
  16. Research on the Usability of Software User Interface Based on Icon Design
  17. Design and Implementation of the Data Storage System Based on Cloud Storage
  18. The USB2.0 host controller with low cost and driver design
  19. Optimization and Implementation of the Nonlinear MIMO Detector in Ultra High-Speed Wireless LAN
    TianChengZhi ·Shanghai Jiaotong University ·2013 ·Master's thesis
  20. Research on10MHz Mini-OCXO of High Performance and High Reliability