Cloud game login method and device, computer, storage medium and program product

By introducing a game login interception function into the cloud gaming platform client, the problems of complex and insecure cloud gaming logins have been solved, and a convenient and secure login process has been achieved.

CN116262177BActive Publication Date: 2026-02-10TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111517047.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-13
Publication Date
2026-02-10
Estimated Expiration
2041-12-13

AI Technical Summary

Technical Problem

The login process for cloud gaming is complex and insecure, requiring multiple terminal devices to scan QR codes to log in, and login information from third-party applications is easily leaked.

Method used

By introducing a game login interception function into the cloud gaming platform client, the original login process is interrupted, and the login request is forwarded to a third-party application using the cloud gaming runtime component. The target cloud game is then logged into in the cloud gaming platform client based on the authorization code.

Benefits of technology

It improves the convenience and security of cloud gaming login, eliminating the need for other terminal devices to scan QR codes for login, reducing the risk of entering third-party application information, and improving login efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116262177B_ABST
    Figure CN116262177B_ABST
Patent Text Reader

Abstract

The embodiment of the application discloses a cloud game login method and device, a computer, a storage medium and a program product, relates to a blockchain technology, and the method comprises the following steps: in response to a game login request for a target cloud game in a cloud game platform client, triggering a game login interception function in a target game process of the target cloud game based on the game login request; based on the game login interception function, sending the game login request to a cloud game running component, forwarding the game login request to the cloud game platform client through the cloud game running component; starting a target third-party application requested by the game login request through the cloud game platform client, if the target third-party application authorizes the game login request to pass, sending a login authorization code to the cloud game platform client through the target third-party application; and logging in the target cloud game based on the login authorization code in the cloud game platform client. By adopting the application, the convenience and efficiency of cloud game login can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a cloud gaming login method, apparatus, computer, storage medium, and program product. Background Technology

[0002] Due to their ease of use (playable on any device) and convenient interaction among different users, video games have gradually become an important form of entertainment. However, to achieve higher quality graphics and gameplay, some video games often require a large amount of memory. Therefore, cloud gaming emerged, which runs video games in a cloud environment. This allows terminal devices to run memory-intensive games with less storage space, improving the versatility of video games. However, logging into cloud games often involves third-party applications. Typically, cloud games provide a third-party login code, which users need to scan for authorization. This often requires multiple terminal devices to log in, making the login process complex, inefficient, and with limited applicability. Alternatively, users can directly enter their third-party application's account and password within the cloud gaming platform client, which could lead to the leakage of the third-party application's login information (including account and password), resulting in poor security for cloud gaming logins. Summary of the Invention

[0003] This application provides a cloud gaming login method, device, computer, storage medium, and program product, which can improve the convenience and efficiency of cloud gaming login.

[0004] One embodiment of this application provides a cloud gaming login method, the method comprising:

[0005] In response to a game login request for a target cloud game from the cloud gaming platform client, trigger a game login interception function in the target game process of the target cloud game based on the game login request;

[0006] The game login interception function interrupts the original login process of the target cloud game and sends the game login request to the cloud game runtime component, which provides the runtime environment for the target cloud game in the cloud game platform client. The cloud game runtime component then forwards the game login request to the cloud game platform client. The original login process refers to the process corresponding to the login method integrated into the target cloud game.

[0007] If the target third-party application authorized by the game login request is initiated through the cloud gaming platform client, a login authorization code will be sent to the cloud gaming platform client through the target third-party application.

[0008] Log in to the target cloud game using the login authorization code in the cloud gaming platform client.

[0009] One embodiment of this application provides a cloud gaming login device, the device comprising:

[0010] The interception trigger module is used to respond to game login requests for the target cloud game in the cloud gaming platform client, and to trigger the game login interception function in the target game process of the target cloud game based on the game login request;

[0011] The application forwarding module is used to interrupt the original login process of the target cloud game based on the game login interception function, and send the game login request to the cloud game runtime component, which provides the runtime environment for the target cloud game in the cloud game platform client; the original login process refers to the process corresponding to the login method integrated into the target cloud game;

[0012] The component forwarding module is used to forward game login requests to the cloud gaming platform client via cloud gaming runtime components;

[0013] The application invocation module is used to launch the target third-party application requested by the game login request through the cloud gaming platform client;

[0014] The login authorization module is used to send a login authorization code to the cloud gaming platform client through the target third-party application if the target third-party application authorizes the game login request.

[0015] The game login module is used to log in to the target cloud game in the cloud gaming platform client based on the login authorization code.

[0016] The device also includes:

[0017] The function loading module is used to respond to the startup operation of the cloud gaming platform client and load the game login interception function; the game login interception function is used to monitor game login requests for one or more cloud games included in the cloud gaming platform client; one or more cloud games include the target cloud game;

[0018] The function integration module is used to launch the target game process of the target cloud game when responding to a launch operation for the target cloud game in the cloud gaming platform client, and to integrate game login interception function in the target game process.

[0019] The interception triggering module includes:

[0020] The interception creation unit is used to respond to game login requests for the target cloud game in the cloud gaming platform client. In the target game process of the target cloud game, the game login interception function for the target cloud game is triggered based on the game login request, and a game login interception process is created.

[0021] The application's forwarding module is specifically used for:

[0022] By intercepting the game login process, the original login process of the target cloud game is interrupted, and the game login request is sent to the cloud game runtime component, which is used to provide the runtime environment for the target cloud game in the cloud game platform client.

[0023] The application calls the following modules:

[0024] The interface acquisition unit is used to obtain the login application type carried in the game login request through the cloud gaming platform client, and to obtain the application development toolkit corresponding to the login application type;

[0025] The application launch unit is used to obtain the target game identifier of the target cloud game, call the application development kit to launch the target third-party application requested by the game login request, and send the target game identifier to the target third-party application; the target game identifier is used to instruct the target third-party application to determine the target cloud game for authorization verification.

[0026] The game login module includes:

[0027] The credential acquisition unit is used to send the login authorization code to the cloud gaming runtime component through the cloud gaming platform client, and request access credentials from the cloud gaming server based on the cloud gaming runtime component and the login authorization code, so that the cloud gaming server can obtain access credentials from the target third-party application based on the login authorization code and the target game information of the target cloud game, and send the access credentials to the cloud gaming runtime component.

[0028] The credential forwarding unit is used to send access credentials to the target cloud game through the cloud game runtime component to log in to the target cloud game.

[0029] The device also includes:

[0030] The process creation module is used to respond to the launch operation for the target cloud game and create the target game process for the target cloud game by hatching the process.

[0031] The function call module is used to call additional application functions through the target game process. In the additional application functions, the game registration request is sent to the system service process through the target game process.

[0032] The registration request module is used to obtain game registration requests through the system service process;

[0033] The game launch module is used to launch the target cloud game based on the game registration request;

[0034] The interception triggering module is also used to execute the process of responding to the game login request for the target cloud game in the cloud game platform client when a game login request for the target cloud game is detected, and triggering the game login interception function in the target game process of the target cloud game based on the game login request.

[0035] The game launch module includes:

[0036] The object creation unit is used to call the application binding function based on the game registration request, and trigger the target game process to create a game application object in the application binding function;

[0037] The function startup unit is used to call the initial creation function of the game application object and start the target cloud game based on the initial creation function;

[0038] This interception trigger module is specifically used for:

[0039] In response to a game login request for a target cloud game from the cloud gaming platform client, the game login interception function for the target cloud game is triggered in the target game process of the target cloud game based on the game login request.

[0040] The device also includes:

[0041] The program compilation module is used to obtain the login interception program and compile it to generate a login interception bytecode file;

[0042] The program conversion module is used to convert the login interception bytecode file to an executable file corresponding to the login interception program.

[0043] The file compression module is used to encapsulate executable files into compressed data packages, and then add the compressed data packages to the target game code of the target cloud game.

[0044] The interception trigger module includes:

[0045] The compression acquisition unit is used to respond to the game login request for the target cloud game in the cloud gaming platform client, and to call the compressed data packet in the target game code in the target game process of the target cloud game based on the game login request;

[0046] The data compilation unit is used to parse compressed data packets and trigger the game login interception function based on the parsed compressed data packets.

[0047] Specifically, the forwarding module of this component is used for:

[0048] A long-lived network connection is established between the cloud gaming runtime component and the cloud gaming platform client. Based on this long-lived network connection, the game login request is forwarded to the cloud gaming platform client.

[0049] The device also includes:

[0050] The failure message module is used to output a login failure message in the target cloud game in the cloud gaming platform client if the target third-party application fails to authorize the game login request.

[0051] The component output module is used to output a game login component based on a login failure message in the target cloud game; the game login component is used to trigger a game login request for the target cloud game.

[0052] Specifically, the application forwarding module is used for:

[0053] If the game login interception function is successfully triggered, the original login process of the target cloud game will be interrupted based on the game login interception function, and the game login request will be sent to the cloud game runtime component, which is used to provide the runtime environment for the target cloud game in the cloud game platform client;

[0054] This forwarding module is specifically used to forward game login requests to the cloud gaming platform client via the cloud gaming runtime component;

[0055] The device also includes:

[0056] The original startup module is used to start the original login process of the target cloud game if the game login interception function fails to be triggered.

[0057] The cloud-based detection module is used to detect the installation status of third-party cloud applications in the cloud gaming platform client during the original login process; the third-party cloud application is the application corresponding to the target third-party application in the cloud gaming platform client; the third-party cloud application is the application requested by the game login request in the cloud gaming platform client.

[0058] The login confirmation module is used to redirect to the cloud-based third-party application if the application is already installed. The cloud-based third-party application outputs a login confirmation message. When the cloud-based third-party application confirms the login confirmation message, the user logs into the target cloud game.

[0059] The installation request module is used to output an installation request message for the cloud-based third-party application if the application is not installed. When installing the cloud-based third-party application in the cloud gaming platform client based on the installation request message, the application is used to log in to the target cloud game.

[0060] One embodiment of this application provides a computer device, including a processor, a memory, and an input / output interface;

[0061] The processor is connected to a memory and an input / output interface, respectively. The input / output interface is used to receive and output data, the memory is used to store computer programs, and the processor is used to call the computer programs so that the computer device containing the processor executes the cloud gaming login method in one aspect of the embodiments of this application.

[0062] One aspect of this application provides a computer-readable storage medium storing a computer program adapted to be loaded and executed by a processor, so that a computer device having the processor performs the cloud gaming login method of one aspect of this application.

[0063] One aspect of this application provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in various optional embodiments of this application. In other words, when the computer instructions are executed by the processor, they implement the methods provided in various optional embodiments of this application.

[0064] Implementing the embodiments of this application will have the following beneficial effects:

[0065] In this embodiment, in response to a game login request for a target cloud game in the cloud gaming platform client, a game login interception function is triggered in the target game process of the target cloud game based on the game login request. The game login request is then sent to a cloud gaming runtime component, which provides the runtime environment for the target cloud game in the cloud gaming platform client. This component forwards the game login request to the cloud gaming platform client. The target third-party application requested by the game login request is launched through the cloud gaming platform client. If the target third-party application authorizes the game login request, it sends a login authorization code to the cloud gaming platform client. The target cloud game is then logged into in the cloud gaming platform client based on the login authorization code. This process enables indirect interaction between the target cloud game and the target third-party application, allowing data interaction between the target cloud game within the cloud gaming platform client and the target third-party application outside the cloud gaming platform client. This eliminates the need for other terminal devices to scan codes for login, improving the convenience and efficiency of cloud game login. Furthermore, it eliminates the need to input login information for third-party applications, enhancing data security during the cloud game login process. Because the target cloud game and the target third-party application are on different platforms and not on the same plane, and the target cloud game is installed on the cloud gaming platform client, the cloud gaming platform client and the target cloud game have a "parent-child" relationship and can directly interact with each other. The cloud gaming platform client and the target third-party application are on the same platform and are both installed on the computer device. The cloud gaming platform client can call the login request interface provided by the target third-party application to request login authorization from the target third-party application. Thus, the cloud gaming platform client acts as an intermediary to realize data interaction between the target cloud game and the target third-party application, thereby improving the convenience of cloud game login. Attached Figure Description

[0066] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0067] Figure 1a This is a network interaction architecture diagram for cloud gaming provided in an embodiment of this application;

[0068] Figure 1b This is a network architecture diagram for cloud gaming login provided in an embodiment of this application;

[0069] Figure 2 This is a schematic diagram of a cloud gaming login scenario provided in an embodiment of this application;

[0070] Figure 3 This is a flowchart of a login interception function generation method provided in an embodiment of this application;

[0071] Figure 4 This is a flowchart of a cloud gaming login method provided in an embodiment of this application;

[0072] Figure 5 This application provides a network interaction diagram in its embodiments;

[0073] Figure 6 This is a cloud gaming login architecture diagram provided in an embodiment of this application;

[0074] Figure 7 This is a schematic diagram of a cloud gaming startup process provided in an embodiment of this application;

[0075] Figure 8 This is an interactive schematic diagram of a cloud gaming login method provided in an embodiment of this application;

[0076] Figure 9 This is a schematic diagram of a cloud gaming login display provided in an embodiment of this application;

[0077] Figure 10 This is a schematic diagram of a cloud gaming login device provided in an embodiment of this application;

[0078] Figure 11 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation

[0079] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0080] If user data needs to be collected in this application, a prompt interface or pop-up window will be displayed before and during the collection process. This prompt interface or pop-up window is used to inform the user that XXXX data is currently being collected. The data acquisition steps will only begin after the user confirms the prompt interface or pop-up window; otherwise, the process will end. Furthermore, the acquired user data will be used in reasonable and legal scenarios or for legitimate purposes. Optionally, in scenarios where user data needs to be used but user authorization has not been obtained, authorization can be requested from the user, and the user data will only be used after authorization is granted.

[0081] In the embodiments of this application, please refer to Figure 1a , Figure 1a This application provides a network interaction architecture diagram for running cloud games. A cloud gaming platform client can be installed on a computer device, which can then install a cloud game, providing a cloud-based operating environment. This means different computer devices can interact with each other within the cloud game network. For example, both computer devices 102a and 102b have cloud gaming platform clients installed. When computer device 102a runs a target cloud game on its cloud gaming platform client, it can interact with other associated computer devices running the target cloud game through the cloud gaming network, enabling interaction within the target cloud game. These associated computer devices are those running the target cloud game and requiring interaction with computer device 102a. The target cloud game can be a single-player game or a multiplayer game. When the target cloud game is a multiplayer game, the various computer devices needing to interact can do so through the cloud gaming network. Optionally, the computer device can access the cloud game server 101 through the cloud gaming network to run the target cloud game. This cloud gaming network can be considered a cloud-based device interaction network for cloud games.

[0082] Further, see Figure 1b , Figure 1b This is a network architecture diagram for cloud gaming login provided in an embodiment of this application. For example... Figure 1bAs shown, computer device 103 is equipped with a cloud gaming platform client. When a game login request for a target cloud game is detected in the cloud gaming platform client, computer device 103 can respond to the game login request and trigger a game login interception function based on the request. Based on this interception function, computer device 103 can interrupt the original login process of the target cloud game, forward the login request to the cloud gaming platform client, and then the cloud gaming platform client requests authorization from the target third-party application based on the login request. The client then sends the obtained login authorization code to the target cloud game, enabling login. This eliminates the need for other terminal devices to scan codes or for users to enter login information for the target third-party application within the target cloud game. This improves the convenience and efficiency of cloud game login, as well as its security, such as the security of the target third-party application's login information. Cloud gaming, also known as gaming on demand, is an online gaming technology based on cloud computing technology. Cloud gaming technology enables thin clients with relatively limited graphics processing and data processing capabilities to run high-quality games. In a cloud gaming scenario, the game does not reside on the player's terminal but runs on a cloud server. The cloud server renders the game scene as a video and audio stream, which is then transmitted to the player's terminal via the network. The player's terminal does not need powerful graphics processing and data processing capabilities; it only needs basic streaming media playback capabilities and the ability to receive player input commands and send them to the cloud server.

[0083] For details, please see Figure 2 , Figure 2 This is a schematic diagram of a cloud gaming login scenario provided in an embodiment of this application. For example... Figure 2As shown, computer device 201 has a cloud gaming platform client 2011 installed. In response to a startup operation on the cloud gaming platform client 2011, the client displays the cloud games included in the client, such as cloud game 20a and cloud game 20b. The cloud gaming platform client 2011 may include zero or one cloud games. That is, if no cloud games are installed on the cloud gaming platform client 2011, then the client contains no cloud games (i.e., zero cloud games); if cloud games are installed on the cloud gaming platform client 2011, then the client contains one or more cloud games. Optionally, assuming that a cloud gaming platform client 2011 has a cloud gaming service installed, in response to a game login request for a target cloud gaming service, assuming the target cloud gaming service is cloud gaming 20a, the computer device 201 can display the target game login page 202 of the target cloud gaming service. The login page 202 displays login interfaces, including but not limited to identifier login interfaces, token login interfaces, email login interfaces, and third-party login interfaces. The identifier login interface can be considered as an interface for logging in using a login identifier (such as a game account) and a login password; the third-party login interface can be considered as an interface for logging into the target cloud gaming service through a third-party application. Optionally, the target cloud gaming service can be associated with N third-party applications. That is, the target cloud gaming service can be logged into through any one of the N third-party applications. The third-party applications associated with the target cloud gaming service can be denoted as the associated third-party applications of the target cloud gaming service; that is, the target cloud gaming service has N associated third-party applications, where N is a positive integer. Figure 2 As shown, the third-party login interfaces include third-party login interface 2021 and third-party login interface 2022, etc., where third-party login interface 2021 and third-party login interface 2022 correspond to different third-party applications.

[0084] Optionally, assuming that computer device 201 detects a trigger operation targeting the third-party login interface 2021, based on the trigger operation targeting the third-party login interface 2021, it responds to the game login request for the target cloud game in the cloud gaming platform client 2011, and triggers a game login interception function in the target game process of the target cloud game based on the game login request. Based on the game login interception function, the game login request is sent to the cloud gaming runtime component, which is used to provide a runtime environment for the target cloud game in the cloud gaming platform client 2011, and can also be referred to as the cloud gaming runtime environment. Furthermore, computer device 201 forwards the game login request to cloud gaming platform client 2011 through the cloud gaming runtime component. Cloud gaming platform client 2011 then requests authorization from the target third-party application requested by the game login request. This target third-party application can be considered the third-party application corresponding to the third-party login interface that triggered the game login request. Assuming this target third-party application is third-party application 2012 (i.e., it can be denoted as target third-party application 2012), computer device 201 can perform authorization verification on the game login request through target third-party application 2012. If authorization is successful, the target third-party application 2012 sends a login authorization code to the cloud gaming platform client 2011. The computer device can then log in to the target cloud game in the cloud gaming platform client 2011 based on the login authorization code and enter the cloud gaming page 203 of the target cloud game. This cloud gaming page 203 can be the default display page or history page of the target cloud game, etc. There are no restrictions here. The history page can be the last page of the target cloud game that was closed before this login, or it can be a game start status selection page (including but not limited to the selection of game restart status or game continue status, etc.), etc. There are no restrictions here.

[0085] Through the above process, indirect interaction between the target cloud game and the target third-party application that triggers the login is realized. This eliminates the need for other terminal devices to scan codes or for entering login information of the target third-party application in the target cloud game. Login to the target cloud game can be achieved based on the target third-party application, thereby improving the convenience and efficiency of cloud game login and enhancing the security of cloud game login data.

[0086] It is understood that the computer equipment mentioned in the embodiments of this application includes, but is not limited to, terminal devices or servers. In other words, the computer equipment can be a server or a terminal device, or a system composed of a server and a terminal device. The terminal device mentioned above can be an electronic device, including but not limited to mobile phones, tablets, desktop computers, laptops, handheld computers, in-vehicle devices, augmented reality / virtual reality (AR / VR) devices, head-mounted displays, smart TVs, wearable devices, smart speakers, digital cameras, webcams, and other mobile internet devices (MIDs) with network access capabilities, or terminal devices in scenarios such as trains, ships, and flights. Figure 1a As shown, the terminal device can be a laptop computer (as shown in computer device 102a) or a mobile phone (as shown in computer device 102b), etc. Figure 1a Only a portion of the equipment is listed. The servers mentioned above can be standalone physical servers, server clusters or distributed systems composed of multiple physical servers, or cloud servers providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, vehicle-to-everything (V2X) communication, content delivery networks (CDNs), and big data and artificial intelligence platforms.

[0087] Optionally, the data involved in the embodiments of this application can be stored in a computer device, or it can be stored based on cloud storage technology or a blockchain network, without limitation. Optionally, the solution implemented in the embodiments of this application can be encapsulated into a smart contract. The computer device responds to the game login request for the target cloud game in the cloud gaming platform client, and triggers the smart contract based on the game login request to realize the login to the target cloud game based on the target third-party application.

[0088] Specifically, computer devices can add a login interceptor to the target game code of the target cloud game to implement game login interception functionality. This process can be found in [reference needed]. Figure 3 , Figure 3 This is a flowchart of a login interception function generation method provided in an embodiment of this application. Figure 3 As shown, the method includes the following steps:

[0089] Step S301: Obtain the login interception program, compile and convert the login interception program to obtain a compressed data packet.

[0090] In this embodiment, a computer device can obtain a login interceptor program, compile the login interceptor program to generate a login interceptor bytecode file, perform runtime conversion on the login interceptor bytecode file to obtain an executable file corresponding to the login interceptor program, and encapsulate the executable file to obtain a compressed data packet. The login interceptor program may include overloaded methods, such as hook functions, and may also include a login interception method. The computer device can interrupt the original login process of the target cloud game through the overloaded methods, start the game login interception process, and implement the game login interception function through the login interception method. Specifically, the computer device can compile the login interceptor program to generate a login interceptor bytecode file. This login interceptor bytecode file has platform independence and network mobility, making the login interceptor program more suitable for the network and broadening its applicability. The login interceptor bytecode file refers to a file that can run on any hardware platform and operating system that supports the program type corresponding to the login interceptor program, such as a class file. Network mobility refers to the ability to maintain the bytecode in a central device and transmit it over a network to a wide variety of computers. In other words, the login interception bytecode file only needs to be updated in the central device to be updated in other devices associated with it. This network mobility also represents the characteristic of variable file loading timing. For example, the computer device can dynamically link and load the login interception bytecode when needed, or load it during the target cloud game runtime. Furthermore, the computer device can perform runtime conversion on the login interception bytecode to obtain an executable file corresponding to the login interception program. This conversion can involve changing the file type of the login interception bytecode, such as converting it to DEX format. The executable file can be a file that can be executed by the cloud game virtual machine, such as a DEX file. A DEX file is a file obtained by compiling and processing Java source files on the Android platform, and can be executed by the Android virtual machine. Java refers to an object-oriented programming language.

[0091] Furthermore, the computer device can encapsulate the executable file to obtain a compressed data package, which can be considered a kind of archive file. It can be used to aggregate a large number of Java class files, related metadata and resources, such as Java archive (JAR) files.

[0092] Step S302: Add the compressed data package to the target game code of the target cloud game.

[0093] In this embodiment, the computer device can add the compressed data packet to the target game code of the target cloud game. Optionally, the computer device can load the compressed data packet into the Android Virtual Machine (ART) through a class loader, and then add the compressed data packet to the target game code of the target cloud game based on ART.

[0094] Optionally, when loading the target cloud game onto the game platform client, the computer device can send a compressed data packet to the target cloud game. This compressed data packet is added to the target game's code, allowing each cloud game included in the cloud gaming platform client to integrate the compressed data packet corresponding to the login interceptor. When the target cloud game triggers a game login request via a third-party application, it can directly call its own code, reducing code call time to some extent. The login interceptor and its corresponding compressed data packet are provided by the cloud gaming platform client. The computer device directly adds this compressed data packet to the target game's code without modifying other parts of the target game's code. When responding to the target cloud game's game login request, the computer device first triggers the game login interception function corresponding to the compressed data packet to interrupt the target cloud game's original login process, indirectly launching the cloud gaming platform client. The cloud gaming platform client then launches the target third-party application, enabling login to the target cloud game via the target third-party application.

[0095] Alternatively, the computer device can add the compressed data package to the cloud gaming platform code corresponding to the cloud gaming platform client. When the target cloud game starts, the computer device can create a game application object for the target cloud game, obtain the game-related code from the cloud gaming platform code based on the game application object (this game-related code includes the compressed data package), and generate a target cloud game instance for the game application object based on this game-related code. This target cloud game instance also belongs to the target game code of the target cloud game. The target game code of the target cloud game includes the target game's native code and additional target game code. The native target game code refers to the code generated by the target cloud game itself, while the additional target game code refers to the code called from the cloud gaming platform code when the target cloud game runs in the cloud gaming platform client, provided by the cloud gaming platform client. In response to a game login request for the target cloud game, the game login interception function corresponding to the compressed data package in the target game's additional code is triggered based on the game login request.

[0096] In the above method of adding compressed data packets, the existing code of the cloud gaming platform client and the target cloud game is not deleted or modified. Instead, the compressed data packet is directly added. When responding to the game login request for the target cloud game in the cloud gaming platform client, the game login interception function is triggered based on the compressed data packet. This interrupts and calls the execution process of the original code (including cloud gaming platform code and target game code, etc.), so that the cloud game can be uniformly updated for login through the cloud gaming platform client without distinguishing between cloud games. This allows the target third-party application to be invoked, thereby enabling login to the target cloud game through the target third-party application. This improves the convenience of code updates and does not change the original login process of the target cloud game, preserving the original code as much as possible and thus improving the efficiency of code logic implementation.

[0097] Further, please see Figure 4 , Figure 4 This is a flowchart illustrating a cloud gaming login method provided in an embodiment of this application. Figure 4 As shown, the cloud gaming login process includes the following steps:

[0098] Step S401: Respond to the game login request for the target cloud game in the cloud gaming platform client, and trigger the game login interception function in the target game process of the target cloud game based on the game login request.

[0099] In this embodiment of the application, the computer device can respond to a game login request for a target cloud game in the cloud gaming platform client, such as... Figure 2In the Zhongyun Gaming Platform Client 2011, for game login requests from a target cloud game 20a, a computer device can trigger a game login interception function within the target game process of the target cloud game based on the game login request. Specifically, the computer device can respond to the startup operation for the target cloud game, creating a target game process for the target cloud game, which is used to run the target cloud game. Optionally, the target cloud game can have one or more login data types, including but not limited to identifier data types, token data types, email data types, and application data types. Each login data type can correspond to one or more login interfaces. For example, the identifier data type can correspond to the identifier login interface, the token data type to the token login interface, the email data type to the email login interface, and the application data type to a third-party login interface, etc. Optionally, the computer device can respond to the game login request for the target cloud game in the cloud gaming platform client, obtain the login data type corresponding to the game login request, and if the login data type is an application data type, then trigger the game login interception function within the target game process of the target cloud game based on the game login request. Different login data types correspond to different login interfaces. In other words, one login interface corresponds to one way to log in to the target cloud game. When responding to a trigger request for the login interface corresponding to the application data type, the computer device can generate a game login request for the target cloud game, or respond to a game login request for the target cloud game in the cloud gaming platform client, triggering a game login interception function in the target game process of the target cloud game based on the game login request. Optionally, the game login request may include, but is not limited to, login request instructions and login application types, where the login application type indicates the third-party application corresponding to the game login request. Optionally, the game login request can be any data format that can be sent, such as JavaScript Object Notation (JSON) format, Extensible Markup Language (XML) format, or chart format, etc. Specifically, when responding to a trigger request for the login interface corresponding to the application data type, the computer device can generate a game login request through the target cloud game.

[0100] Specifically, the computer device can respond to a game login request for a target cloud game from the cloud gaming platform client. Within the target game process of the target cloud game, it interrupts the original login process of the target cloud game based on the login request; triggers the game login interception function for the target cloud game, and creates a game login interception process. Specifically, the computer device can respond to a game login request for a target cloud game from the cloud gaming platform client. Within the target game process of the target cloud game, it loads an overloaded method from the target game code. Based on this overloaded method, it triggers the game login interception function for the target cloud game and creates a game login interception process. This overloaded method is used to overload the target login function of the target cloud game. When the computer device loads the overloaded method from the target game code, it ensures that this overloaded method is called before the target login function. Running the overloaded method triggers the game login interception function for the target cloud game, creating the game login interception process. The overloaded method can be a hook function. When it is called before the target login function, because the overloaded method is an overload of the target login function, the computer device loads the overloaded method instead of the target login function (i.e., interrupts the original login process corresponding to the target login function). It then calls the method object corresponding to the login interception method, performs a reflection call on the login interception method, and triggers the game login interception function of the target cloud game. Optionally, this login interception method can be a hook method. The game login interception process can be considered as the process that implements the game login interception function. It does not necessarily refer to an actually created process; it can run within the target game process of the target cloud game. For example, the process associated with the game login interception function implemented in the target game process can be denoted as the game login interception process. Overloading refers to a method that reimplements the method with the same name but different parameters. It is mainly used to recompile the original method. In other words, the overloaded method here is a method that achieves the same purpose as the target login function (i.e., to obtain login information from a third-party application), but the implementation process is different. Therefore, the overloaded method is equivalent to overloading the target login method. The overloaded method and the target login method are different implementations of logging into cloud games through a third-party application.

[0101] Optionally, the computer device can respond to a launch operation for a cloud gaming platform client by loading a game login interception function. This function monitors game login requests for one or more cloud games included in the cloud gaming platform client; the one or more cloud games include a target cloud game. When responding to a launch operation for the target cloud game in the cloud gaming platform client, the target game process of the target cloud game is launched, and the game login interception function is integrated into the target game process. This function is used to launch the game login interception process indicated by the function, thereby interrupting the target login method of the target cloud game (i.e., the login method corresponding to the original login process). At this time, when the computer device responds to a game login request for the target cloud game in the cloud gaming platform client, it can trigger the game login interception function in the target game process of the target cloud game based on the game login request. In this context, the application development kits (IDEs) provided by third-party applications (including target third-party applications) for login authorization can only be invoked by applications at the same level as the third-party application. For example, in non-cloud gaming, both the non-cloud game and the third-party application are installed on the computer device and run at the device system level. Therefore, when a non-cloud game needs to log in through a third-party application, the login method involves directly calling the third-party application's IDE to obtain its login information. This process is essentially a direct call to the third-party application. However, cloud gaming (including target cloud gaming) is deployed on the cloud gaming platform client, allowing for seamless interaction between the cloud game and the third-party application. Because of environmental isolation, cloud gaming requires login via a third-party application, users can only log in by directly entering the third-party application's login information within the cloud gaming environment. This application addresses this issue by using a game login interception function to resolve the environmental isolation problem between the target third-party application and the target cloud gaming environment. This creates an environment for data interaction between the target cloud gaming and the target third-party application, enabling indirect calls between them. Furthermore, it allows the use of the target third-party application's application development kit (IDE) to log in to the target cloud gaming environment based on the third-party application's login information, thus improving the convenience of cloud gaming login.

[0102] The computer device can respond to a launch operation for a target cloud game, starting the target cloud game and displaying its login page. A game object, such as a user, can trigger a login request on this login page. Specifically, the computer device can respond to the launch operation by creating a target game process through a zygote process. Specifically, the computer device can respond to the launch operation by initiating a process creation request from the system service (system_server) process to the zygote process. Within the zygote process, the target game process is created using a fork function. The system service process provides basic services and can be considered a system service module. The zygote process provides daemon services; other virtual machine processes can be considered to be zygotes created by this zygote process. The zygote process and the new processes created by it can share virtual machine memory and framework layer resources. The fork function, within the zygote process, is used to create new processes.

[0103] Furthermore, the computer device can call an additional application function through the target game process. Within this additional application function, a game registration request is sent from the target game process to the system service process. This additional application function is used to create the application object corresponding to the target cloud game. For example, if the target game code is implemented in Java, this additional application function could be an `attachApplication` function, etc., without limitation. Specifically, the system service process obtains the game registration request, starts the target cloud game based on the request, and when a game login request for the target cloud game is detected, it executes the response to the game login request in the cloud gaming platform client, triggering the game login interception function in the target game process of the target cloud game based on the login request. Optionally, after creating the target game process (at this point, the target game process is essentially a simple process and not yet bound to the cloud game), the computer device can create a main thread (ActivityThread) object, start a main thread message loop queue based on this main thread object, retrieve commands from the main thread message loop queue, and execute the retrieved commands in the main thread until an additional application function is called. In the additional application function, a game registration request is sent from the target game process to the system service process to bind the target cloud game to the target game process, thus initializing the target cloud game. The main thread object manages the execution of the main thread of the target cloud game's application process, similar to how a process typically has a main thread and side threads. The main thread object manages the execution of this main thread and, based on the call relationships of the various function methods, implements the corresponding procedures within the main thread or creates the corresponding side threads. Alternatively, in this application, the computer device can be considered to call the additional application function based on the main thread object.

[0104] Optionally, when launching a target cloud game based on a game registration request, the computer device can call an application binding function based on the game registration request. Within this function, the target game process can be triggered to create a game application object. This application binding function is the function used to create the target cloud game's game application object; for example, if the target game code is implemented in Java, this function could be the `bindApplication` function. This game application object is used to instantiate the target cloud game. The computer device can bind the target cloud game to the main thread object based on the game application object; that is, it can trigger the target game process to create the game application object within the main thread managed by the main thread object. Specifically, the computer device can call the application binding function to send an application binding message to the main thread message loop queue managed by the main thread object. Based on this message, the target game process can be triggered to create the game application object within the main thread. Optionally, the computer device can also call a proxy program through the game application object to monitor the lifecycle of the target cloud game's game application object and tasks (such as various processes). This proxy program is a program independent of the target cloud game's application (i.e., the program running when the target cloud game is running). Specifically, the computer device can invoke the application creation wake-up function in the agent program to start the program monitoring function corresponding to the agent program. This program monitoring function monitors the lifecycle of the target cloud game's game application objects and tasks to ensure the target cloud game's operation. Further, the computer device can invoke the initial creation function of the game application object to start the target cloud game. This initial creation function notifies the target cloud game that the target game process has been deployed and is ready to run; this initial creation function can be an `onCreate` function, etc. Through the above process, based on the game application object, the game application object is bound to the game-related code in the cloud gaming platform code via the application binding function. This includes the aforementioned agent program and initial creation function, thereby instantiating the game-related code and generating additional target game code associated with the target cloud game.

[0105] At this point, the computer device can respond to the game login request for the target cloud game from the cloud gaming platform client. Within the target game process of the target cloud game, based on the game login request, it triggers the game login interception function for the target cloud game in the initial creation function. Specifically, the computer device can respond to the game login request for the target cloud game from the cloud gaming platform client within the initial creation function; that is, the logic for triggering the game login request can be considered to be implemented within the initial creation function. In other words, optionally, in... Figure 3When adding a compressed data packet to the target game code of a target cloud game, the compressed data packet can be added to the initial creation function of the target cloud game. That is, when the game login interception function for the target cloud game is triggered in the initial creation function, the compressed data packet can be added to the target game process of the target cloud game in the initial creation function, and the compressed data packet can be parsed in the target game process.

[0106] Specifically, the computer device can respond to game login requests for a target cloud game from the cloud gaming platform client. Based on the game login request, it calls a compressed data packet in the target game code within the target game process of the target cloud game. The compressed data packet is parsed, and the game login interception function is triggered based on the parsed compressed data packet. This compressed data packet is obtained after compiling and converting the login interception program, such as... Figure 3 The steps are shown in the diagram. The data format of this compressed data packet can be compiled, that is, the login interceptor program is compiled and converted to obtain a compressed data packet, which reduces the storage space required by the login interceptor program. At the same time, the compressed data packet is easier to load and improves the program's running efficiency.

[0107] In simple terms, a computer device can respond to a launch operation targeting a cloud gaming platform client and load a game login interception function. This function monitors game login requests for one or more cloud games included in the cloud gaming platform client; these cloud games include a target cloud game. When responding to a launch operation targeting a target cloud game in the cloud gaming platform client, the target game process of the target cloud game is launched. Within the target game process, the game-related code in the cloud gaming platform code of the cloud gaming platform client is called. Based on the application binding function in the game-related code, a game application object is created, and this game application object is bound to the game-related code. Based on the binding result, the game-related code is instantiated, generating target game supplementary code associated with the target cloud game. This target game supplementary code is then executed to integrate the game login interception function included in the target game process. Specifically, this process can be referred to as the process from launching the target cloud game to launching the target cloud game based on the initial creation function, and will not be elaborated further. The target game supplementary code can be considered part of the target game code. Furthermore, when responding to a game login request targeting the target cloud game, the target game code of the target cloud game is executed, and the game login interception function within the target game code is loaded. Optionally, the target game code of the target cloud game can be executed, and the game login interception function in the target game code can be loaded through reflection.

[0108] This application adds a login interceptor to the cloud gaming platform code of the cloud gaming platform client without changing other program code in the cloud gaming platform client, and without integrating separate login programs for each cloud game into the cloud gaming platform client. This preserves the integrity and logical immutability of the original cloud gaming platform code and the target game code of the target cloud game as much as possible. That is, it does not affect the logical implementation process of the original cloud gaming platform code and the target game code, but only adds a transition process (i.e., the process corresponding to the login interceptor) to the original logical implementation. This makes code updates simpler, and the program code that needs to be changed is also simpler, improving the efficiency of code updates and the accuracy of the logical implementation of the program code.

[0109] Step S402: Based on the game login interception function, the game login request is sent to the cloud game runtime component, which is used to provide the running environment for the target cloud game in the cloud game platform client. The cloud game runtime component then forwards the game login request to the cloud game platform client.

[0110] In this embodiment, the computer device can interrupt the original login process of the target cloud game based on the game login interception function, and send the game login request to the cloud game runtime component, which provides the runtime environment for the target cloud game in the cloud game platform client. The cloud game runtime component then forwards the game login request to the cloud game platform client. The original login process refers to the process corresponding to the login method integrated into the target cloud game. If the computer device creates a game login interception process based on the game login interception function, the computer device can interrupt the original login process of the target cloud game through this game login interception process and send the game login request to the cloud game runtime component, which provides the runtime environment for the target cloud game in the cloud game platform client. In short, the computer device runs the game login interception process within the game login interception function in this game login interception process, where steps S402 to S404 can all be considered steps within this game login interception process. The computer device interrupts the original login process of the target cloud game through the game login interception function, but does not directly modify the target login method of the target cloud game. This allows the target login method to be called and the original login process to be executed based on the implementation logic of the target game code when an exception occurs during the forwarding of the game login request, thereby improving the success rate of game login and reducing the probability of exceptions during the game login process.

[0111] Specifically, the computer device can establish a persistent network connection between the cloud gaming runtime component and the cloud gaming platform client, and based on this persistent connection, forward the game login request to the cloud gaming platform client. For example, please refer to... Figure 5 , Figure 5This is a network interaction diagram provided in an embodiment of this application. For example... Figure 5 As shown, computer devices can establish a long-lived network connection between the cloud gaming runtime component and the cloud gaming platform client (e.g., Figure 5 (As shown by the dashed line in the middle), it is used to forward game login requests and their response data. The computer device can respond to the game login request of the target cloud game, sending the game login request to the cloud game runtime component. Through a long network connection, the cloud game runtime component sends the game login request to the cloud game platform client. Optionally, if the target cloud game is implemented using Web Real-Time Communication (WebRTC) technology, the computer device can call the data channel in WebRTC to send the game login request to the cloud game platform client through this data channel.

[0112] Optionally, the computer device can obtain the trigger result of the game login interception function and log in to the target cloud game based on the trigger result. Specifically, if the trigger result of the game login interception function is successful, the game login interception process is started; if the trigger result is unsuccessful, the original login process of the target cloud game is started. Specifically, if the game login interception function is successful, the game login request is sent to the cloud game runtime component, which provides the runtime environment for the target cloud game in the cloud game platform client. The cloud game runtime component then forwards the game login request to the cloud game platform client. The original login process refers to the process used to call the target login function. Specifically, the computer device starts the original login process of the target cloud game, and in the original login process, executes the original login process indicated by the target login function. In one type of original login process, the computer device can output a third-party login code, allowing the game object to scan the third-party login code and call the target third-party application to log in to the target cloud game. In one initial login process, a computer device can obtain the assigned login information generated by the target cloud game, respond to a confirmation login request based on the assigned login information, and log in to the target cloud game based on the assigned login information. This assigned login information includes the login account and password, etc., assigned by the target cloud game based on the game login request.

[0113] Step S403: The target third-party application requested by the game login request is initiated through the cloud gaming platform client. If the target third-party application authorizes the game login request, a login authorization code is sent to the cloud gaming platform client through the target third-party application.

[0114] In this embodiment, the computer device can obtain the login application type carried in the game login request through the cloud gaming platform client, obtain the application development kit (SDK) corresponding to the login application type, obtain the target game identifier of the target cloud game, call the SSDK to launch the target third-party application requested by the game login request, and send the target game identifier to the target third-party application. The target game identifier is used to instruct the target third-party application to determine the target cloud game for authorization verification. The target third-party application can perform authorization verification of the game login request based on the target game identifier. If the authorization of the game login request is successful, the target third-party application on the computer device can send a login authorization code to the cloud gaming platform client. Optionally, if the SSDK can respond to different instruction calls, that is, the SSDK can be called through different instructions, the computer device obtains the SSDK corresponding to the login application type, obtains the request instruction in the SSDK, and if the request instruction is an authorization login instruction, launches the target third-party application requested by the game login request. The application development kit (IDE) can refer to the login information acquisition interface provided by the target third-party application. For example, in a non-cloud gaming scenario, when logging into a non-cloud gaming application through the target third-party application, the application development kit provided by the target third-party application can be directly called to obtain the login authorization of the target third-party application.

[0115] The login authorization code may include, but is not limited to, login response commands, login application types, and authorization code data. The authorization code data refers to the authorization credential generated by the target third-party application when it authorizes the login request for the target cloud game. Optionally, the login authorization code can be any data format that can be sent, such as JavaScript Object Notation (JSON), Extensible Markup Language (XML), or chart format.

[0116] Step S404: Log in to the target cloud game in the cloud gaming platform client based on the login authorization code.

[0117] In this embodiment, a computer device can send a login authorization code to a cloud gaming runtime component via a cloud gaming platform client. Based on the cloud gaming runtime component and the login authorization code, the device requests access credentials from the cloud gaming server. This allows the cloud gaming server to obtain access credentials from the target third-party application based on the login authorization code and the target game information of the target cloud game, and then send the access credentials to the cloud gaming runtime component. The cloud gaming runtime component then sends the access credentials to the target cloud game to log in.

[0118] Optionally, if the target third-party application fails to authorize the game login request, a login failure message is output in the target cloud game in the cloud gaming platform client; a game login component is output in the target cloud game based on the login failure message. The game login component is used to trigger a game login request for the target cloud game. In other words, the game object can trigger a game login request for the target cloud game again through the game login component to log in to the target cloud game again.

[0119] Optionally, if the game login interception function fails to trigger, the original login process of the target cloud game is started. The computer device can create the original login process and call the target login function within it. Specifically, in the original login process, the installation status of the cloud-based third-party application in the cloud gaming platform client is detected; the cloud-based third-party application is the application corresponding to the target third-party application in the cloud gaming platform client; the cloud-based third-party application is the application requested by the game login request in the cloud gaming platform client; that is, the cloud-based third-party application and the target third-party application are the same application on different platforms. For example, if application 1 is the application requested by the game login request for the target cloud game, then application 1 installed on the computer device can be recorded as the target third-party application, and application 1 installed in the cloud gaming platform client can be recorded as the cloud-based third-party application, so that the cloud-based third-party application and the target cloud game are at the same level and are both installed in the cloud gaming platform client. If the cloud-based third-party application is installed, the system redirects to the application and outputs a login confirmation message. Upon receiving confirmation from the cloud-based third-party application, the system logs into the target cloud game. If the cloud-based third-party application is not installed, an installation request message is output. When the cloud-based third-party application is installed on the cloud gaming platform client based on the installation request message, the system logs into the target cloud game using the cloud-based third-party application. This process allows both the cloud-based third-party application and the target cloud game to be installed simultaneously on the cloud gaming platform client, operating at the same level. This creates a platform environment similar to that between a non-cloud game and the target third-party application, enabling the target cloud game to directly call the interfaces provided by the cloud-based third-party application. In other words, the target cloud game invokes the cloud-based third-party application to obtain its login information, thus enabling login to the target cloud game. This effectively creates a third-party application login environment for the target cloud game, improving the efficiency of the target cloud game calling the third-party application and using its login information for login. Of course, this cloud gaming platform client is a client used to support the operation of cloud games. Therefore, it is necessary to integrate functions to support the operation of third-party applications into the cloud gaming platform client. Computer devices can build an application runtime environment based on these functions to support the operation of third-party applications, and install cloud-based third-party applications in this application runtime environment.

[0120] Optionally, if the game login interception function fails to trigger, the original login process of the target cloud game is initiated. In the original login process, a third-party login code is output so that the game object can scan the third-party login code and invoke the target third-party application to log in to the target cloud game. Optionally, if the game login interception function fails to trigger, the computer device can obtain the assigned login information generated by the target cloud game, respond to the confirmation login request for the assigned login information, and log in to the target cloud game based on the assigned login information. This assigned login information is the login information assigned by the target cloud game based on the game login request for the target cloud game, including the login account and password.

[0121] Optionally, if the game login interception function fails to trigger, the computer device can output a third-party application call failure message, detect the data associated with the login interception program in the target game code based on the third-party application call failure message, obtain interception anomaly data, and adjust the data associated with the login interception program in the target game code based on the interception anomaly data.

[0122] Taking a target cloud game on a computer device as an example, the target cloud game can respond to a game login request from the cloud gaming platform client. Based on the login request, a game login interception function is triggered in the target game process of the target cloud game. The target cloud game, based on the game login interception function, sends the login request to the cloud gaming runtime component, which provides the runtime environment for the target cloud game on the cloud gaming platform client. This cloud gaming runtime component then forwards the login request to the cloud gaming platform client. The cloud gaming platform client launches the target third-party application requested by the login request and, upon successful authorization of the login request by the target third-party application, obtains a login authorization code from the application. The target cloud game then obtains the login authorization code from the cloud gaming platform client and performs login based on the authorization code.

[0123] Taking the cloud gaming platform client on a computer device as the main example, the client can obtain game login requests sent by the target cloud game through its runtime components. These login requests are triggered by the target cloud game within the client and are forwarded to the client by the target cloud game's login interception function, triggered within its target game process. The client can then launch the target third-party application requested by the login request. It will then obtain the login authorization code sent by the third-party application upon successful authorization of the login request and send this code to the target cloud game, enabling login based on the authorization code.

[0124] In summary, the computer device can display the login page of the target cloud game, respond to the login interface trigger operation on the login page, generate a game login request from the target cloud game, call the target game code based on the login request, trigger the game login interception function, interrupt the original login process of the target cloud game based on the game login interception function, and send the game login request to the cloud game runtime component. The cloud game runtime component forwards the game login request to the cloud game platform client, which then invokes the target third-party application based on the game login request and obtains the login authorization code generated by the target third-party application. The cloud game platform client then sends the login authorization code back to the target cloud game, realizing login to the target cloud game based on the target third-party application. The game login request is generated by the corresponding cloud game (referring to the target cloud game in this application). The game login interception function can intercept and forward this game login request, so that in the execution of the target game process, there is no need to specially design the program code for the specific cloud game, which can reduce the size of code updates and improve the efficiency and simplicity of code updates.

[0125] In this embodiment, in response to a game login request for a target cloud game in the cloud gaming platform client, a game login interception function is triggered in the target game process of the target cloud game based on the game login request. The game login request is then sent to a cloud gaming runtime component, which provides the runtime environment for the target cloud game in the cloud gaming platform client. This component forwards the game login request to the cloud gaming platform client. The target third-party application requested by the game login request is launched through the cloud gaming platform client. If the target third-party application authorizes the game login request, it sends a login authorization code to the cloud gaming platform client. The target cloud game is then logged into in the cloud gaming platform client based on the login authorization code. This process enables indirect interaction between the target cloud game and the target third-party application, allowing data interaction between the target cloud game within the cloud gaming platform client and the target third-party application outside the cloud gaming platform client. This eliminates the need for other terminal devices to scan codes for login, improving the convenience and efficiency of cloud game login. Furthermore, it eliminates the need to input login information for third-party applications, enhancing data security during the cloud game login process. Because the target cloud game and the target third-party application are on different platforms and not on the same plane, and the target cloud game is installed on the cloud gaming platform client, the cloud gaming platform client and the target cloud game have a "parent-child" relationship and can directly interact with each other. The cloud gaming platform client and the target third-party application are on the same platform and are both installed on the computer device. The cloud gaming platform client can call the login request interface provided by the target third-party application to request login authorization from the target third-party application. Thus, the cloud gaming platform client acts as an intermediary to realize data interaction between the target cloud game and the target third-party application, thereby improving the convenience of cloud game login.

[0126] Optional, see below Figure 6 , Figure 6 This is a cloud gaming login architecture diagram provided in an embodiment of this application. For example... Figure 6 As shown, the target cloud game can be associated with N third-party applications, each corresponding to an application development kit (IDE), such as IDE 1 for third-party application 1, ... and IDE N for third-party application N. This IDE is used to call the corresponding third-party application for login authorization. When the computer device responds to the game login request for the target cloud game, it triggers a game login interception function. Based on this function, the original login process of the target cloud game is interrupted, and a game login interception process is started. Within this process, the game login request is forwarded.

[0127] Optionally, the various processes in this application can be implemented in ART. ART can run the target game code of the target cloud game through interpreted, Ahead-of-Time (AOT) compilation, or Just-In-Time (JIT) compilation. Optionally, the computer device can respond to the game login request for the target cloud game in the cloud gaming platform client, interrupt the original login process of the target cloud game in ART, trigger the game login interception function, and start the game login interception process.

[0128] Further, see Figure 7 , Figure 7 This is a schematic diagram of a cloud gaming startup process provided in an embodiment of this application. Figure 7 As shown, the process may include the following steps:

[0129] Step S701: Start the target cloud game.

[0130] In this embodiment of the application, the computer device can respond to the launch operation of the target cloud game in the cloud gaming platform client and execute step S702.

[0131] Step S702: Send a process creation request.

[0132] In this embodiment of the application, the computer device can send a process creation request to the incubation process through the system service process. The system service process can provide task management services, which can be considered as a service that manages the various tasks (such as processes) implemented by the target cloud game.

[0133] Step S703: Create the target game process.

[0134] In this embodiment of the application, the computer device can create a target game process through an incubation process. Optionally, the computer device can create a main thread object within the target game process.

[0135] Step S704: Call the additional application function.

[0136] In this embodiment, the computer device can call an additional application function based on the main thread object within the target game process. Within this additional application function, a game registration request can be sent to the system service process. Optionally, it can be assumed that the target game process has been created, but the runtime environment is not yet fully configured.

[0137] Step S705: Call the application binding function.

[0138] In this embodiment of the application, the computer device can obtain a game registration request through a system service process, and based on the game registration request, call the application binding function to create a game application object of the target cloud game in the application binding function, so as to bind the target cloud game in the target game process and realize the startup and operation of the target cloud game.

[0139] Step S706: Call the application to create a wake-up function.

[0140] In this embodiment of the application, the computer device can call the application to create a wake-up function based on the monitored object, which is used to monitor the lifecycle of the target cloud game's game application objects and tasks.

[0141] Step S707: Call the initial creation function.

[0142] In this embodiment, the computer device can call the initial creation function of the game application object to start the target cloud game. At this time, it can be considered that the game application object of the target cloud game is created in the game launcher of the cloud gaming platform client, establishing the runtime environment of the target cloud game in the cloud gaming platform client. Optionally, the computer device can add a login interceptor to the initial creation function, so that after the game application object of the target cloud game is created, the target game process of the target cloud game is generated based on the game launcher. Simply put, the game launcher is equivalent to the basic program of the cloud gaming platform client. When the target cloud game is started in the cloud gaming platform client, the game application object of the target cloud game can be created based on the game launcher. The game launcher can be called through the game application object, which is equivalent to copying the game launcher as the program used to start the target cloud game. At this time, the initial creation function is also integrated into the target game process of the target cloud game.

[0143] Step S708: Execute the target game code.

[0144] In this embodiment, the computer device can execute the target game code. The game launcher in the cloud gaming platform client, which is invoked based on the target cloud game, can be considered part of the target game code, or it can be considered a separate part of the code independent of the target game code; no limitation is imposed here.

[0145] Further details can be found in [link / reference]. Figure 8 , Figure 8 This is an interactive schematic diagram of a cloud gaming login method provided in an embodiment of this application. For example... Figure 8 As shown, the process includes the following steps:

[0146] Step S801: The game object triggers the third-party login component on the cloud gaming platform client.

[0147] In this embodiment, the game object triggers the launch operation of the target cloud game in the cloud gaming platform client, and the computer device launches the target cloud game. The game object triggers the third-party login component of the target cloud game, and the computer device responds to the game login request generated by the trigger operation targeting the third-party login component, triggering a game login interception function in the target game process of the target cloud game. For details, please refer to... Figure 4 The steps are shown in step S401.

[0148] In step S802, the target cloud game sends a game login request to the cloud game runtime component.

[0149] In this embodiment, the target cloud game, based on the game login interception function, interrupts the original login process of the target cloud game and forwards the game login request to the cloud game runtime component. (See also...) Figure 4 As shown in step S402.

[0150] In step S803, the cloud gaming runtime component sends a game login request to the cloud gaming platform client.

[0151] In the embodiments of this application, see [reference needed]. Figure 4 As shown in step S402.

[0152] Step S804: The cloud gaming platform client launches the target third-party application.

[0153] In this embodiment, the target third-party application requested by the cloud gaming platform client to initiate the game login request can be found in [reference needed]. Figure 4 The steps are shown in step S403.

[0154] Step S805: The target third-party application performs authorization confirmation.

[0155] In this embodiment, the target third-party application displays a login authorization page so that the game object can authorize and confirm the game login request based on the login authorization page. Figure 8 (1) The game object confirms authorization for the game login request. The target third-party application can respond to the game login request based on the authorization request result for the game login request. Specifically, the target third-party application responds to the trigger operation for the login authorization page and obtains the authorization request result of the game object for the game login request. If the authorization request result is an authorization confirmation result, then step S806 is executed; if the authorization request result is an authorization cancellation result, the computer device returns the target game login page of the target cloud game, so that the game object can trigger the login process of the target cloud game again based on the target game login page. Optionally, an authorization failure message can also be output.

[0156] Step S806: The target third-party application sends a login authorization code to the cloud gaming platform client.

[0157] In the embodiments of this application, see [reference needed]. Figure 4 The steps are shown in step S403.

[0158] In step S807, the cloud gaming platform client sends a login authorization code to the cloud gaming runtime component.

[0159] Optionally, in this embodiment, the cloud gaming platform client can also send the login authorization code to the cloud gaming server via Hypertext Transfer Protocol (HTTP), and then the cloud gaming server can forward the login authorization code to the cloud gaming runtime component via HTTP. Figure 5 As shown. Optionally, the cloud gaming platform client can directly send the login authorization code to the cloud gaming runtime component.

[0160] In step S808, the cloud gaming runtime component requests access credentials for the target cloud game from the target third-party application through the cloud gaming server.

[0161] In this embodiment, the cloud gaming server can send a login authorization code and target game information of the target cloud game to the target third-party application. The target third-party application verifies the login authorization code and target game information. When the verification of the login authorization code and target game information is successful, an access credential for the target cloud game is generated. The target game information includes, but is not limited to, the target game identifier (APPID) and target game public key (APPKey) of the target cloud game.

[0162] Step S809: Send access credentials to log in.

[0163] In this embodiment, the target third-party application can send access credentials to the cloud gaming server, the cloud gaming server can send the access credentials to the cloud gaming runtime component, the cloud gaming runtime component can then send the access credentials to the target cloud game, and the target cloud game can log in based on the access credentials, thereby enabling login to the target cloud game using the login information of the target third-party application.

[0164] Further, see Figure 9 , Figure 9 This is a schematic diagram of a cloud gaming login display provided in an embodiment of this application. For example... Figure 9As shown, computer device 901 launches the target cloud game in the cloud gaming platform client, displaying the target game login page 902. This login page 902 displays a login interface (or login component), which includes third-party login interfaces (or third-party login components), such as third-party login component 9021 and third-party login component 9022. Assuming a trigger operation targeting third-party login component 9021 is detected, a game login request for the target cloud game is generated. Computer device 901 responds to this game login request, triggering the game login interception function, and... Figure 4 or Figure 8 The process shown involves launching the target third-party application, redirecting to its login authorization page 903, responding to trigger operations on the login authorization page 903, and obtaining the authorization request result for the game login request. If the authorization request result is an authorization confirmation result, the system redirects to the target cloud game and displays its cloud game page 905. Optionally, the login information of the target third-party application may include one or more attribute information. If the authorization request result is an authorization confirmation result, the computer device 901 may display an attribute selection authorization page 904, which displays one or more attribute information. Responding to the selection operation for the target attribute information among the one or more attribute information, the computer device 901 authorizes the target attribute information to the target cloud game for login; that is, after logging in, the target attribute information can be obtained in the target cloud game.

[0165] Further, please see Figure 10 , Figure 10 This is a schematic diagram of a cloud gaming login device provided in an embodiment of this application. The cloud gaming login device can be a computer program (including program code, etc.) running on a computer device; for example, the cloud gaming login device can be an application software. The device can be used to execute the corresponding steps in the method provided in the embodiments of this application. Figure 8 As shown, the cloud gaming login device 1000 can be used for Figure 4 Specifically, the computer device in the corresponding embodiment may include: an interception trigger module 11, an application forwarding module 12, a component forwarding module 13, an application invocation module 14, a login authorization module 15, and a game login module 16.

[0166] Interception triggering module 11 is used to respond to game login requests for the target cloud game in the cloud gaming platform client, and trigger the game login interception function in the target game process of the target cloud game based on the game login request;

[0167] Application forwarding module 12 is used to interrupt the original login process of the target cloud game based on the game login interception function and send the game login request to the cloud game runtime component used to provide the runtime environment for the target cloud game in the cloud game platform client; the original login process refers to the process corresponding to the login method integrated into the target cloud game;

[0168] Component forwarding module 13 is used to forward game login requests to the cloud gaming platform client through the cloud gaming runtime component;

[0169] Application invocation module 14 is used to launch the target third-party application requested by the game login request through the cloud gaming platform client;

[0170] The login authorization module 15 is used to send a login authorization code to the cloud gaming platform client through the target third-party application if the target third-party application authorizes the game login request.

[0171] Game login module 16 is used to log in to the target cloud game in the cloud gaming platform client based on the login authorization code.

[0172] The device 1000 also includes:

[0173] The function loading module 17 is used to load the game login interception function in response to the startup operation of the cloud gaming platform client; the game login interception function is used to monitor game login requests for one or more cloud games included in the cloud gaming platform client; one or more cloud games include the target cloud game;

[0174] Function integration module 18 is used to start the target game process of the target cloud game when responding to a startup operation for the target cloud game in the cloud gaming platform client, and to integrate game login interception function in the target game process.

[0175] The interception triggering module 11 includes:

[0176] The interception creation unit 111 is used to respond to the game login request for the target cloud game in the cloud gaming platform client, and in the target game process of the target cloud game, trigger the game login interception function for the target cloud game based on the game login request to create a game login interception process.

[0177] The application forwarding module 12 is specifically used for:

[0178] By intercepting the game login process, the original login process of the target cloud game is interrupted, and the game login request is sent to the cloud game runtime component, which is used to provide the runtime environment for the target cloud game in the cloud game platform client.

[0179] The application calls module 14, which includes:

[0180] The interface acquisition unit 141 is used to obtain the login application type carried in the game login request through the cloud gaming platform client, and to obtain the application development toolkit corresponding to the login application type.

[0181] Application startup unit 142 is used to obtain the target game identifier of the target cloud game, call the application development kit to start the target third-party application requested by the game login request, and send the target game identifier to the target third-party application; the target game identifier is used to instruct the target third-party application to determine the target cloud game for authorization verification.

[0182] The game login module 16 includes:

[0183] The credential acquisition unit 161 is used to send the login authorization code to the cloud game running component through the cloud game platform client, and request access credentials from the cloud game server based on the cloud game running component and the login authorization code, so that the cloud game server can obtain access credentials from the target third-party application based on the login authorization code and the target game information of the target cloud game, and send the access credentials to the cloud game running component.

[0184] The credential forwarding unit 162 is used to send access credentials to the target cloud game through the cloud game runtime component to log in to the target cloud game.

[0185] The device 1000 also includes:

[0186] Process creation module 19 is used to respond to the launch operation for the target cloud game and create the target game process for the target cloud game by hatching the process;

[0187] Function call module 20 is used to call additional application functions through the target game process. In the additional application functions, the target game process sends a game registration request to the system service process.

[0188] Registration request module 21 is used to obtain game registration requests through the system service process;

[0189] Game launch module 22 is used to launch the target cloud game based on the game registration request;

[0190] The interception triggering module 11 is also used to execute the process of responding to the game login request for the target cloud game in the cloud game platform client when a game login request for the target cloud game is detected, and triggering the game login interception function in the target game process of the target cloud game based on the game login request.

[0191] The game launch module 22 includes:

[0192] The object creation unit 221 is used to call the application binding function based on the game registration request, and trigger the target game process to create a game application object in the application binding function;

[0193] Function startup unit 222 is used to call the initial creation function of the game application object and start the target cloud game based on the initial creation function;

[0194] The interception triggering module 11 is specifically used for:

[0195] In response to a game login request for a target cloud game from the cloud gaming platform client, the game login interception function for the target cloud game is triggered in the target game process of the target cloud game based on the game login request.

[0196] The device 1000 also includes:

[0197] Program compilation module 23 is used to obtain the login interception program and compile the login interception program to generate a login interception bytecode file;

[0198] Program conversion module 24 is used to convert the login interception bytecode file to obtain the executable file corresponding to the login interception program;

[0199] The file compression module 25 is used to encapsulate the executable file to obtain a compressed data package, and add the compressed data package to the target game code of the target cloud game;

[0200] The interception trigger module 11 includes:

[0201] The compression acquisition unit 112 is used to respond to the game login request for the target cloud game in the cloud gaming platform client, and to call the compressed data packet in the target game code in the target game process of the target cloud game based on the game login request;

[0202] The data compilation unit 113 is used to parse the compressed data packet and trigger the game login interception function based on the parsed compressed data packet.

[0203] Specifically, the forwarding module 13 of this component is used for:

[0204] A long-lived network connection is established between the cloud gaming runtime component and the cloud gaming platform client. Based on this long-lived network connection, the game login request is forwarded to the cloud gaming platform client.

[0205] The device 1000 also includes:

[0206] The failure message module 26 is used to output a login failure message in the target cloud game in the cloud gaming platform client if the target third-party application fails to authorize the game login request.

[0207] Component output module 27 is used to output a game login component in the target cloud game based on the login failure message; the game login component is used to trigger a game login request for the target cloud game.

[0208] Specifically, the application forwarding module 12 is used for:

[0209] If the game login interception function is successfully triggered, the game login request will be sent to the cloud game runtime component, which is used to provide the runtime environment for the target cloud game in the cloud game platform client, based on the game login interception function.

[0210] The forwarding module 13 of this component is specifically used to forward game login requests to the cloud gaming platform client through the cloud gaming runtime component;

[0211] The device 1000 also includes:

[0212] The original startup module 28 is used to start the original login process of the target cloud game if the game login interception function fails to be triggered.

[0213] The cloud detection module 29 is used to detect the installation status of third-party cloud applications in the cloud gaming platform client during the original login process; the third-party cloud application is the application corresponding to the target third-party application in the cloud gaming platform client; the third-party cloud application is the application requested by the game login request in the cloud gaming platform client.

[0214] The login confirmation module 30 is used to redirect to the cloud third-party application if the installation status of the cloud third-party application is "installed". The login confirmation message is output in the cloud third-party application. When the cloud third-party application confirms the login confirmation message, the user logs into the target cloud game.

[0215] The installation request module 31 is used to output an installation request message for the cloud-based third-party application if the cloud-based third-party application is not installed. When installing the cloud-based third-party application in the cloud gaming platform client based on the installation request message, the target cloud game is logged in based on the cloud-based third-party application.

[0216] This application provides a cloud gaming login device. This device responds to game login requests for a target cloud game from a cloud gaming platform client. Based on the login request, it triggers a game login interception function in the target game process of the target cloud game. Based on the game login interception function, it sends the login request to a cloud gaming runtime component that provides the runtime environment for the target cloud game on the cloud gaming platform client. The cloud gaming runtime component then forwards the login request to the cloud gaming platform client. The cloud gaming platform client launches the target third-party application requested by the login request. If the target third-party application authorizes the login request, it sends a login authorization code to the cloud gaming platform client. The cloud gaming platform client then logs into the target cloud game based on the login authorization code. Through this process, the target cloud game can indirectly interact with the target third-party application, enabling data interaction between the target cloud game on the cloud gaming platform client and the target third-party application outside the cloud gaming platform client. This eliminates the need for other terminal devices to scan codes for login, improving the convenience and efficiency of cloud game login. It also eliminates the need to input login information for third-party applications, enhancing data security during the cloud game login process. Because the target cloud game and the target third-party application are on different platforms and not on the same plane, and the target cloud game is installed on the cloud gaming platform client, the cloud gaming platform client and the target cloud game have a "parent-child" relationship and can directly interact with each other. The cloud gaming platform client and the target third-party application are on the same platform and are both installed on the computer device. The cloud gaming platform client can call the login request interface provided by the target third-party application to request login authorization from the target third-party application. Thus, the cloud gaming platform client acts as an intermediary to realize data interaction between the target cloud game and the target third-party application, thereby improving the convenience of cloud game login.

[0217] See Figure 11 , Figure 11 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Figure 11As shown, the computer device in this embodiment may include one or more processors 1101, a memory 1102, and an input / output interface 1103. The processor 1101, memory 1102, and input / output interface 1103 are connected via a bus 1104. The memory 1102 stores a computer program, which includes program instructions. The input / output interface 1103 receives and outputs data, such as for data interaction between a target cloud game and a cloud game running component, or for data interaction between a cloud game running component and a cloud game platform client, or for data interaction between a cloud game running component and a cloud game server, or for data interaction between a cloud game platform client and a target third-party application, etc., i.e., for data interaction between the aforementioned clients, applications, and servers; the processor 1101 executes the program instructions stored in the memory 1102.

[0218] The processor 1101 can perform the following operations:

[0219] In response to a game login request for a target cloud game from the cloud gaming platform client, trigger a game login interception function in the target game process of the target cloud game based on the game login request;

[0220] The game login interception function sends the game login request to the cloud game runtime component, which provides the runtime environment for the target cloud game in the cloud game platform client. The cloud game runtime component then forwards the game login request to the cloud game platform client.

[0221] If the target third-party application authorized by the game login request is initiated through the cloud gaming platform client, a login authorization code will be sent to the cloud gaming platform client through the target third-party application.

[0222] Log in to the target cloud game using the login authorization code in the cloud gaming platform client.

[0223] In some feasible implementations, the processor 1101 may be a central processing unit (CPU), but it can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.

[0224] The memory 1102 may include read-only memory and random access memory, and provides instructions and data to the processor 1101 and the input / output interface 1103. A portion of the memory 1102 may also include non-volatile random access memory. For example, the memory 902 may also store device type information.

[0225] In practice, the computer device can perform actions such as these through its built-in functional modules. Figure 4 For details on the implementation methods provided for each step, please refer to [the relevant documentation / document / etc.]. Figure 4 The implementation methods provided for each step are not elaborated here.

[0226] This application provides a computer device including a processor, an input / output interface, and a memory. The processor retrieves a computer program from the memory and executes it. Figure 4The methods described herein involve performing cloud gaming login operations at each step. This embodiment enables indirect interaction between the target cloud game and a target third-party application. Specifically, it allows data interaction between the target cloud game within the cloud gaming platform client and the target third-party application outside the cloud gaming platform client. This eliminates the need for other terminal devices to scan QR codes for login, improving the convenience and efficiency of cloud gaming login. It also eliminates the need to input login information for the third-party application, enhancing data security during the cloud gaming login process. Since the target cloud game and the target third-party application reside on different platforms, they are not on the same plane. The target cloud game is installed within the cloud gaming platform client, and the relationship between the cloud gaming platform client and the target cloud game is analogous to a "parent-child" relationship, allowing direct data interaction. The cloud gaming platform client, on the other hand, is on the same platform as the target third-party application, both installed on the computer device. The cloud gaming platform client can call the login request interface provided by the target third-party application to request login authorization. Thus, using the cloud gaming platform client as an intermediary, data interaction between the target cloud game and the target third-party application is achieved, thereby improving the convenience of cloud gaming login.

[0227] This application also provides a computer-readable storage medium storing a computer program adapted to be loaded and executed by a processor. Figure 4 For details on the cloud gaming login methods provided in each step, please refer to [link / document / document name]. Figure 4 The implementation methods provided for each step are not repeated here. Furthermore, the beneficial effects of using the same method are also not repeated. For technical details not disclosed in the computer-readable storage medium embodiments involved in this application, please refer to the description of the method embodiments of this application. As an example, a computer program may be deployed to execute on a single computer device, or on multiple computer devices located in one location, or on multiple computer devices distributed across multiple locations and interconnected via a communication network.

[0228] The computer-readable storage medium can be the cloud gaming login device provided in any of the foregoing embodiments or the internal storage unit of the computer device, such as the hard drive or memory of the computer device. The computer-readable storage medium can also be an external storage device of the computer device, such as a plug-in hard drive, smart media card (SMC), secure digital (SD) card, flash card, etc., provided on the computer device. Furthermore, the computer-readable storage medium can include both internal storage units and external storage devices of the computer device. The computer-readable storage medium is used to store the computer program and other programs and data required by the computer device. The computer-readable storage medium can also be used to temporarily store data that has been output or will be output.

[0229] This application also provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform... Figure 4 The methods provided among the various optional approaches enable indirect interaction between the target cloud game and the target third-party application. This allows data exchange between the target cloud game within the cloud gaming platform client and the target third-party application outside the cloud gaming platform client, eliminating the need for scanning QR codes on other terminal devices, thus improving the convenience and efficiency of cloud game login. It also eliminates the need to input login information from the third-party application, enhancing data security during the cloud game login process. Specifically, because the target cloud game and the target third-party application reside on different platforms and are not on the same plane, while the target cloud game is installed on the cloud gaming platform client, the relationship between the cloud gaming platform client and the target cloud game is analogous to a "parent-child" relationship, allowing direct data interaction. The cloud gaming platform client, on the other hand, is on the same platform as the target third-party application, both installed on the computer device. The cloud gaming platform client can call the login request interface provided by the target third-party application to request login authorization, thereby achieving data interaction between the target cloud game and the target third-party application through the cloud gaming platform client as an intermediary, further improving the convenience of cloud game login.

[0230] The terms "first," "second," etc., in the specification, claims, and drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the term "comprising," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, apparatus, product, or device that includes a series of steps or units is not limited to the listed steps or modules, but may optionally include steps or modules not listed, or may optionally include other step units inherent to these processes, methods, apparatuses, products, or devices.

[0231] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of each example have been generally described in terms of functionality. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this application.

[0232] The methods and related apparatus provided in this application are described with reference to the method flowcharts and / or structural diagrams provided in this application. Specifically, each block of the method flowcharts and / or structural diagrams, as well as combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable computing device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable computing device, create means for implementing the functions specified in one or more blocks of the flowcharts and / or one or more blocks of the structural diagrams. These computer program instructions can also be stored in a computer-readable storage medium capable of directing a computer or other programmable computing device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means that implement the functions specified in one or more blocks of the flowcharts and / or one or more blocks of the structural diagrams. These computer program instructions may also be loaded onto a computer or other programmable cloud gaming login device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, such that the instructions, which execute on the computer or other programmable device, provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more blocks in the structural diagram.

[0233] The steps in the method of this application embodiment can be adjusted, combined, or deleted according to actual needs.

[0234] The modules in the device of this application embodiment can be merged, divided, and deleted according to actual needs.

[0235] The above-disclosed embodiments are merely preferred embodiments of this application and should not be construed as limiting the scope of this application. Therefore, any equivalent variations made in accordance with the claims of this application shall still fall within the scope of this application.

Claims

1. A cloud gaming login method, characterized in that, The method includes: In response to a game login request for a target cloud game in the cloud gaming platform client, a game login interception function for the target cloud game is triggered in the target game process of the target cloud game, and a game login interception process is created. The game login interception process interrupts the original login process of the target cloud game and sends the game login request to the cloud game runtime component, which provides the runtime environment for the target cloud game in the cloud game platform client. The cloud game runtime component then forwards the game login request to the cloud game platform client. The original login process refers to the process corresponding to the login method integrated into the target cloud game. If the target third-party application requested by the game login request is launched through the cloud gaming platform client, and the target third-party application authorizes the game login request, then the target third-party application sends a login authorization code to the cloud gaming platform client. Log in to the target cloud game using the login authorization code in the cloud gaming platform client.

2. The method as described in claim 1, characterized in that, The method further includes: In response to a startup operation on the cloud gaming platform client, the game login interception function is loaded; the game login interception function is used to monitor game login requests for one or more cloud games included in the cloud gaming platform client; the one or more cloud games include the target cloud game; When responding to a launch operation for a target cloud game in the cloud gaming platform client, the target game process of the target cloud game is launched, and the game login interception function is integrated into the target game process.

3. The method as described in claim 1, characterized in that, The process of launching the target third-party application requested by the game login request through the cloud gaming platform client includes: The cloud gaming platform client obtains the login application type carried in the game login request and obtains the application development kit corresponding to the login application type. Obtain the target game identifier of the target cloud game, call the application development kit to launch the target third-party application requested by the game login request, and send the target game identifier to the target third-party application; the target game identifier is used to instruct the target third-party application to determine the target cloud game for authorization verification.

4. The method as described in claim 1, characterized in that, The step of logging into the target cloud game in the cloud gaming platform client based on the login authorization code includes: The cloud gaming platform client sends the login authorization code to the cloud gaming runtime component. Based on the cloud gaming runtime component and the login authorization code, it requests an access credential from the cloud gaming server. The cloud gaming server then obtains the access credential from the target third-party application based on the login authorization code and the target game information of the target cloud game, and sends the access credential to the cloud gaming runtime component. The access credentials are sent to the target cloud game through the cloud game runtime component to log in to the target cloud game.

5. The method as described in claim 1, characterized in that, The method further includes: In response to a launch operation for the target cloud game, a target game process for the target cloud game is created through an incubation process; The target game process calls an additional application function, in which the target game process sends a game registration request to the system service process. The system service process obtains the game registration request and launches the target cloud game based on the game registration request. When a game login request for the target cloud game is detected, the process of executing the game login request for the target cloud game in the response cloud game platform client and triggering the game login interception function in the target game process of the target cloud game based on the game login request is executed.

6. The method as described in claim 5, characterized in that, The step of launching the target cloud game based on the game registration request includes: Based on the game registration request, the application binding function is invoked, and the target game process is triggered to create a game application object in the application binding function; The initial creation function of the game application object is invoked, and the target cloud game is launched based on the initial creation function. The response to a game login request for a target cloud game in the cloud gaming platform client triggers a game login interception function for the target cloud game within the target game process of the target cloud game, creating a game login interception process, including: In response to a game login request for a target cloud game in the cloud gaming platform client, the game login interception function for the target cloud game is triggered in the target game process of the target cloud game based on the game login request, and a game login interception process is created.

7. The method as described in claim 1, characterized in that, The method further includes: Obtain the login interception program, and compile the login interception program to generate a login interception bytecode file; The login interception bytecode file is converted to obtain the executable file corresponding to the login interception program. The executable file is encapsulated to obtain a compressed data package, and the compressed data package is added to the target game code of the target cloud game; The response to a game login request for a target cloud game in the cloud gaming platform client triggers a game login interception function for the target cloud game within the target game process of the target cloud game, creating a game login interception process, including: In response to a game login request for a target cloud game in the cloud gaming platform client, the compressed data packet in the target game code is invoked in the target game process of the target cloud game based on the game login request; The compressed data packet is parsed, and the game login interception function is triggered based on the parsed compressed data packet, thus creating a game login interception process.

8. The method as described in claim 1, characterized in that, The step of forwarding the game login request to the cloud gaming platform client through the cloud gaming runtime component includes: A long-lived network connection is established between the cloud gaming runtime component and the cloud gaming platform client. Based on the long-lived network connection, the game login request is forwarded to the cloud gaming platform client.

9. The method as described in claim 1, characterized in that, The method further includes: If the target third-party application fails to authorize the game login request, a login failure message will be output in the target cloud game in the cloud gaming platform client. The game login component is output in the target cloud game based on the login failure message; the game login component is used to trigger a game login request for the target cloud game.

10. The method as described in claim 1, characterized in that, The step of interrupting the original login process of the target cloud game through the game login interception process, sending the game login request to the cloud game runtime component used to provide a runtime environment for the target cloud game in the cloud game platform client, and forwarding the game login request to the cloud game platform client through the cloud game runtime component includes: If the game login interception function is successfully triggered, the original login process of the target cloud game is interrupted through the game login interception process, and the game login request is sent to the cloud game running component, which provides the running environment for the target cloud game in the cloud game platform client. The cloud game running component then forwards the game login request to the cloud game platform client. The method further includes: If the game login interception function fails to trigger, the original login process of the target cloud game will be started. During the original login process, the installation status of the cloud-based third-party application in the cloud gaming platform client is detected; the cloud-based third-party application is the application corresponding to the target third-party application in the cloud gaming platform client; the cloud-based third-party application is the application requested by the game login request in the cloud gaming platform client. If the installation status of the cloud-based third-party application is "installed", then redirect to the cloud-based third-party application and output a login confirmation message in the cloud-based third-party application. When responding to the confirmation operation of the cloud-based third-party application for the login confirmation message, log in to the target cloud game. If the installation status of the cloud-based third-party application is not installed, an installation request message for the cloud-based third-party application is output. When the cloud-based third-party application is installed in the cloud gaming platform client based on the installation request message, the target cloud game is logged in based on the cloud-based third-party application.

11. A cloud gaming login device, characterized in that, The device includes: The interception trigger module is used to respond to game login requests for a target cloud game in the cloud gaming platform client, trigger the game login interception function for the target cloud game in the target game process of the target cloud game, and create a game login interception process; The application forwarding module is used to interrupt the original login process of the target cloud game through the game login interception process, and send the game login request to the cloud game runtime component, which provides the runtime environment for the target cloud game in the cloud game platform client; the original login process refers to the process corresponding to the login method integrated into the target cloud game; The component forwarding module is used to forward the game login request to the cloud gaming platform client through the cloud gaming runtime component; The application invocation module is used to launch the target third-party application requested by the game login request through the cloud gaming platform client; The login authorization module is used to send a login authorization code to the cloud gaming platform client through the target third-party application if the target third-party application authorizes the game login request. The game login module is used to log in to the target cloud game in the cloud gaming platform client based on the login authorization code.

12. A computer device, characterized in that, Includes processor, memory, and input / output interfaces; The processor is connected to the memory and the input / output interface respectively, wherein the input / output interface is used to receive data and output data, the memory is used to store computer programs, and the processor is used to call the computer programs so that the computer device executes the method according to any one of claims 1-10.

13. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program adapted to be loaded and executed by a processor to cause a computer device having the processor to perform the method of any one of claims 1-10.

14. A computer program product comprising a computer program / instructions, characterized in that, When the computer program / instructions are executed by the processor, they implement the method described in any one of claims 1-10.

Citation Information

Patent Citations

  • Remote login method of cloud game system

    CN113694535A