游戏精准营销中转服务器的设计与实现
发布时间:2018-05-16 17:56
本文选题:游戏精准营销 + 中转服务器 ; 参考:《哈尔滨工业大学》2015年硕士论文
【摘要】:近年来,随着互联网的逐渐普及,网络游戏市场逐渐迎来了迅猛的兴起与发展。网络游戏的营销手段已经对互联网市场起到了不可忽视的作用。为了向玩家提供更加优良的游戏体验,网络游戏种类不断增加、游戏营销策略不断拓展,逐渐衍生了在游戏客户端内向玩家提供精准推荐的营销理念。腾讯公司游戏运营团队的游戏精准营销(Game Precision Marketing,简称GPM)系统,利用数据中心提供的数据挖掘手段,对游戏玩家用户的个体行为进行分析、统计、归纳。之后GPM系统将挖掘结果传递到游戏服务器,向特定用户定点投递在线的营销活动,并进而给予合适的道具、任务、攻略推荐。为了能够与游戏服务器更加方便快捷的交互,我们需要开发脱离于GPM系统B/S架构的服务器程序。本课题本质上是要开发一项以TCP为主要通讯方式,能够连接游戏服务器与数据挖掘服务器的分布式中转服务器系统。论文以当前服务器开发技术的发展为基础,介绍了目前应用广泛的服务器特点,并分析了服务器内部结构的实现方式,进而对负载均衡技术与消息队列服务器的典型应用进行了阐述。结合对本服务器系统的需求分析,提出了使用协程开发技术来实现发起异步网络请求的开发形式,并分析了协程开发技术的优点。GPM服务器系统引入了TGW网关系统与HTTPSQS消息队列系统这两个第三方软件,分别实现了负载均衡和异步入库的功能。该系统设计上分为了五个模块,分别是数据通讯模块、中枢模块、业务逻辑模块、库操作模块和监控模块,其中中枢模块的设计与实现处于完成整体系统开发的核心位置。由于线程池模型稳定可靠又能够减少线程开销的优点,本系统的中枢模块使用其作为服务器接收、处理请求的底层开发模式,来实现对并发请求的处理。该系统使用C++语言进行开发,并在Linux下编译运行。本文最后使用demo客户端程序对本系统的整体功能进行了测试,以保证系统的正确性,并描述了本系统在线上运行的具体细节。
[Abstract]:In recent years, with the gradual popularization of the Internet, the network game market has gradually ushered in the rapid rise and development. The marketing means of online games have played an important role in the Internet market. In order to provide players with more excellent game experience, the types of online games are increasing, game marketing strategies are constantly expanding, and the game marketing strategy is gradually expanding. The Game Precision Marketing (GPM) system of the Tencent Inc game operation team, the data mining method provided by the data center, is used to analyze, statistics, and summarize the individual behavior of the game player users. After that, the GPM system will be dug. The results are passed to the game server, delivering online marketing activities to specific users, and then giving appropriate props, tasks, and strategy recommendations. In order to be able to interact more easily and quickly with the game server, we need to develop a server program that is separated from the B/S architecture of the GPM system. This topic is essentially to develop a TCP This paper, based on the development of current server development technology, introduces the characteristics of a wide range of servers, and analyzes the real mode of the internal structure of the server, and then the load balancing technology and message queue, based on the development of current server development technology. The typical application of the server is expounded. Combined with the requirement analysis of the server system, the development of asynchronous network requests is realized by using CO process development technology, and the advantages of the co process development technology are analyzed. The.GPM server system is introduced into the TGW gateway system and the HTTPSQS message queue system, the two third party software. The design of the system is divided into five modules, which are data communication module, central module, business logic module, library operation module and monitoring module. The design and implementation of central module is at the core of complete system development. The thread pool model is stable and reliable. The central module of the system uses it as the server to receive, and handles the underlying development mode of the request to process the concurrent request. The system uses the C++ language to develop and compiles under the Linux. Finally, this paper uses the demo client program to carry out the overall function of the system. Test to ensure the correctness of the system, and describe the details of the system running online.
【学位授予单位】:哈尔滨工业大学
【学位级别】:硕士
【学位授予年份】:2015
【分类号】:TP317
【参考文献】
相关期刊论文 前3条
1 汪黎;杨学军;章文嵩;;基于FreeBSD内核的虚拟服务器研究与实现[J];计算机工程与科学;2011年03期
2 杨济运;刘建勋;姜磊;彭桃;文一凭;卢厅;;基于协程模型的分布式爬虫框架[J];计算技术与自动化;2014年03期
3 朱方娥;曹宝香;;基于JMS的消息队列中间件的研究与实现[J];计算机技术与发展;2008年05期
,本文编号:1897844
本文链接:https://www.wllwen.com/guanlilunwen/yingxiaoguanlilunwen/1897844.html