CN-122001944-A - Game operation system access method, device, equipment and medium
Abstract
The present disclosure provides a game operation system access method, device, equipment and medium. The method comprises the steps of receiving an access request of a user to a target system forwarded by an Intelligent Platform Management Interface (IPMI) connection framework, wherein the access request comprises a public network address, a source IP address and a request User Agent (UA) of the target system, determining a survival transit server in the same network environment with the target system based on the public network address, controlling the transit server to deploy proxy services, creating or calling a target container based on triplet data, wherein the target container is deployed with Virtual Network Computing (VNC) services and proxy clients, the proxy clients are used for connecting proxy service ports of the transit server, and returning VNC links of the target container to the IPMI connection framework so that the user can access the target container through the VNC links and access the target system through proxy services of the proxy clients and the transit server. The method can reduce cost and improve operation and maintenance efficiency and safety.
Inventors
- HUANG CHANGWEN
- LI RUIDONG
- HUANG DONG
- LU YANLIANG
- WANG BAOGANG
Assignees
- 咪咕文化科技有限公司
- 中国移动通信集团有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20251223
Claims (10)
- 1. A method of accessing a game operating system, the method comprising: Receiving an access request of a user to a target system, which is forwarded by an Intelligent Platform Management Interface (IPMI) connection framework, wherein the access request comprises triple data, and the triple data comprises a public network address, a source IP address and a request User Agent (UA) of the target system; Determining a survival transit server in the same network environment as the target system based on the public network address, and controlling the transit server to deploy proxy service; creating or calling a target container based on the triplet data, wherein the target container is deployed with a Virtual Network Computing (VNC) service and a proxy client, and the proxy client is used for connecting a proxy service port of the transit server; and returning the VNC link of the target container to the IPMI connection frame so that the user accesses the target container through the VNC link and accesses the target system through the proxy service of the proxy client and the transit server.
- 2. The game operation system access method according to claim 1, wherein the proxy service comprises a SOCKS5 proxy service, and the proxy client comprises a SOCKS5 proxy client.
- 3. The game operation system access method according to claim 2, wherein determining a surviving relay server in a same network environment as the target system based on the public network address, and controlling the relay server to deploy a proxy service, comprises: analyzing the access request to obtain a public network address of the target system; Determining an available public network address under the same machine room and the same switch as the target system based on the public network address of the target system and address information in a configuration management database; Determining the equipment corresponding to the available public network address as the transit server; The transfer server is remotely connected, and whether out-of-band management IP of the transfer server is available or not is tested; And in the case that the out-of-band management IP of the transit server is available, deploying SOCKS5 proxy service for the transit server.
- 4. A game operation system access method according to claim 3, further comprising: setting an opening duration for the proxy service; detecting whether SOCKS5 connection exists or not under the condition that the starting time of the proxy service reaches the preset time; if the SOCKS5 connection does not exist, closing the proxy service; if the SOCKS5 connection exists, periodically detecting whether the SOCKS5 connection is in a set state, wherein the set state comprises a synchronous sequence number SYN state or a connection established state ESTAB state; If the SOCKS5 connection is in a set state, prolonging the opening time of the SOCKS5 connection; And if the SOCKS5 connection is in a non-set state, closing the proxy service.
- 5. The game operation system access method according to claim 2, wherein the creating or calling a target container based on the triplet data includes: Determining a connection container name based on the public network address of the target system, the source IP address and the request UA; determining whether the connection container name is in a run container list; if the connection container name is in the operation container list, calling a target container corresponding to the connection container name in the operation container list; if the connection container name is not in the operation container list, a new connection container is created based on the connection container name as a target container.
- 6. The game operation system access method according to claim 1, wherein the user accesses the target container through the VNC link and accesses the target system through the proxy service of the proxy client and the relay server, comprising: The user accesses the target container through the VNC link, and triggers and starts a browser in the target container; And initiating an access request to the target system intranet through the browser, forwarding the access request to the target system intranet to the transfer server through the proxy client, forwarding the access request to the target system intranet to a management intranet by the transfer server, and returning received response content to the client of the browser to realize access to the target system, wherein the response content is sent through out-of-band management IP of equipment to be connected in the management intranet.
- 7. The game play system access method of claim 1, wherein the target container is created based on a CentOS 7 desktop image.
- 8. A game operation system access device, comprising: The system comprises a request receiving module, a request processing module and a request processing module, wherein the request receiving module is used for receiving an access request of a user to a target system forwarded by an Intelligent Platform Management Interface (IPMI) connection framework, wherein the access request comprises triple data, and the triple data comprises a public network address, a source IP address and a request User Agent (UA) of the target system; The deployment module is used for determining a survival transit server in the same network environment with the target system based on the public network address and controlling the transit server to deploy proxy service; the system comprises a container determining module, a forwarding server and a forwarding module, wherein the container determining module is used for creating or calling a target container based on the triplet data, wherein the target container is deployed with a Virtual Network Computing (VNC) service and a proxy client, and the proxy client is used for connecting a proxy service port of the forwarding server; And the system access module is used for returning the VNC link of the target container to the IPMI connection frame so that the user accesses the target container through the VNC link and accesses the target system through the proxy service of the proxy client and the transit server.
- 9. An electronic device, comprising: At least one processor, and A memory communicatively coupled to the at least one processor, wherein, The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-7.
- 10. A non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the method of any one of claims 1-7.
Description
Game operation system access method, device, equipment and medium Technical Field The present disclosure relates to the field of cloud games, and in particular, to a method, an apparatus, a device, and a medium for accessing a game operation system. Background In the related art, in the field of cloud games, it is generally required to perform operation and maintenance on games to avoid loss to game users and game platforms. Illustratively, in performing operation maintenance, it is possible to limit which users under the network have access to the game operation system by limiting the source address. This approach requires occupation of Public IP Resources (Public IP ADDRESS Resources), which not only results in resource waste, but also results in higher operating costs. Disclosure of Invention The present disclosure provides a game operation system access method, device, equipment and medium. According to a first aspect of the present disclosure, there is provided a game operation system access method, including: Receiving an access request of a user to a target system, which is forwarded by an Intelligent Platform Management Interface (IPMI) connection framework, wherein the access request comprises triple data, and the triple data comprises a public network address, a source IP address and a request User Agent (UA) of the target system; Determining a survival transit server in the same network environment as the target system based on the public network address, and controlling the transit server to deploy proxy service; creating or calling a target container based on the triplet data, wherein the target container is deployed with a Virtual Network Computing (VNC) service and a proxy client, and the proxy client is used for connecting a proxy service port of the transit server; and returning the VNC link of the target container to the IPMI connection frame so that the user accesses the target container through the VNC link and accesses the target system through the proxy service of the proxy client and the transit server. According to a second aspect of the present disclosure, there is provided a game operation system access device including: The system comprises a request receiving module, a request processing module and a request processing module, wherein the request receiving module is used for receiving an access request of a user to a target system forwarded by an Intelligent Platform Management Interface (IPMI) connection framework, wherein the access request comprises triple data, and the triple data comprises a public network address, a source IP address and a request User Agent (UA) of the target system; The deployment module is used for determining a survival transit server in the same network environment with the target system based on the public network address and controlling the transit server to deploy proxy service; the system comprises a container determining module, a forwarding server and a forwarding module, wherein the container determining module is used for creating or calling a target container based on the triplet data, wherein the target container is deployed with a Virtual Network Computing (VNC) service and a proxy client, and the proxy client is used for connecting a proxy service port of the forwarding server; And the system access module is used for returning the VNC link of the target container to the IPMI connection frame so that the user accesses the target container through the VNC link and accesses the target system through the proxy service of the proxy client and the transit server. According to a third aspect of the present disclosure, there is provided an electronic device comprising: At least one processor, and A memory communicatively coupled to the at least one processor, wherein, The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of the first aspect. According to a fourth aspect of the present disclosure, there is provided a non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of the preceding first aspect. According to a fifth aspect of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the method of the first aspect described above. In the embodiment of the disclosure, an access request of a user to a target system is forwarded through receiving an Intelligent Platform Management Interface (IPMI) connection framework, wherein the access request comprises a public network address, a source IP address and a request User Agent (UA) of the target system, a survival transit server which is in the same network environment with the target system is determined based on the public network address, the transit server is controlled to deploy proxy services, a target container is created or invoked based on the triplet data,