US11110347B2ActiveUtilityA1

Game server switching method, apparatus, and system

Assignee: TENCENT TECH SHENZHEN CO LTDPriority: Jan 24, 2017Filed: Mar 15, 2019Granted: Sep 7, 2021
Est. expiryJan 24, 2037(~10.5 yrs left)· nominal 20-yr term from priority
H04L 67/1008H04L 67/60H04L 67/63H04L 67/56H04L 67/563A63F 13/352H04L 67/1014A63F 13/335A63F 13/31A63F 13/358H04L 67/2814H04L 67/327
54
PatentIndex Score
0
Cited by
20
References
20
Claims

Abstract

A game server switching method, applied to a game server switching system, is provided, the game server switching system including a load balancer, a network-layer access subsystem, a network-layer proxy subsystem, a game logic subsystem, and a role login management server. A communication connection is established between the network-layer access subsystem and the second game server based on the route switching request message. A write-back request is sent by the first game server to the role login management server. User role data are sent by the role login management server to the second game server based on the write-back request. In response to obtaining the user role data from the role login management server, the game data are sent by the second game server to the game client by using the network-layer proxy subsystem, the network-layer access subsystem, and the load balancer.

Claims

exact text as granted — not AI-modified
What is claimed is: 
     
       1. A game server switching method, applied to a game server switching system, the game server switching system comprising a load balancer, a network-layer access subsystem, a network-layer proxy subsystem, a game logic subsystem, and a role login management server,
 a communication connection being established between the load balancer and a game client, the load balancer being connected to the network-layer access subsystem, the network-layer access subsystem being connected to the network-layer proxy subsystem, the network-layer proxy subsystem being connected to the game logic subsystem, the game logic subsystem being connected to the role login management server, and the game logic subsystem comprising a first game server and a second game server, the first game server communicating with the game client by using the network-layer proxy subsystem, the network-layer access subsystem, and the load balancer; and 
 the method comprising: 
 determining, by the first game server based on a game data obtaining request from the game client, that the first game server does not store game data requested by the game data obtaining request, and sending a route switching request message to the network-layer access subsystem by using the network-layer proxy subsystem; 
 establishing, by the network-layer access subsystem, a communication connection between the network-layer access subsystem and the second game server based on the route switching request message; 
 sending, by the first game server, a write-back request to the role login management server; 
 sending, by the role login management server in response to receiving the write-back request, user role data to the second game server based on the write-back request; and 
 sending, by the second game server in response to obtaining the user role data from the role login management server, the game data to the game client by using the network-layer proxy subsystem, the network-layer access subsystem, and the load balancer. 
 
     
     
       2. The game server switching method according to  claim 1 , further comprising:
 receiving, by the load balancer, the game data obtaining request from the game client; 
 sending, by the load balancer, the game data obtaining request to the network-layer access subsystem; 
 sending, by the network-layer access subsystem in response to receiving the game data obtaining request, the game data obtaining request to the network-layer proxy subsystem; and 
 sending, by the network-layer proxy subsystem in response to receiving the game data obtaining request, the game data obtaining request to the first game server in the game logic subsystem. 
 
     
     
       3. The game server switching method according to  claim 1 , wherein the determining that the first game server does not store the game data requested by the game data obtaining request comprises:
 determining, by the first game server based on the game data obtaining request from the game client, whether the first game server stores the game data requested by the game data obtaining request. 
 
     
     
       4. The game server switching method according to  claim 1 , further comprising, in response to the determining that the first game server does not store the game data requested by the game data obtaining request:
 sending, by the first game server, a redirection and place-holding request message to the second game server by using the network-layer proxy subsystem; 
 sending, by the second game server in response to receiving the redirection and place-holding request message, a redirection and place-holding success message to the first game server by using the network-layer proxy subsystem; and 
 receiving, by the first game server, the redirection and place-holding success message. 
 
     
     
       5. The game server switching method according to  claim 4 , further comprising, in response to receiving the redirection and place-holding success message:
 sending, by the first game server, a switching notification message to the network-layer access subsystem; 
 forwarding, by the network-layer access subsystem in response to receiving the switching notification message, the switching notification message to the load balancer; and 
 forwarding, by the load balancer in response to receiving the switching notification message, the switching notification message to the game client. 
 
     
     
       6. The game server switching method according to  claim 1 , further comprising, in response to the establishing the communication connection between the network-layer access subsystem and the second game server:
 sending, by the network-layer access subsystem, a route switching success message to the first game server by using the network-layer proxy subsystem; and 
 in response to receiving the route switching success message, triggering, by the first game server, sending the write-back request to the role login management server. 
 
     
     
       7. The game server switching method according to  claim 1 , further comprising, in response to the obtaining the user role data by the second game server:
 sending, by the second game server, a game server switching success message to the game client by using the network-layer proxy subsystem, the network-layer access subsystem, and the load balancer. 
 
     
     
       8. A game server switching system, comprising a load balancer, a network-layer access subsystem, a network-layer proxy subsystem, a game logic subsystem, and a role login management server,
 a communication connection being established between the load balancer and a game client, the load balancer being connected to the network-layer access subsystem, the network-layer access subsystem being connected to the network-layer proxy subsystem, the network-layer proxy subsystem being connected to the game logic subsystem, the game logic subsystem being connected to the role login management server, and the game logic subsystem comprising a first game server and a second game server, the first game server communicating with the game client by using the network-layer proxy subsystem, the network-layer access subsystem, and the load balancer; and 
 the first game server being configured to: determine, based on a game data obtaining request from the game client, that the first game server does not store game data requested by the game data obtaining request; and send a route switching request message to the network-layer access subsystem by using the network-layer proxy subsystem; 
 the network-layer access subsystem being configured to establish a communication connection between the network-layer access subsystem and the second game server based on the route switching request message; 
 the first game server being further configured to send a write-back request to the role login management server; 
 the role login management server being configured to send user role data to the second game server based on the write-back request in response to receiving the write-back request; and 
 the second game server being configured to: send, in response to obtaining the user role data from the role login management server, the game data to the game client by using the network-layer proxy subsystem, the network-layer access subsystem, and the load balancer. 
 
     
     
       9. The game server switching system according to  claim 8 , wherein
 the load balancer is configured to receive the game data obtaining request from the game client; and send the game data obtaining request to the network-layer access subsystem; 
 the network-layer access subsystem is further configured to send the game data obtaining request to the network-layer proxy subsystem in response to receiving the game data obtaining request; and 
 the network-layer proxy subsystem is further configured to send the game data obtaining request to the first game server in the game logic subsystem in response to receiving the game data obtaining request. 
 
     
     
       10. The game server switching system according to  claim 8 , wherein the first game server is configured to: determine, based on the game data obtaining request from the game client, whether the first game server stores the game data requested by the game data obtaining request. 
     
     
       11. The game server switching system according to  claim 8 , wherein
 the first game server is further configured to: send, in response to determining, based on the game data obtaining request from the game client, that the first game server does not store the game data requested by the game data obtaining request, a redirection and place-holding request message to the second game server by using the network-layer proxy subsystem; 
 the second game server is further configured to: send, in response to receiving the redirection and place-holding request message, a redirection and place-holding success message to the first game server by using the network-layer proxy subsystem; and 
 the first game server is further configured to receive the redirection and place-holding success message. 
 
     
     
       12. The game server switching system according to  claim 11 , wherein
 the first game server is further configured to send a switching notification message to the network-layer access subsystem in response to receiving the redirection and place-holding success message; 
 the network-layer access subsystem is further configured to forward the switching notification message to the load balancer in response to receiving the switching notification message; and 
 the load balancer is further configured to forward the switching notification message to the game client in response to receiving the switching notification message. 
 
     
     
       13. The game server switching system according to  claim 8 , wherein
 the network-layer access subsystem is further configured to: send, in response to establishing the communication connection between the network-layer access subsystem and the second game server based on the route switching request message, a route switching success message to the first game server by using the network-layer proxy subsystem; and 
 the first game server is further configured to, in response to receiving the route switching success message, triggering sending the write-back request to the role login management server. 
 
     
     
       14. The game server switching system according to  claim 8 , wherein
 the second game server is further configured to send a game server switching success message to the game client by using the network-layer proxy subsystem, the network-layer access subsystem, and the load balancer. 
 
     
     
       15. A server, applied to the game server switching system, the game server switching system comprising the load balancer, the network-layer access subsystem, the network-layer proxy subsystem, the game logic subsystem, and the role login management server, and the server being any one of the load balancer, the network-layer access subsystem, the network-layer proxy subsystem, the game logic subsystem, and the role login management server; and
 the server comprising: 
 at least one memory operable to store program code; and 
 at least one processor operable to read the program code and operate as instructed by the program code to perform operations of the load balancer, the network-layer access subsystem, the network-layer proxy subsystem, the game logic subsystem, or the role login management server of the game server switching system of  claim 8 . 
 
     
     
       16. A non-transitory computer-readable storage medium, comprising an instruction, which, when executed by at least one processor, causes the at least one processor to perform a game server switching method, applied to a game server switching system, the game server switching system comprising a load balancer, a network-layer access subsystem, a network-layer proxy subsystem, a game logic subsystem, and a role login management server,
 a communication connection being established between the load balancer and a game client, the load balancer being connected to the network-layer access subsystem, the network-layer access subsystem being connected to the network-layer proxy subsystem, the network-layer proxy subsystem being connected to the game logic subsystem, the game logic subsystem being connected to the role login management server, and the game logic subsystem comprising a first game server and a second game server, the first game server communicating with the game client by using the network-layer proxy subsystem, the network-layer access subsystem, and the load balancer; and 
 the method comprising: 
 determining, based on a game data obtaining request from the game client, that the first game server does not store game data requested by the game data obtaining request, and sending a route switching request message to the network-layer access subsystem by using the network-layer proxy subsystem; 
 establishing a communication connection between the network-layer access subsystem and the second game server based on the route switching request message; 
 sending a write-back request to the role login management server; 
 sending, in response to receiving the write-back request, user role data to the second game server based on the write-back request; and 
 sending, in response to obtaining the user role data from the role login management server, the game data to the game client by using the network-layer proxy subsystem, the network-layer access subsystem, and the load balancer. 
 
     
     
       17. The computer-readable storage medium according to  claim 16 , wherein the instruction further causes the at least one processor to perform:
 receiving the game data obtaining request from the game client; 
 sending the game data obtaining request to the network-layer access subsystem; 
 sending, in response to receiving the game data obtaining request, the game data obtaining request to the network-layer proxy subsystem; and 
 sending, in response to receiving the game data obtaining request, the game data obtaining request to the first game server in the game logic subsystem. 
 
     
     
       18. The computer-readable storage medium according to  claim 16 , wherein the determining that the first game server does not store the game data requested by the game data obtaining request comprises:
 determining, based on the game data obtaining request from the game client, whether the first game server stores the game data requested by the game data obtaining request. 
 
     
     
       19. The computer-readable storage medium according to  claim 16 , wherein the instruction further causes the at least one processor to perform, in response to the determining that the first game server does not store the game data requested by the game data obtaining request:
 sending a redirection and place-holding request message to the second game server by using the network-layer proxy subsystem; 
 sending, in response to receiving the redirection and place-holding request message, a redirection and place-holding success message to the first game server by using the network-layer proxy subsystem; and 
 receiving the redirection and place-holding success message. 
 
     
     
       20. The computer-readable storage medium according to  claim 16 , wherein the instruction further causes the at least one processor to perform, in response to receiving the redirection and place-holding success message:
 sending a switching notification message to the network-layer access subsystem; 
 forwarding, in response to receiving the switching notification message, the switching notification message to the load balancer; and 
 forwarding, in response to receiving the switching notification message, the switching notification message to the game client.

Join the waitlist — get patent alerts

Track US11110347B2 — get alerts on status changes and closely related new filings.

We store only your email — no account needed. See our privacy policy.