Dissertation > Excellent graduate degree dissertation topics show

Analysis and Design of Online Game Server

Author: ZhangFan
Tutor: WangAiMin;WuJing
School: Jilin University
Course: Software Engineering
Keywords: Online Game Server Analysis and Design C API
CLC: TP393.05
Type: Master's thesis
Year: 2010
Downloads: 169
Quote: 1
Read: Download Dissertation

Abstract


With the popularization of internet, online game is no longer a new thing to people. Now it can be said that online games have become an effective way of the people’s leisure and entertainment. Online games must rely on the internet, people can take part in the game at the same time, and through the interaction between people to reach the purposes of exchange, entertainment and leisure.The user fast response is a design requirement of online game. The system should try to hide the inherent network latency, fast response to user to ensure the smooth operation of the user. Improve communication efficiency. System should be properly designed communication protocol, to lower the network traffic, so that some clients not act as the bandwidth performance bottleneck.Second is to design efficient concurrent systems. In the C/S model, the server node maintains the state of the world, handling all client requests, to serve as the key point. Therefore, objectively requires the server with high concurrency, should be able to also accept a large number of user connections, and can effectively isolate the error, for all users to provide a stable background support.Finally, the distribution of services. Single server processing power is limited, can withstand the amount of users there are limits. With the large increase in the client, the server node will require enormous computing power and storage capacity needed to service distributed in a strategy based on a cluster server.In online games, the database is mainly used to save the user information, including user registration information, user information, and other settings the game information. Online game server in handling the data is bound to use the database for permanent storage for large amounts of data, so the development of online games in database design is also very important aspects.This project analyzed the actual online play games based on the operating environment based on clusters of distributed multi-layer network PC game platform architecture, detailed design of each layer and server deployment program. Effective solution to the design of online game server performance requirements. At the same time project uses MySQL database as the game background, also use a MySQL provides a C language of the API, to use the functionality of the API connection management, implementation queries, processing results sets, etc. To operate the database for the server function interfaces.In order to improve service performance, application servers designed with the following design techniques:(1) For a client connection requests, the incorporation of automatic telescopic ability to connect the thread pool technique and through more than one task reuse threads, thread creation of the overhead is spread among multiple tasks. The advantage is that because the thread already exist when the request arrived, so inadvertently eliminate the delay caused by thread creation. In this way, you can request service immediately, so that the application more responsive. Moreover, by appropriately adjusting the number of threads the thread pool, that is, when the number of requests exceeds a certain threshold value, the forced request of any other new arrivals have to wait until the get a thread to handle up to lack of resources can prevent.(2) Memory pool technology. Memory pool (Memory Pool) is a memory allocation. Usually we are used to directly use new, malloc, etc. API for allocating memory, this disadvantage is that:Given the uncertainty for the size of the memory block, when the frequent use will cause a lot of memory fragmentation and thus degrade performance. Memory pool is actually used in the memory before the first application for allocation of a certain number, size, equal to (generally) of the memory block reserved for backup. When a new memory requirements, separate the pool from the memory part of the memory block, if the memory block is not enough to continue to apply the new memory. This is a significant advantage as far as possible to avoid memory fragmentation, making memory allocation improve efficiency.(3) Database Connection Pool. Database connection is an expensive key limited resources, this web page in a multi-user applications, especially embodied. The management of the database connection can significantly affect the entire application scalability and robustness to the application of performance indicators. Database connection pool is against this initiative. Database connection pool for allocation, management and freeing up DBA connection, it allows applications duplication of procedures to use an existing database connection, and is no longer re-Jian Li 1; release idle for more than Zuitai database connection idle time to avoid because it did not release the database connection and database connection due to omission. This technology can significantly improve the performance of database operations.(4) memory database. As the name suggests is to directly manipulate the data on the memory database. Relative to the disk, memory, data read and write speed of several orders of magnitude higher, the data stored in the memory than from disk access can greatly improve application performance. Meanwhile, the memory database management abandoned the traditional method of disk data, based on all data in memory re-designed architecture, and data cache, fast algorithm, parallel operations also made corresponding improvement, so the data processing speed than conventional database much faster data processing, generally in more than 10 times. Memory database is the biggest characteristic of its "master copy" or "working version" permanent memory, that is, activities with real-time memory database transaction is only the memory copy deal. Transaction using the database connection thread pool technology, also should have the ability to scale, each database connection thread for all users, but users have access to a database management thread carried by a complete transaction scheduling.In the project development process, this paper work done as follows:1.Analysis of Online game of the actual operating environment;2.Gaming platform solution for the overall structure;3.Through the requirement analysis, we complete the concept and logic design of database, and system architecture design.4.Through the system architecture diagram, we analyze the work of the various parts of the system and the data interactive situations.5.Packaged the C API as easy-to-use database interface. Provided functions for the database server operating the database.

Related Dissertations

  1. Design and Development of Application Programme for Fault Analyzer Based on Wince Platform,TP311.52
  2. Research and Implement of SDO Model in University Enroll System Based on SOA,G647
  3. Research on the Optimization of Laser Triangulation Device,TH744.5
  4. Grass-roots forces the day-to-day management of information systems design and implementation,TP311.52
  5. Animal products quality safety and security regulation of RFID systems,TS201.6
  6. Sensation Seeking and Event-related Potentials CNV (Contingent Negative Variation) Study in Adolescents with Internet Game Addiction,R749.99
  7. The Study of Developing Carbon Emission Trading Market in China under the Context of International Emission Reduction,X196
  8. Visual cue -induced craving online game addiction young fMRI study,R749.6
  9. Substation Integrated Early Warning System and Application,TM76
  10. Tengzhou GIS-based water management system design and implementation,TV213.4
  11. Research and Implementation of Portal in the People’s Bank of Lanzhou Branch,TP311.52
  12. Research on the Numbers, Distribution, Feeding Behavior and Diet of Great White Fronted Geese at Shengjin Lake, the National Natural Reserves in Anhui Province,Q958
  13. The Financing Research of Thermoeletric Generator Project (2x30 Million Kilowatts) in Datang LuBei Power Generation Co-operation,F426.61
  14. Design and Implementation of Multiport Serial Device Server,TP393.05
  15. Intelligent Control of the Electrostatic Precipitation System Based on Field Bus(OPC Interface),TM925.31
  16. Dali town government personnel management system design and implementation,TP311.52
  17. Monitoring System of Meteorological Satellite Ground Station Design and Development Based on C/S,TP311.52
  18. Based on B / S structure of electricity production management information system design and implementation,TP311.52
  19. Australia Shun Technology Co., personnel records management system design and implementation,TP311.52
  20. J2ME-based parent - counselors information exchange system design and implementation,TP311.52
  21. Build the Cross Platform Server Management System,TP311.52

CLC: > Industrial Technology > Automation technology,computer technology > Computing technology,computer technology > Computer applications > Computer network > General issues > Network equipment
© 2012 www.DissertationTopic.Net  Mobile