当前位置:主页 > 科技论文 > 软件论文 >

多人在线手机游戏服务端的设计与实现

发布时间:2018-04-02 14:39

  本文选题:游戏服务器 切入点:后台管理系统 出处:《北京交通大学》2017年硕士论文


【摘要】:随着智能手机以及互联网娱乐的飞速发展,手机游戏成为了电子游戏产业中发展最为迅猛的游戏类型。手机游戏一般采取C/S架构形式,该架构下的客户端与服务端完全独立,采用通信模块进行连接。手机游戏服务端需要24小时不停监听和处理众多客户端发送的协议和数据,其对性能有着极为苛刻的要求。而一款游戏是否能够获得成功除了游戏本身的可玩度以外,还需后期版本、玩法与活动等元素的推广,因此一款提供当前数据分析以及游戏世界监控的游戏后台管理(Game Manager,GM)系统显得至关重要。本人所做工作主要分为两部分,分别是游戏服务器开发模块以及后台管理系统。其中,游戏服务器为游戏重要的组成部分,负责处理游戏中核心的逻辑以及关键的数据,而后台管理系统只服务于公司内部,负责对游戏数据进行监控和运营分析。在游戏服务器开发中,本文对游戏模块的划分、网关服务器的实现、登录注册功能的编写、充值购买模块的实现和运营活动激活码的生成验证等功能进行了设计与实现。在后台管理系统中,本文分析和设计了后台管理系统的数据库的搭建、开发以及运行环境的选择和游戏后台管理系统的实现。后台管理系统所完成的功能主要包括:实现与游戏内部数据相关联,并对其内容进行实时监控;完成玩家角色的管理,包括禁言、封号、邮件发放的功能;实现游戏服务器管理部署;生成并展现核心统计数据等。本文在系统的设计与实现过程使用了 Nginx服务器实现负载均衡、Protocol Buffe.进行数据压缩、Base62编码技术对礼品卡激活码进行加密。本项目经过公司内部性能测试,新的游戏服务器架构相较于之前的架构有了显著的性能提升,缓解了服务器的处理压力。针对于后台管理系统,基于目前系统已有的功能,本文将对其进行进一步的维护和整合,从而提高后台管理系统模块的复用性。优化后的后台管理系统既能够解决当前项目的需求,也能够为公司其他项目组的后台管理提供借鉴和技术支持。
[Abstract]:With the rapid development of smart phone and Internet entertainment, mobile game has become the most rapidly developing game type in the video game industry.Mobile games generally take the form of C / S architecture, the client and the server are completely independent, using communication modules to connect.Mobile game server needs 24 hours to monitor and process the protocols and data sent by many clients, which has extremely demanding performance requirements.And whether a game can be successful or not, besides the playability of the game itself, requires the promotion of later versions, methods of play and activities, etc.Therefore, a game background management GM system that provides current data analysis and game world monitoring is essential.My work is divided into two parts, game server development module and background management system.The game server is an important part of the game, which is responsible for dealing with the core logic and key data in the game, while the background management system only serves the company, which is responsible for monitoring and operational analysis of the game data.In the development of the game server, this paper designs and implements the partition of the game module, the realization of the gateway server, the compilation of the login registration function, the realization of the recharge purchase module and the generation and verification of the operating activity activation code.In the background management system, this paper analyzes and designs the database of the background management system, the development, the choice of the running environment and the realization of the game background management system.The functions of the background management system mainly include: realizing the association with the internal data of the game and monitoring its content in real time, completing the management of the player's role, including the functions of banning words, sealing the number and issuing the mail;Implementation of game server management deployment; generation and display of core statistical data.In the design and implementation of the system, the Nginx server is used to realize load balancing protocol Buffees.Carry on the data compression and Base62 coding technology to encrypt the activation code of the gift card.After the company's internal performance test, the new game server architecture has a significant performance improvement compared with the previous architecture, which alleviates the processing pressure of the server.For the background management system, based on the existing functions of the system, this paper will further maintain and integrate it to improve the reusability of the background management system module.The optimized background management system can not only solve the needs of the current project, but also provide reference and technical support for the background management of other project teams.
【学位授予单位】:北京交通大学
【学位级别】:硕士
【学位授予年份】:2017
【分类号】:TP317

【参考文献】

相关期刊论文 前10条

1 孔祥真;张丁;李忠远;;Linux负载均衡集群技术在网络服务器中的应用[J];软件导刊;2016年12期

2 徐长君;林涛;;基于Nginx的负载均衡方式优化[J];河北工业大学学报;2016年06期

3 黄静;李炳;;基于Nginx的Web服务器性能优化研究[J];浙江理工大学学报(自然科学版);2016年04期

4 蒲晓阳;;基于Nginx和Redis高并发web服务负载均衡的研究[J];内江科技;2016年01期

5 王梅;杨思箫;乐嘉锦;;列存储数据库中压缩位图索引技术[J];计算机工程;2012年18期

6 李建微;陈新;黄,

本文编号:1700874


资料下载
论文发表

本文链接:https://www.wllwen.com/kejilunwen/ruanjiangongchenglunwen/1700874.html


Copyright(c)文论论文网All Rights Reserved | 网站地图 |

版权申明:资料由用户e94e4***提供,本站仅收录摘要或目录,作者需要删除请E-mail邮箱bigeng88@qq.com