Game account binding method, device and equipment

By generating and sending binding information including binding codes, the problem of character linkage in different game applications is solved, and the reliability and user experience of linkage are improved.

CN112619156BActive Publication Date: 2024-09-03NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202110007327.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-01-05
Publication Date
2024-09-03
Estimated Expiration
2041-01-05

AI Technical Summary

Technical Problem

In the existing technology, when game characters are linked, account binding cannot be effectively implemented due to the different operators and servers of different game applications, resulting in low reliability of character linkage and poor user experience.

Method used

By receiving binding requests sent by game clients of different game types, generating binding information including first information, second information and binding codes, and sending them to the corresponding servers, the first game application and the second game application are implemented role linkage.

Benefits of technology

Improved the reliability and user experience of character linkage, ensuring that characters in different game applications can be successfully linked, even if the operators and servers are different.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112619156B
    Figure CN112619156B
Patent Text Reader

Abstract

The embodiment of the present application provides a method, device and equipment for binding a game account, including: receiving corresponding first binding requests respectively sent by game clients of different game types, wherein the first binding requests sent by game clients of different game types include first information corresponding to a first game application and second information corresponding to a second game application; generating binding information according to the first binding request, the binding information including the first information, the second information and a binding code; and sending the binding information to a server corresponding to the first game application and a server corresponding to the second game application. The reliability of role linkage is improved and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of computer technology, and in particular to a method, device and equipment for binding a game account. Background Art

[0002] In online games, there is often a need for character linkage, for example, character A in game 1 can appear in game 2.

[0003] In the prior art, role linkage is usually achieved through direct account binding. For example, a game client sends a request message to a server through a first game application to bind an account with a second game application. The request message includes the account of the first game application and the account of the second game application. The server binds the account of the first game application and the account of the second game application according to the request message, and records the account information of the bound game applications. However, when the operators of the first game application and the second game application are different, that is, when the servers corresponding to the first game application and the second game application are different, the server does not record the account information of the first game application and the second game application at the same time, resulting in the inability to achieve role linkage through account binding, resulting in low reliability of role linkage and poor user experience. Summary of the invention

[0004] The embodiments of the present application provide a method, device and equipment for binding a game account, which are used to improve the reliability of role linkage and improve the user experience.

[0005] In a first aspect, an embodiment of the present application provides a method for binding a game account, comprising:

[0006] Receiving corresponding first binding requests respectively sent by a plurality of game clients of different game types, wherein the first binding requests sent by the game clients of different game types include first information corresponding to the first game application and second information corresponding to the second game application;

[0007] generating binding information according to the first binding request, the binding information including the first information, the second information and a binding code;

[0008] The binding information is sent to a server corresponding to the first game application and a server corresponding to the second game application.

[0009] In a possible implementation manner, generating binding information according to the first binding request includes:

[0010] According to the first information and the second information, querying whether the binding information exists in the first database;

[0011] If yes, obtaining the binding information in the first database;

[0012] If not, generate the binding code and send the binding code to the game client corresponding to the first game application, receive the second binding request sent by the game client corresponding to the second game application, and generate the binding information according to the second binding request, the second binding request including the second information and the binding code.

[0013] In a possible implementation, the obtaining the binding code includes:

[0014] According to the first information and the second information, querying a second database whether the binding code exists;

[0015] If yes, obtaining the binding code from the second database;

[0016] If not, the binding code is generated.

[0017] In a possible implementation manner, after generating the binding code, the method further includes:

[0018] The first information, the second information and the binding code are stored in the second database.

[0019] In a possible implementation manner, the generating the binding information according to the second binding request includes:

[0020] acquiring, according to the second database, timeout information of the second binding request, where the timeout information is used to indicate whether the second binding request has timed out;

[0021] When it is determined according to the timeout information that the second binding request has not timed out, the binding information is generated according to the second binding request.

[0022] In a possible implementation manner, if the binding code exists in the second database, the timeout information indicates that the second binding request has not timed out;

[0023] If the binding code does not exist in the second database, the timeout information indicates that the second binding request has timed out; wherein the storage time of the data in the second database is a preset time.

[0024] In a possible implementation, the receiving corresponding first binding requests respectively sent by game clients of multiple different game types includes:

[0025] Receive corresponding first binding requests respectively sent by game clients of multiple different game types through a first game application, where the first binding requests are generated by the game clients according to a binding operation input by a user in the first game application.

[0026] In a possible implementation, the receiving a second binding request sent by a game client corresponding to the first game application includes:

[0027] The second binding request is received, which is sent by a game client corresponding to the first game application through a second game application, where the second binding request is generated by the game client according to a binding operation input by a user in the second game application.

[0028] In a possible implementation, the first information includes an identifier of a first game application and a first account in the first game application, and the second information includes an identifier of a second game application and a second account in the second game application.

[0029] In a second aspect, an embodiment of the present application provides a game account binding device, including:

[0030] A receiving module, configured to receive corresponding first binding requests respectively sent by a plurality of game clients of different game types, wherein the first binding requests sent by the game clients of different game types include first information corresponding to the first game application and second information corresponding to the second game application;

[0031] a generating module, configured to generate binding information according to the first binding request, the binding information including the first information, the second information and a binding code;

[0032] A sending module is used to send the binding information to the server corresponding to the first game application and the server corresponding to the second game application.

[0033] In a possible implementation manner, the generating module is specifically used for:

[0034] According to the first information and the second information, querying whether the binding information exists in the first database;

[0035] If yes, obtaining the binding information in the first database;

[0036] If not, generate the binding code and send the binding code to the game client corresponding to the first game application, receive the second binding request sent by the game client corresponding to the second game application, and generate the binding information according to the second binding request, the second binding request including the second information and the binding code.

[0037] In a possible implementation manner, the generating module is specifically used for:

[0038] According to the first information and the second information, querying a second database whether the binding code exists;

[0039] If yes, obtaining the binding code from the second database;

[0040] If not, the binding code is generated.

[0041] In a possible implementation, the device further includes:

[0042] A storage module is used to store the first information, the second information and the binding code in the second database.

[0043] In a possible implementation manner, the generating module is specifically used for:

[0044] acquiring, according to the second database, timeout information of the second binding request, where the timeout information is used to indicate whether the second binding request has timed out;

[0045] When it is determined according to the timeout information that the second binding request has not timed out, the binding information is generated according to the second binding request.

[0046] In a possible implementation manner, if the binding code exists in the second database, the timeout information indicates that the second binding request has not timed out;

[0047] If the binding code does not exist in the second database, the timeout information indicates that the second binding request has timed out; wherein the storage time of the data in the second database is a preset time.

[0048] In a possible implementation manner, the receiving module is specifically configured to:

[0049] Receive corresponding first binding requests respectively sent by game clients of multiple different game types through a first game application, where the first binding requests are generated by the game clients according to a binding operation input by a user in the first game application.

[0050] In a possible implementation manner, the generating module is specifically used for:

[0051] The second binding request is received, which is sent by a game client corresponding to the first game application through a second game application, where the second binding request is generated by the game client according to a binding operation input by a user in the second game application.

[0052] In a possible implementation, the first information includes an identifier of a first game application and a first account in the first game application, and the second information includes an identifier of a second game application and a second account in the second game application.

[0053] In a third aspect, an embodiment of the present application provides a game account binding device, including: at least one processor and a memory;

[0054] The memory is used to store computer program instructions;

[0055] The at least one processor is used to execute the computer program instructions stored in the memory, so that the game client executes the method described in any one of the first aspects above.

[0056] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer program instructions. When a processor executes the computer program instructions, the method described in any one of the above-mentioned first aspects is executed.

[0057] The embodiments of the present application provide a method, device and equipment for binding a game account, which receives corresponding first binding requests respectively sent by game clients of multiple different game types, wherein the first binding requests sent by game clients of different game types include first information corresponding to the first game application and second information of the second game application; generates binding information according to the first binding request, the binding information includes the first information, the second information and the binding code; and sends the binding information to the server corresponding to the first game application and the server corresponding to the second game application. In the above process, when the servers corresponding to the first game application and the second game application are different, the role linkage of the first game application and the second game application can be achieved by obtaining the binding information of the first game application and the second game application, and sending the binding information to the server corresponding to the first game application and the server corresponding to the second game application, thereby improving the reliability of the role linkage and the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0059] Figure 1 A schematic diagram of an application scenario of a method for binding a game account provided in an embodiment of the present application;

[0060] Figure 2 A flowchart of a method for binding a game account provided in an embodiment of the present application;

[0061] Figure 3 A schematic diagram of the architecture of a method for binding a game account provided in an embodiment of the present application;

[0062] Figure 4 A schematic diagram of a process in which a user inputs a binding operation in a first game application provided in an embodiment of the present application;

[0063] Figure 5 A flowchart of another method for binding a game account provided in an embodiment of the present application;

[0064] Figure 6 A schematic diagram of a page display of a binding code provided in an embodiment of the present application;

[0065] Figure 7 A schematic diagram of a process in which a user inputs a binding operation in a second game application provided in an embodiment of the present application;

[0066] Figure 8 A schematic diagram of the structure of a game account binding device provided in an embodiment of the present application;

[0067] Fig. 9 A schematic diagram of the hardware structure of a game account binding device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0068] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0069] Figure 1 A schematic diagram of an application scenario of a method for binding a game account provided in an embodiment of the present application. Figure 1 , including a game client 101 and a server 102. Among them, the game client 101 can be installed with a first game application 101a and a second game application 101b. The first game application 101a and the second game application 101b can be online game applications. For example, the first game application 101a and the second game application 101b can be role-playing applications, adventure game applications, fighting applications, etc. There will be multiple roles in the first game application 101a and the second game application 101b. The roles in the first game application 101a and the second game application 101b are different. Usually, one user corresponds to one role in one application. The server 102 can be an application server, which is used to provide services to the first game application 101a and the second game application 101b. For example, the server 102 can provide user registration services, role material provision services, props payment strategy services, user points services, etc.

[0070] In the actual application process, there is usually a demand for role linkage, for example, the character in the second game application 101b can appear in the first game application 101a. In the prior art, role linkage is usually achieved through account binding. For example, the game client sends a request message to the server 102 through the first game application 101a to bind the account with the second game application 101b. The server binds the account of the first game application 101a and the account of the second game application 101b according to the request message, and records the account information of the bound first game application 101a and the second game application 101b. However, when the operators of the first game application 101a and the second game application 101b are different, that is, the servers corresponding to the first game application 101a and the second game application 101b are different, the server 102 does not record the account information of the first game application and the second game application at the same time, resulting in the inability to achieve role linkage through account binding, resulting in low reliability of role linkage and poor user experience.

[0071] In the present application, binding requests sent by multiple game clients 101 of different game types are received by a server different from the application server. The binding requests may include first information of the first game application 101a and second information of the second game application 101b. According to the first binding request, binding information is generated. The binding information may include the first information, the second information and the binding code. The binding information is sent to the server corresponding to the first game application 101a and the server corresponding to the second game application 101b. Therefore, when the servers corresponding to the first game application 101a and the second game application 101b are different, the binding information of the first game application 101a and the second game application 101b can be obtained through the server, and the binding information can be sent to the server corresponding to the first game application 101a and the server corresponding to the second game application 101b, thereby completing the role linkage between the server corresponding to the first game application 101a and the second game application 101b. Therefore, the reliability of the role linkage is improved and the user experience is improved.

[0072] It should be noted that Figure 1 This is just an example to illustrate a possible application scenario, and is not intended to limit the application scenario.

[0073] The technical solution shown in the present application is described in detail below through specific embodiments. It should be noted that the following specific embodiments can be combined with each other, and the same or similar contents will not be repeatedly described in different embodiments.

[0074] Figure 2 A flowchart of a method for binding a game account provided in an embodiment of the present application. Figure 2 , the method may include:

[0075] S201. Receive corresponding first binding requests respectively sent by game clients of multiple different game types.

[0076] The execution subject of the embodiment of the present application may be a server, or a binding device for a game account set in the server. Optionally, the server may be different from the application server corresponding to the game application, and the binding device for the game account may be implemented by software or by a combination of software and hardware. For ease of description, the following description is made by taking the execution subject as a server as an example.

[0077] The server can provide role linkage services to the game client. When the operators of different game applications are different, the application servers of different game applications are different accordingly. For example, the game applications to be bound are the first game application and the second game application, respectively. The application server corresponding to the first game application is the first application server, and the application server corresponding to the second game application is the second application server, wherein the first application server and the second application server can be the same or different. When the operators of the first game application and the second game application are the same, the first application server and the second application server are the same; when the operators of the first game application and the second game application are different, the first application server and the second application server are different.

[0078] The game client may be a smart phone, a tablet computer, a desktop computer, etc. A game application may be installed on the game client, and the game application may be an online game application, through which the user can experience the game. The game application may include one or more game applications. When there are multiple game applications, the user may link the characters in the multiple game applications. For example, when the game client includes a first game application and a second game application, the user may link the characters in the first game application and the second game application, so that the first character in the first game application may appear in the second game application, or the second character in the second game application may appear in the first game application.

[0079] Optionally, the number of game clients may be one or more. When the number of game clients is more than one, the server may receive corresponding first binding requests respectively sent by game clients of multiple different game types.

[0080] Optionally, the first binding request may include the first information of the first game application and the second information of the second game application. Optionally, the first information may include the identifier of the first game application and the first account in the first game application, the second information may include the identifier of the second game application and the second account in the second game application, and the server is different from the application server of the first game application and the application server of the second game application. Among them, the identifier of the first game application is used to identify the first game application, the first account may be the identity document (ID) of the character of the first game application, the first account may be represented by a number, or by a combination of numbers and letters, the number of digits of the first account may be six digits, or any number of digits, for example, the first account may be represented as: 452613. A user may create at least one first account through the first game application, and log in to the first game application to access the service through one of the first accounts. For example, the identifier of the first game application is game 1, the first account in the first game application is role ID1, the first information may include: game 1, role ID1, the identifier of the second game application is game 2, the second account of the second game application is role ID2, and the second information may include: game 2, role ID2.

[0081] Optionally, the types of the first game application and the second game application corresponding to the first binding request sent by different game clients are different. For example, the first game application and the second game application corresponding to the first binding request sent by the Onmyoji client may be Onmyoji and Knives Out, respectively; the first game application and the second game application corresponding to the first binding request sent by the Monster House client may be Monster House and Above the Black Tide.

[0082] Optionally, a linkage service process may be set in the server, and the server may provide role linkage services to a preset number of game clients through the linkage service process. Figure 3 , the architecture of a game account binding method provided in an embodiment of the present application is described.

[0083] Figure 3 This is a schematic diagram of the architecture of a method for binding a game account provided in an embodiment of the present application. Figure 3 , including multiple game clients, multiple servers and a database, wherein each server is provided with a linkage service process for providing role linkage services to the game client, and the database can store linkage status data and binding relationship data, for example, the database can include a Redis database and / or a mongodb database.

[0084] When the number of game clients exceeds a preset number, multiple servers may be set, and a linkage service process may be set in each server, and role linkage services are provided to game clients of multiple different game types through the linkage service processes set in multiple servers. Optionally, multiple linkage service processes may be the same, and the number of game clients corresponding to each linkage service process may also be the same. When multiple game clients of different game types send first binding requests respectively, the game client may disperse the multiple first binding requests through a preset algorithm, so that the multiple first binding requests are dispersed and sent to different servers provided with linkage service processes. Optionally, the preset algorithm may include a consistent hashing algorithm, a polling algorithm, etc., which is not specifically limited in this application. The server may be connected to a database and send linkage data to the database. For example, the linkage data may include linkage status data and binding relationship data.

[0085] Optionally, the server may receive corresponding first binding requests respectively sent by game clients of multiple different game types through the following feasible implementation method: receiving corresponding first binding requests respectively sent by game clients of multiple different game types through the first game application, wherein the first binding request is generated by the game client according to a binding operation input by the user in the first game application. Optionally, when the second game application includes multiple characters, the user may select any one of the multiple characters and link any one of the characters in the second game application with the character logged in in the first game application. Figure 4 , describes the process of a user inputting a binding operation in a first game application.

[0086] Figure 4 A schematic diagram of the process of a user inputting a binding operation in a first game application provided in an embodiment of the present application includes page 4A, page 4B, and page 4C.

[0087] Please refer to page 4A. The user logs in to game 1 through character 1. The page of game 1 can display one or more icons of other games. For example, the page of game 1 can display icons of game 2 and game 3. The characters in game 1 can interact with the characters in game 1 or game 2. For example, when the user needs to interact with character 3 in game 2, the user can click the icon of game 2 on the page of game 1.

[0088] Please refer to page 4B. Game 2 may include one or more characters, and any character in Game 2 may be linked with a character in Game 1. For example, Game 2 includes character 2 and character 3, and the user may select character 3 to be linked with character 1. When the user selects character 3 to be linked with character 1, the user may click the icon of character 3.

[0089] Referring to page 4C, after the user selects character 3, the page of game 1 may display a control for binding an account, for example, the control may display "bind account". When the user confirms binding character 1 and character 3, the user may click the control for binding an account.

[0090] S202: Generate binding information according to the first binding request.

[0091] The binding information may include the first information, the second information and the binding code. The first information may include the identifier of the first game application and the first account in the first game application, and the second information may include the identifier of the second game application and the second account in the second game application. The server may bind the first game application and the second game application through the binding code. The binding code may be a number or a combination of numbers and letters, and the number of digits in the binding code may be fixed. For example, the binding code may be: 197892031.

[0092] Optionally, the binding code can be obtained by a chaotic encryption algorithm, and the specific implementation method of the chaotic encryption algorithm to obtain the binding code can be implemented by existing technologies, and the detailed process is not repeated in this application. The chaotic encryption algorithm makes the binding code random and difficult to crack, thereby improving the linkage security.

[0093] Optionally, the binding information may be as shown in Table 1:

[0094] Table 1

[0095]

[0096] Optionally, binding information can be generated according to the first binding request through the following feasible implementation method: based on the first information and the second information, it can be queried whether the binding information exists in the first database; if so, the binding information is obtained in the first database; if not, a binding code is generated, and the binding code is sent to the game client corresponding to the first game application, a second binding request sent by the game client corresponding to the second game application is received, and binding information is generated according to the second binding request, and the second binding request includes the second information and the binding code. Among them, the first database is used to store binding information. For example, the first database can be a mongodb database. The binding information stored in the first database can be one or more pieces. Below, in combination with Table 2, a possible implementation method of the binding information stored in the first database is described.

[0097] Table 2

[0098]

[0099] Please refer to Table 2. There may be multiple pieces of binding information stored in the first database. The character ID1 in game 1 may be linked with different characters in game 2, and the character ID1 in game 1 may also be linked with characters in multiple games.

[0100] When binding information exists in the first database, the server obtains the binding information in the first database. For example, when the first information of the first binding request includes game 1 and character ID 1, and the second information includes game 2 and character ID 3, the server can obtain the binding information in the first database. The binding information can be shown in Table 3:

[0101] Table 3

[0102]

[0103] Optionally, the server may obtain a binding code from the list of the binding information, for example, the binding code is binding code 2.

[0104] When the binding information does not exist in the first database, the process of the server generating the binding information is combined with Figure 5 A detailed description is given and no further elaboration is given here.

[0105] S203: Send binding information to a server corresponding to the first game application and a server corresponding to the second game application.

[0106] Optionally, the server corresponding to the first game application may be a first application server, and the server corresponding to the second game application may be a second application server, wherein the first application server is used to provide application services to the first game application, and the second application server is used to provide application services to the second game application, for example, the services may include user registration services, character material provision services, item payment strategy services, user points services, advertising dissemination services, etc. Optionally, the operators of the first application server and the second application server may be the same or different.

[0107] Optionally, after the server sends binding information to the first application server and the second application server, it may also include: the server can receive the data file of the linked character of the first game application sent by the first application server, and send the data file of the linked character of the first game application to the second application server; the server can receive the data file of the linked character of the second game application sent by the second application server, and send the data file of the linked character of the second game application to the first application server. The data file of the linked character may include resource data files such as props, points, skills, etc. of the linked character, as well as configuration files.

[0108] For example: in the process of binding character ID1 of game 1 and character ID2 of game 2, after sending binding information to game 1 and game 2 respectively, the server can receive the data file of character ID1 sent by the application server of game 1, and send the data file of character ID1 to the application server of game 2; the server can receive the data file of character ID2 sent by the application server of game 2, and send the data file of character ID2 to the application server of game 1.

[0109] Optionally, the data files of the linkage role can be stored in the second database, and the second database can be a Redis database. Optionally, after the linkage ends, the data files stored in the second database can be deleted so that the storage space of the second database does not become smaller and smaller.

[0110] The embodiment of the present application provides a method for binding a game account, which receives corresponding first binding requests respectively sent by multiple game clients of different game types, wherein the first binding requests sent by the game clients of different game types include first information corresponding to the first game application and second information of the second game application; generates binding information according to the first binding request, the binding information includes the first information, the second information and the binding code; and sends the binding information to the server corresponding to the first game application and the server corresponding to the second game application. In the above process, when the servers corresponding to the first game application and the second game application are different, the role linkage of the first game application and the second game application can be achieved by obtaining the binding information of the first game application and the second game application, and sending the binding information to the server corresponding to the first game application and the server corresponding to the second game application, thereby improving the reliability of the role linkage and the user experience.

[0111] Based on the above embodiments, Figure 5 , a process of generating binding information by the server when the binding information does not exist in the first database is described in detail.

[0112] Figure 5 A flowchart of another method for binding a game account provided in an embodiment of the present application. Figure 5 , the method may include:

[0113] S501: Generate a binding code.

[0114] Optionally, the server may generate a binding code in the following feasible implementation manner: querying whether the binding code exists in the second database according to the first information and the second information; if so, the server obtains the binding code in the second database; if not, the server generates a binding code.

[0115] Among them, the second database can temporarily store binding information, and the second database can be a Redis database. When a binding code is stored in the second database, it indicates that the server has generated a binding code before completing the role linkage, and the server can obtain the binding code from the second database without generating the binding code again; when a binding code is not stored in the second database, it indicates that the server has not generated a binding code. Accordingly, the server can generate a binding code and store the binding code in the second database. Optionally, the server can generate a binding code through a chaotic encryption algorithm, and the mapping of continuous numbers to discrete numbers can make the binding code random, thereby improving the linkage security.

[0116] Optionally, the server may store the first information, the second information and the binding code in the first binding request in the second database according to the first binding request. The storage format may be as shown in Table 1, which will not be described in detail here.

[0117] S502: Send a binding code to a game client corresponding to the first game application.

[0118] After the server obtains the binding code, the server can send the binding code to the game client corresponding to the first game application. Correspondingly, the page of the first game application of the game client can display the binding code. Figure 6 , a possible display method of displaying the binding code on the page of the first game application of the game client is described.

[0119] Figure 6 A schematic diagram of a binding code page display provided in an embodiment of the present application. Figure 6 When the first game application is Game 1, the page of Game 1 can display the binding code in the manner shown in the figure. Optionally, the user can click the "Copy" control to copy the binding code. Optionally, when the user cancels the binding, the user can also click the close control to close the display page.

[0120] S503: Receive a second binding request sent by a game client corresponding to the second game application.

[0121] The game client corresponding to the second game application and the game client corresponding to the first game application may be the same client or different clients.

[0122] The second binding request may include the second information and the binding code. The second information may include the identifier of the second game application and the second account in the second game application. For example, when the second game application is game 2, the second account is character ID2, and the binding code is binding code 2, the second binding request may include game 2, character ID2, and binding code 2. The second binding request may be as shown in Table 4:

[0123] Table 4

[0124]

[0125] Optionally, the server may receive the second binding request sent by the game client corresponding to the second game application in the following feasible implementation manner: receiving the second binding request sent by the game client corresponding to the second game application through the second game application, where the second binding request is generated by the game client according to the binding operation input by the user in the second game application. Figure 7 , describes the process of a user inputting a binding operation in a second game application.

[0126] Figure 7 A schematic diagram of the process of a user inputting a binding operation in a second game application provided in an embodiment of the present application includes pages 7A-7D.

[0127] Please refer to page 7A. The user logs in to game 2 through character 2. The page of game 2 can display one or more icons of other games. For example, the page of game 2 can display icons of game 1 and game 3. When character 2 in game 2 is linked with character 1 in game 1, the user can click the icon of game 1 on the page of game 2.

[0128] Please refer to page 7B. Game 1 may include one or more characters, and any character in game 1 may be linked with a character in game 2. For example, game 1 includes character 1 and character 3, and the user may select character 1 to be linked with character 2. When the user selects character 1 to be linked with character 2, the user may click the icon of character 2.

[0129] Please refer to page 7C. After the user selects character 1, the page of game 2 may display a control for binding an account. For example, the control may display "bind account". When the user confirms to bind character 2 and character 1, the user may click the control for binding an account.

[0130] Please refer to page 7D. The page of Game 2 can prompt the user to enter the binding code of Game 1. For example, the page of Game 2 prompts: "Enter the binding code of Game 1". A text input control can be set below the prompt to enter the binding code. After the user enters the binding code, he can click to confirm the associated control.

[0131] S504: Generate binding information according to the second binding request.

[0132] Optionally, binding information may be generated according to the second binding request in the following feasible implementation manner: obtaining timeout information of the second binding request according to the second database; and generating binding information according to the second binding request when it is determined according to the timeout information that the second binding request has not timed out.

[0133] The timeout information may be used to indicate whether the second binding request has timed out. For example, when the time interval between generating the binding code and receiving the second binding request message is greater than or equal to a preset duration, the second binding request times out. For example, the preset duration may be 10 seconds.

[0134] Optionally, if the binding code exists in the second database, the timeout information may indicate that the second binding request has not timed out;

[0135] If the binding code does not exist in the second database, the timeout information may indicate that the second binding request has timed out; wherein the storage duration of the data in the second database is a preset duration.

[0136] Optionally, after a preset time period has passed, the data is deleted from the second database.

[0137] Optionally, when the server determines that the second binding request has not timed out based on the timeout information, it can query through the first database whether the first game application and the second game application have been bound. For example, the server can query in the first database whether there is binding information based on the second binding request; if so, the server sends a prompt message to the game client, the prompt message is used to prompt the user that the first game application and the second game application have been bound; if not, the server generates binding information based on the second binding request.

[0138] The embodiment of the present application provides a method for binding a game account, which receives corresponding first binding requests respectively sent by multiple game clients of different game types, wherein the first binding requests sent by the game clients of different game types include first information corresponding to the first game application and second information of the second game application; generates binding information according to the first binding request, the binding information includes the first information, the second information and the binding code; and sends the binding information to the server corresponding to the first game application and the server corresponding to the second game application. In the above process, when the servers corresponding to the first game application and the second game application are different, the role linkage of the first game application and the second game application can be achieved by obtaining the binding information of the first game application and the second game application, and sending the binding information to the server corresponding to the first game application and the server corresponding to the second game application, thereby improving the reliability of the role linkage and the user experience.

[0139] Figure 8 This is a schematic diagram of a game account binding device provided in an embodiment of the present application. Figure 8 , the game account binding device 10 includes:

[0140] The receiving module 11 is used to receive corresponding first binding requests respectively sent by game clients of different game types, wherein the first binding requests sent by the game clients of different game types include first information corresponding to the first game application and second information of the second game application;

[0141] A generating module 12, configured to generate binding information according to the first binding request, the binding information including the first information, the second information and a binding code;

[0142] The sending module 13 is used to send the binding information to the server corresponding to the first game application and the server corresponding to the second game application.

[0143] In a possible implementation manner, the generating module 12 is specifically configured to:

[0144] According to the first information and the second information, querying whether the binding information exists in the first database;

[0145] If yes, obtaining the binding information in the first database;

[0146] If not, generate the binding code and send the binding code to the game client corresponding to the first game application, receive the second binding request sent by the game client corresponding to the second game application, and generate the binding information according to the second binding request, the second binding request including the second information and the binding code.

[0147] In a possible implementation manner, the generating module 12 is specifically configured to:

[0148] According to the first information and the second information, querying a second database whether the binding code exists;

[0149] If yes, obtaining the binding code from the second database;

[0150] If not, the binding code is generated.

[0151] In a possible implementation, the device further includes:

[0152] The storage module 14 is used to store the first information, the second information and the binding code in the second database.

[0153] In a possible implementation manner, the generating module 12 is specifically configured to:

[0154] acquiring, according to the second database, timeout information of the second binding request, where the timeout information is used to indicate whether the second binding request has timed out;

[0155] When it is determined according to the timeout information that the second binding request has not timed out, the binding information is generated according to the second binding request.

[0156] In a possible implementation manner, if the binding code exists in the second database, the timeout information indicates that the second binding request has not timed out;

[0157] If the binding code does not exist in the second database, the timeout information indicates that the second binding request has timed out; wherein the storage time of the data in the second database is a preset time.

[0158] In a possible implementation manner, the receiving module 11 is specifically configured to:

[0159] Receive corresponding first binding requests respectively sent by game clients of multiple different game types through a first game application, where the first binding requests are generated by the game clients according to a binding operation input by a user in the first game application.

[0160] In a possible implementation manner, the generating module 12 is specifically configured to:

[0161] The second binding request is received, which is sent by a game client corresponding to the first game application through a second game application, where the second binding request is generated by the game client according to a binding operation input by a user in the second game application.

[0162] In a possible implementation, the first information includes an identifier of a first game application and a first account in the first game application, and the second information includes an identifier of a second game application and a second account in the second game application.

[0163] The game account binding device provided in the embodiment of the present application can execute the technical solution shown in the above method embodiment, and its implementation principle and beneficial effects are similar, which will not be repeated here.

[0164] Fig. 9 A schematic diagram of the hardware structure of a game account binding device provided in an embodiment of the present application. Fig. 9 The game account binding device 20 may include: a processor 21 and a memory 22, wherein the processor 21 and the memory 22 can communicate; illustratively, the processor 21 and the memory 22 communicate via a communication bus 23, the memory 22 is used to store program instructions, and the processor 21 is used to call the program instructions in the memory to execute the game account binding method shown in any of the above method embodiments.

[0165] Optionally, the game account binding device 20 may further include a communication interface, and the communication interface may include a transmitter and / or a receiver.

[0166] Optionally, the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the method disclosed in the present application may be directly implemented as being executed by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor.

[0167] An embodiment of the present application provides a readable storage medium, on which a computer program is stored; the computer program is used to implement the method for binding a game account as described in any of the above embodiments.

[0168] An embodiment of the present application provides a computer program product, which includes instructions. When the instructions are executed, a computer executes the above-mentioned game account binding method.

[0169] All or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a readable memory. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned memory (storage medium) includes: read-only memory (English: read-only memory, abbreviated: ROM), RAM, flash memory, hard disk, solid state drive, magnetic tape (English: magnetic tape), floppy disk (English: floppy disk), optical disc (English: optical disc) and any combination thereof.

[0170] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processing unit of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1A device that provides the functions specified in a block or multiple blocks.

[0171] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0172] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0173] Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

[0174] In the present application, the term "include" and its variations may refer to non-restrictive inclusion; the term "or" and its variations may refer to "and / or". The terms "first", "second", etc. in the present application are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. In the present application, "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the previously associated objects are in an "or" relationship.

Claims

1. A method for binding a game account, characterized in that: include: Receiving corresponding first binding requests respectively sent by game clients of multiple different game types, wherein the first binding requests sent by the game clients of the different game types include first information corresponding to a first game application and second information of a second game application, wherein the first information includes an identifier of the first game application and a first account in the first game application, and the second information includes an identifier of the second game application and a second account in the second game application; generating binding information according to the first binding request, the binding information including the first information, the second information and a binding code; Sending the binding information to a server corresponding to the first game application and a server corresponding to the second game application; The generating binding information according to the first binding request includes: According to the first information and the second information, querying whether the binding information exists in the first database; If yes, obtaining the binding information in the first database; If not, generate the binding code and send the binding code to the game client corresponding to the first game application, receive the second binding request sent by the game client corresponding to the second game application, and generate the binding information according to the second binding request, the second binding request including the second information and the binding code.

2. The method according to claim 1, characterized in that The generating the binding code comprises: According to the first information and the second information, querying a second database whether the binding code exists; If yes, obtaining the binding code from the second database; If not, the binding code is generated.

3. The method according to claim 2, characterized in that After generating the binding code, the method further includes: The first information, the second information and the binding code are stored in the second database.

4. The method according to claim 2 or 3, characterized in that: The generating the binding information according to the second binding request includes: acquiring, according to the second database, timeout information of the second binding request, where the timeout information is used to indicate whether the second binding request has timed out; When it is determined according to the timeout information that the second binding request has not timed out, the binding information is generated according to the second binding request.

5. The method according to claim 4, characterized in that If the binding code exists in the second database, the timeout information indicates that the second binding request has not timed out; If the binding code does not exist in the second database, the timeout information indicates that the second binding request has timed out; wherein the storage time of the data in the second database is a preset time.

6. The method according to any one of claims 1 to 3, characterized in that: The receiving corresponding first binding requests respectively sent by game clients of multiple different game types includes: Receive corresponding first binding requests respectively sent by game clients of multiple different game types through a first game application, where the first binding requests are generated by the game clients according to a binding operation input by a user in the first game application.

7. The method according to any one of claims 1 to 3, characterized in that: The receiving a second binding request sent by a game client corresponding to the second game application includes: The second binding request is received from a game client corresponding to the second game application and sent through the second game application, where the second binding request is generated by the game client according to a binding operation input by a user in the second game application.

8. A device for binding a game account, characterized in that: include: A receiving module, configured to receive corresponding first binding requests respectively sent by game clients of multiple different game types, wherein the first binding requests sent by the game clients of the different game types include first information corresponding to a first game application and second information corresponding to a second game application, wherein the first information includes an identifier of the first game application and a first account in the first game application, and the second information includes an identifier of the second game application and a second account in the second game application; a generating module, configured to generate binding information according to the first binding request, the binding information including the first information, the second information and a binding code; A sending module, used to send the binding information to a server corresponding to the first game application and a server corresponding to the second game application; The generated module is specifically used to query whether the binding information exists in the first database according to the first information and the second information; If yes, obtaining the binding information in the first database; If not, generate the binding code and send the binding code to the game client corresponding to the first game application, receive the second binding request sent by the game client corresponding to the second game application, and generate the binding information according to the second binding request, the second binding request including the second information and the binding code.

9. A device for binding a game account, characterized in that: include: at least one processor and memory; The memory stores computer-executable instructions; The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the game account binding method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions. When the processor executes the computer-executable instructions, the method for binding a game account as described in any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Method for switching roles in game and server

    CN108031119A

  • Game account control method and device, medium and electronic equipment

    CN111481939A

  • Resource processing method and device, computer equipment and storage medium

    CN111538596A

  • Data processing method, platform and device based on game platform

    CN111773665A

  • Game play result sharing method, server thereof, and recording medium where same is stored

    KR1020140015849A