-
Notifications
You must be signed in to change notification settings - Fork 19
game platform
Hanlei Qin edited this page Jun 16, 2025
·
3 revisions
游戏平台为游戏逻辑提供外部支持,屏蔽外部接口差异,包括登陆(各渠道)、充值(各渠道)、官网、客服、GM、数据分析、资源更新等功能。
- 登陆服务器和网关服务器互通模式
登陆和网关服务器相互连接,当客户端登陆成功后,产生登陆证书(包含过期时间),分别发给客户端和网关服务器。客户端到指定的网关服务器验证登陆证书。
- 优点:对于单游戏服务器、多网关服务器的架构,登录服务器可以较方便的做网关负载均衡
- 缺点:增加网络拓扑复杂度
- 登陆服务器和网关服务器不互通模式
登陆服务器和网关服务器配置相同的密钥,登陆证明中包含了加密的登陆数据和明文登陆数据。网关服务器解密后和明文登陆数据比较。
- 优点:登陆和网关服务器不用连接,代码实现和网络拓扑允许异构,部署更灵活
- 缺点:网关均衡负载需要第三方介入,适用于单游戏服务器-单网关服务器架构
芝士就是力量,法国就是培根!
Knowledge is power -- Francis Bacon

人要是没有梦想,和咸鱼有什么分别?光标请勿在最高司令官身上停留!
- mathematics
- algorithm
- theory-of-computation
- compiler
- operating-system
- networks
- security
- computer-graphics
- artificial-intelligence
- software-engineering
- database
- application-development
- embedded-development
- third-party