Font Size: a A A

The Design And Implementation Of Mobile Game Server

Posted on:2017-01-16Degree:MasterType:Thesis
Country:ChinaCandidate:W ZhaoFull Text:PDF
GTID:2308330485967920Subject:Engineering
Abstract/Summary:PDF Full Text Request
With the continuous improvement of the mobile network and mobile terminal service, the mobile game business shows rapid growth, mobile entertainment service becames a great power in mobile data service wordside. At the same time, because of mobile gaming faster metabolic rate, the competition will become more intense.Now, main game server framework is KBEngine, SmartFoxServer and Netease’s pomelo. The advantage of KBEngine is that the distributed dynamic load balancing scheme makes expanding the hardware to be simple. SmartFoxServer is designed specifically for the cross-platform socket server on Adobe Flash. pomelo is also a multi-process, distributed server architecture. But these server architectures apply only to specific types of games, it is bad to use them in the mobile gaming applications.In this paper, base on Node.js, mobile game "NBA All Net" was studied and summarized, abstracted a standard mobile game server design framework, reflecting the standard of mobile gaming development process. The game server implementation for mobile online gaming lightweight, high 10 access, low logic complexity characteristics, pay full consideration on Node.js asynchronous 10 and event-driven mode to the game server to realize the convenience, combined with non-relational database MongoDB and Redis caching scheme for data storage and convenient support persistence, forming a lightweight mobile game server solutions.The implement of "NBA All Net" server can be abstracted into three layers:network 10 layer, data persistence layer and game logic calculate layer. Network 10 layer uses to solve the game network connection. Data cache persistence solves game’s data cache and memory problems. Game logic calculation layer is specifically dealt with game logic calculation.Currently, this game has been successfully operating on the major mainstream market. About ten thousand people can concurrently play the game. At the same time it has verified the feasibility and correctness of the set solution.
Keywords/Search Tags:Mobile Game Server, Node.js, MongoDB, Redis
PDF Full Text Request
Related items