Game multi-terminal login control method, device, terminal device, and server
Through server control, the replaced game account is allowed to be suspended in the second terminal and logged in at the first terminal, which solves the problem of players switching game accounts between multiple terminals, improves the gaming experience and ensures game security.
Patent Information
- Application Number
- CN202110738295.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-30
- Publication Date
- 2025-07-08
- Estimated Expiration
- 2041-06-30
AI Technical Summary
In the prior art, when players switch game accounts on mobile and computer, they cannot remotely log in to computer game accounts again, resulting in poor gaming experience.
Through server control, the replaced game account is allowed to be suspended in the second terminal and logged in at the first terminal to realize synchronous game control and off-site login.
It enables players to seamlessly switch game accounts between multiple terminals, improves the gaming experience, reduces the burden of hanging up gameplay, supports multi-terminal online and ensures game security.
Smart Images

Figure CN113457165B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of game login, and in particular to a method and device for controlling multi-terminal login of games, as well as a terminal device and a server. Background Art
[0002] Currently, many mobile games have independent computer clients, especially for large-scale multiplayer online games (MMO G ) with higher performance requirements, and it is difficult to present the best artistic effects on mobile clients. The MMOG type usually also has a certain proportion of AFK gameplay, so players are encouraged to AFK on the computer when conditions permit.
[0003] If a current game account is logged in on another client, the game account logged in on the current client will be forcibly logged out, that is, the game account on the current client will show an offline state, in order to ensure the security and operability of the game account. However, players usually have the need to temporarily log in on the mobile client and AFK on the computer client at the same time. If the player is far away from the computer, after logging in to the game account on the mobile client instead of the computer client, it is impossible to log in to the game account on the computer again for AFK. Summary of the Invention
[0004] The purpose of the present application is to provide a method and device for controlling multi-terminal login of games, as well as a terminal device and a server. By suspending the game account that is logged in instead on the client, the replaced game account can be remotely logged in again according to the player's needs, improving the player's game experience.
[0005] In a first aspect, an embodiment of the present application provides a method for controlling multi-terminal login of games, including:
[0006] A first terminal sends a first login request to a server, and the first login request is used to request to log in to a target account;
[0007] When the server determines that the status of the target account is logged in on a second terminal after receiving the first login request, it sends a first hold and suspend request to the second terminal;
[0008] After receiving the first hold and suspend request, the second terminal controls to stop synchronizing game control with the server, so that the second terminal is in a hold and suspend state for the target account;
[0009] The server sends a first login response to the first terminal;
[0010] After receiving the first login response, the first terminal controls to start game control synchronization with the server, so that the first terminal remains logged in for the target account.
[0011] In a possible implementation, when the server determines that the status of the target account is logged in on the second terminal after receiving the first login request, the server sends a first hold suspension request to the second terminal, including:
[0012] When the server determines that the status of the target account is logged in on the second terminal after receiving the first login request, the server sends first login status indication information to the first terminal, and the first login status indication information is used to indicate that the status of the target account is logged in on the second terminal;
[0013] After receiving the first login status indication information, the first terminal provides a status setting control;
[0014] The first terminal responds to a hold suspension setting operation on the status setting control and sends a second hold suspension request to the server, and the second hold suspension request is used to request the second terminal to suspend the target account;
[0015] After receiving the second hold suspension request, the server sends a first hold suspension request to the second terminal.
[0016] In a possible implementation, the method further includes:
[0017] The first terminal responds to an offline setting operation on the status setting control and sends a first offline request to the server, and the first offline request is used to request the second terminal to go offline for the target account;
[0018] After receiving the first offline request, the server sends a second offline request to the second terminal;
[0019] After receiving the second offline request, the second terminal controls the target account to go offline on the second terminal.
[0020] In a possible implementation, the control to stop game control synchronization with the server includes:
[0021] The second terminal provides a suspension interface;
[0022] The second terminal controls to stop game control synchronization with the server and controls to keep synchronizing the status of the target account with the server.
[0023] In a possible implementation, it further includes:
[0024] When the second terminal for which the target account is in a suspended state determines that the first terminal is offline for the target account according to the synchronized state of the target account, it controls to start game control synchronization with the server, so that the second terminal remains logged in for the target account.
[0025] In a possible implementation, a suspended interface is provided by the terminal in a suspended state, and it further includes:
[0026] The second terminal responds to a login setting operation on the suspended interface and sends a second login request to the server;
[0027] When the server determines that the state of the target account is logged in and maintained on the first terminal after receiving the second login request, it sends a second suspended request to the first terminal;
[0028] After receiving the second suspended request, the first terminal controls to stop game control synchronization with the server, so that the first terminal is in a suspended state for the target account;
[0029] The server sends a second login response to the second terminal;
[0030] The second terminal controls to start game control synchronization with the server, so that the second terminal remains logged in for the target account.
[0031] In a possible implementation, a login interface is provided by the terminal, and the first terminal sending a first login request to the server includes:
[0032] The first terminal responds to a login operation on the login interface for the target account and sends a first login request to the server.
[0033] In a possible implementation, a suspended interface is provided by the terminal in a suspended state, and the first terminal sending a first login request to the server includes:
[0034] The first terminal responds to a suspended cancellation operation on the suspended interface for the target account and sends a first login request to the server.
[0035] In a possible implementation, before the step of logging in to the target account, the method further includes:
[0036] The third terminal provides a multi-terminal login configuration interface;
[0037] The third terminal responds to a first configuration operation on the multi-terminal login configuration interface, determines the multi-terminal login setting information of the configured target account, where the multi-terminal login setting information is used to indicate the state after being kicked when being kicked; or is used to indicate the state after being kicked determined by the kicking terminal when being kicked; the state after being kicked includes maintaining a suspended state or an offline state;
[0038] The third terminal sends the multi-terminal login setting information to the server.
[0039] In a possible implementation, when the server determines that the state of the target account is in a logged-in state on the second terminal after receiving the first login request, the server sends a first keep suspended request to the second terminal, including:
[0040] When the server determines that the state of the target account is in a logged-in state on the second terminal after receiving the first login request, the server determines the multi-terminal login setting information;
[0041] Based on the multi-terminal login setting information, the server sends a first keep suspended request to the second terminal.
[0042] In a possible implementation, sending a first keep suspended request to the second terminal based on the multi-terminal login setting information includes:
[0043] Based on the state of the target account after being kicked on the second terminal, the server sends a first keep suspended request to the second terminal;
[0044] Or,
[0045] The first terminal determines the state of the target account after being kicked on the second terminal; based on the state of the target account after being kicked on the second terminal, the server sends a first keep suspended request to the second terminal.
[0046] In a second aspect, a game multi-terminal login control device is provided, including:
[0047] A first terminal that sends a first login request to a server, and after receiving the first login response, controls to start game control synchronization with the server, so that the first terminal is in a logged-in state for the target account, and the first login request is used to request to log in to the target account;
[0048] A server that, when receiving the first login request and determining that the state of the target account is in a logged-in state on the second terminal, sends a first keep suspended request to the second terminal, and is used to send a first login response to the first terminal;
[0049] After receiving the first hold suspension request, the second terminal controls to stop synchronizing game control with the server, so that the second terminal is in a hold suspension state for the target account.
[0050] In a third aspect, an embodiment of the present application further provides a terminal device, including a memory and a processor. A computer program that can run on the processor is stored in the memory. When the processor executes the computer program, the method described in the first aspect above is implemented.
[0051] In a fourth aspect, an embodiment of the present application further provides a server, including a memory and a processor. A computer program that can run on the processor is stored in the memory. When the processor executes the computer program, the method described in the first aspect above is implemented.
[0052] In a fifth aspect, an embodiment of the present application further provides a computer-readable storage medium. The computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and run by a processor, the computer-executable instructions cause the processor to run the method described in the first aspect above.
[0053] The embodiments of the present application bring the following beneficial effects:
[0054] A game multi-terminal login control method, device, terminal device, and server provided by the embodiments of the present application can set the game account replaced in the second terminal to a suspension state, that is, the second terminal in this state stops synchronizing game control with the server, but the server can allow the game account in the suspension state to log in again to meet the login and hanging needs of players when they are remote.
[0055] In this solution, since the replaced game account is changed from the offline state in the prior art to a hanging state. Through the communication between the server and the terminal corresponding to the game account in the hanging state, the game account in the hanging state can also resume logging in when the player is remote.
[0056] To make the above objects, features, and advantages of the present application more obvious and understandable, the following specific preferred embodiments are given, and in conjunction with the accompanying drawings, the detailed description is as follows. Description of the Drawings
[0057] In order to more clearly illustrate the specific embodiments of the present application or the technical solutions in the prior art, the following will briefly introduce the drawings required for use in the description of the specific embodiments or the prior art. Obviously, the following drawings are some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0058] Figure 1 shows a schematic diagram of an application scenario provided by an embodiment of the present application;
[0059] Figure 2 is a schematic flowchart of a method for controlling multi-terminal login of a game provided by an embodiment of the present application;
[0060] Figure 3 shows a schematic diagram of a setting interface provided by an embodiment of the present application;
[0061] Figure 4 shows a schematic diagram of a prompt interface provided by an embodiment of the present application;
[0062] Figure 5 is a schematic diagram of a suspension interface provided by an embodiment of the present application;
[0063] Figure 6 is a schematic structural diagram of a device for controlling multi-terminal login of a game provided by an embodiment of the present application;
[0064] Figure 7 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. Detailed implementation manners
[0065] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions of the present application will be clearly and completely described below with reference to the accompanying drawings. Apparently, the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.
[0066] The terms "including" and "having" and any variations thereof mentioned in the embodiments of the present application are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally further includes other steps or units not listed, or optionally further includes other steps or units inherent to these processes, methods, products, or devices.
[0067] Currently, MMO mobile games generally have a gameplay of hanging up on the computer client. Players can experience better game art effects through the computer client. Through the hanging-up gameplay, they can sweep through levels and obtain more game rewards. At the same time, the mobile terminal is also the fastest and most convenient temporary login option for players, so that players can experience the game anytime and anywhere.
[0068] However, currently, for game account logins on mobile and computer devices, generally only one client is allowed to be online at a time, that is, the client logs in to the account on either the mobile or computer device. If player A logs in to the game account on the mobile client at this time, the game account logged in by player A on the computer will be forcibly logged out, that is, the game account on the computer is in an offline state. At this time, if player A still needs to log in to the game on the computer to implement the hanging function, they need to actively log in again on the computer. In the actual application process, players often have the need to switch between the mobile and computer devices as described above. If the player is far away from the computer device at this time, they cannot re-login to the game account on the computer, which is not conducive to players improving the game experience.
[0069] Based on this, the embodiments of the present application provide a game multi-terminal login control method. Through this method, the technical problem that after a player takes over the game account of a remote terminal, they can remotely log in and go online again with the game account of that terminal can be alleviated.
[0070] The game multi-terminal login control method in one of the embodiments of the present disclosure can run on a terminal device and a server. Among them, the terminal device can include a mobile device and a computer device. The mobile device can be a local touch terminal, including a mobile phone, a smart device, etc. The computer device includes a host computer, etc.
[0071] In an alternative embodiment, the touch terminal can be a local touch terminal. Among them, the touch terminal includes a touch screen and a processor. The touch screen is used to present a graphical user interface and receive operations on the graphical user interface. The processor is used to run the game, generate the graphical user interface, and control the display of the graphical user interface on the display screen.
[0072] In a possible embodiment, the embodiments of the present application provide a game multi-terminal login control method, which provides a graphical user interface through a first terminal, a second terminal, or a third terminal. Among them, the first terminal, the second terminal, or the third terminal can all be the aforementioned mobile devices or the aforementioned computer devices.
[0073] For example, as Figure 1 shown, Figure 1 is a schematic diagram of an application scenario provided by the embodiments of the present application. This application scenario can include a terminal device 102 (such as a mobile phone, a computer, etc.) and a server 101. The terminal device can communicate with the server 101 through a wired network or a wireless network. The terminal device is used to present a graphical user interface and / or receive operations on the graphical user interface. Through this graphical user interface, it can interact with the server 101 to enable the server 101 to control the content in the terminal device. It can be understood that the number of terminal devices can include multiple.
[0074] The embodiments of the present application will be further introduced below with reference to the accompanying drawings.
[0075] Figure 2 It is a schematic flowchart of a method for controlling multi-terminal login of a game provided by an embodiment of the present application. As Figure 2 shown, the method includes the following steps:
[0076] Step S102, the first terminal sends a first login request to the server, and the first login request is used to request to log in to the target account.
[0077] Among them, the first terminal is a terminal device that can be used to log in to a game account, including a mobile terminal and a computer terminal, and a game client is configured in the first terminal.
[0078] It should be noted that if a player logs in to an account on the game client of the first terminal, the first terminal will send a login request signal to the server, and the server can know from the login request signal that the first terminal has the intention to log in to a game account. Among them, the login request signal also includes account information of the target account to be logged in, such as username, password, etc.
[0079] The target account in this step is the account that the player requests to log in to on the game client of the first terminal. The player can input the corresponding account information and send it to the server together with the login request.
[0080] Step S104, when the server determines that the status of the target account is logged in on the second terminal after receiving the first login request, it sends a first hold and suspend request to the second terminal.
[0081] Among them, the second terminal is a terminal device that can be used to log in to a game account, including a mobile terminal and a computer terminal, and a game client is configured in the second terminal. The status of the target account includes being logged in or offline on the second terminal. For example, at this time, when the server detects that the target account has been logged in on the second terminal, it sends a suspend request to the second terminal.
[0082] It should be noted that the first terminal and the second terminal can be any one of a mobile terminal and a computer terminal. For example, in this step, the player can log in to the target account on the mobile terminal of the first terminal at this time, and the server sends a suspend request to the computer terminal of the second terminal. Or, the player can log in to the target account on the computer terminal of the first terminal at this time, and the server sends a suspend request to the mobile terminal of the second terminal. Or, the player can log in to the target account on the mobile terminal of the first terminal at this time, and the server sends a suspend request to the mobile terminal of the second terminal. Or, the player can log in to the target account on the computer terminal of the first terminal at this time, and the server sends a suspend request to the computer terminal of the second terminal.
[0083] Step S106: After receiving the first hold and suspend request, the second terminal controls to stop synchronizing game control with the server, so that the second terminal is in a hold and suspend state for the target account.
[0084] Among them, if the target account of the second terminal is in a suspended state, the second terminal stops synchronizing game control with the server at this time. It should be noted that the embodiment of the present invention is different from the application where a traditional game account can only be logged in on a single client. It can be logged in on multiple terminals simultaneously. That is, when one terminal logs in, other terminals are suspended. At this time, the suspended client is also in an online state, but it cannot synchronize game control with the server. In other words, even if the game account is logged in on multiple terminals in this application, since only a single client controls the game, the security and operability of the game account can be guaranteed.
[0085] Step S108: The server sends a first login response to the first terminal.
[0086] Among them, the login response is a signal feedback by the server to the terminal when the login request passes. It should be noted that when the second terminal is in a hold and suspend state, it can send a request to stop synchronizing game control or a feedback signal indicating that the second terminal has been suspended to the server, so that the server can know the account state of the second terminal, stop synchronizing the game with the second terminal, and send a login response to the first terminal.
[0087] Step S110: After receiving the first login response, the first terminal controls to start synchronizing game control with the server, so that the first terminal is in a hold and login state for the target account.
[0088] Among them, according to the login response, the first terminal enables the target game account to log in to the game. At this time, the target account is in a hold and login state and can synchronize game control with the server.
[0089] In the embodiment of the present application, the server first determines the state of the target account based on the login request. If the target account is in an offline state, it sends a login response to enable the first terminal to log in. If the target account is in a hold and login state on the second terminal, it controls the second terminal to suspend, so that the second terminal stops synchronizing game control with the server, and then sends a login response to the first terminal. Only one terminal synchronizes game control at the same time, ensuring the safety and reliability of game implementation. After the player temporarily logs in to the game account on the first terminal and then logs out, the player can control the game account in the suspended second terminal to log in again, solving the problem that the player cannot control the remote terminal to log in to the game account again and improving the player's game experience.
[0090] It should be noted that the embodiments of the present invention can keep multiple terminals connected online, facilitating players to switch the terminal accounts for logging in to the game in multiple usage scenarios. Even when players are outdoors, they can still conveniently keep the computer-terminal game account online, reducing the game burden brought by the afk gameplay to players, and also facilitating the ecology where the fixed-team captain in the game can drag multiple team members. In addition, it also reduces the burden and doubts of players when they want to take over operations using a mobile terminal in scenarios such as payment and player versus player (PVP).
[0091] The above steps will be introduced in detail below.
[0092] In some embodiments, based on the above step S104, the server can determine the status of the target account corresponding to the login request, so that the terminal device performs corresponding operations to achieve game login, ensuring that only one end synchronizes game control with the server at the same moment. As an example, the above step S104 may include the following steps:
[0093] Step 1.1), when the server determines that the status of the target account is logged in on the second terminal after receiving the first login request, it sends the first login status indication information to the first terminal, and the first login status indication information is used to indicate that the status of the target account is logged in on the second terminal. At this time, based on the first login status indication information, the first terminal can know the login status of the target account, that is, it is logged in on the second terminal.
[0094] Step 1.2), after receiving the first login status indication information, the first terminal provides a status setting control.
[0095] As an optional embodiment, the status setting control can be a prompt interface, a pop-up window or other forms, such as Figure 4 shown, and the prompt interface is taken as an example for illustration.
[0096] Step 1.3), the first terminal responds to the keep-suspended setting operation on the status setting control and sends a second keep-suspended request to the server, and the second keep-suspended request is used to request the second terminal to suspend the target account.
[0097] Exemplarily, according to the aforementioned step 1.1), it can be known that the target account is already online. At this time, the player can select the keep-suspended control by tapping or other means, and the first terminal responds to the player's operation and sends a suspension request for the second terminal to the server. As Figure 4 shown, since the player selects the keep-suspended control, it is shown in bold. The control can be in other forms such as a button or a protrusion, and its shape and size are not limited.
[0098] Step 1.4), after receiving the second hold suspension request, the server sends the first hold suspension request to the second terminal.
[0099] It can be understood that the server notifies the first terminal of the login status of the target account, the first terminal pops up an inquiry prompt interface, and the player selects the hold suspension control by clicking, touching, etc., suspends the second terminal, and currently the first terminal logs in to the target account.
[0100] In some embodiments, the player can remember the selection by touching, and no longer remind the control, so that every time the situation of the mobile terminal topping the account occurs, the computer terminal is kept in a suspended state, and after the mobile terminal logs off this time, the computer terminal can automatically log in again.
[0101] Among them, topping the account refers to the situation where a game account is logged in by one terminal device and forces the game account logged in by another terminal device to log off. Since the game account can only be logged in by a single terminal to synchronize game control, the other terminal that stops synchronizing game control can be understood as the device that is topped.
[0102] In some embodiments, based on the above Steps 1.1)-1.4), the computer terminal offline control can also be selected to directly log off the topped terminal. At this time, the game account of the topped terminal is in an offline state.
[0103] As an example, the method of the above embodiment further includes the following steps:
[0104] Step 2.1), the first terminal responds to the offline setting operation on the status setting control and sends a first offline request to the server. The first offline request is used to request the second terminal to go offline for the target account.
[0105] Exemplarily, according to the foregoing Step 1.1), it can be known that the target account is already online. At this time, the player can select the computer terminal offline control by touching, etc., and the first terminal responds to the player's operation and sends the first offline request of the second terminal to the server.
[0106] Step 2.2), after receiving the first offline request, the server sends a second offline request to the second terminal.
[0107] Step 2.3), after receiving the second offline request, the second terminal controls the target account to go offline on the second terminal.
[0108] It can be understood that the first terminal pops up an inquiry interface, the user clicks the computer terminal offline control, sets the status of the target account in the second terminal to offline, and logs in to the target account on the current first terminal.
[0109] To illustrate more clearly the function of operating the state of the device to be kicked when top-kicking in the game, here, taking the top-kicking device as a mobile terminal, such as a mobile phone, and the device to be kicked as a computer terminal (PC terminal) as an example for illustration, as Figure 4 shown. When a player logs in to the game with a mobile phone, if the game detects that the player's target account has already been logged in on the PC terminal, the player will be prompted to make a choice through touch or other means. The player can choose to keep the PC terminal in a suspended state or directly log off.
[0110] In another application scenario, the player is experiencing the game on the PC terminal. At this time, the player has something urgent to leave the PC terminal and then logs in to the game using the mobile phone terminal. When the player logs in to the mobile phone terminal game with the same target account, the server detects that the player's target account has already been logged in on the PC terminal and notifies the mobile phone terminal. At this time, a pop-up interface will be displayed on the mobile phone terminal, prompting the player whether to continue logging in and asking how to operate the game account status on the PC terminal. The game account status includes:
[0111] a. Keep suspended. At this time, the PC terminal enters the suspended state;
[0112] b. The PC terminal logs off. At this time, the PC terminal directly exits the game account.
[0113] If the player clicks "Keep suspended", the server will allow the player to log in to the account on the mobile phone terminal and automatically synchronize to the previous game state of the PC terminal. The player can seamlessly experience the game on the mobile phone terminal. At this time, the PC terminal automatically enters the suspended state and waits for subsequent operations.
[0114] If the player clicks "Log off on the PC", the system will allow the player to log in to the account on the mobile phone terminal, automatically synchronize to the previous game state of the PC terminal. The player can seamlessly experience the game on the mobile phone terminal. At this time, the PC enters the offline state.
[0115] In some embodiments, based on the above step S106, if the second terminal is in a suspended state, then control to stop synchronizing the game control with the server so that the target account of the first terminal can log in, and this terminal is the only device that synchronizes the game control with the server. As an example, the above step S106 of controlling to stop synchronizing the game control with the server can also be implemented through the following steps:
[0116] Step 3.1), the second terminal provides a suspension interface, and this suspension interface is as Figure 5 shown;
[0117] Step 3.2), the second terminal controls to stop synchronizing game control with the server and controls to keep synchronizing the status of the target account with the server, so as to maintain uninterrupted communication with the server. Among them, the synchronization of the account status of the second terminal with the server can include a periodic active inquiry method or a passive reception method. For example, at a preset time, the second terminal actively sends an inquiry request to the server and obtains the status of the target account according to the feedback result of the server; another example is that the server will issue the status information of the target account of the second terminal regularly or when a preset condition is met. In an alternative embodiment, only Step 3.2) may be included without including Step 3.1). It can be understood that the suspended state only maintains the synchronization of the account status with the server and stops synchronizing game control with the server, while the normal game account login state can both maintain the synchronization of the account status with the server and synchronize game control with the server.
[0118] As an alternative embodiment, the suspended state corresponding to the second terminal further includes maintaining synchronization of game display with the server. That is, at this time, the second terminal will still receive the game screen from the server in real time, but does not have the control function of the game, and can only be used to display the game screen, acting as a display device.
[0119] In some embodiments, the second terminal can obtain the account status of the game account of the first terminal, so that when the game account in the first terminal is offline, the second terminal in the suspended state automatically logs in to the target account, so that the player can realize seamless switching of game terminals. As an example, the above method further includes the following steps:
[0120] Step 4.1), for the second terminal in which the target account is in a suspended state, according to the synchronized status of the target account, when it is determined that the first terminal is offline for the target account, control starts to synchronize game control with the server, so that the second terminal remains logged in for the target account.
[0121] Exemplarily, the second terminal in the suspended state synchronizes the account status of the target account on the mobile phone side through the server. When it detects that the account login status of the first terminal is offline, it automatically changes the suspended state of the second terminal to the logged-in state, that is, the target account in the second terminal logs in.
[0122] In an actual application scenario, when the PC side is in a suspended state and the player has something urgent to do at this time, needs to end the game, and does not want to hang up on the mobile phone side, the player directly logs out of the game account on the mobile phone side. In this case, when the server receives the logout notice from the mobile phone side, it will notify the PC side in the suspended state to automatically log in and automatically synchronize to the game state when the player logs out of the mobile phone side, and continue to process what the player was processing and the game progress when the player logged out of the mobile phone side. Such as Figure 5The suspended interface shown allows the computer side to automatically re - log in 2 - 3 minutes after the mobile terminal goes offline according to pre - settings.
[0123] In some embodiments, based on the above steps, a suspended interface can also be provided by the terminal in the suspended state. This suspended interface can refer to Figure 5 , enabling the player to actively operate on the suspended interface to change the second terminal from the suspended state to the logged - in state. As an example, the above - mentioned embodiment may further include the following steps:
[0124] Step 5.1), the second terminal responds to the login setting operation on the suspended interface and sends a second login request to the server;
[0125] Among them, the login setting operation may include clicking on a specific control, a specific position on the suspended interface, or performing a specific triggering action on the suspended interface, such as long - pressing, double - clicking, etc.
[0126] Step 5.2), when the server determines that the status of the target account is in the logged - in state on the first terminal after receiving the second login request, it sends a second keep - suspended request to the first terminal;
[0127] Step 5.3), after receiving the second keep - suspended request, the first terminal controls to stop synchronizing game control with the server, so that the first terminal is in the keep - suspended state for the target account;
[0128] Step 5.4), the server sends a second login response to the second terminal;
[0129] Step 5.5), the second terminal controls to start synchronizing game control with the server, so that the second terminal is in the keep - logged - in state for the target account.
[0130] In some embodiments, as Figure 5 shown, when the account is suspended on the PC side, a suspended interface will be displayed. When the player clicks on this interface, a pop - up window will prompt whether to cancel the suspended state. If the player cancels, the server will change the original logged - in device, such as the mobile phone side, to the suspended state, while the player logs in to the PC side normally.
[0131] In some embodiments, based on the above step 5.1), a login request can also be sent through the login interface provided by the terminal. As an example, the step of the first terminal sending a first login request to the server in step S102 may further include the following steps:
[0132] Step 6.1), the first terminal responds to the login operation for the target account on the login interface and sends a first login request to the server. Among them, when the player logs in on the first terminal for the login interface, it includes entering user information such as the target account and password to implement the login operation for the target account.
[0133] In some embodiments, based on the above step 6.1), a suspended interface can be provided by the terminal in the suspended state. As an example, the step where the first terminal in step S102 sends a first login request to the server may further include the following steps:
[0134] Step 7.1), the first terminal responds to the unsuspend operation for the target account on the suspended interface and sends a first login request to the server.
[0135] Exemplarily, before the target account logs in, the first terminal is in the suspended state. The player operates on the suspended interface to make the target account cancel the suspended state. The specific operation on the interface is similar to the above login setting operation and will not be elaborated here.
[0136] In some embodiments, the state of the device to be topped can be pre-configured so that the player does not need to frequently click on the inquiry interface during the actual terminal switching operation. As an example, before the above step S102, the following steps may further be included:
[0137] Step 8.1), the third terminal provides a multi-terminal login configuration interface.
[0138] Among them, the third terminal can be any one of the above first terminal or second terminal, or another terminal other than the two.
[0139] Step 8.2), the third terminal responds to the first configuration operation on the multi-terminal login configuration interface, determines the multi-terminal login setting information of the configured target account. The multi-terminal login setting information is used to indicate the state after being topped when topping the account; or is used to indicate the state after being topped by determining through the topping terminal when topping the account; the state after being topped includes remaining in the suspended state or the offline state.
[0140] Step 8.3), the third terminal sends the multi-terminal login setting information to the server.
[0141] In some embodiments, the interface settings of the device to be topped can also be performed in the game, such as Figure 3 As shown, the player can set the operation options for "when the computer terminal is topped" on the interface for setting the device to be topped in the game:
[0142] Ask every time (default): When the player logs in to an account that has already been logged in on the PC terminal with the mobile phone, a pop-up window will ask the player how to operate the PC terminal;
[0143] Direct offline: When a player logs in to an account that is already logged in on the PC side using a mobile phone, the account on the PC side will be directly logged off.
[0144] In some embodiments, when a player sometimes does not want the PC side to log in again when the mobile phone side logs off, the player can set in the settings interface the option when the computer side is forced logged off to "Direct offline". At this time, when the mobile phone side logs off, the server will receive the configuration of the mobile phone side and the log-off notice for the forced logged-off device, and notify the PC side to exit the suspended state or change from suspended to offline.
[0145] Suspended waiting for reconnection: When a player logs in to an account that is already logged in on the PC side using a mobile phone, the account on the PC side will remain suspended and wait for reconnection after the mobile device logs off.
[0146] It can be understood that the Figure 3 interface is for the user to select settings options and then select basic functions. At this time, the user information of the player and various function controls can be seen. At the relevant function line of logging in, the interface of the forced logged-off device when the computer side is forced logged off can be selected. Here, the player selects the control of "Ask each time", so this control is shown in bold in the interface.
[0147] In an alternative embodiment, Figure 3 the control options when the computer side is forced logged off can be a relatively large area range on the graphical user interface or a relatively small area range on the graphical user interface. This control can be square, rectangular, box-shaped, or other shapes (such as circular, etc.). The content presented by the graphical user interface can include all of this control or only a partial content hot zone. For example, when this control is enlarged and displayed in the graphical user interface, only the partial content of the content hot zone is displayed on the graphical user interface of the terminal device. This control can be displayed in the upper left corner, upper right corner or other positions of the graphical user interface, and this exemplary embodiment does not make any restrictions.
[0148] In some embodiments, the server can send the first keep-suspended request to the second terminal in two ways to meet different switching requirements of players. As an example, the above step S104 may include the following steps:
[0149] Step 9.1), when the server determines that the status of the target account is in a logged-in state on the second terminal after receiving the first login request, it determines the multi-terminal login setting information;
[0150] Step 9.2), based on the multi-terminal login setting information, send the first keep-suspended request to the second terminal.
[0151] For step 9.2), exemplarily, in order to reduce the pop-up of redundant query interfaces and reduce the player's control selection, the server may directly send a first hold suspension request to the second terminal based on the state of the target account after being forced logged out on the second terminal;
[0152] Or,
[0153] To meet different application scenarios, the switching requirements of players each time may not be the same. To ensure the accuracy of switching, the state of the target account after being forced logged out on the second terminal may also be determined through the first terminal; based on the state of the target account after being forced logged out on the second terminal, a first hold suspension request is sent to the second terminal.
[0154] It can be understood that the server sends corresponding requests to the second terminal according to the state of the second terminal being forced logged out immediately determined by the player on the first terminal, including the first hold suspension request and the offline request.
[0155] In the embodiments of the present invention, for multiple clients of one account, connections can be maintained simultaneously. When the player logs in on the mobile phone side, the computer client is automatically suspended; when the mobile phone side is offline, the server enables the player to enter the disconnection protection state, and then the computer client automatically reconnects and automatically enters the hanging state to help the player automatically carry out game activities. This application can support the simultaneous online of the computer side and the mobile phone side, and handle the forced logout logic of multiple terminals. When the computer side is forced logged out, even if the player is not beside the computer, they can also log in again and hang up.
[0156] Figure 6 A structural schematic diagram of a game multi-terminal login control device is provided. It includes:
[0157] The first terminal 601 sends a first login request to the server, and after receiving the first login response, controls to start game control synchronization with the server, so that the first terminal remains in a logged-in state for the target account. The first login request is used to request to log in to the target account;
[0158] The server 602, when receiving the first login request and determining that the state of the target account is in a logged-in state on the second terminal, sends a first hold suspension request to the second terminal and is used to send a first login response to the first terminal;
[0159] The second terminal 603, after receiving the first hold suspension request, controls to stop game control synchronization with the server, so that the second terminal remains in a hold suspension state for the target account.
[0160] In some embodiments, the server 602 is further specifically configured to: when it is determined that the status of the target account is logged in on the second terminal after receiving the first login request, send first login status indication information to the first terminal, where the first login status indication information is used to indicate that the status of the target account is logged in on the second terminal; after receiving the second hold suspend request, send a first hold suspend request to the second terminal;
[0161] The first terminal 601 is further specifically configured to: after receiving the first login status indication information, provide a status setting control, and in response to a hold suspend setting operation on the status setting control, send a second hold suspend request to the server, where the second hold suspend request is used to request the second terminal to suspend the target account.
[0162] In some embodiments, the first terminal 601 is further specifically configured to, in response to an offline setting operation on the status setting control, send a first offline request to the server, where the first offline request is used to request the second terminal to go offline for the target account;
[0163] The server 602 is further specifically configured to, after receiving the first offline request, send a second offline request to the second terminal;
[0164] The second terminal 603 is further specifically configured to, after receiving the second offline request, control the target account to go offline on the second terminal.
[0165] In some embodiments, the second terminal 603 is further specifically configured to provide a suspend interface, control to stop game control synchronization with the server, and control to maintain synchronization of the status of the target account with the server.
[0166] In some embodiments, when the second terminal 603 where the target account is in a hold suspend state determines that the first terminal goes offline for the target account according to the synchronized status of the target account, it is further configured to control to start game control synchronization with the server so that the second terminal is in a logged-in state for the target account.
[0167] In some embodiments, the second terminal 603, in response to a login setting operation on the suspend interface, sends a second login request to the server, controls to start game control synchronization with the server so that the second terminal is in a logged-in state for the target account; the server 602 is further specifically configured to, when it is determined that the status of the target account is logged in on the first terminal after receiving the second login request, send a second hold suspend request to the first terminal and send a second login response to the second terminal; after receiving the second hold suspend request, the first terminal 601 controls to stop game control synchronization with the server so that the first terminal is in a hold suspend state for the target account.
[0168] In some embodiments, the first terminal 601 responds to a login operation for a target account on the login interface and sends a first login request to the server.
[0169] In some embodiments, the first terminal 601 responds to a suspend cancellation operation for a target account on the suspend interface and sends a first login request to the server.
[0170] In some embodiments, a third terminal is further included. Before the step of logging in to the target account, it is specifically configured to provide a multi-terminal login configuration interface, respond to a first configuration operation on the multi-terminal login configuration interface, determine the multi-terminal login setting information of the configured target account, where the multi-terminal login setting information is used to indicate the state after being kicked when being kicked; or is used to indicate the state after being kicked by determining the top-kicking terminal when being kicked; the state after being kicked includes maintaining the suspended state or the offline state, and sends the multi-terminal login setting information to the server.
[0171] In some embodiments, when the server 602 determines that the state of the target account is in a logged-in state on the second terminal after receiving the first login request, it determines the multi-terminal login setting information; and sends a first keep-suspended request to the second terminal based on the multi-terminal login setting information.
[0172] In some embodiments, the server 602 sends a first keep-suspended request to the second terminal based on the state of the target account after being kicked on the second terminal;
[0173] Or,
[0174] The first terminal 601 determines the state of the target account after being kicked on the second terminal; the server 602 sends a first keep-suspended request to the second terminal based on the state of the target account after being kicked on the second terminal.
[0175] The game multi-terminal login control device provided by the embodiments of the present application has the same technical features as the game multi-terminal login control method provided by the above embodiments, so it can also solve the same technical problems and achieve the same technical effects.
[0176] The embodiments of the present application further provide a computer device, including a terminal device and a server. As Figure 7 shown, the computer device 700 includes a memory 701 and a processor 702. A computer program that can run on the processor is stored in the memory, and when the processor executes the computer program, the steps of the method provided by the above embodiments are implemented.
[0177] Corresponding to the above game multi-terminal login control method, an embodiment of the present application further provides a computer-readable storage medium. The computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and run by a processor, the computer-executable instructions cause the processor to run the steps of the above game multi-terminal login control method.
[0178] The game multi-terminal login control device provided by the embodiment of the present application can be specific hardware on a device or software or firmware installed on the device. For the device provided by the embodiment of the present application, the implementation principle and the technical effects produced are the same as those of the foregoing method embodiment. For the sake of brief description, for the parts not mentioned in the device embodiment, reference may be made to the corresponding content in the foregoing method embodiment. Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the foregoing-described system, device, and unit can all refer to the corresponding processes in the above method embodiment, and will not be elaborated herein.
[0179] In the embodiments provided by the present application, it should be understood that the disclosed device and method can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there may be other division methods in actual implementation. For another example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed mutual coupling or direct coupling or communication connection may be through some communication interfaces. The indirect coupling or communication connection of the device or unit can be in an electrical, mechanical, or other form.
[0180] For another example, the flowcharts and block diagrams in the accompanying drawings show the possible architectures, functions, and operations of devices, methods, and computer program products according to multiple embodiments of the present application. In this regard, each block in the flowchart or block diagram may represent a module, a program segment, or a part of code, and the module, program segment, or part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than marked in the accompanying drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, as well as the combination of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.
[0181] The unit described as the separation component may or may not be physically separated. The component shown as a unit may or may not be a physical unit, that is, it may be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0182] In addition, each functional unit in the embodiments provided in this application may be integrated into a processing unit, may exist physically separately for each unit, or two or more units may be integrated into one unit.
[0183] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of this application, in essence, or the part that contributes to the prior art or part of this technical solution can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the game multi-terminal login control method described in each embodiment of this application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM for short), random access memories (RAM for short), magnetic disks, or optical discs that can store program codes.
[0184] It should be noted that: Similar reference numerals and letters represent similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. In addition, the terms "first", "second", "third", etc. are only used for distinguishing descriptions and cannot be understood as indicating or implying relative importance.
[0185] Finally, it should be noted that: The above-mentioned embodiments are only specific implementation manners of this application, used to illustrate the technical solution of this application, rather than limiting it. The protection scope of this application is not limited thereto. Although this application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: Any person skilled in the art within the technical scope disclosed in this application can still modify the technical solutions recorded in the foregoing embodiments, or can easily think of changes, or perform equivalent replacements for some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of this application. All should be covered within the protection scope of this application.
Claims
1. A method for controlling multi-terminal login of a game, characterized in that, Including: The first terminal sends a first login request to the server, and the first login request is used to request to log in to the target account. When the server determines that the status of the target account is logged in on the second terminal after receiving the first login request, the server sends a first hold suspend request to the second terminal. After receiving the first hold suspend request, the second terminal provides a suspend interface, and the second terminal controls to stop synchronizing game control with the server and controls to keep synchronizing the status of the target account with the server, so that the second terminal is in a hold suspend state for the target account. The server sends a first login response to the first terminal. After receiving the first login response, the first terminal controls to start synchronizing game control with the server, so that the first terminal is in a hold login state for the target account.
2. The method according to claim 1, wherein When the server determines that the status of the target account is logged in on the second terminal after receiving the first login request, sending a first hold suspend request to the second terminal includes: When the server determines that the status of the target account is logged in on the second terminal after receiving the first login request, the server sends first login status indication information to the first terminal, and the first login status indication information is used to indicate that the status of the target account is logged in on the second terminal. After receiving the first login status indication information, the first terminal provides a status setting control. The first terminal responds to a hold suspend setting operation on the status setting control and sends a second hold suspend request to the server, and the second hold suspend request is used to request the second terminal to suspend the target account. After receiving the second hold suspend request, the server sends a first hold suspend request to the second terminal.
3. The method according to claim 2, characterized in that, The method further includes: The first terminal responds to an offline setting operation on the status setting control and sends a first offline request to the server, and the first offline request is used to request the second terminal to go offline for the target account. After receiving the first offline request, the server sends a second offline request to the second terminal. After receiving the second offline request, the second terminal controls the target account to go offline on the second terminal.
4. The method according to claim 1, characterized in that Also including: When the second terminal in a hold suspend state for the target account determines that the first terminal is offline for the target account according to the synchronized status of the target account, the second terminal controls to start synchronizing game control with the server, so that the second terminal is in a hold login state for the target account.
5. The method according to claim 1, wherein By the terminal in a hold suspend state providing a suspend interface, it further includes: The second terminal responds to a login setting operation on the suspend interface and sends a second login request to the server. When the server determines that the status of the target account is logged in on the first terminal after receiving the second login request, the server sends a second hold suspend request to the first terminal. After receiving the second hold suspension request, the first terminal controls to stop synchronizing game control with the server, so that the first terminal is in a hold suspension state for the target account; The server sends a second login response to the second terminal; The second terminal controls to start synchronizing game control with the server, so that the second terminal is in a hold login state for the target account.
6. The method according to claim 1, wherein By providing a login interface on the terminal, the first terminal sends a first login request to the server, including: The first terminal responds to a login operation on the login interface for the target account and sends a first login request to the server.
7. The method according to claim 1, characterized in that, By providing a suspension interface on the terminal in a hold suspension state, the first terminal sends a first login request to the server, including: The first terminal responds to a cancel suspension operation on the suspension interface for the target account and sends a first login request to the server.
8. The method according to claim 1, wherein Before the step of logging in to the target account, the method further includes: The third terminal provides a multi-terminal login configuration interface; The third terminal responds to a first configuration operation on the multi-terminal login configuration interface and determines the multi-terminal login setting information of the configured target account. The multi-terminal login setting information is used to indicate the state after being kicked when being kicked; or is used to indicate the state after being kicked determined by the kicking terminal when being kicked; the state after being kicked includes a hold suspension state or an offline state; The third terminal sends the multi-terminal login setting information to the server.
9. The method according to claim 8, characterized in that, When the server determines that the state of the target account is in a hold login state on the second terminal after receiving the first login request, it sends a first hold suspension request to the second terminal, including: When the server determines that the state of the target account is in a hold login state on the second terminal after receiving the first login request, it determines the multi-terminal login setting information; Based on the multi-terminal login setting information, it sends a first hold suspension request to the second terminal.
10. The method according to claim 9, wherein Sending a first hold suspension request to the second terminal based on the multi-terminal login setting information includes: Based on the state of the target account after being kicked on the second terminal, it sends a first hold suspension request to the second terminal; Or, The first terminal determines the state of the target account after being kicked on the second terminal; based on the state of the target account after being kicked on the second terminal, it sends a first hold suspension request to the second terminal.
11. A game multi-terminal login control device, characterized in that Includes: The first terminal sends a first login request to the server and, after receiving the first login response, controls to start synchronizing game control with the server, so that the first terminal is in a hold login state for the target account. The first login request is used to request to log in to the target account; The server, when receiving the first login request, determines that the state of the target account is in a hold login state on the second terminal, sends a first hold suspension request to the second terminal, and is used to send a first login response to the first terminal; After receiving the first hold suspension request, the second terminal controls to stop synchronizing game control with the server, so that the second terminal is in a hold suspension state for the target account; The second terminal is further specifically configured to provide a suspension interface, control to stop synchronizing game control with the server, and control to keep synchronizing the status of the target account with the server.
12. A terminal device, comprising a memory and a processor, where a computer program that can run on the processor is stored in the memory, and is characterized in that When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 10 above.
13. A server, comprising a memory and a processor, wherein a computer program capable of running on the processor is stored in the memory, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 10 above.
14. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are called and run by the processor, the computer-executable instructions cause the processor to run the method according to any one of claims 1 to 10.
Citation Information
Patent Citations
Data processing method and electronic equipment
CN111007995A