基于容器化云游戏开发架构实现服务端游戏实例重用
首发时间:2025-03-13
摘要:现有的云游戏部署方案都是给每个用户分配一个虚拟机,虚拟机中运行完整游戏,在将虚拟机中的游戏画面传输给用户,这种方案造成了巨大的性能开销,所以文章提出了一种基于容器思想的云游戏架构,通过将游戏结构分为两层,分别为游戏引擎层和用户数据层,通过使用容器隔离各个用户的数据,多个用户共享一个游戏引擎,让多个用户可以在同一个游戏进程上执行,能够保持多个用户的游玩状态互不干扰,从而降低云游戏服务器的资源占用。并且在此架构可以通过设备之间同步用户数据层数据的方式实现不同设备为用户接力提供服务的能力,并且在各个设备间切换时做到了对用户透明。
For information in English, please click here
The containerized cloud game development architecture
Abstract:Existing cloud gaming deployments typically assign a virtual machine to each user, run the full game in the virtual machine, and then transmit the game footage from the virtual machine to the user. This approach comes with a huge performance overhead. In order to solve this problem, this paper proposes a cloud gaming architecture based on containerization. This architecture divides the game structure into two layers: the game engine layer and the user data layer. By isolating the data of each user through containerization, multiple users can share the same game engine and execute it in the same game process, so as to keep the user\'s playing state from interfering with each other and significantly reduce the resource occupation of the cloud game server.In addition, in this architecture, the ability of different devices to provide users with seamless relay services can be realized by synchronizing the data of the user data layer between different devices, and the user experience remains transparent when the device is switched, without the need to perceive the handover process.
Keywords: Cloud computing cloud gaming Game architecture.
基金:
引用
No.****
同行评议
勘误表
基于容器化云游戏开发架构实现服务端游戏实例重用
评论
全部评论