Game Permission Control Method, Device, Storage Medium and Computer Equipment

By creating master-slave game accounts in the game and setting sets control permissions separately, the server pressure problem caused by the top account behavior is solved, and multiple accounts control the same player role at the same time is realized, reducing the server load.

CN115193056BActive Publication Date: 2025-08-01NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210837542.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-15
Publication Date
2025-08-01
Estimated Expiration
2042-07-15

AI Technical Summary

Technical Problem

In the prior art, the top number behavior causes the server to frequently update the account login status, which increases the operating pressure of the server.

Method used

By creating a master-slave game account, the master account and slave account control permission collection are determined separately. The master account and slave account can log in at the same time but the control permissions are different, so as to avoid the occurrence of top account behavior.

Benefits of technology

It realizes multiple accounts to control the same player role at the same time, reducing the operating pressure of the server.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115193056B_ABST
    Figure CN115193056B_ABST
Patent Text Reader

Abstract

The embodiments of the present application disclose a game permission control method, device, storage medium, and computer device. The method includes: in response to the main account and the sub-account being in the logged-in state at the same time, determining a first set of control permissions of the main account and a second set of control permissions of the sub-account respectively; the second set of control permissions includes some or all of the permissions authorized from the original set of control permissions of the main account to the sub-account; the original set of control permissions is the set of control permissions configured by the main account before the control permissions are authorized from the main account to the sub-account; determining whether to respond or not to respond to the first player control after the main account logs in to the game according to the first set of control permissions, and determining whether to respond or not to respond to the second player control after the sub-account logs in to the game according to the second set of control permissions. By creating a master-slave game account that can simultaneously control the same player character, multi-account simultaneous control can be achieved, which can avoid the occurrence of account takeover behavior, thereby reducing the operating pressure on the server.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computers, and particularly to a game permission control method, device, computer-readable storage medium, and computer device. Background Art

[0002] In recent years, with the development and popularization of computer device technology, more and more game applications have emerged, such as virtual reality applications, 3D map programs, military simulation programs, first-person shooting games (FPS), multiplayer online battle arena games (MOBA), etc.

[0003] In the prior art, taking an FPS game as an example, a user logs in to the game through an account password, and then controls the player character under the account to perform operations such as shooting and driving a vehicle after logging in.

[0004] In the process of researching and practicing the prior art, the inventors of this application found that in the prior art, the account owner may lend the account to others for use. However, if the account owner wants to log in to the account, the account logged in by others will be kicked off, that is, the account is kicked. And the account kicking behavior will cause the background server to frequently update the login status of the account, increasing the operating pressure on the server. Summary of the Invention

[0005] Embodiments of this application provide a game permission control method and device, which can avoid the occurrence of account kicking behavior, thereby reducing the operating pressure on the server.

[0006] To solve the above technical problems, the embodiments of this application provide the following technical solutions:

[0007] A game permission control method, the game includes a first player character. After a game player logs in to the game through a main account, the player can obtain the control permission to control the first player character to play the game, including:

[0008] In response to the main account and the sub-account being in the logged-in state at the same time, respectively determine the first control permission set of the main account and the second control permission set of the sub-account; wherein, the sub-account is created in response to an instruction to create a sub-account for the main account, and is used to log in to the game to obtain the control permission to control the first player character to play the game; the second control permission set includes some or all of the permissions authorized from the original control permission set of the main account to the sub-account; the original control permission set is the control permission set configured by the main account before the control permission is authorized from the main account to the sub-account.

[0009] Determine whether to respond to the first player's control after the main account logs in to the game according to the first set of control permissions, and determine whether to respond to the second player's control after the sub-account logs in to the game according to the second set of control permissions.

[0010] A game permission control device, the game includes a first player character. After a game player logs in to the game through the main account, the player can obtain the control permission to control the first player character to play the game, including:

[0011] A first determination module, configured to, in response to the main account and the sub-account being in the logged-in state at the same time, respectively determine the first set of control permissions of the main account and the second set of control permissions of the sub-account; wherein, the sub-account is created in response to an instruction to create a sub-account for the main account, and is used to log in to the game to obtain the control permission to control the first player character to play the game; the second set of control permissions includes some or all of the permissions authorized from the original control permission set of the main account to the sub-account; the original control permission set is the control permission set configured by the main account before the control permissions are authorized from the main account to the sub-account.

[0012] A second determination module, configured to determine whether to respond to the first player's control after the main account logs in to the game according to the first set of control permissions, and determine whether to respond to the second player's control after the sub-account logs in to the game according to the second set of control permissions.

[0013] A computer-readable storage medium stores multiple instructions, and the instructions are suitable for being loaded by a processor to execute the above-mentioned game permission control method.

[0014] A computer device includes a memory, a processor, and a computer program stored on the memory and executable on the processor. The processor implements the above-mentioned game permission control method when executing the program.

[0015] In the embodiments of the present application, in response to the main account and the sub-account being in the logged-in state simultaneously, the first set of control permissions of the main account and the second set of control permissions of the sub-account are determined respectively; wherein, the sub-account is created in response to an instruction to create a sub-account for the main account, and is used to log in to the game to obtain the control permission to control the first player character to play the game; the second set of control permissions includes some or all of the permissions authorized from the original set of control permissions of the main account to the sub-account; the original set of control permissions is the set of control permissions configured by the main account before the control permissions are authorized from the main account to the sub-account; according to the first set of control permissions, it is determined whether to respond to the first player's control after the main account logs in to the game, and according to the second set of control permissions, it is determined whether to respond to the second player's control after the sub-account logs in to the game. In this way, by creating a main and sub-game accounts that can control the same player character simultaneously, multi-account simultaneous control can be realized, the occurrence of account takeover behavior can be avoided, and thus the operating pressure on the server can be reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative efforts.

[0017] Figure 1a It is a system schematic diagram of the game permission control method provided by the embodiments of the present application.

[0018] Figure 1b It is a flowchart of the game permission control method provided by the embodiments of the present application.

[0019] Figure 1c It is an interface schematic diagram of the login interface provided by the embodiments of the present application.

[0020] Figure 2 It is a structural schematic diagram of the game permission control device provided by the embodiments of the present application.

[0021] Figure 3 It is a structural schematic diagram of the computer device provided by the embodiments of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0022] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative efforts belong to the scope of protection of the present application.

[0023] Please refer to Figure 1a , Figure 1a which is a schematic diagram of a system for a game permission control method provided by an embodiment of the present application. The system may include at least one client 1000, at least one computer device 2000, at least one database 3000, and a network 4000. Each application corresponds to at least one computer device 2000, and the client 1000 may be a terminal device such as a mobile phone, a computer, or a personal digital assistant. The client 1000 can be connected to the computer device 2000 or multiple computer devices 2000 through the network 4000. Among them, the network 4000 can be a wireless network or a wired network. For example, the wireless network is a wireless local area network (WLAN), a local area network (LAN), a cellular network, a 2G network, a 3G network, a 4G network, a 5G network, etc. In addition, different clients 1000 can also be connected to the computer device 2000, etc. using their own Bluetooth network or hotspot network. In addition, the system may include a database 3000, which can be used to store authentication information such as the user's account password or equipment information and character information of the player character corresponding to the user in the game.

[0024] An embodiment of the present application provides a game permission control method, which can be executed by a server. As Figure 1a shown, the computer device 2000 determines a first control permission set of the main account and a second control permission set of the sub-account respectively in response to the main account and the sub-account being in the logged-in state at the same time; wherein, the sub-account is created in response to an instruction to create a sub-account for the main account, and is used to log in to the game to obtain the control permission to control the first player character to play the game; the second control permission set includes some or all of the permissions authorized from the original control permission set of the main account to the sub-account; the original control permission set is the control permission set configured by the main account before the control permission is authorized from the main account to the sub-account; according to the first control permission set, it is determined whether to respond to the first player's control after the main account logs in to the game, and according to the second control permission set, it is determined whether to respond to the second player's control after the sub-account logs in to the game. Based on this, by creating a main and sub-game account that can control the same player character simultaneously, multi-account simultaneous control can be realized, which can avoid the occurrence of account takeover behavior, thereby reducing the operating pressure on the server.

[0025] It should be noted that Figure 1a The scene schematic diagram of the game permission control system shown is only an example. The game permission control system and scene described in the embodiments of the present application are for more clearly explaining the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. Those skilled in the art know that with the evolution of the game permission control system and the emergence of new business scenarios, the technical solutions provided by the embodiments of the present application are equally applicable to similar technical problems.

[0026] In this embodiment, a description will be made from the perspective of the data analysis device, which can be specifically integrated in a computer device with a storage unit and equipped with a microprocessor and having computing capabilities.

[0027] Please refer to Figure 1b , Figure 1b which is a schematic flowchart of the game permission control method provided by the embodiments of the present application. The game permission control method includes:

[0028] In step 101, in response to the main account and the sub-account being in the logged-in state at the same time, determine the first control permission set of the main account and the second control permission set of the sub-account respectively; wherein, the sub-account is created in response to an instruction to create a sub-account for the main account, and is used to log in to the game to obtain the control permission to control the first player character to play the game; the second control permission set includes some or all of the permissions authorized from the original control permission set of the main account to the sub-account; the original control permission set is the control permission set configured by the main account before the control permission is authorized from the main account to the sub-account.

[0029] Among them, the main account and the sub-account are accounts that can control the same player character after logging in to the game, and the main account and the sub-account are set to be able to log in at the same time. The sub-account is created through the instruction of the main account to create a sub-account, so a master-slave relationship between the accounts is formed after creation.

[0030] Specifically, in order to avoid abnormal operation caused by different operations on the first player character when the main account and the sub-account are both logged in at the same time, it is specified that the main account has the first set of control permissions, and the sub-account has the second set of control permissions. Among them, the second set of control permissions is part or all of the permissions authorized from the original set of control permissions of the main account to the sub-account. The original set of control permissions is the set of control permissions configured by the main account before the control permissions are authorized from the main account to the sub-account. Exemplarily, the original set of control permissions can be the entire set of control permissions of the game application, including all control permissions of the game application. Preferably, the first set of control permissions is other game control permissions in the original set of control permissions except the second set of control permissions, that is, the first set of control permissions and the second set of control permissions are mutually exclusive, and the first set of control permissions and the second set of control permissions together constitute the original set of control permissions.

[0031] For example, the original set of control permissions of the main account includes movement control permissions, attack control permissions, and marking control permissions. If the main account authorizes the movement control permissions to the sub-account, then the second set of control permissions of the sub-account includes the movement control permissions, and the current first set of control permissions of the main account does not include the movement control permissions, but only includes the attack control permissions and the marking control permissions.

[0032] Among them, being logged in at the same time means being logged in at the same time within the target time period. The target time period is from the login time of the later logged-in account to the logout time of the earlier logged-out account. For example, if the sub-account is the later logged-in account with a login time of 10:00, and the earlier logged-out account is the main account with a logout time of 14:00, then the target time period is from 10:00 to 14:00.

[0033] In some embodiments, before the step of responding to the main account and the sub-account being logged in at the same time, it further includes:

[0034] (1) Receiving a sub-account creation request sent by the main account, where the sub-account creation request carries the main account information of the main account and the sub-account information of the sub-account;

[0035] (2) Creating a sub-account based on the main account information and the sub-account information, and establishing the master-slave relationship between the main account and the sub-account.

[0036] Among them, as Figure 1c shown, Figure 1cThis is a schematic diagram of the login interface provided by the embodiments of the present application. The creation method of the master-slave accounts can be as follows: First, create a master account based on a master account creation request carrying master account information, and then the master account sends a slave account creation request carrying the master account information of the master account and the slave account information of the slave account, so as to create a slave account and establish a master-slave relationship between the master account and the slave account. The slave account information is the account number and password of the slave account.

[0037] Specifically, the creation of the master account can be that the user enters the official game website through the Figure 1c registration button in it to create, or the user directly enters the official game website in the browser to create, which is not limited here. The creation of the slave account can be that after the user enters the game interface through the master account, the user creates it through the slave account creation interface provided in the game interface, or the user logs in using the master account in the account management platform provided by the official game website, and creates it through the slave account creation interface provided in the account management platform after logging in. Therefore, the master-slave relationship determines which account the user sends the other account creation request through. The former is the master account, and the latter is the slave account.

[0038] Specifically, the game accounts with the master-slave relationship refer to that at least part of the game information under the accounts is the same. For example, the player characters owned by the accounts are the same. The different part of the game information can be the style of the login interface, etc. That is, the game accounts with the master-slave relationship need to ensure that at least the player characters under the accounts are the same. Thus, when the game accounts with the master-slave relationship are logged in simultaneously, the same player characters can be seen, and user A can see user B controlling the player character on client B on client A.

[0039] In some embodiments, the slave account creation request also carries the master account login method verification set for the master account and the slave account login method verification set for the slave account;

[0040] After the step of creating the slave account and establishing the master-slave relationship between the master account and the slave account, it further includes:

[0041] Configuring the master account login method verification for the master account and the slave account login method verification for the slave account;

[0042] Before the step of responding to the master account and the slave account being in the logged-in state at the same time, it further includes:

[0043] (1) Obtain the master account login method information of the master account and the slave account login method information of the slave account;

[0044] (2) Verify the slave account login method information according to the slave account login method and verify the master account login method information according to the master account login method;

[0045] (3) If the verification of the login method information passes, the main account and the sub-account are allowed to log in.

[0046] Among them, the sub-account creation request also carries the verification of the main account login method and the verification of the sub-account login method respectively set according to the user-defined main and sub-account login methods. For example, the Internet Protocol Address (IP) when the sub-account logs in, or the sub-account is allowed to log in only when the main account is online, etc., which are not limited here.

[0047] When the main account and / or the sub-account log in to the game, the sub-account login method information is verified according to the sub-account login method respectively, and the main account login method information is verified according to the main account login method. If the verification of the login method information passes, the main account and the sub-account are allowed to log in.

[0048] Specifically, when only one of the main account or the sub-account logs in to the game, only the verification according to the corresponding login method of the account needs to be performed. For example, when only the main account logs in, only the main account login method information is verified according to the main account login method. If the verification passes, the main account is allowed to log in.

[0049] In some embodiments, the step of determining the first set of control permissions of the main account and the second set of control permissions of the sub-account includes:

[0050] (1) In response to a permission request operation for the sub-account, determine the target control permission selected by the permission request operation;

[0051] (2) Determine the set composed of the target control permissions as the second set of control permissions of the sub-account;

[0052] (3) Based on the second set of control permissions, determine the first set of control permissions of the main account.

[0053] Among them, the determination of the permissions in the second set of control permissions of the sub-account can be based on the permission request operation of the sub-account to determine the target control permission selected by the permission request operation. For example, the user corresponding to the sub-account selects the control permissions that need to be obtained from multiple control permissions, and the selected control permissions are the target control permissions; the set composed of the target control permissions is determined as the second set of control permissions of the sub-account, and the set composed of the target control permissions is determined as the second set of control permissions of the sub-account. The selectable control permissions are all the permissions in the original set of control permissions.

[0054] For example, the selectable control permissions include movement control permission, attack control permission, and marking control permission. If the user of the sub-account selects the movement control permission, the movement control permission is determined as the target control permission. Since only one control permission is selected, the second control permission set only includes the movement control permission, and the first control permission set corresponding to the main account is the remaining attack control permission and marking control permission.

[0055] In some embodiments, after the step of responding to the permission request operation for the sub-account, it further includes:

[0056] (1) Generate a permission request based on the target control permission, and send the permission request to the terminal device corresponding to the main account;

[0057] (2) If the permission authorization information sent by the terminal device corresponding to the main account for the permission request is received, then perform the step of determining the set composed of the target control permission as the second control permission set of the sub-account.

[0058] Among them, after the sub-account selects the target control permission, in order to avoid the main account being unable to use the target control permission after the permission is directly transferred, a permission request can be generated based on the target control permission, and the permission request can be sent to the terminal device corresponding to the main account; the permission request is used to request the main account to authorize the target control permission to the sub-account. The player of the main account can choose to authorize or not authorize the target control permission. If authorized, the terminal device corresponding to the main account sends permission authorization information for the permission request. Therefore, when the permission authorization information sent by the terminal device corresponding to the main account for the permission request is received, then perform the step of determining the set composed of the target control permission as the second control permission set of the sub-account, that is, authorize the target control permission to the sub-account.

[0059] In some embodiments, after the step of determining the target control permission selected by the permission request operation, it further includes:

[0060] Determine the target permission type of the target control permission;

[0061] The step of determining the first control permission set of the main account based on the second control permission set includes:

[0062] If the target permission type is a preset permission type, then determine the set composed of the operation permissions other than the target control permission in the original control permission set as the first control permission set of the main account;

[0063] If the target permission type is not the preset permission type, the original control permission set is determined as the first control permission set of the main account.

[0064] Among them, the real-time control permissions for the first player character, such as the movement control permission, the attack control permission, and the marking control permission, cannot be given to both the main account and the sub-account at the same time. However, other control permissions except the real-time control permissions for the first player character can be given to both the main account and the sub-account at the same time. For example, the control permissions such as the equipment viewing control permission and the fashion viewing control permission of the first player character will not affect the real-time control of the first player character by the other account when operating in any one account. Therefore, the control permissions of this type of permission can be given to both the main account and the sub-account. Therefore, after determining the target control permission selected by the permission request operation, it is necessary to determine the target permission type of the target control permission. If the target permission type is the real-time control permission type (preset permission type) for real-time control of the first player character, the set composed of the operation permissions other than the target control permission in the original control permission set is determined as the first control permission set of the main account; if the target permission type is not the preset permission type, the original control permission set is directly determined as the first control permission set of the main account.

[0065] In some embodiments, after the step of respectively determining the first control permission set of the main account and the second control permission set of the sub-account in response to the main account and the sub-account being logged in at the same time, it further includes:

[0066] Disable the control functions of the control permissions in the original control permission set of the main account except the first control permission set, and disable the control functions of the control permissions in the original control permission set of the sub-account except the second control permission set.

[0067] Among them, after determining the first control permission set corresponding to the main account and the second control permission set corresponding to the sub-account, it is necessary to compare the original control permission set and disable the control functions according to the control permissions not owned by the main account and the sub-account respectively. For example, by comparing the original control right set, the movement control permission does not exist in the first control permission set corresponding to the main account, so the control function of the movement control permission is disabled under the main account.

[0068] Specifically, the methods of disabling the control function include not displaying the control control corresponding to the control function, or the control is displayed but any operation on the control is not accepted, or the control turns black and cannot be opened, etc., which are not limited here.

[0069] Among them, the interactive interfaces configured for different permission sets are different, that is, the first interactive interface of the master account configured with the first control permission set is different from the second interactive interface of the slave account configured with the second control permission set. For example, the interactive interface at least includes interactive controls. A slave account without the mobile control permission does not need to configure a mobile joystick control.

[0070] In step 102, according to the first control permission set, it is determined whether to respond to the first player control after the master account logs in to the game, and according to the second control permission set, it is determined whether to respond to the second player control after the slave account logs in to the game.

[0071] Among them, the control performed by the player on the master account is the first player control, and the control performed by the player on the slave account is the second player control. When the player controls the master account, it is necessary to determine whether to respond to the first player control after the master account logs in to the game according to the first control permission set; when the player controls the slave account, it is necessary to determine whether to respond to the second player control after the slave account logs in to the game according to the second control permission set.

[0072] In some embodiments, after the step of determining whether to respond to the first player control after the master account logs in to the game according to the first control permission set, and determining whether to respond to the second player control after the slave account logs in to the game according to the second control permission set, it further includes:

[0073] (1) When the master account changes from the logged-in state to the offline / hanging state, the control permissions in the first control permission set are assigned to the slave account;

[0074] (2) When the master account changes from the offline / hanging state to the logged-in state, the control permissions in the first control permission set are assigned to the master account.

[0075] Among them, when the master account in the logged-in state changes from the logged-in state to the offline or hanging state, the control permissions it currently has are assigned to the slave account for use. And when the master account changes from the offline or hanging state to the logged-in state again, the control permissions in the first control permission set are assigned to the master account. For example, when the master account changes from the logged-in state to the offline / hanging state, if the control permission in the first control permission set is the mobile control permission, then the mobile control permission is assigned to the slave account, and when the master account logs in again, the mobile control permission is re-assigned to the master account for continued use.

[0076] In some embodiments, before the step of assigning the control permissions in the first control permission set to the master account, it further includes:

[0077] (1) Generate a first permission restoration request based on the first set of control permissions, and send the first permission restoration request to the terminal device corresponding to the secondary account;

[0078] (2) If the first permission information for the first permission restoration request is received from the terminal device corresponding to the secondary account, then perform the step of assigning the control permissions in the first set of control permissions to the primary account.

[0079] Among them, before assigning the control permissions in the first set of control permissions to the primary account, a first permission restoration request can be generated from the first set of control permissions and sent to the terminal device corresponding to the secondary account. The first permission restoration request is used to restore the control permissions of the primary account. The secondary account can choose whether to agree to the first permission restoration request. If it agrees, it sends the first permission information for the first permission restoration request. Therefore, when the first permission information for the first permission restoration request is received from the terminal device corresponding to the secondary account, the step of assigning the control permissions in the first set of control permissions to the primary account is performed.

[0080] In some embodiments, after the step of determining whether to respond to the first player control after the primary account logs in to the game according to the first set of control permissions, and determining whether to respond to the second player control after the secondary account logs in to the game according to the second set of control permissions, it further includes:

[0081] (1) When the secondary account changes from the logged-in state to the offline / hanging state, assign the control permissions in the second set of control permissions to the primary account;

[0082] (2) When the secondary account changes from the offline / hanging state to the logged-in state, assign the control permissions in the second set of control permissions to the secondary account.

[0083] Among them, when the secondary account in the logged-in state changes to the offline or hanging state, the control permissions it currently has are assigned to the primary account for use. And when the secondary account changes from the offline or hanging state to the logged-in state again, the control permissions in the second set of control permissions are assigned to the secondary account. For example, when the secondary account changes from the logged-in state to the offline / hanging state, if the control permission in the second set of control permissions is the movement control permission, then the movement control permission is assigned to the primary account, and when the secondary account logs in again, the movement control permission is reassigned to the secondary account for continued use.

[0084] In some embodiments, before the step of assigning the control permissions in the second set of control permissions to the secondary account, it further includes:

[0085] (1) Generate a second permission recovery request based on the second set of control permissions, and send the second permission recovery request to the terminal device corresponding to the main account;

[0086] (2) If the second permission information for the second permission recovery request is received from the terminal device corresponding to the main account, then perform the step of assigning the control permissions in the second set of control permissions to the sub-account.

[0087] Among them, before assigning the control permissions in the second set of control permissions to the sub-account, a second permission recovery request can be generated from the second set of control permissions and sent to the terminal device corresponding to the main account. The second permission recovery request is used to restore the control permissions of the sub-account. The main account can choose whether to agree to the second permission recovery request. If it agrees, it sends the second permission information for the second permission recovery request. Therefore, when the second permission information for the second permission recovery request is received from the terminal device corresponding to the main account, then perform the step of assigning the control permissions in the second set of control permissions to the sub-account.

[0088] As can be seen from the above, in the embodiment of the present application, by responding to the main account and the sub-account being logged in simultaneously, the first set of control permissions of the main account and the second set of control permissions of the sub-account are respectively determined; among them, the sub-account is created in response to an instruction to create a sub-account for the main account, and is used to log in to the game to obtain the control permission to control the first player character to play the game; the second set of control permissions includes some or all of the permissions authorized from the original control permission set of the main account to the sub-account; the original control permission set is the control permission set configured by the main account before the control permissions are authorized from the main account to the sub-account; according to the first set of control permissions, determine whether to respond to the first player control after the main account logs in to the game, and according to the second set of control permissions, determine whether to respond to the second player control after the sub-account logs in to the game. In this way, by creating a main and sub-game account that can control the same player character simultaneously, multi-account simultaneous control can be achieved, the occurrence of account takeover behavior can be avoided, and thus the operating pressure on the server can be reduced.

[0089] To facilitate better implementation of the game permission control method provided in the embodiment of the present application, the embodiment of the present application also provides a device based on the above game permission control method. The meanings of the nouns, the implementation principles, and the beneficial technical effects are the same as those in the corresponding embodiments of the above game permission control method, and the specific implementation details can refer to the description in the method embodiments.

[0090] Please refer to Figure 2 , Figure 2A structural schematic diagram of the game permission control device provided by the embodiment of the present application, where the game permission control device may include a first determination module 201, a second determination module 202, etc.

[0091] The first determination module 201 is configured to, in response to the main account and the sub-account being in the logged-in state at the same time, respectively determine a first set of control permissions of the main account and a second set of control permissions of the sub-account; wherein, the sub-account is created in response to an instruction to create a sub-account for the main account, and is used to log in to the game to obtain the control permission to control the first player character to play the game; the second set of control permissions includes some or all of the permissions authorized from the original set of control permissions of the main account to the sub-account; the original set of control permissions is the set of control permissions configured by the main account before the control permissions are authorized from the main account to the sub-account.

[0092] The second determination module 202 is configured to determine whether to respond to the first player's control after the main account logs in to the game according to the first set of control permissions, and determine whether to respond to the second player's control after the sub-account logs in to the game according to the second set of control permissions.

[0093] In some embodiments, the first determination module 201 includes:

[0094] A first determination sub-module, configured to, in response to a permission request operation for the sub-account, determine the target control permissions selected by the permission request operation.

[0095] A second determination sub-module, configured to determine the set composed of the target control permissions as the second set of control permissions of the sub-account.

[0096] A third determination sub-module, configured to determine the first set of control permissions of the main account based on the second set of control permissions.

[0097] In some embodiments, the first determination module 201 further includes:

[0098] A generation sub-module, configured to generate a permission request based on the target control permissions and send the permission request to the terminal device corresponding to the main account.

[0099] An execution sub-module, configured to, if receiving the permission authorization information sent by the terminal device corresponding to the main account for the permission request, execute the step of determining the set composed of the target control permissions as the second set of control permissions of the sub-account.

[0100] In some embodiments, the first determination module 201 further includes:

[0101] The fourth determination sub-module is configured to determine the target permission type of the target control permission;

[0102] The third determination sub-module includes:

[0103] The first determination unit is configured to, if the target permission type is a preset permission type, determine the set formed by the operation permissions in the original control permission set other than the target control permission as the first control permission set of the main account;

[0104] The second determination unit is configured to, if the target permission type is not a preset permission type, determine the original control permission set as the first control permission set of the main account.

[0105] In some embodiments, the device further includes:

[0106] The shielding module is configured to shield the control functions of the control permissions in the original control permission set of the main account other than the first control permission set, and shield the control functions of the control permissions in the original control permission set of the sub-account other than the second control permission set.

[0107] In some embodiments, the device further includes:

[0108] The first allocation module is configured to, when the main account changes from the logged-in state to the offline / hanging state, allocate the control permissions in the first control permission set to the sub-account;

[0109] The second allocation module is configured to, when the main account changes from the offline / hanging state to the logged-in state, allocate the control permissions in the first control permission set to the main account.

[0110] In some embodiments, the device further includes:

[0111] The first generation module is configured to generate a first permission recovery request based on the first control permission set, and send the first permission recovery request to the terminal device corresponding to the sub-account;

[0112] The first execution module is configured to, if the first permission information for the first permission recovery request is received from the terminal device corresponding to the sub-account, execute the step of allocating the control permissions in the first control permission set to the main account.

[0113] In some embodiments, the device further includes:

[0114] The third allocation module is configured to, when the sub-account changes from the logged-in state to the offline / hanging state, allocate the control permissions in the second control permission set to the main account;

[0115] A fourth allocation module, configured to allocate the control authorities in the second control authority set to the slave account when the slave account changes from the logged-off / hung-up state to the logged-in state.

[0116] In some embodiments, the apparatus further includes:

[0117] A second generation module, configured to generate a second authority restoration request based on the second control authority set, and send the second authority restoration request to the terminal device corresponding to the master account;

[0118] A second execution module, configured to, if receiving second permission information from the terminal device corresponding to the master account for the second authority restoration request, execute the step of allocating the control authorities in the second control authority set to the slave account.

[0119] In some embodiments, the apparatus further includes:

[0120] A receiving module, configured to receive a slave account creation request sent by the master account, where the slave account creation request carries master account information of the master account and slave account information of the slave account;

[0121] A creation module, configured to create a slave account based on the master account information and the slave account information, and establish a master-slave relationship between the master account and the slave account.

[0122] In some embodiments, the slave account creation request further carries master account login method verification set for the master account and slave account login method verification set for the slave account;

[0123] The apparatus further includes:

[0124] A configuration module, configured to configure the master account login method verification for the master account and configure the slave account login method verification for the slave account;

[0125] The apparatus further includes:

[0126] An obtaining module, configured to obtain master account login method information of the master account and slave account login method information of the slave account;

[0127] A verification module, configured to verify the slave account login method information according to the slave account login method verification, and verify the master account login method information according to the master account login method verification;

[0128] A permission module, configured to, if the login method information verification is passed, permit the master account and the slave account to log in.

[0129] In some embodiments, the device further includes:

[0130] A third determination module, configured to determine a first quantity of manipulation authorities in the first manipulation authority set and a second quantity of manipulation authorities in the second manipulation authority set when both the primary account and the secondary account are in a logged-out state;

[0131] A fourth determination module, configured to determine the manipulation authority set corresponding to the larger quantity among the first quantity and the second quantity as the target manipulation authority set;

[0132] A storage module, configured to store game information under the target account corresponding to the target manipulation authority set.

[0133] As can be seen from the above, in the embodiment of the present application, the first determination module 201 determines the first manipulation authority set of the primary account and the second manipulation authority set of the secondary account respectively in response to the primary account and the secondary account being simultaneously in a logged-in state; wherein, the secondary account is created in response to an instruction to create a secondary account for the primary account, and is an account used to log in to the game to obtain the manipulation authority to control the first player character to play the game; the second manipulation authority set includes some or all of the authorities authorized from the original manipulation authority set of the primary account to the secondary account; the original manipulation authority set is the manipulation authority set configured by the primary account before the manipulation authority is authorized from the primary account to the secondary account; the second determination module 202 determines whether to respond to the first player's manipulation after the primary account logs in to the game according to the first manipulation authority set, and determines whether to respond to the second player's manipulation after the secondary account logs in to the game according to the second manipulation authority set. In this way, by creating a primary-secondary game account that can simultaneously manipulate the same player character, multi-account simultaneous control can be realized, the occurrence of account takeover behavior can be avoided, and thus the operating pressure on the server can be reduced.

[0134] For the specific implementation of each of the above operations, reference can be made to the previous embodiments, which will not be elaborated here.

[0135] Correspondingly, the embodiment of the present application further provides a computer device, which can be a terminal or a server, and the terminal can be a smart phone, a tablet computer, a notebook computer, a touch screen, a game console, a personal computer (PC, Personal Computer), a personal digital assistant (Personal Digital Assistant, PDA), and other terminal devices. As Figure 3 shown, Figure 3The structural schematic diagram of the computer device provided by the embodiment of the present application. The computer device 2000 includes a processor 401 with one or more processing cores, a memory 402 with one or more computer-readable storage media, and a computer program stored on the memory 402 and executable on the processor. Among them, the processor 401 is electrically connected to the memory 402. Those skilled in the art can understand that the structure of the computer device shown in the figure does not constitute a limitation on the computer device, and it may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0136] The processor 401 is the control center of the computer device 2000, connecting various parts of the entire computer device 2000 through various interfaces and lines. By running or loading software programs and / or modules stored in the memory 402, and calling data stored in the memory 402, it executes various functions of the computer device 2000 and processes data, thereby monitoring the computer device 2000 as a whole.

[0137] In the embodiment of the present application, the processor 401 in the computer device 2000 will load the instructions corresponding to the processes of one or more application programs into the memory 402 according to the following steps, and the processor 401 will run the application programs stored in the memory 402 to implement various functions:

[0138] In response to the main account and the sub-account being in the logged-in state at the same time, respectively determine the first set of control permissions of the main account and the second set of control permissions of the sub-account; wherein, the sub-account is created in response to an instruction to create a sub-account for the main account, and is used to log in to the game to obtain the control permission to control the first player character to play the game; the second set of control permissions includes some or all of the permissions authorized from the original set of control permissions of the main account to the sub-account; the original set of control permissions is the set of control permissions configured by the main account before the control permissions are authorized from the main account to the sub-account; according to the first set of control permissions, determine whether to respond or not to the first player's control after the main account logs in to the game, and according to the second set of control permissions, determine whether to respond or not to the second player's control after the sub-account logs in to the game.

[0139] For the specific implementation of each of the above operations, reference can be made to the previous embodiments, and details will not be repeated here.

[0140] Optionally, as Figure 3 shown, the computer device 2000 further includes: a touch display screen 403, an input unit 404, and a power supply 405. Among them, the processor 401 is electrically connected to the touch display screen 403, the input unit 404, and the power supply 405 respectively. Those skilled in the art can understand,Figure 3 The computer device structure shown does not constitute a limitation on the computer device, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0141] The touch display screen 403 can be used to display a graphical user interface and receive operation instructions generated by a user acting on the graphical user interface. The touch display screen 403 may include a display panel and a touch panel. Among them, the display panel can be used to display information input by the user or information provided to the user, as well as various graphical user interfaces of the computer device. These graphical user interfaces can be composed of graphics, text, icons, videos, and any combination thereof. Optionally, the display panel can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. The touch panel can be used to collect touch operations of the user on or near it (such as operations of the user using any suitable object or accessory such as a finger or a stylus on the touch panel or near the touch panel), and generate corresponding operation instructions, and the operation instructions execute the corresponding program. Optionally, the touch panel can include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the touch position of the user and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into touch point coordinates, and then sends it to the processor 401, and can receive and execute commands sent by the processor 401. The touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it transmits it to the processor 401 to determine the type of touch event. Subsequently, the processor 401 provides a corresponding visual output on the display panel according to the type of touch event. In the embodiments of the present application, the touch panel and the display panel can be integrated into the touch display screen 403 to implement input and output functions. However, in some embodiments, the touch panel and the touch panel can be implemented as two independent components to implement input and output functions. That is, the touch display screen 403 can also be used as a part of the input unit 404 to implement the input function.

[0142] In the embodiments of the present application, the processor 401 executes a game application to generate a graphical user interface on the touch display screen 403. The virtual scene on the graphical user interface includes at least one skill control area, and the skill control area includes at least one skill control. The touch display screen 403 is used to present the graphical user interface and receive operation instructions generated by a user acting on the graphical user interface.

[0143] The input unit 404 can be used to receive input digital, character information or user feature information (such as fingerprint, iris, facial information, etc.), and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.

[0144] The power supply 405 is used to supply power to each component of the computer device 2000. Optionally, the power supply 405 can be logically connected to the processor 401 through a power management system, so as to realize functions such as management of charging, discharging, and power consumption management through the power management system. The power supply 405 can also include any components such as one or more DC or AC power supplies, a recharge system, a power failure detection circuit, a power converter or inverter, and a power status indicator.

[0145] Although Figure 3 not shown in the figure, the computer device 2000 can also include a Wi-Fi module, a Bluetooth module, etc., which will not be elaborated here.

[0146] In the above embodiments, the descriptions of each embodiment have their own emphases. For parts not detailed in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0147] As can be seen from the above, the computer device provided in this embodiment, by responding to the main account and the sub-account being in the logged-in state at the same time, respectively determines the first set of control permissions of the main account and the second set of control permissions of the sub-account; wherein, the sub-account is created in response to an instruction to create a sub-account for the main account, and is used to log in to the game to obtain the control permission to control the first player character to play the game; the second set of control permissions includes some or all of the permissions authorized from the original set of control permissions of the main account to the sub-account; the original set of control permissions is the set of control permissions configured by the main account before the control permissions are authorized from the main account to the sub-account; according to the first set of control permissions, determine whether to respond to the first player's control after the main account logs in to the game, and according to the second set of control permissions, determine whether to respond to the second player's control after the sub-account logs in to the game. In this way, by creating a main and sub-game accounts that can control the same player character simultaneously, multi-account simultaneous control can be realized, which can avoid the occurrence of account takeover behavior, thereby reducing the operating pressure on the server.

[0148] Those of ordinary skill in the art can understand that all or part of the steps in the above methods of the embodiments can be completed by instructions, or by controlling relevant hardware through instructions. The instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.

[0149] To this end, an embodiment of the present application provides a computer-readable storage medium storing multiple computer programs that can be loaded by a processor to execute the steps in any control method of a skill provided by an embodiment of the present application. For example, the computer program can execute the following steps:

[0150] In response to the main account and the sub-account being in the logged-in state at the same time, determine a first set of control permissions for the main account and a second set of control permissions for the sub-account respectively; wherein, the sub-account is created in response to an instruction to create a sub-account for the main account and is used to log in to the game to obtain the control permission to control the first player character to play the game; the second set of control permissions includes some or all of the permissions authorized from the original set of control permissions of the main account to the sub-account; the original set of control permissions is the set of control permissions configured by the main account before the control permissions are authorized from the main account to the sub-account; determine whether to respond to the first player's control after the main account logs in to the game according to the first set of control permissions, and determine whether to respond to the second player's control after the sub-account logs in to the game according to the second set of control permissions.

[0151] For the specific implementation of each of the above operations, reference can be made to the previous embodiments and will not be elaborated here.

[0152] Among them, the storage medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disc, etc.

[0153] Since the computer programs stored in the storage medium can execute the steps in any game permission control method provided by an embodiment of the present application, the beneficial effects that can be achieved by any game permission control method provided by an embodiment of the present application can be realized. For details, reference can be made to the previous embodiments and will not be elaborated here.

[0154] The above has introduced in detail a game permission control method, device, storage medium and computer device provided by an embodiment of the present application. Specific examples are used in this article to elaborate on the principle and implementation manner of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application; at the same time, for those skilled in the art, according to the idea of the present application, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to the present application.

Claims

1. A game permission control method. The game includes a first player character. After a game player logs in to the game through a main account, the player can obtain the control permission to control the first player character to play the game. It is characterized in that, The method includes: In response to the main account and the sub - account being logged in simultaneously, determining a first set of control permissions for the main account and a second set of control permissions for the sub - account respectively; wherein, the sub - account is created in response to an instruction to create a sub - account for the main account, and is used to log in to the game to obtain the control permission to control the first player character to play the game; the second set of control permissions includes some or all of the permissions authorized from the original set of control permissions of the main account to the sub - account; the original set of control permissions is the set of control permissions configured for the main account before the control permissions are authorized from the main account to the sub - account; the original set of control permissions includes real - time control permissions; the first set of control permissions is the other game control permissions in the original set of control permissions except the second set of control permissions. According to the first set of control permissions, determining whether to respond to the first player's control after the main account logs in to the game, and according to the second set of control permissions, determining whether to respond to the second player's control after the sub - account logs in to the game. The method further includes: When the main account changes from the logged - in state to the offline / hanging - up state, allocating the control permissions in the first set of control permissions to the sub - account. When the main account changes from the offline / hanging - up state to the logged - in state, allocating the control permissions in the first set of control permissions to the main account. Or; When the sub - account changes from the logged - in state to the offline / hanging - up state, allocating the control permissions in the second set of control permissions to the main account. When the sub - account changes from the offline / hanging - up state to the logged - in state, allocating the control permissions in the second set of control permissions to the sub - account.

2. The game permission control method according to claim 1, wherein, The steps of determining the first set of control permissions for the main account and the second set of control permissions for the sub - account include: In response to a permission request operation for the sub - account, determining the target control permissions selected by the permission request operation. Determining the set composed of the target control permissions as the second set of control permissions for the sub - account. Based on the second set of control permissions, determining the first set of control permissions for the main account.

3. The game permission control method according to claim 2, wherein After the step of responding to the permission request operation for the sub - account, it further includes: Generating a permission request based on the target control permissions and sending the permission request to the terminal device corresponding to the main account. If receiving the permission authorization information sent by the terminal device corresponding to the main account for the permission request, then executing the step of determining the set composed of the target control permissions as the second set of control permissions for the sub - account.

4. The game permission control method according to claim 2, characterized in that, After the step of determining the target control permissions selected by the permission request operation, it further includes: Determining the target permission type of the target control permissions. The step of determining the first set of control permissions for the main account based on the second set of control permissions includes: If the target permission type is a preset permission type, then determine the set composed of the operation permissions in the original control permission set except the target control permission as the first control permission set of the main account; If the target permission type is not a preset permission type, then determine the original control permission set as the first control permission set of the main account.

5. The game permission control method according to claim 1, characterized in that After the step of respectively determining the first control permission set of the main account and the second control permission set of the slave account in response to the main account and the slave account being logged in simultaneously, the method further includes: Disable the control functions of the control permissions in the original control permission set of the main account except those in the first control permission set, and disable the control functions of the control permissions in the original control permission set of the slave account except those in the second control permission set.

6. The game privilege control method according to claim 1, characterized in that Before the step of allocating the control permissions in the first control permission set to the main account, the method further includes: Generate a first permission recovery request based on the first control permission set, and send the first permission recovery request to the terminal device corresponding to the slave account; If the first permission recovery request receives the first permission information from the terminal device corresponding to the slave account, then execute the step of allocating the control permissions in the first control permission set to the main account.

7. The game permission control method according to claim 1, wherein Before the step of allocating the control permissions in the second control permission set to the slave account, the method further includes: Generate a second permission recovery request based on the second control permission set, and send the second permission recovery request to the terminal device corresponding to the main account; If the second permission recovery request receives the second permission information from the terminal device corresponding to the main account, then execute the step of allocating the control permissions in the second control permission set to the slave account.

8. The game permission control method according to claim 1, characterized in that Before the step of responding to the main account and the slave account being logged in simultaneously, the method further includes: Receive a slave account creation request sent by the main account, where the slave account creation request carries the main account information of the main account and the slave account information of the slave account; Based on the main account information and the slave account information, create a slave account and establish the master-slave relationship between the main account and the slave account.

9. The game permission control method according to claim 8, wherein The slave account creation request further carries the main account login method verification set for the main account and the slave account login method verification set for the slave account; After the step of creating the slave account and establishing the master-slave relationship between the main account and the slave account, the method further includes: Configure the main account login method verification for the main account, and configure the slave account login method verification for the slave account; Before the step of responding to the main account and the slave account being logged in simultaneously, the method further includes: Obtain the main account login method information of the main account and the slave account login method information of the slave account; Verify the slave account login method information according to the slave account login method, and verify the main account login method information according to the main account login method; If the login method information verification is passed, then allow the main account and the slave account to log in.

10. The game permission control method according to claim 1, wherein After the steps of determining whether to respond to the first player's control after the master account logs in to the game according to the first set of control permissions, and determining whether to respond to the second player's control after the slave account logs in to the game according to the second set of control permissions, the method further includes: When both the master account and the slave account are in the logged-out state, determining a first quantity of control permissions in the first set of control permissions and determining a second quantity of control permissions in the second set of control permissions; Determining the set of control permissions corresponding to the larger quantity among the first quantity and the second quantity as the target set of control permissions; Saving the game information under the target account corresponding to the target set of control permissions.

11. A game permission control device, the game includes a first player character, after a game player logs in to the game through the main account, the game player can obtain the control permission to control the first player character to play the game, characterized in that, The device includes: A first determination module, configured to, in response to the master account and the slave account being simultaneously in the logged-in state, respectively determine a first set of control permissions of the master account and a second set of control permissions of the slave account; wherein, the slave account is created in response to an instruction to create a slave account for the master account, and is used to log in to the game to obtain the control permissions for controlling the first player character to play the game; the second set of control permissions includes some or all of the permissions authorized from the original set of control permissions of the master account to the slave account; the original set of control permissions is the set of control permissions configured by the master account before the control permissions are authorized from the master account to the slave account; the original set of control permissions includes real-time control permissions; the first set of control permissions is the other game control permissions in the original set of control permissions except the second set of control permissions; A second determination module, configured to determine whether to respond to the first player's control after the master account logs in to the game according to the first set of control permissions, and determine whether to respond to the second player's control after the slave account logs in to the game according to the second set of control permissions; The device further includes: A first allocation module, configured to, when the master account changes from the logged-in state to the logged-out / hanging state, allocate the control permissions in the first set of control permissions to the slave account; A second allocation module, configured to, when the master account changes from the logged-out / hanging state to the logged-in state, allocate the control permissions in the first set of control permissions to the master account; Alternatively, the device further includes: A third allocation module, configured to, when the slave account changes from the logged-in state to the logged-out / hanging state, allocate the control permissions in the second set of control permissions to the master account; A fourth allocation module, configured to, when the slave account changes from the logged-out / hanging state to the logged-in state, allocate the control permissions in the second set of control permissions to the slave account.

12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores multiple instructions, and the instructions are suitable for being loaded by a processor to execute the game permission control method according to any one of claims 1 to 10.

13. A computer device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the game permission control method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Method and device for multi-account authority control

    CN102955910A

  • Interaction method and device, and computer storage medium

    CN113230647A