Game login method, device, storage medium and electronic device

By using a third-party login platform to obtain user identity information for authentication in cloud games, the problem of cumbersome operations during cloud games is solved, and a fast and secure login process is achieved, efficiency is improved and service stability is ensured.

CN111643907BActive Publication Date: 2025-08-22TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202010476733.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-05-29
Publication Date
2025-08-22
Estimated Expiration
2040-05-29

AI Technical Summary

Technical Problem

During the login process of existing cloud games, third-party login APP is required, which is cumbersome, resulting in low login efficiency.

Method used

By obtaining the game login page of the target cloud game, after detecting the login operation, the user's identity information is obtained based on the third-party login platform, and login authentication is carried out through the third-party login platform to achieve rapid authorization and login of cloud games.

Benefits of technology

It improves the efficiency of cloud game login, saves the tedious operation of calling third-party login applications and entering username and password, ensures the security of user information, and ensures the stable operation of services through high availability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111643907B_ABST
    Figure CN111643907B_ABST
Patent Text Reader

Abstract

The present application discloses a game login method, apparatus, storage medium, and electronic device. The method comprises: obtaining a game login page for a target cloud game; upon detecting a login operation on the game login page, determining a third-party login platform based on the login operation; obtaining the user's identity information in the target cloud game based on the third-party login platform; performing login authentication for the target cloud game through the third-party login platform based on the identity information; and, upon successful login authentication, entering the target cloud game. This solution enables cloud game login on cloud servers that do not have a third-party login application installed, thereby improving game login efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a game login method, device, storage medium, and electronic device. Background Art

[0002] The advancement of computer technology, especially the rapid development of cloud computing, has given rise to cloud gaming. Cloud gaming is a gaming method based on cloud computing. In this mode, all games are run on the server, and the rendered game images are compressed and transmitted to the user via the network. On the client side, the user's gaming device does not require any high-end processors or graphics cards; only basic video decompression capabilities are required. Currently, a third-party login app is typically installed in the cloud platform's simulator. During the cloud game login process, the third-party login app must be called and the user must enter login information. This method is cumbersome and inefficient. Summary of the Invention

[0003] The embodiments of the present application provide a game login method, device, storage medium and electronic device, which can improve the efficiency of cloud game login.

[0004] The present invention provides a method for logging into a game, including:

[0005] Get the game login page of the target cloud game;

[0006] When a login operation for the game login page is detected, determining a third-party login platform based on the login operation;

[0007] Based on the third-party login platform, obtain the user's identity information in the target cloud game;

[0008] Based on the identity information, performing login authentication for the target cloud game through the third-party login platform;

[0009] When the login authentication is successful, enter the target cloud game.

[0010] Accordingly, an embodiment of the present application further provides a game login device, comprising:

[0011] The page acquisition module is used to obtain the game login page of the target cloud game;

[0012] a determination module, configured to, when a login operation for the game login page is detected, determine a third-party login platform based on the login operation;

[0013] An acquisition module, configured to acquire the identity information of the user in the target cloud game based on the third-party login platform;

[0014] A first authentication module, configured to perform login authentication for the target cloud game through the third-party login platform based on the identity information;

[0015] The game module is used to enter the target cloud game when the login authentication is successful.

[0016] Optionally, in some embodiments, the first authentication module may include a request generation submodule and an authentication submodule, as follows:

[0017] A request generation submodule, configured to generate a game start request for the target cloud game based on the identity information;

[0018] The authentication submodule is used to generate a game login request through the cloud game server based on the game startup request, and forward the game login request to the third-party login platform so that the third-party login platform can authenticate the login authentication information in the game login request.

[0019] At this time, the authentication submodule can be specifically used to generate a game login request based on the game startup request through the cloud game server, forward the game login request to the forwarding server, and forward the game login request to the third-party login platform through the forwarding server, so that the third-party login platform can authenticate the login authentication information in the game login request.

[0020] At this time, the request generation submodule can be specifically used to fill in the command line field based on the identity information and the platform attribute information of the third-party login platform, and generate a game startup request for the target cloud game based on the command line field.

[0021] At this time, the acquisition module can be specifically used to display the cloud game list when a cloud game viewing request for the cloud game aggregation client is detected, and to display the game login page of the target cloud game when a startup operation for the target cloud game in the cloud game list is detected.

[0022] Optionally, in some embodiments, the acquisition module may include an identification acquisition submodule and an information acquisition submodule, as follows:

[0023] An identification acquisition submodule, configured to acquire an authorization identification for an authorized user to log into the target cloud game based on a third-party login client corresponding to the third-party login platform;

[0024] The information acquisition submodule is used to obtain the user's identity information in the target cloud game through the third-party login server corresponding to the third-party login platform based on the authorization identifier.

[0025] At this time, the identification acquisition submodule can be specifically used to call the third-party login client corresponding to the third-party login platform through the cloud game aggregation client, and obtain the authorization identification of the authorized user to log in to the target cloud game based on the third-party login client.

[0026] The present application also provides a game login method, including:

[0027] Receive game launch requests from cloud game aggregation clients;

[0028] Parsing the game start request and generating a game login request according to the protocol command obtained by parsing;

[0029] Sending the game login request to a third-party login platform for login authentication, and receiving the authentication result from the third-party login platform;

[0030] Log in to the target cloud game based on the authentication result.

[0031] Accordingly, an embodiment of the present application further provides a game login device, comprising:

[0032] A receiving module, configured to receive a game start request from a cloud game aggregation client;

[0033] A parsing module, configured to parse the game start request and generate a game login request based on the parsed protocol command;

[0034] A second authentication module is used to send the game login request to a third-party login platform for login authentication, and receive the authentication result from the third-party login platform;

[0035] A login module is used to log in to the target cloud game based on the authentication result.

[0036] At this time, the login module can be specifically used to determine the game authentication server corresponding to the target cloud game based on the authentication result, and forward the secondary authentication request to the third-party login platform through the game authentication server, so that the third-party login platform can authenticate the login information in the secondary authentication request, obtain the secondary authentication result, and log in to the target cloud game based on the secondary authentication result.

[0037] In addition, an embodiment of the present application further provides a game login system, which includes a game terminal, a third-party login platform, a game server, and a forwarding server, wherein the third-party login platform includes a third-party login client and a third-party login server, and the game terminal is installed with a cloud game aggregation client and a third-party login client, including:

[0038] The game terminal is configured to obtain a game login page for a target cloud game; upon detecting a login operation for the game login page, determine a third-party login platform based on the login operation; obtain the user's identity information in the target cloud game based on the third-party login platform; perform login authentication for the target cloud game through the third-party login platform based on the identity information; and enter the target cloud game if the login authentication is successful;

[0039] The game server is configured to receive a game launch request from a cloud game aggregation client; parse the game launch request and generate a game login request based on the protocol command obtained by parsing; send the game login request to a third-party login platform for login authentication, and receive an authentication result from the third-party login platform; and log in to the target cloud game based on the authentication result.

[0040] The forwarding server is configured to receive a game login request from the game server; send the game login request to a third-party login platform for login authentication; receive an authentication result from the third-party login platform; and send the authentication result to the game server;

[0041] The third-party login server is used to authenticate the login authentication information in the game login request.

[0042] In addition, an embodiment of the present application also provides a computer storage medium, which stores multiple instructions, and the instructions are suitable for a processor to load to execute the steps in any game login method provided in the embodiment of the present application.

[0043] In addition, an embodiment of the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and runnable on the processor. When the processor executes the program, the steps in any game login method provided in the embodiment of the present application are implemented.

[0044] This embodiment of the application can obtain the game login page of the target cloud game. When a login operation is detected on the game login page, the third-party login platform is determined based on the login operation. Based on the third-party login platform, the user's identity information in the target cloud game is obtained. Based on the identity information, the third-party login platform is used to perform login authentication for the target cloud game. If the login authentication is successful, the user enters the target cloud game. This solution can improve the efficiency of cloud game login. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below 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 work.

[0046] Figure 1 This is a schematic diagram of a game login system provided by an embodiment of the present application;

[0047] Figure 2 This is a first flow chart of the game login method provided in an embodiment of the present application;

[0048] Figure 3 This is a second flow chart of the game login method provided in an embodiment of the present application;

[0049] Figure 4 This is a third flow chart of the game login method provided in an embodiment of the present application;

[0050] Figure 5 This is a page diagram of the first game authorization login step provided in an embodiment of the present application;

[0051] Figure 6 This is a page diagram of the second game authorization login step provided in an embodiment of the present application;

[0052] Figure 7 This is a game authorization login sequence diagram provided by an embodiment of the present application;

[0053] Figure 8 This is a second authentication timing diagram provided in an embodiment of the present application;

[0054] Figure 9 This is a schematic diagram of the cloud game list provided in an embodiment of the present application;

[0055] Figure 10 This is a schematic diagram of the game login page provided in an embodiment of the present application;

[0056] Figure 11 This is a schematic diagram of a third-party authorization login page provided in an embodiment of the present application;

[0057] Figure 12 This is a schematic diagram of the Cloud Play APP provided in an embodiment of the present application;

[0058] Figure 13 This is a system architecture diagram provided by an embodiment of the present application;

[0059] Figure 14 This is a diagram of the first backend service system architecture provided by an embodiment of the present application;

[0060] Figure 15 This is a diagram of the second backend service system architecture provided in an embodiment of the present application;

[0061] Figure 16 This is a first structural diagram of the game login device provided in an embodiment of the present application;

[0062] Figure 17 This is a second structural diagram of the game login device provided in an embodiment of the present application;

[0063] Figure 18 is a structural diagram of an electronic device provided in an embodiment of the present application;

[0064] Figure 19 This is a schematic diagram of the distributed system provided in the embodiment of the present application applied to the blockchain system structure;

[0065] Figure 20 It is a schematic diagram of the block structure provided in an embodiment of the present application. DETAILED DESCRIPTION

[0066] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts shall fall within the scope of protection of the present invention.

[0067] The embodiments of the present application provide a game login method, device, storage medium and electronic device. Specifically, the game login method of the embodiments of the present application can be executed by an electronic device, wherein the electronic device can be a terminal or a server and other devices, and the terminal can be a mobile phone, a tablet computer, a laptop computer, a smart TV, a wearable smart device, a personal computer (PC) and other devices. Among them, the terminal can include a client, and the client can be a video client or a browser client, etc., and the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited to this. The terminal and the server can be directly or indirectly connected via wired or wireless communication, and this application does not limit this.

[0068] For example, see Figure 1Taking the game login method executed by an electronic device as an example, the electronic device can obtain the game login page of the target cloud game. When a login operation for the game login page is detected, the third-party login platform is determined based on the login operation. Based on the third-party login platform, the user's identity information in the target cloud game is obtained. Based on the identity information, the login authentication of the target cloud game is performed through the third-party login platform. When the login authentication is successful, the target cloud game is entered.

[0069] It should be noted that the order of description of the following embodiments is not intended to limit the preferred order of the embodiments.

[0070] The embodiment of the present application provides a game login method, which can be executed by a terminal or a server, or by both the terminal and the server. The embodiment of the present application takes the game login method executed by the terminal as an example for explanation. Figure 2 As shown, the specific process of the game login method can be as follows:

[0071] 201. Get the game login page of the target cloud game.

[0072] Among them, cloud technology refers to a hosting technology that unifies hardware, software, network and other resources within a wide area network or local area network to achieve data calculation, storage, processing and sharing.

[0073] Cloud gaming, also known as gaming on demand, is an online gaming technology based on cloud computing. Cloud gaming enables thin clients with relatively limited graphics and data processing capabilities to run high-quality games. In cloud gaming scenarios, games are not run on the user's gaming terminal, but on a cloud-based gaming server. The server renders the game scene into a video and audio stream, which is then transmitted to the user's gaming terminal over the network. The user's gaming terminal does not need powerful graphics and data processing capabilities; it only needs basic streaming capabilities and the ability to receive user input and send it to the cloud-based gaming server.

[0074] In actual applications, for example, when a user needs to log in to a target cloud game, the terminal can display the following Figure 10 The game login page for the target cloud game is shown. This page includes the game icon for the target cloud game, indicating that it is specifically for the target cloud game. It also includes the authorization login control D "xx channel authorized login" and the authorization login control D "Do not use quick login." Users can use these authorization login controls to determine the cloud game login method.

[0075] In one embodiment, specifically, the step of “obtaining the game login page of the target cloud game” may include:

[0076] When a cloud game viewing request for a cloud game aggregation client is detected, a cloud game list is displayed;

[0077] When a startup operation for a target cloud game in the cloud game list is detected, a game login page of the target cloud game is displayed.

[0078] Among them, the cloud platform refers to a platform that provides computing, network and storage capabilities based on services of hardware resources and software resources. The embodiments of the present application can apply the cloud platform to the field of cloud games. Among them, the cloud platform corresponds to the client and the server, and the client corresponding to the cloud platform is the cloud game aggregation client. Among them, the cloud game aggregation client is a client that mainly runs on the user's mobile phone and provides the user with a variety of cloud game lists. The cloud game aggregation client can free the user from the constraints of hardware performance and platform. As long as there is a network and a screen, the user can play games on various platforms anytime, anywhere without downloading, and enjoy the fun brought by high-quality games. Figure 12 As shown in the figure, the Yunchangwan APP installed on the terminal is equivalent to a cloud game aggregation client, and users can play a variety of cloud games through the Yunchangwan APP.

[0079] In practical applications, for example, Figure 12 As shown, when the user wants to play cloud games, he can click the icon corresponding to the Cloud Play APP in the figure to trigger the cloud game viewing request. At this time, the terminal can display the following Figure 9 The cloud game list shown in the figure includes multiple game icons A corresponding to cloud games, and each game icon A corresponds to a game start control B. Users can enter the corresponding cloud game by clicking the game start control B corresponding to the cloud game they want to play. At this time, the user's click operation is the start operation for the target cloud game in the cloud game list. Figure 10 The game login page shown.

[0080] In one embodiment, the cloud game list may further include a game recommendation area C, in which games recommended by the cloud game aggregation client may be displayed to the user. A game launch control B may also be provided in the game recommendation area C, and the user may click the game launch control B to enter the cloud game recommended in the game recommendation area C. The games displayed in the game recommendation area C may also be updated according to actual conditions to recommend more cloud games to the user.

[0081] 202. When a login operation for a game login page is detected, a third-party login platform is determined based on the login operation.

[0082] Among them, third-party login refers to the function of quickly completing the login or registration of one's own application based on the user's existing account and password on the third-party login platform. The third-party login platform here can be a platform that already has a large number of users, such as the instant messaging platform corresponding to various instant messaging applications, information push platform, video playback platform, etc. The purpose of third-party login is to use the user's frequently used account on other platforms to quickly log in to one's own product, or to achieve login without registration. For example, the embodiment of the present application can use the third-party login method to implement login authorization for cloud games.

[0083] In actual applications, for example, when using third-party login to log in to cloud games, there will be multiple candidate third-party login platforms to choose from. Therefore, it is necessary to determine the third-party login platform to be used for third-party login from multiple candidate third-party login platforms based on the user's login operation on the game login page.

[0084] In one embodiment, for example, Figure 9 As shown, when the user clicks the game start control B corresponding to game 1 in the cloud game list, the user's click operation is the start operation of the target cloud game in the cloud game list, and the target cloud game at this time is game 1. Figure 10 The game login page corresponding to Game 1 is shown, wherein the game login page includes the game icon corresponding to Game 1, indicating that the game login page is the page for Game 1. It also includes the authorization login control D "xx channel authorization login" and the authorization login control D "Do not use quick login". The operation of the user clicking the authorization login control is the login operation for the game login page. When the user clicks the authorization login control D "xx channel authorization login", it means that the user hopes to complete the authorization login of the cloud game through a third-party login method. At this time, it can be determined that the third-party login platform is the xx channel; when the user clicks the authorization login control D "Do not use quick login", it means that the user hopes to complete the authorization login of the cloud game through a normal login method.

[0085] If it is detected that the user clicks the authorization login control D "xx channel authorization login", the following can be displayed Figure 11The third-party authorization login page corresponding to the third-party login platform shown in the figure will display "Apply for your avatar, nickname, region and gender information", which means that the third-party login platform will provide the user's avatar, nickname, region and gender information accordingly. The account information used to log in to the cloud game can also be displayed on the third-party authorization login page. When the user clicks the "xx channel authorized login" button on the third-party authorization login page, the game can be logged in through the account. If the user wants to switch accounts, they can also click the "Log in with another account" button on the third-party authorization login page to log in to the cloud game through another account.

[0086] In one embodiment, if Figure 5 As shown in the figure, when a user logs in to a cloud game using third-party authorization, the user can click the "xx Authorization Login" button on the game login page to pull up the third-party login platform of the xx channel for authorization login and display the third-party authorization login page. Then, click the "Login" button on the third-party authorization login page to enter the login waiting page. Figure 6 As shown, when the user does not want to use third-party authorization to log in to the cloud game, he can click the "Do not use quick login" button on the game login page to directly trigger the display of the login waiting page.

[0087] 203. Based on the third-party login platform, obtain the user's identity information in the target cloud game.

[0088] Among them, identity information refers to the user's account information in the game on the third-party login platform. For example, when a user uses a third-party login platform to perform a third-party login to a target cloud game, the user's account information in the target cloud game obtained on the third-party login platform can be called identity information.

[0089] In actual applications, for example, you can use the selected third-party login platform to obtain the user's account information OpenID and token under the target cloud game.

[0090] In one embodiment, specifically, the step of “obtaining the user's identity information in the target cloud game based on the third-party login platform” may include:

[0091] Based on the third-party login client corresponding to the third-party login platform, obtaining an authorization identifier for authorizing the user to log in to the target cloud game;

[0092] Based on the authorization identifier, the user's identity information in the target cloud game is obtained through a third-party login server corresponding to the third-party login platform.

[0093] In practical applications, for example, Figure 7As shown, after the third-party login platform is determined from multiple candidate third-party login platforms through the user's login operation on the game login page, the authorization identifier for the authorized user to log in to the target cloud game can be obtained through the third-party login client corresponding to the third-party login platform, wherein the authorization identifier can be represented in the form of an authorization code. Then, the cloud game aggregation client can send the obtained authorization identifier to the third-party login server corresponding to the third-party login platform, and receive identity information from the third-party login server. In short, the user sends a request to the third-party login client corresponding to the third-party login platform through the login operation, and the third-party login client sends an authorization code to the cloud game aggregation client according to the request. The cloud game aggregation client requests identity information from the third-party login server according to the authorization code, and receives identity information from the third-party login server.

[0094] In one embodiment, specifically, the step of “obtaining an authorization identifier for authorizing a user to log into the target cloud game based on a third-party login client corresponding to the third-party login platform” may include:

[0095] Calling the third-party login client corresponding to the third-party login platform through the cloud game aggregation client;

[0096] Based on the third-party login client, an authorization identifier for an authorized user to log in to the target cloud game is obtained.

[0097] In practical applications, for example, Figure 7 As shown, after the third-party login platform is determined from multiple candidate third-party login platforms through the user's login operation on the game login page, the cloud game aggregation client can be used as the starting point to launch the third-party login client corresponding to the third-party login platform on the user's mobile phone, and the authorization identifier for authorizing the user to log in to the target cloud game can be obtained through the third-party login client, wherein the authorization identifier can be represented in the form of an authorization code.

[0098] 204. Based on the identity information, login authentication for the target cloud game is performed through a third-party login platform.

[0099] In practical applications, for example, after obtaining identity information, a corresponding request can be generated based on the identity information, and the login authentication information in the request can be authenticated through a third-party login platform.

[0100] In one embodiment, a cloud-based game server can parse the acquired game launch request and generate a game login request based on the parsed command for authentication by a third-party login platform. Specifically, the step of "authenticating the target cloud game login through the third-party login platform based on the identity information" may include:

[0101] Based on the identity information, generating a game start request for the target cloud game;

[0102] Based on the game start request, a game login request is generated by the game server in the cloud, and the game login request is forwarded to the third-party login platform so that the third-party login platform can authenticate the login authentication information in the game login request.

[0103] Among them, the game server is a server provided by the cloud platform, which can be composed of one or more high-performance servers and can start and run multiple simulators at the same time. These simulators need to install the specified cloud games in advance for different users to choose different cloud games. For example, when a user wants to try out the cloud game of Game 1, the cloud platform will create and open a simulator with Game 1 installed. The game server is used to run the cloud game specified by the user. When the user plays the cloud game, the cloud game runs on the game server, and the game screen is presented to the user's client. Since the operation of the cloud game is completed on the game server, there is no need to make too many performance requirements on the user's client, which can free users from the constraints of hardware performance and platform. As long as there is a network and a screen, users can play cloud games anytime, anywhere without downloading.

[0104] In practical applications, for example, Figure 7 As shown, the cloud game aggregation client can generate a game startup request based on the identity information, and transmit the game startup request to the game server based on the Scheme protocol. The game server can parse the game startup request and send the game login request to the third-party login server corresponding to the third-party login platform according to the command obtained by parsing. The third-party login server can then authenticate the login authentication information in the game login request.

[0105] In one embodiment, specifically, the step of "generating a game login request through a cloud-based game server based on the game launch request, and forwarding the game login request to the third-party login platform so that the third-party login platform authenticates the login authentication information in the game login request" may include:

[0106] Based on the game start request, a game login request is generated through a cloud-based game server;

[0107] The game login request is forwarded to a forwarding server, and the game login request is forwarded to the third-party login platform through the forwarding server, so that the third-party login platform can authenticate the login authentication information in the game login request.

[0108] The forwarding server, also known as the unified account access server, connects the game server and the third-party login server, ensuring that requests from the game server are correctly forwarded to the designated third-party login server and that responses from the third-party login server are returned to the game server. The forwarding server can consist of a regular server cluster or be handled directly through an NG server. For authorized logins in cloud games, the forwarding server determines the designated third-party login server based on the protocol parameters in the game launch request from the game server and forwards the game login request to the designated third-party login server.

[0109] In practical applications, for example, Figure 7 As shown, the cloud game aggregation client can generate a game startup request based on the identity information, and transmit the game startup request to the game server based on the Scheme protocol. The game server can parse the game startup request and send a game login request to the forwarding server according to the command obtained by parsing. The forwarding server can send the game login request to the corresponding third-party login server based on the platform name of the third-party login platform carried in the game login request, so that the third-party login server can authenticate the login authentication information in the game login request.

[0110] In one embodiment, a simulator corresponding to a cloud game aggregation client may be used to generate a game launch request. Specifically, the step of "generating a game launch request for the target cloud game based on the identity information" may include:

[0111] Fill in the command line field based on the identity information and the platform attribute information of the third-party login platform;

[0112] Generate a game launch request for the target cloud game based on the command line field.

[0113] The command line is a local communication solution for controlling external communication between the emulator and external systems. The command line allows external programs to control the emulator in a standalone environment. Adb (Android Debug Bridge) is a communication tool, a bridge program that connects a single machine to the emulator. Adb tools include installing, launching, and uninstalling applications, managing files, and debugging applications. These operations have corresponding protocols and also support custom parameters.

[0114] The Scheme protocol is a jump protocol between different applications in the Android system. With the help of the Adb command-line tool and the Scheme protocol, it is possible to jump to a specified application through the command line. The party being jumped to adds the Scheme tag to the Activity component. When the system receives the game start command, it can start the Activity component and thus launch the application or game. Therefore, in this application, the Adb command-line tool and the Scheme protocol can be used to transmit the game start command from the cloud game aggregation client to the game server.

[0115] The platform attribute information may be attribute information that can specifically represent a third-party login platform. For example, the platform attribute information of the third-party login platform may be the platform name of the third-party login platform.

[0116] In actual applications, for example, a cloud gaming aggregation client corresponds to several emulators on the cloud platform. Therefore, you can start the emulator corresponding to the cloud gaming aggregation client, such as the Android system emulator. Once the emulator is started, you can assemble the identity information and platform attribute information into an Adb command line, and use the Scheme protocol to launch the target cloud game in the emulator. Among them, the Adb command + Scheme protocol is a fast, localized data communication protocol between the cloud platform and the cloud game. This step can also be implemented through network protocols such as the Http protocol and the Socket protocol, or by launching the Scheme when running a third-party login application to achieve data communication.

[0117] In one embodiment, the Scheme configuration may be as follows:

[0118] <! —Configure the following content under the application tag in AndroidManifest.xml -->

[0119] <! --Set the internal game component that responds to Adb commands here. name is the specified full path class name. -->

[0120] <activity android:name="com.xxxx.SchemeActivity">

[0121] <! —Configure filter information for the current component -->

[0122] <intent-filter>

[0123] <action android:name="android.intent.action.VIEW" / >

[0124] <!--Set the Scheme string here to match command line parameters. Each game has a unique value-->

[0125] <data android:scheme="xxxx{appid}" / >

[0126]

[0127]

[0128] …

[0129] Since the Scheme protocol has system-wide properties, that is, the Scheme protocol corresponding to each game or application should be unique, the Scheme protocol can be marked by the application's unique identifier, such as the package name (Package Name) or APPID. After marking the Scheme protocol, you can edit the command line, where the command line format can be as follows:

[0130] adb shell start-d'xxxx{appid}: / / ? params=xxxx'

[0131] Among them, shell and start specify that the action of the command is to start the application. The application in this application can refer to the game; -d specifies the Scheme protocol of the game to be started, where "xxxx{appid}" represents the target Scheme and "params=xxxx" is the protocol parameter. Since the command line needs to be transcoded or re-encoded during the transmission of protocol parameters, it is necessary to avoid transmitting special characters to ensure the integrity of the protocol parameters. Therefore, the protocol parameters can be set to a safe string.

[0132] The protocol parameters (Key=Value) can be queried using a URL (Uniform Resource Locator) or encapsulated using the JSON format. To distinguish between different authentication platforms and implement authorized login, the protocol parameters may include but are not limited to three parts: platform attribute information, login information, and transparent transmission parameters.

[0133] Table 1

[0134] Parameter name type illustrate cgsource String Specify the name of the third-party login platform channel String Specify login channel LoginInfo Structure Carry the parameters required for login extra String Transparent transmission parameters

[0135] As shown in Table 1, the cgsource parameter specifies the name of the third-party login platform. The forwarding server can forward game login requests to the designated third-party login platform based on the cgsource parameter. The Channel and LoginInfo parameters primarily specify information required for third-party login authorization, such as the code, OpenID, and token required for third-party login. The extra parameter is a transparent transmission parameter, which the game server can use to transparently transmit information to the designated third-party login platform.

[0136] In one embodiment, cloud gaming is started through Adb commands and the Scheme protocol, enabling fast data communication between the cloud gaming aggregation client and the game server. The relevant protocol parameters include basic authorization login protocol, third-party login platform name, and other information. Other operation instructions can also be added according to actual conditions. Among them, it is also possible to expand on the basis of the Scheme protocol. For example, the Scheme protocol is mainly used for login. This application can also set an action protocol to specify the action of a command line call, and default the action to login, thereby completing the same steps as the Scheme protocol.

[0137] 205. When the login authentication is successful, enter the target cloud game.

[0138] In actual applications, for example, after the third-party login server authenticates the login information in the game login request, it can obtain the authentication result and return the authentication result to the game server. If the authentication is successful, the game server can enter the target cloud game based on the authentication result and complete the login to the cloud game. At this time, a page including the words "Enter Game" will be displayed on the user terminal to remind the user that the login is successful and the game is entering.

[0139] In one embodiment, since cloud gaming is an extension of traditional gaming on available devices and is also a play-and-go gaming mode, cloud gaming is required to change the existing logic as little as possible and reuse the normal login process as much as possible. Therefore, the cloud gaming startup login authorization process in the game login method of the present application can be implemented through an Http request, wherein the Http request and response protocol should follow the original normal login process. In addition, other request methods, such as Socket requests, can also be selected according to actual conditions.

[0140] In one embodiment, if Figure 13 As shown, this game login method not only supports ordinary channel login, but also supports authorized login via the cloud platform. For ordinary channel login, the cloud game aggregation client can obtain the user's corresponding login account information from the cloud platform server. The login account information can be randomly generated by the cloud platform server, and then log in to the game based on the login account information.

[0141] For authorized login on the cloud platform, the cloud game aggregation client can obtain user-related authorization tokens through the cloud platform and use the cloud platform to complete the login authorization steps. Among them, the cloud platform login authorization method effectively expands the game login method. While reducing game code intrusion, there is no need to enter user personal information on the cloud, protecting user privacy and providing a smooth user experience for cloud game login authorization.

[0142] In one embodiment, if Figure 14 As shown, the following process can also be used to ensure high availability of backend access in cloud game authorization scenarios, thereby ensuring stable operation of the service. High availability means that through special design, the system can reduce the time when it cannot provide services, thereby maintaining its highly available service performance.

[0143] 1. The game login method can be set up as a stateless service. A stateless service means that the server-side processing must be based entirely on the information contained in the request and other public information stored by the server itself and available to all requests. This game login method can also be horizontally scaled. Horizontal scaling refers to distributing the load by adding more servers or program instances, thereby increasing storage and computing power.

[0144] 2. This game login method can automatically eliminate faulty machines through built-in LB (Load Balancing) measures. Load balancing measures distribute the load evenly across the nodes in the cluster, thereby improving overall throughput.

[0145] 3. This game login method can establish a disaster recovery system for three campuses in the same city, so that the service will not be affected by the failure of the computer room. Among them, the disaster recovery system refers to the establishment of two or more sets of IT systems with the same functions in remote locations. Functions can be switched between each other. When one system stops working due to an accident, the entire application system can be switched to another one, so that the system functions can continue to work normally. Figure 14 As shown in the figure, by setting up a disaster recovery system in three parks in the same city, we can ensure that the service is not affected by computer room failures.

[0146] 4. The game login method can automatically determine whether it is channel authorization or hosting authorization based on the protocol. Channel authorization is to use the ordinary channel platform for cloud game login authorization, and hosting authorization is to use the cloud platform for cloud game login authorization.

[0147] Among them, such as Figure 15 As shown, cluster isolation can be used between key business processes. For example, clusters 1, 2, 3, and so on can be used to isolate businesses from each other, thereby preventing business problems from affecting each other. The routing layer can also flexibly orchestrate business migration to different clusters to carry services.

[0148] Among them, since cloud games are separated from commonly used terminal systems such as mobile phones and PCs, and the same cloud game may be launched on different cloud platforms, the traditional authorization login framework is no longer applicable. This game login method uses a third-party authorization login framework for cloud games to achieve login authorization for bare-metal cloud games, where bare metal means that there is no third-party login application installed in the cloud platform simulator. Therefore, this application eliminates the tedious operations of launching third-party login applications, entering user names and passwords, and improves the efficiency of game login. In addition, this game login method can complete the authorized login of the game without invading the original game logic. Since there is no need to enter the user's personal information on the cloud, the security of user information can be guaranteed. At the same time, many processes are used to ensure the high availability of background access in the cloud game authorization scenario, thereby ensuring the stable operation of the service 7*24.

[0149] In one embodiment, the game login method provided in the embodiment of the present application can also be applied to a game login system, which may include multiple nodes, which are connected through network communication to form a distributed system, wherein the nodes can be any form of electronic devices connected to the network, such as servers, terminals, etc. Taking the distributed system as a blockchain system as an example, see Figure 19 , Figure 19 This is an optional structural diagram of a distributed system 100 provided in an embodiment of the present application applied to a blockchain system. The distributed system is formed by multiple nodes 200 and clients 300. The nodes form a peer-to-peer (P2P) network. The P2P protocol is an application layer protocol running on top of the Transmission Control Protocol (TCP). In a distributed system, any electronic device such as a server or terminal can join and become a node. A node includes a hardware layer, an intermediate layer, an operating system layer, and an application layer.

[0150] In an embodiment of the present application, the game login system includes a game terminal, a third-party login platform, a game server, and a forwarding server. The third-party login platform includes a third-party login client and a third-party login server. The game terminal is installed with a cloud game aggregation client and a third-party login client. The cloud game aggregation client, the third-party login client corresponding to the third-party login platform, the third-party login server corresponding to the third-party login platform, the game server, and the forwarding server are all nodes in the blockchain system. A third-party login client refers to a client used for third-party login; a cloud game aggregation client refers to a client that primarily runs on a user's mobile phone and provides the user with a list of various cloud games; a game server refers to a server in the cloud used to run cloud games; and a forwarding server refers to a server used to connect the game server and the third-party login server.

[0151] See also Figure 20 , Figure 20 This is a schematic diagram of the block structure provided by an embodiment of the present application. Each block includes the hash value of the transaction records stored in the block (the hash value of the current block) and the hash value of the previous block. The blocks are connected by hash values ​​to form a blockchain. In addition, the block may also include information such as the timestamp when the block was generated. Blockchain is essentially a decentralized database, a series of data blocks generated using cryptographic methods. Each data block contains relevant information used to verify the validity of the information (anti-counterfeiting) and generate the next block.

[0152] As can be seen from the above, the embodiment of the present application can obtain the game login page of the target cloud game. When a login operation for the game login page is detected, the third-party login platform is determined based on the login operation, and the identity information of the user in the target cloud game is obtained based on the third-party login platform. Based on the identity information, the login authentication of the target cloud game is performed through the third-party login platform. When the login authentication is successful, the target cloud game is entered. This solution can realize the login authorization of cloud games on bare metal, and eliminates the tedious operations such as calling third-party login applications, entering user names and passwords, thereby improving the efficiency of game login. At the same time, the present application can complete the authorized login of cloud games without invading the original game logic, and since there is no need to enter the user's personal information on the cloud, the security of user information can be guaranteed. The present application can also ensure the stable operation of the service by ensuring high availability of background access.

[0153] The embodiment of the present application also provides a game login method; the embodiment of the present application takes the game login method executed by the game server as an example for explanation, such as Figure 3 As shown, the specific process of the game login method can be as follows:

[0154] 301. Receive a game start request from a cloud game aggregation client.

[0155] In actual applications, for example, a game server may receive a game start request from a cloud game aggregation client.

[0156] 302. Parse the game start request and generate a game login request according to the protocol command obtained by parsing.

[0157] In actual applications, for example, the game server can parse the game startup request, and then generate a game login request based on the parsed protocol command. The game login request can be sent to the forwarding server, and then sent to the designated third-party login server through the forwarding server.

[0158] In one embodiment, specifically, the step of “parsing the game start request and generating a game login request according to the parsed protocol command” may include:

[0159] Parsing the protocol parameters in the game start request;

[0160] Determining a protocol command corresponding to the protocol parameter, and executing the protocol command;

[0161] Generate a game login request for the target cloud game based on the protocol command.

[0162] In practical applications, for example, after receiving the startup instruction from the command line, the game server can parse the protocol parameters and execute the corresponding protocol commands. Figure 13 As shown, the protocol command can be login, logout, other specified operations, etc. Then, the game server can initiate a game login request to the forwarding server according to the parsed command.

[0163] 303. Send the game login request to a third-party login platform for login authentication, and receive the authentication result from the third-party login platform.

[0164] In practical applications, for example, a game server might send a game login request to a forwarding server. Based on the platform name in the request, the forwarding server would forward the request to the third-party login server corresponding to the third-party login platform indicated by the platform name. The third-party login server would authenticate the login information in the request and, upon receiving the authentication result, send it to the forwarding server, which would then send it back to the game server.

[0165] 304. Log in to the target cloud game based on the authentication result.

[0166] In actual applications, for example, after the third-party login server authenticates the login information in the game login request, it can obtain the authentication result and return the authentication result to the game server. If the authentication is successful, the game server can log in to the target cloud game based on the authentication result.

[0167] In one embodiment, to improve the credibility of the authentication results and ensure the authenticity of the authentication, each game can deploy a separate game authentication server to perform a secondary verification of the game's login status. Specifically, the step "logging in to the target cloud game based on the authentication result" may include:

[0168] Based on the authentication result, determining the game authentication server corresponding to the target cloud game;

[0169] Forwarding the secondary authentication request to a third-party login platform through the game authentication server so that the third-party login platform can authenticate the login information in the secondary authentication request and obtain a secondary authentication result;

[0170] Based on the secondary authentication result, log in to the target cloud game.

[0171] Secondary authentication is a measure to improve authentication security. To ensure the authenticity and reliability of information, each game can correspond to an independent game authentication server. After obtaining the authentication information, the game server can submit a secondary authentication request to the game authentication server. This secondary authentication request includes the authentication information. The game authentication server can then forward the request to the third-party login server corresponding to the third-party login platform through a forwarding server, achieving trusted authentication.

[0172] In practical applications, for example, Figure 8 As shown, the game server can initiate secondary authentication, or the game authentication server can initiate secondary authentication in the form of a background service. The game authentication server can send a secondary authentication request to the forwarding server. After receiving the secondary authentication request, the forwarding server can forward the secondary authentication request to the third-party login server corresponding to the third-party login platform specified by the cgsource parameter in the secondary authentication request. The third-party login server authenticates and obtains the secondary authentication result, and then forwards the secondary authentication result to the game authentication server, and finally feeds it back to the game server. The game server can then log in to the cloud game based on the secondary authentication result. Among them, since cloud games are deployed on the cloud platform and the environment is relatively safe, the cloud platform can guarantee the security of authentication to a certain extent. Therefore, it is also possible to choose not to perform the secondary authentication step according to the actual situation.

[0173] In one embodiment, since the present application also supports normal login, when normal login is used, the game authentication server can initiate a secondary authentication request. After receiving the secondary authentication request, the forwarding server can send the secondary authentication request to the corresponding cloud platform server. The cloud platform server performs authentication, obtains a secondary authentication result, and then forwards the secondary authentication result to the game authentication server, which is ultimately fed back to the game server. The game server can then log in to the cloud game based on the secondary authentication result. In other words, the platform used for the first authentication and the platform used for the second authentication must be consistent.

[0174] As can be seen from the above, the embodiment of the present application can receive a game startup request from a cloud game aggregation client, parse the game startup request, and generate a game login request based on the protocol command obtained by the parsing, send the game login request to a third-party login platform for login authentication, and receive the authentication result from the third-party login platform, and log in to the target cloud game based on the authentication result. This solution can realize login authorization for cloud games on bare metal, and eliminates the tedious operations of calling third-party login applications, entering user names and passwords, thereby improving the efficiency of game login. At the same time, the present application can complete the authorized login of cloud games without invading the original game logic, and since there is no need to enter the user's personal information on the cloud, the security of user information can be guaranteed. The present application can also ensure the stable operation of the service by ensuring high availability of background access.

[0175] According to the method described in the previous embodiment, the game login device will be specifically integrated into the game login system as an example for further detailed explanation below, wherein the game login system includes a game terminal, a third-party login platform, a game server, and a forwarding server, wherein the third-party login platform includes a third-party login client and a third-party login server, and the game terminal is installed with a cloud game aggregation client and a third-party login client.

[0176] refer to Figure 4 The specific process of the game login method in the embodiment of the present application can be as follows:

[0177] 401. Call the third-party login client corresponding to the third-party login platform through the cloud game aggregation client.

[0178] 402. Based on the third-party login client, obtain the authorization identifier for the authorized user to log in to the target cloud game.

[0179] 403. Based on the authorization identifier, obtain the user's identity information in the target cloud game through the third-party login server corresponding to the third-party login platform.

[0180] 404. Generate a game launch request for the target cloud game based on the identity information through the cloud game aggregation client.

[0181] In practical applications, such as Figure 13 As shown, the cloud game aggregation client can use the simulator in its corresponding simulator platform to generate an Adb command line and pull up the game server through the Scheme protocol, wherein the game server of the embodiment of the present application is a server located in the cloud.

[0182] 405. Generate a game login request based on the game start request through the game server.

[0183] In practical applications, for example, Figure 13 As shown, after receiving the game startup command from the command line, the game server can parse the protocol parameters in the startup command and execute the corresponding protocol commands, which can be login, logout, and other specified operations. The game server then initiates a game login request to the forwarding server based on the parsed command.

[0184] 406. Determine a third-party login platform based on the game login request through the forwarding server, and send the game login request to the third-party login platform.

[0185] In practical applications, for example, Figure 13 As shown, the forwarding server can determine the designated third-party login platform according to the cgsource parameter and forward the game login request to the designated third-party login platform.

[0186] 407. Perform login authentication for the target cloud game based on the game login request through a third-party login platform.

[0187] In actual applications, for example, a third-party login platform performs authentication to obtain an authentication result and returns the authentication result to the game server. When the login authentication is successful, the target cloud game can be entered through the game server.

[0188] In one embodiment, for example, the accuracy of cloud game authentication can be improved through secondary authentication.

[0189] 408. The game server initiates a secondary authentication request to the game authentication server.

[0190] 409. The game authentication server sends the secondary authentication request to the third-party login platform via the forwarding server.

[0191] In practical applications, for example, Figure 13 As shown, the game authentication server can send the secondary authentication request to the forwarding server. The forwarding server can determine the designated third-party login platform according to the cgsource parameter and forward the secondary authentication request to the third-party login server corresponding to the designated third-party login platform.

[0192] 410. The authentication platform performs authentication and returns the authentication result to the game server.

[0193] In actual applications, for example, when the login authentication is successful, the target cloud game can be entered through the game server.

[0194] As can be seen from the above, the embodiment of the present application can call the third-party login client corresponding to the third-party login platform through the cloud game aggregation client, obtain the authorization identifier of the authorized user to log in to the target cloud game based on the third-party login client, obtain the user's identity information in the target cloud game based on the authorization identifier through the third-party login server corresponding to the third-party login platform, generate a game start request for the target cloud game based on the identity information through the cloud game aggregation client, generate a game login request based on the game start request through the game server, determine the third-party login platform based on the game login request through the forwarding server, and send the game login request to the third-party login platform, perform login authentication for the target cloud game based on the game login request through the third-party login platform, initiate a secondary authentication request to the game authentication server, and the game authentication server sends the secondary authentication request to the third-party login platform through the forwarding server. The authentication platform performs authentication and returns the authentication result to the game server. This solution can realize login authorization for bare-metal cloud games and eliminates the tedious operations such as calling a third-party login application and entering a username and password, thereby improving the efficiency of game login. At the same time, this application can complete the authorized login of cloud games without intruding on the original game logic, and because there is no need to enter the user's personal information on the cloud, it can ensure the security of user information. This application can also ensure the stable operation of the service by ensuring high availability of backend access.

[0195] In order to better implement the above method, accordingly, the embodiment of the present application also provides a game login device, which can be integrated into an electronic device, referring to Figure 16 The game login device includes a page acquisition module 161, a determination module 162, an acquisition module 163, a first authentication module 164 and a game module 165, as follows:

[0196] A page acquisition module 161 is used to obtain the game login page of the target cloud game;

[0197] a determination module 162 for, when detecting a login operation for the game login page, determining a third-party login platform based on the login operation;

[0198] An acquisition module 163 is configured to acquire the identity information of the user in the target cloud game based on the third-party login platform;

[0199] A first authentication module 164 is configured to perform login authentication for the target cloud game through the third-party login platform based on the identity information;

[0200] The game module 165 is used to enter the target cloud game when the login authentication is successful.

[0201] In one embodiment, the first authentication module 164 may include a request generation submodule and an authentication submodule as follows:

[0202] A request generation submodule, configured to generate a game start request for the target cloud game based on the identity information;

[0203] The authentication submodule is used to generate a game login request through the cloud game server based on the game startup request, and forward the game login request to the third-party login platform so that the third-party login platform can authenticate the login authentication information in the game login request.

[0204] In one embodiment, the authentication submodule may be specifically used to:

[0205] Based on the game start request, a game login request is generated through a cloud-based game server;

[0206] The game login request is forwarded to a forwarding server, and the game login request is forwarded to the third-party login platform through the forwarding server, so that the third-party login platform can authenticate the login authentication information in the game login request.

[0207] In one embodiment, the request generation submodule may be specifically used to:

[0208] Fill in the command line field based on the identity information and the platform attribute information of the third-party login platform;

[0209] Generate a game launch request for the target cloud game based on the command line field.

[0210] In one embodiment, the page acquisition module 161 may be specifically configured to:

[0211] When a cloud game viewing request for a cloud game aggregation client is detected, a cloud game list is displayed;

[0212] When a startup operation for a target cloud game in the cloud game list is detected, a game login page of the target cloud game is displayed.

[0213] In one embodiment, the acquisition module 163 may include an identification acquisition submodule and an information acquisition submodule, as follows:

[0214] An identification acquisition submodule, configured to acquire an authorization identification for an authorized user to log into the target cloud game based on a third-party login client corresponding to the third-party login platform;

[0215] The information acquisition submodule is used to obtain the user's identity information in the target cloud game through the third-party login server corresponding to the third-party login platform based on the authorization identifier.

[0216] In one embodiment, the identification acquisition submodule may be specifically used to:

[0217] Calling the third-party login client corresponding to the third-party login platform through the cloud game aggregation client;

[0218] Based on the third-party login client, an authorization identifier for an authorized user to log in to the target cloud game is obtained.

[0219] In specific implementation, the above units can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above units can be found in the previous method embodiments and will not be repeated here.

[0220] As can be seen from the above, the embodiment of the present application can obtain the game login page of the target cloud game through the page acquisition module 161. When a login operation for the game login page is detected, the third-party login platform is determined based on the login operation through the determination module 162. The identity information of the user in the target cloud game is obtained based on the third-party login platform through the acquisition module 163. The login authentication of the target cloud game is performed through the third-party login platform based on the identity information through the first authentication module 164. When the login authentication is successful, the target cloud game is entered through the game module 165. This solution can realize the login authorization of cloud games on bare machines, and eliminates the tedious operations such as calling third-party login applications and entering user names and passwords, thereby improving the efficiency of game login. At the same time, the present application can complete the authorized login of cloud games without invading the original game logic, and since there is no need to enter the user's personal information on the cloud, the security of user information can be guaranteed. The present application can also ensure the stable operation of the service by ensuring high availability of background access.

[0221] refer to Figure 17 The game login device further includes a receiving module 171, a parsing module 172, a second authentication module 173 and a login module 174, as follows:

[0222] Receiving module 171, used to receive a game start request from a cloud game aggregation client;

[0223] The parsing module 172 is used to parse the game start request and generate a game login request according to the protocol command obtained by parsing;

[0224] The second authentication module 173 is used to send the game login request to a third-party login platform for login authentication, and receive the authentication result from the third-party login platform;

[0225] The login module 174 is used to log in to the target cloud game based on the authentication result.

[0226] In one embodiment, the login module 174 may be specifically configured to:

[0227] Based on the authentication result, determining the game authentication server corresponding to the target cloud game;

[0228] Forwarding the secondary authentication request to a third-party login platform through the game authentication server so that the third-party login platform can authenticate the login information in the secondary authentication request and obtain a secondary authentication result;

[0229] Based on the secondary authentication result, log in to the target cloud game.

[0230] In specific implementation, the above units can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above units can be found in the previous method embodiments and will not be repeated here.

[0231] As can be seen from the above, the embodiment of the present application can receive a game startup request from a cloud game aggregation client through the receiving module 171, parse the game startup request through the parsing module 172, and generate a game login request based on the protocol command obtained by the parsing, send the game login request to the third-party login platform for login authentication through the second authentication module 173, and receive the authentication result from the third-party login platform, and log in to the target cloud game based on the authentication result through the login module 174. This solution can realize login authorization for cloud games on bare metal, and eliminates the tedious operations of calling third-party login applications, entering user names and passwords, etc., thereby improving the efficiency of game login. At the same time, the present application can complete the authorized login of cloud games without invading the original game logic, and since there is no need to enter the user's personal information on the cloud, the security of user information can be guaranteed. The present application can also ensure the stable operation of the service by ensuring high availability of background access.

[0232] An embodiment of the present application also provides an electronic device that can integrate any game login device provided in the embodiment of the present application.

[0233] For example, Figure 18 , which shows a schematic diagram of the structure of the electronic device involved in the embodiment of the present application, specifically:

[0234] The electronic device may include one or more processors 181 of processing cores, one or more computer-readable storage media memories 182, a power supply 183, an input unit 184 and other components. It will be understood by those skilled in the art that Figure 18 The electronic device structure shown in the figure does not constitute a limitation of the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange components differently.

[0235] The processor 181 is the control center of the electronic device, connecting the various parts of the entire electronic device using various interfaces and lines. By running or executing software programs and / or modules stored in the memory 182 and calling data stored in the memory 182, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. Optionally, the processor 181 may include one or more processing cores; preferably, the processor 181 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user pages, and application programs, and the modem processor mainly handles wireless communications. It is understood that the above-mentioned modem processor may not be integrated into the processor 181.

[0236] The memory 182 can be used to store software programs and modules. The processor 181 executes various functional applications and data processing by running the software programs and modules stored in the memory 182. The memory 182 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 182 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage device. Accordingly, the memory 182 may also include a memory controller to provide the processor 181 with access to the memory 182.

[0237] The electronic device also includes a power supply 183 for supplying power to various components. Preferably, the power supply 183 can be logically connected to the processor 181 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The power supply 183 can also include one or more DC or AC power supplies, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and other arbitrary components.

[0238] The electronic device may further include an input unit 184, which may be configured to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0239] Although not shown, the electronic device may further include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 181 in the electronic device will load the executable files corresponding to the processes of one or more application programs into the memory 182 according to the following instructions, and the processor 181 will run the application programs stored in the memory 182 to implement various functions as follows:

[0240] Obtain the game login page of the target cloud game. When a login operation for the game login page is detected, determine the third-party login platform based on the login operation. Based on the third-party login platform, obtain the user's identity information in the target cloud game. Based on the identity information, perform login authentication for the target cloud game through the third-party login platform. When the login authentication is successful, enter the target cloud game.

[0241] The specific implementation of the above operations can be found in the previous embodiments and will not be repeated here.

[0242] As can be seen from the above, the embodiment of the present application can obtain the game login page of the target cloud game. When a login operation for the game login page is detected, the third-party login platform is determined based on the login operation, and the identity information of the user in the target cloud game is obtained based on the third-party login platform. Based on the identity information, the login authentication of the target cloud game is performed through the third-party login platform. When the login authentication is successful, the target cloud game is entered. This solution can realize the login authorization of cloud games on bare metal, and eliminates the tedious operations such as calling third-party login applications, entering user names and passwords, thereby improving the efficiency of game login. At the same time, the present application can complete the authorized login of cloud games without invading the original game logic, and since there is no need to enter the user's personal information on the cloud, the security of user information can be guaranteed. The present application can also ensure the stable operation of the service by ensuring high availability of background access.

[0243] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be accomplished by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0244] To this end, an embodiment of the present application provides an electronic device in which a plurality of instructions are stored. The instructions can be loaded by a processor to execute the steps of any of the game login methods provided in the embodiments of the present application. For example, the instructions can execute the following steps:

[0245] Obtain the game login page of the target cloud game. When a login operation for the game login page is detected, determine the third-party login platform based on the login operation. Based on the third-party login platform, obtain the user's identity information in the target cloud game. Based on the identity information, perform login authentication for the target cloud game through the third-party login platform. When the login authentication is successful, enter the target cloud game.

[0246] The specific implementation of the above operations can be found in the previous embodiments and will not be repeated here.

[0247] The storage medium may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0248] Since the instructions stored in the storage medium can execute the steps in any game login method provided in the embodiments of the present application, the beneficial effects that can be achieved by any game login method provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0249] The above is a detailed introduction to a game login method, device, storage medium and electronic device provided in the embodiments of the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for those skilled in the art, according to the ideas of the present application, there may be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A game login method, characterized in that: Suitable for gaming terminals, including: Obtaining a game login page for a target cloud game, wherein the target cloud game is not running on the game terminal, but on a game server in the cloud, and the game server renders the game scene as a video and audio stream and transmits it to the game terminal via a network; When a login operation for the game login page is detected, determining a third-party login platform from candidate third-party login platforms based on the login operation; Based on the determined third-party login platform, obtaining the user's identity information in the target cloud game, where the identity information is account information including OpenID and token, and the user already has an account and password on the third-party login platform; Based on the identity information, performing login authentication for the target cloud game through the third-party login platform; When the login authentication is successful, enter the target cloud game; The step of performing login authentication for the target cloud game through the third-party login platform based on the identity information includes: Based on the identity information, generating a game start request for the target cloud game; Based on the game start request, a game login request is generated through a cloud-based game server; Forwarding the game login request to a forwarding server, and forwarding the game login request to the third-party login platform through the forwarding server so that the third-party login platform can authenticate the login authentication information in the game login request. The forwarding server determines the third-party login server specified by the request based on protocol parameters in the game launch request from the game server, and forwards the game login request to the specified third-party login server. The protocol parameters include the OpenID and token required for the third-party login. After the third-party login server authenticates the login information in the game login request, it determines the game authentication server corresponding to the target cloud game based on the authentication result. The game server uploads a secondary authentication request to the game authentication server. The game authentication server sends the secondary authentication request to the forwarding server. After receiving the secondary authentication request, the forwarding server forwards the secondary authentication request to the third-party login server corresponding to the third-party login platform. The third-party login server authenticates and obtains a secondary authentication result, then forwards the secondary authentication result to the game authentication server and feeds it back to the game server. The game server logs in to the cloud game based on the secondary authentication result.

2. The game login method according to claim 1, characterized in that: Generating a game start request for the target cloud game based on the identity information includes: Fill in the command line field based on the identity information and the platform attribute information of the third-party login platform; Generate a game launch request for the target cloud game based on the command line field.

3. The game login method according to claim 1, characterized in that: Get the game login page of the target cloud game, including: When a cloud game viewing request for a cloud game aggregation client is detected, a cloud game list is displayed; When a startup operation for a target cloud game in the cloud game list is detected, a game login page of the target cloud game is displayed.

4. The game login method according to claim 1, characterized in that: Based on the third-party login platform, obtaining the user's identity information in the target cloud game includes: Based on the third-party login client corresponding to the third-party login platform, obtaining an authorization identifier for authorizing the user to log in to the target cloud game; Based on the authorization identifier, the user's identity information in the target cloud game is obtained through a third-party login server corresponding to the third-party login platform.

5. The game login method according to claim 4, characterized in that: Obtaining an authorization identifier for an authorized user to log in to the target cloud game based on a third-party login client corresponding to the third-party login platform includes: Calling the third-party login client corresponding to the third-party login platform through the cloud game aggregation client; Based on the third-party login client, an authorization identifier for an authorized user to log in to the target cloud game is obtained.

6. A game login method, characterized in that: Applied to a game server, the method includes: Receive a game launch request from a cloud game aggregation client; the game launch request is a login operation of a game terminal to a game login page of a target cloud game, the target cloud game is not run on the game terminal, the target cloud game is run on a game server in the cloud, the game server renders the game scene as a video and audio stream, and transmits it to the game terminal via the network; after a third-party login platform is determined from candidate third-party login platforms based on the login operation, the generated account is generated based on identity information in the target cloud game obtained from the determined third-party login platform, the identity information being account information, the account information including OpenID and token, and the user already having an account and password on the third-party login platform; Parsing the game start request and generating a game login request according to the protocol command obtained by parsing; Sending the game login request to a third-party login platform for login authentication and receiving the authentication result from the third-party login platform, wherein the forwarding server determines the third-party login server specified by the request based on the protocol parameters in the game launch request from the game server, and forwards the game login request to the specified third-party login server, wherein the protocol parameters include the OpenID and token required for the third-party login; The target cloud game is logged in based on the authentication result, wherein the third-party login server authenticates the login information in the game login request and, based on the authentication result, determines the game authentication server corresponding to the target cloud game. The game server uploads a secondary authentication request to the game authentication server, and the game authentication server sends the secondary authentication request to the forwarding server. After receiving the secondary authentication request, the forwarding server forwards the secondary authentication request to the third-party login server corresponding to the third-party login platform. The third-party login server obtains a secondary authentication result after authentication, and then forwards the secondary authentication result to the game authentication server and feeds it back to the game server. The game server logs in to the cloud game according to the secondary authentication result.

7. A game login device, characterized in that: include: A page acquisition module is used to obtain the game login page of a target cloud game, wherein the target cloud game is not run in the game terminal, but in a game server in the cloud. The game server renders the game scene as a video and audio stream and transmits it to the game terminal via the network; a determination module configured to, when a login operation for the game login page is detected, determine a third-party login platform from candidate third-party login platforms based on the login operation; An acquisition module, configured to acquire the user's identity information in the target cloud game based on the determined third-party login platform, wherein the identity information is account information including OpenID and token, and the user already has an account and password on the third-party login platform; The first authentication module is used to perform login authentication of the target cloud game through the third-party login platform based on the identity information; the first authentication module is specifically used to generate a game login request through the cloud game server based on the game startup request; forward the game login request to the forwarding server, and forward the game login request to the third-party login platform through the forwarding server, so that the third-party login platform authenticates the login authentication information in the game login request, wherein the forwarding server determines the third-party login server specified by the request based on the protocol parameters in the game startup request from the game server, and forwards the game login request to the specified third-party login server, wherein the protocol parameters include The OpenID and token required for third-party login; after the third-party login server authenticates the login information in the game login request, it determines the game authentication server corresponding to the target cloud game based on the authentication result. The game server uploads a secondary authentication request to the game authentication server. The game authentication server sends the secondary authentication request to the forwarding server. After receiving the secondary authentication request, the forwarding server forwards the secondary authentication request to the third-party login server corresponding to the third-party login platform. The third-party login server authenticates and obtains the secondary authentication result, then forwards the secondary authentication result to the game authentication server and feeds it back to the game server. The game server logs in to the cloud game based on the secondary authentication result. The game module is used to enter the target cloud game when the login authentication is successful.

8. A game login device, characterized in that: include: A receiving module, configured to receive a game start request from a cloud game aggregation client; The game launch request is a login operation of the game terminal to the game login page of the target cloud game. The target cloud game is not run on the game terminal, but on a game server in the cloud. The game server renders the game scene as a video and audio stream and transmits it to the game terminal via the network. After a third-party login platform is determined from candidate third-party login platforms based on the login operation, the game is generated based on the identity information of the target cloud game obtained from the determined third-party login platform. The identity information is account information, which includes OpenID and token. The user already has an account and password on the third-party login platform. A parsing module, configured to parse the game start request and generate a game login request based on the parsed protocol command; The second authentication module is used to send the game login request to a third-party login platform for login authentication and receive the authentication result from the third-party login platform, wherein the forwarding server determines the third-party login server specified by the request based on the protocol parameters in the game start request from the game server, and forwards the game login request to the specified third-party login server, wherein the protocol parameters include the OpenID and token required for third-party login; after the third-party login server authenticates the login information in the game login request, it determines the game authentication server corresponding to the target cloud game based on the authentication result, the game server uploads a secondary authentication request to the game authentication server, and the game authentication server sends the secondary authentication request to the forwarding server. After receiving the secondary authentication request, the forwarding server forwards the secondary authentication request to the third-party login server corresponding to the third-party login platform. The third-party login server authenticates and obtains the secondary authentication result, and then forwards the secondary authentication result to the game authentication server and feeds it back to the game server. The game server logs in to the cloud game according to the secondary authentication result; A login module is used to log in to the target cloud game based on the authentication result.

9. A game login system, characterized in that: The game login system includes a game terminal, a third-party login platform, a game server, and a forwarding server. The third-party login platform includes a third-party login client and a third-party login server. The game terminal is installed with a cloud game aggregation client and a third-party login client, including: The game terminal is used to obtain a game login page of a target cloud game, wherein the target cloud game is not run in the game terminal, but in a game server in the cloud, and the game server renders the game scene as a video and audio stream and transmits it to the game terminal through the network; when a login operation for the game login page is detected, a third-party login platform is determined from candidate third-party login platforms based on the login operation; based on the determined third-party login platform, the user's identity information in the target cloud game is obtained, the identity information is account information, and the account information includes OpenID and token, and the user already has an account and password on the third-party login platform; based on the game start request, a game login request is generated through the game server in the cloud; the game login request is forwarded to a forwarding server, and the game login request is forwarded to the third-party login platform through the forwarding server, so that the third-party login platform can authenticate the login authentication information in the game login request; when the login authentication is successful, the target cloud game is entered; The game server is configured to receive a game launch request from a cloud game aggregation client; parse the game launch request and generate a game login request based on the protocol command obtained by parsing; send the game login request to a third-party login platform for login authentication, and receive an authentication result from the third-party login platform; and log in to the target cloud game based on the authentication result. The forwarding server is configured to receive a game login request from the game server; send the game login request to a third-party login platform for login authentication; receive an authentication result from the third-party login platform; and send the authentication result to the game server; The third-party login server is used to authenticate the login authentication information in the game login request, wherein the forwarding server determines the third-party login server specified by the request based on the protocol parameters in the game launch request from the game server, and forwards the game login request to the specified third-party login server, wherein the protocol parameters include the OpenID and token required for the third-party login; After the third-party login server authenticates the login information in the game login request, it determines the game authentication server corresponding to the target cloud game based on the authentication result. The game server uploads a secondary authentication request to the game authentication server. The game authentication server sends the secondary authentication request to the forwarding server. After receiving the secondary authentication request, the forwarding server forwards the secondary authentication request to the third-party login server corresponding to the third-party login platform. The third-party login server authenticates and obtains a secondary authentication result, then forwards the secondary authentication result to the game authentication server and feeds it back to the game server. The game server logs in to the cloud game based on the secondary authentication result.

10. A computer storage medium having a computer program stored thereon, characterized in that: When the computer program is run on a computer, the computer is caused to execute the game login method according to any one of claims 1 to 6.

11. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • One game account access realization method and system thereof

    CN103067332A

  • Game application self-login method and device, terminal and storage medium

    CN109663361A

  • Application login method and device, terminal and storage medium

    CN110417723A