Cloud game interaction method and apparatus, computer device, and storage medium
By installing virtual machines on the terminal and sharing computing resources, the problem of insufficient computing power on the cloud gaming platform is solved, and the response speed and interaction efficiency of cloud gaming are improved.
Patent Information
- Application Number
- PCT/CN2024/082407
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-05-18
- Filing Date
- 2024-03-19
- Publication Date
- 2024-11-21
AI Technical Summary
Due to limited computing resources on the cloud gaming platform, the game startup request cannot be responded, resulting in client waiting and low interaction efficiency.
By installing a virtual machine on the terminal and sharing its computing resources with the cloud gaming platform, the access information of the virtual machine is sent to the cloud gaming platform to obtain scheduling permissions, thereby using the terminal's computing resources to expand the resources of the cloud gaming platform and improve the Game responsiveness efficiency.
It effectively solves the problems of game startup delay and low interaction efficiency caused by insufficient computing power of cloud gaming platforms, and improves the response speed and interactive experience of cloud gaming.
Smart Images

Figure CN2024082407_21112024_PF_FP_ABST
Abstract
Description
Cloud gaming interaction method, device, computer equipment, and storage medium
[0001] Related applications
[0002] This application claims priority to Chinese patent application number 2023105625605, filed on May 18, 2023, entitled “Cloud Game Interaction Method, Device, Computer Equipment and Storage Medium,” the entire text of which is incorporated herein by reference. Technical Field
[0003] The present application relates to the field of cloud gaming technology, and in particular to a cloud gaming interaction method, apparatus, computer equipment, and storage medium. Background Art
[0004] With the development of cloud technology, cloud gaming has emerged. Cloud gaming involves running games on a server, which then transmits rendered game graphics to the client, which then displays the game screen. If a cloud gaming client is installed on a terminal, the game interface can be displayed without downloading the game.
[0005] In traditional technology, in cloud gaming scenarios, the server of the cloud gaming platform is used as the server to run the game, and the server of the cloud gaming platform returns the rendered game interface to the client of the cloud gaming platform.
[0006] However, due to the limited computing power resources in the cloud gaming platform's servers, when there are too many games running on the cloud gaming platform, the cloud gaming platform's servers will be unable to respond to game startup requests initiated by the client due to insufficient computing power resources, resulting in a phenomenon of client waiting, resulting in low cloud gaming interaction efficiency.
[0007] Summary of the Invention
[0008] Based on this, it is necessary to provide a cloud gaming interaction method, device, computer equipment, computer-readable storage medium and computer program product that can improve the efficiency of cloud gaming interaction in response to the above technical problems.
[0009] On the one hand, the present application provides a cloud gaming interaction method, which is executed by a first terminal, and the method includes: in response to a resource sharing trigger operation initiated at the first terminal, displaying a virtual machine sharing interface for the virtual machine installed by the first terminal; the installed virtual machine occupies at least a portion of the computing resources in the first terminal; in response to a virtual machine sharing operation triggered based on the virtual machine sharing interface, sending access information of the virtual machine to a cloud gaming platform, so that the cloud gaming platform obtains the authority to schedule the computing resources occupied by the virtual machine at the first terminal based on the access information; the access information is information used to access the virtual machine.
[0010] On the other hand, the present application also provides a cloud gaming interaction device. The device includes: an interface display module for displaying a virtual machine sharing interface for a virtual machine installed on the first terminal in response to a resource sharing triggering operation initiated on the first terminal; the installed virtual machine occupies at least a portion of the computing power resources in the first terminal; and an information sending module for sending access information of the virtual machine to a cloud gaming platform in response to a virtual machine sharing operation triggered by the virtual machine sharing interface, so that the cloud gaming platform obtains permission to schedule the computing power resources occupied by the virtual machine on the first terminal based on the access information.
[0011] On the other hand, the present application provides a cloud gaming interaction method, which is executed by a second terminal, and the method includes: displaying a cloud gaming platform interface; the cloud gaming platform interface includes at least one game entrance; responding to a trigger operation for the game entrance of a target game, obtaining a game interface of the target game sent by a shared virtual machine; the game interface is rendered by computing power resources provided by the shared virtual machine in the cloud gaming platform; the computing power resources provided by the shared virtual machine are at least a part of the computing power resources of the terminal on which the shared virtual machine is installed; and displaying the game interface.
[0012] On the other hand, the present application also provides a cloud gaming interaction device. The device includes: a platform interface display module for displaying a cloud gaming platform interface; the cloud gaming platform interface includes at least one game portal; a game interface acquisition module for responding to a trigger operation on the game portal of a target game and acquiring the game interface of the target game sent by a shared virtual machine; the game interface is rendered using computing resources provided by the shared virtual machine in the cloud gaming platform; the computing resources provided by the shared virtual machine are at least a portion of the computing resources of the terminal on which the shared virtual machine is installed; and a game interface display module for displaying the game interface.
[0013] On the other hand, the present application provides a cloud gaming interaction method, which is executed by a server, and the method includes: in response to a startup request for a target game from a second terminal, determining a target shared virtual machine from each shared virtual machine of the cloud gaming platform; the cloud gaming platform has the authority to schedule at least a portion of the computing resources of the terminal where the shared virtual machine is installed; the target shared virtual machine refers to a shared virtual machine that is currently in a shared state and has the target game installed; based on the access information of the target shared virtual machine, triggering the establishment of a communication connection between the target shared virtual machine and the second terminal; the access information of the target shared virtual machine is information for accessing the target shared virtual machine; wherein, the communication connection is used to transmit the operation instructions for the target game triggered by the second terminal to the target shared virtual machine, and transmit the game interface rendered by the target shared virtual machine according to the operation instructions to the second terminal.
[0014] On the other hand, the present application provides a cloud gaming interaction device. The device includes: a request response module, which is used to determine a target shared virtual machine from each shared virtual machine of the cloud gaming platform in response to a start request for a target game from a second terminal; the cloud gaming platform has the authority to schedule at least a portion of the computing resources of the terminal where the shared virtual machine is installed; the target shared virtual machine refers to a shared virtual machine that is currently in a shared state and has the target game installed; a connection establishment trigger module, which is used to trigger the establishment of a communication connection between the target shared virtual machine and the second terminal based on the access information of the target shared virtual machine; wherein the communication connection is used to transmit the operation instructions for the target game triggered by the second terminal to the target shared virtual machine, and transmit the game interface rendered by the target shared virtual machine according to the operation instructions to the second terminal.
[0015] On the other hand, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the steps in the above-mentioned cloud game interaction method when executing the computer program.
[0016] On the other hand, the present application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the above-mentioned cloud game interaction method.
[0017] On the other hand, the present application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the steps in the above-mentioned cloud game interaction method.
[0018] The details of one or more embodiments of the present application are set forth in the accompanying drawings and the description below. Other features, objects, and advantages of the present application will become apparent from the description, drawings, and claims. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the conventional technology, the following briefly introduces the drawings required for use in the embodiments or the conventional technology descriptions. Obviously, the drawings described below are merely embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the disclosed drawings without any creative work.
[0020] FIG1 is a diagram illustrating an application environment of a cloud gaming interaction method in some embodiments;
[0021] FIG2 is a schematic diagram of a flow chart of a cloud gaming interaction method in some embodiments;
[0022] FIG3 is a schematic diagram of a virtual machine sharing interface in some embodiments;
[0023] FIG4 is a schematic diagram of a first option and a second option in some embodiments;
[0024] FIG5 is a schematic diagram showing the corresponding display of a virtual machine identifier and a shared status control in some embodiments;
[0025] FIG6 is a schematic diagram of a login information setting interface in some embodiments;
[0026] FIG7 is a schematic diagram showing evaluation progress prompt information in some embodiments;
[0027] FIG8 is a schematic diagram of a virtual machine installation interface in some embodiments;
[0028] FIG9 is a schematic diagram of a download guide interface in some embodiments;
[0029] FIG10 is a schematic diagram of a sharing solicitation interface in some embodiments;
[0030] FIG11 is a schematic diagram of an interface of a virtual machine in some embodiments;
[0031] FIG12 is a schematic diagram of an interface of a virtual machine in some embodiments;
[0032] FIG13 is a schematic diagram of a flow chart of a cloud gaming interaction method in some embodiments;
[0033] FIG14 is a schematic diagram of a flow chart of a cloud gaming interaction method in some embodiments;
[0034] FIG15A is a schematic diagram of a process flow of a cloud gaming interaction method in some embodiments;
[0035] FIG15B is a timing diagram of interactions between a first terminal, a second terminal, and a server in some embodiments;
[0036] FIG16 is a schematic diagram of a flow chart of a cloud gaming interaction method in some embodiments;
[0037] FIG17 is a schematic diagram of a flow chart of a cloud gaming interaction method in some embodiments;
[0038] FIG18 is a block diagram of a cloud gaming interaction device in some embodiments;
[0039] FIG19 is a block diagram of a cloud gaming interaction device in some embodiments;
[0040] FIG20 is a block diagram of a cloud gaming interaction device in some embodiments;
[0041] FIG21 is a diagram illustrating the internal structure of a computer device in some embodiments;
[0042] FIG22 is a diagram illustrating the internal structure of a computer device in some embodiments. DETAILED DESCRIPTION
[0043] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0044] The cloud game interaction method provided in the embodiment of the present application can be applied to the application environment shown in Figure 1. The application environment includes a first terminal 102, a server 104, and a second terminal 106. Among them, the first terminal 102, the server 104, and the second terminal 106 communicate with each other through a network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other servers. The first terminal 102 has the function of rendering the game screen, and the first terminal 102 includes a graphics card for implementing game rendering. The graphics card (Video card, Display card, Graphics card, Video adapter) is one of the basic components of a personal computer. It converts the display information required by the computer system to drive the display, and provides a line-by-line or interlaced scanning signal to the display to control the correct display of the display. It is an important component connecting the display and the personal computer motherboard. It is one of the important "human-computer" devices. Its built-in parallel computing capability is currently also used for operations such as deep learning. Server 104 is a server that provides cloud game services. 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 computing capabilities to run high-quality games. The second terminal 106 is the player's gaming terminal. The server is the server where the cloud gaming platform is located, and the server provides cloud gaming services. In the cloud gaming scenario, the game is not run on the second terminal 106, but on the cloud server, and the cloud server renders the game scene into a video and audio stream, which is transmitted to the second terminal 106 via the network. The second terminal 106 does not need to have powerful graphics computing and data processing capabilities, but only needs to have basic streaming media playback capabilities and the ability to obtain player input commands and send them to the cloud server. In other words, cloud gaming is a game mode in which the server renders the game screen and the client displays it.
[0045] Specifically, a virtual machine may be installed on the first terminal 102. The first terminal 102 may store access information for the installed virtual machine in the server 104. The virtual machine access information is information used to access the virtual machine and includes, but is not limited to, at least one of the virtual machine's network address and login information. Based on the virtual machine access information, the server 104 may schedule the virtual machine in the first terminal 102 to complete game rendering tasks. The second terminal 106 is a player's gaming terminal. A cloud gaming client may be installed on the second terminal 106. The second terminal 106 may communicate with the server 104 via the cloud gaming client. The second terminal 106 may display the cloud gaming client interface and at least one game entry within the cloud gaming client interface. In response to a trigger operation for any game entry, the second terminal 106 sends a launch request to the server 104 to launch the corresponding game. In response to the launch request, the server 104 schedules the virtual machine in the first terminal 102 to serve as the server for the second terminal 106. This allows the second terminal 106 to render the game interface for the first terminal 102, thereby implementing cloud gaming gameplay. Among them, virtual machine (Virtual Machine) refers to a complete computer system with complete hardware system functions and running in a completely isolated environment that is simulated by software. All work that can be done in a physical computer can be achieved in a virtual machine. When creating a virtual machine in a computer, part of the hard disk and memory capacity of the physical machine needs to be used as the hard disk and memory capacity of the virtual machine. Each virtual machine has an independent CMOS, hard disk and operating system, and the virtual machine can be operated like a physical machine. In the cloud game interaction method provided in the present application, computing power resources other than the computing power resources provided by the cloud game platform itself, such as the computing power resources and storage resources provided by the virtual machine in the first terminal 102, can be used to indirectly expand the computing power resources of the cloud game platform, thereby reducing the situation where the game cannot proceed normally due to the limited computing power of the cloud game platform itself, improving the efficiency of responding to cloud games, and thus improving the interaction efficiency of cloud games.
[0046] The first terminal 102 and the second terminal 106 may be, but are not limited to, various desktop computers, laptop computers, smartphones, tablet computers, IoT devices, and portable wearable devices. IoT devices may include smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, and the like. Portable wearable devices may include smart watches, smart bracelets, head-mounted devices, and the like. The server 104 may be an independent physical server, or a server cluster or distributed system consisting of multiple physical servers. It may also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The terminal may be, but is not limited to, a smartphone, tablet computer, laptop computer, desktop computer, smart speaker, smart watch, and the like. The terminal and server may be connected directly or indirectly via wired or wireless communication, which is not limited in this application.
[0047] The data involved in the cloud game interaction method provided in this application can be stored in a blockchain system. For example, virtual machine access information can be stored in a blockchain. Blockchain is a new application model of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. Blockchain is essentially a decentralized database. It is a string of data blocks generated by cryptographic methods. Each data block contains information about a batch of network transactions, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. The blockchain can include a blockchain underlying platform, a platform product service layer, and an application service layer. The blockchain underlying platform can include processing modules such as user management, basic services, and smart contracts. The user management module is responsible for managing the identity information of all blockchain participants, including maintaining public and private key generation (account management), key management, and maintaining the correspondence between users' real identities and blockchain addresses (authority management). It also oversees and audits transactions involving certain real identities, providing risk control rule configuration (risk control auditing), with authorization. The basic service module, deployed on all blockchain nodes, verifies the validity of business requests and, after reaching consensus on valid requests, records them in storage. For a new business request, the basic service first adapts and parses the interface and performs authentication processing (interface adaptation). It then encrypts the business information using a consensus algorithm (consensus management). After encryption, the encrypted business information is transmitted completely and consistently to the shared ledger (network communication) and recorded and stored. The smart contract module is responsible for contract registration, issuance, contract triggering, and contract execution. Developers can define contract logic in a programming language and publish it to the blockchain (contract registration). Based on the contract terms, key execution is triggered by calling keys or other events to complete the contract logic. It also provides contract upgrade and cancellation capabilities. The platform product and service layer provides the basic capabilities and implementation framework for typical applications. Developers can build on these basic capabilities and overlay business features to complete the blockchain implementation of business logic. The application service layer provides blockchain-based application services to business participants. Storing data in a blockchain system prevents data tampering and improves data security. For example, storing virtual machine access information in a blockchain system ensures its security.
[0048] In some embodiments, as shown in FIG2 , a cloud game interaction method is provided. The method may be executed by a terminal or a server, or may be executed jointly by the terminal and the server. The method is described by taking the first terminal 102 in FIG1 as an example, and includes the following steps:
[0049] Step 202 : In response to a resource sharing triggering operation initiated by the first terminal, a virtual machine sharing interface for the virtual machine installed by the first terminal is displayed; the installed virtual machine occupies at least a portion of computing resources in the first terminal.
[0050] Among them, the resource sharing trigger operation is an operation used to trigger the sharing of the computing power resources of this terminal to the cloud gaming platform. Computing power refers to computing ability. Computing power resources refer to resources that provide computing power, including but not limited to resources such as the central processing unit (i.e. Central Processing Unit, abbreviated as CPU), memory, hard disk or graphics processing unit (i.e. Graphics Processing Unit, abbreviated as GPU). A virtual machine occupies computing power resources, which means that the computing power resources are allocated to the virtual machine for use, and all or part of the occupied computing power resources are in use, and some of the computing power resources may be in an idle state. Among them, the virtual machine occupies at least part of the computing power resources in the first terminal, which can be that the virtual machine occupies all or part of each required computing power resource for each type of computing power resource, such as occupying all or part of the CPU, or occupying all or part of the memory, etc.
[0051] The virtual machine sharing interface is used to share at least one of the virtual machine's login information or network address with the cloud gaming platform. The virtual machine sharing interface can be an interface provided by a resource sharing application.
[0052] Specifically, the first terminal may be installed with a resource sharing application, which is used to provide a service for sharing the computing power resources of a terminal, such as the first terminal, with the cloud gaming platform. The resource sharing application may also be referred to as a cloud gaming helper program. The first terminal may display the interface of the resource sharing application and display a resource sharing trigger control in the interface provided by the resource sharing application. The resource sharing trigger operation may be a trigger operation for the resource sharing trigger control. The trigger operation for the resource sharing trigger control includes, but is not limited to, click, double-click, swipe, and other operations.
[0053] In some embodiments, the first terminal displays a virtual machine sharing interface in a resource sharing application, and displays a login information input area in the virtual machine sharing interface. The login information input area is used to enter the login information of the virtual machine installed on the first terminal. If the login information includes an account number and a password, the login information input area may include an account number input area and a password input area. As shown in Figure 3, a schematic diagram of the virtual machine sharing interface is shown. The virtual machine sharing interface in Figure 3 displays an account number input area 302 and a password input area 304.
[0054] In some embodiments, in response to a resource sharing trigger initiated by the first terminal, the first terminal displays a first option and a second option. If the first option is selected, it indicates a selection to install a new virtual machine on the first terminal and share the newly installed virtual machine with the cloud gaming platform. If the second option is selected, it indicates a selection to share a virtual machine already installed on the first terminal with the cloud gaming platform. If the first terminal receives a trigger for the first option, the interface switches to the virtual machine installation interface and, in response to the trigger on the virtual machine installation interface, installs the virtual machine on the first terminal. If the first terminal receives a trigger for the second option, the interface switches to the virtual machine sharing interface, which allows you to enter the login information for a virtual machine already installed on the first terminal. This allows you to either install a new virtual machine and share it with the cloud gaming platform, or share a virtual machine already installed on the first terminal with the cloud gaming platform. This improves the flexibility and efficiency of sharing virtual machines. Figure 4 shows a schematic diagram of the first and second options, with first option 402 and second option 404 displayed in Figure 4.
[0055] Step 204, in response to the virtual machine sharing operation triggered based on the virtual machine sharing interface, the access information of the virtual machine is sent to the cloud gaming platform, so that the cloud gaming platform obtains the authority to schedule the computing resources occupied by the virtual machine on the first terminal based on the access information; the access information is information used to access the virtual machine.
[0056] The virtual machine sharing operation is used to trigger the sharing of the virtual machine's access information to the cloud gaming platform. The virtual machine's access information includes, but is not limited to, at least one of the virtual machine's network address or the virtual machine's login information. The cloud gaming platform is a platform that can support the operation of cloud gaming and can cooperate with a terminal (at least one of the first terminal or the second terminal) to support the operation of cloud gaming. After obtaining the authority to schedule the computing resources occupied by the virtual machine on the first terminal, the authority to schedule the computing resources occupied by the virtual machine on the first terminal is obtained.
[0057] Specifically, the first terminal may store a correspondence between the network address of the virtual machine and the login information, so that the network address can be found according to the login information, for example, the network address can be found according to the account in the login information. In response to the virtual machine sharing operation triggered by the virtual machine sharing interface, the first terminal obtains the login information entered in the login information input area, searches for the corresponding network address locally according to the login information, for example, searches for the corresponding network address according to the account in the login information, and sends the input login information and the network address corresponding to the login information to the server of the cloud gaming platform. The server of the cloud gaming platform stores the received access information of the virtual machine, and the virtual machine with which the access information is shared becomes a shared virtual machine of the cloud gaming platform. The server of the cloud gaming platform can use the login information of the virtual machine to log in to the virtual machine in the first terminal, and can schedule the virtual machine in the first terminal as a server in the cloud gaming platform for rendering the game interface, so that the cloud gaming platform has the authority to schedule the computing resources occupied by the virtual machine of the first terminal.
[0058] In some embodiments, the virtual machine sharing interface displays a sharing confirmation control, which is used to trigger the virtual machine sharing operation. In response to the triggering operation on the sharing confirmation control, the first terminal obtains the access information of the virtual machine and sends the access information of the virtual machine to the server of the cloud gaming platform. The triggering operation on the sharing confirmation control includes but is not limited to operations such as clicking, double-clicking, or sliding on the sharing confirmation control. The sharing confirmation control is, for example, control 306 in Figure 3. In response to the clicking operation on control 306, the first terminal sends the access information of the virtual machine to the server of the cloud gaming platform.
[0059] In some embodiments, after the virtual machine of the first terminal becomes a shared virtual machine of the cloud gaming platform, the first terminal can display the identification of the virtual machine and display the sharing status control corresponding to the identification of the virtual machine. The sharing status control has two states: sharing on state and sharing off state. If the sharing status control is in the sharing on state, it means that the virtual machine is in a sharing state. If the sharing status control is in the sharing off state, it means that the virtual machine is not in a sharing state. In response to the operation of setting the sharing status control to the sharing on state, the first terminal displays the sharing status control in the sharing on state. In response to the operation of setting the sharing status control to the sharing off state, the first terminal displays the sharing status control in the sharing off state. As shown in Figure 5, a schematic diagram of the corresponding display of the virtual machine identification and the sharing status control is shown. Figure 5 (a) shows the sharing status control in the sharing on state, and Figure 5 (b) shows the sharing status control in the sharing on state.
[0060] In the above-mentioned cloud gaming interaction method, in response to a resource sharing trigger operation initiated by a first terminal, a virtual machine sharing interface for the virtual machine installed in the first terminal is displayed, and the installed virtual machine occupies at least a portion of the computing resources in the first terminal. In response to the virtual machine sharing operation triggered based on the virtual machine sharing interface, access information of the virtual machine is sent to the cloud gaming platform, so that the cloud gaming platform has the authority to dispatch the computing resources occupied by the virtual machine on the first terminal based on the access information. In this way, cloud gaming is realized by utilizing the computing power and storage resources provided by the virtual machine, indirectly achieving an expansion of the computing power and storage resources of the cloud gaming platform, reducing the situation where the game cannot be carried out normally due to the limited computing power of the cloud gaming platform itself, improving the efficiency of responding to cloud gaming, and improving the efficiency of cloud gaming interaction.
[0061] In some embodiments, in response to a resource sharing trigger operation initiated at the first terminal, displaying a virtual machine sharing interface for the virtual machine installed at the first terminal includes: displaying a virtual machine installation interface in response to a resource sharing trigger operation initiated at the first terminal; and installing the virtual machine at the first terminal in response to triggering the virtual machine installation interface.
[0062] Specifically, the virtual machine installation interface refers to the interface for installing the virtual machine. The first terminal can display the interface of the resource sharing application and display the resource sharing trigger control in the interface provided by the resource sharing application. The first terminal responds to the trigger operation for the resource sharing trigger control and displays the virtual machine installation interface.
[0063] In some embodiments, the first terminal enters a performance evaluation phase in response to a resource sharing trigger operation triggered by a resource sharing trigger control. When the performance evaluation phase ends and the performance evaluation result is passed, the first terminal displays a virtual machine installation interface.
[0064] In some embodiments, the first terminal may display download instructions on the virtual machine installation interface. The download instructions describe how to download the virtual machine and may include a virtual machine download entry, which may be, for example, a network link address for downloading the virtual machine. In response to a trigger operation on the virtual machine download entry, the first terminal downloads the virtual machine installation file. In response to an installation trigger operation on the virtual machine installation file, the first terminal installs the virtual machine. The installation trigger operation triggers the installation of the virtual machine. The virtual machine installation file is the file used to install the virtual machine.
[0065] In some embodiments, during the virtual machine installation process, or after the virtual machine is successfully installed, the first terminal can display a login information setting interface, and the login information device interface is used to set the login information of the installed virtual machine. The login information includes but is not limited to at least one of an account number or a password. The first terminal can display an account setting area and a password setting area in the login information setting interface, and in response to the login information device interface triggering the operation indicating that the setting is completed, obtain the account number set in the account setting area and the password set in the password setting area, and store the set account number and password locally. As shown in Figure 6, a schematic diagram of the login information setting interface is shown. The login information setting interface of Figure 6 shows an account setting area 602 and a password setting area 604. The first terminal can obtain the network address of the installed virtual machine, store the set account number and password in correspondence with the network address, so that the network address of the virtual machine can be found according to the set account number.
[0066] In this embodiment, in response to the resource sharing triggering operation initiated at the first terminal, the virtual machine installation interface is displayed, and in response to the triggering of the virtual machine installation interface, the virtual machine is installed at the first terminal, thereby improving the efficiency of installing the virtual machine.
[0067] In some embodiments, in response to a resource sharing trigger operation initiated at the first terminal, displaying a virtual machine installation interface includes: entering a performance evaluation phase in response to a resource sharing trigger operation initiated at the first terminal; the performance evaluation phase is used to evaluate whether the first terminal meets the conditions for sharing computing resources; when the performance evaluation phase ends and the performance evaluation result is passed, displaying the virtual machine installation interface.
[0068] Performance evaluation refers to assessing the resources used by the first terminal to provide computing power, including but not limited to the size, model, or performance of resources such as hard drives, disks, and graphics cards. The performance evaluation phase assesses whether the first terminal meets the requirements for shared computing resources. The performance evaluation results are either pass or fail. A pass indicates that the first terminal meets the requirements for shared computing resources. A fail indicates that the first terminal does not meet the requirements for shared computing resources.
[0069] Specifically, in response to a resource sharing trigger operation initiated by the first terminal, the first terminal enters a performance evaluation phase. During the performance evaluation phase, a performance evaluation is performed on the first terminal, and evaluation progress prompt information is displayed. The evaluation progress prompt information is used to indicate the progress of the performance evaluation. When the performance evaluation phase ends and the performance evaluation result is passed, the first terminal displays a virtual machine installation interface. The evaluation progress prompt information is variable. For example, during the performance evaluation phase, the evaluation progress prompt information indicates that the performance evaluation is in progress. At the end of the performance evaluation phase, the evaluation progress prompt information indicates whether the performance evaluation result is passed or failed.
[0070] In some embodiments, when the performance evaluation phase ends and the performance evaluation result is failed, the first terminal displays a prompt message for prompting the first terminal that the shared computing power resources are not met.
[0071] In some embodiments, the first terminal may display the interface of a resource sharing application and a resource sharing trigger control within the resource sharing application interface. In response to a trigger operation on the resource sharing trigger control, the first terminal performs a performance evaluation on the first terminal via the resource sharing application and displays an evaluation progress prompt within the resource sharing application interface. As shown in FIG7 , the evaluation progress prompt "Performance Testing..." is displayed. The evaluation progress prompt may include the name of the hardware currently being tested.
[0072] In this embodiment, in response to the resource sharing trigger operation initiated at the first terminal, the performance evaluation stage is entered. When the performance evaluation stage ends and the performance evaluation result is passed, the virtual machine installation interface is displayed, so that when the first terminal meets the conditions for sharing computing resources, the virtual machine installation interface is displayed, thereby avoiding the execution of the virtual machine installation operation when the first terminal does not meet the conditions for sharing computing resources, reducing unnecessary interactions and improving interaction efficiency.
[0073] In some embodiments, the method also includes: displaying download guidance information on the virtual machine installation interface; in response to triggering the virtual machine installation interface, installing the virtual machine on the first terminal includes: responding to the virtual machine download operation triggered by the download guidance information, downloading the virtual machine installation file; responding to the installation trigger operation for the downloaded virtual machine installation file, installing the virtual machine on the first terminal.
[0074] The installation trigger operation is an operation that triggers the installation of a virtual machine. The virtual machine installation file is a file used to install the virtual machine. The download guidance information describes how to download the virtual machine. The download guidance information may include a virtual machine download entry, which is used to trigger the download of the virtual machine. The virtual machine download entry may be, for example, a network address for downloading the virtual machine.
[0075] Specifically, the first terminal can respond to the resource sharing trigger operation initiated by the first terminal in the resource sharing application and display a virtual machine installation interface in the resource sharing application, and display download guidance information in the virtual machine installation interface, and the download guidance information may include a virtual machine download portal. In response to the trigger operation for the virtual machine download portal, the first terminal downloads the virtual machine installation file. For example, the virtual machine installation file can be downloaded to a local hard disk. In response to the operation of entering the folder where the virtual machine installation file is stored, the first terminal displays the virtual machine installation file stored in the folder. In response to the installation trigger operation for the virtual machine installation file, the first terminal installs the virtual machine on the first terminal, i.e., the first terminal.
[0076] In some embodiments, the first terminal may display a download guide entry on the virtual machine installation interface. In response to a triggering operation on the download guide entry, the first terminal displays the download guide interface and displays download guide information on the download guide interface. As shown in FIG8 , a schematic diagram of the virtual machine installation interface is shown, wherein FIG8 displays a download guide entry 802. As shown in FIG9 , a download guide interface is shown, wherein the download guide interface in FIG9 displays download guide information 902. In response to a click operation on download guide entry 802, the first terminal switches its interface to the download guide interface in FIG9 .
[0077] In some embodiments, the first terminal may further display an installation guide entry on the virtual machine installation interface. In response to a triggering operation on the installation guide entry, the first terminal may display installation description information describing the process of installing the virtual machine. The installation guide entry may be, for example, control 804 in FIG. 8 .
[0078] In this embodiment, download guide information is displayed on the virtual machine installation interface, and the virtual machine is installed according to the download guide information, thereby improving the efficiency of installing the virtual machine.
[0079] In some embodiments, in response to a resource sharing trigger operation initiated at the first terminal, entering the performance evaluation stage includes: displaying a resource sharing consent control on a sharing request interface; a sharing request interface for soliciting whether to agree to share the computing power resources of the first terminal to the cloud gaming platform; and entering the performance evaluation stage in response to a resource sharing trigger operation triggered by the resource sharing consent control.
[0080] The resource sharing trigger control may be a resource sharing consent control, and the resource sharing trigger operation may be a trigger operation for the resource sharing consent control. The sharing request interface may be an interface provided by the resource sharing application. The trigger operation for the resource sharing consent control includes, but is not limited to, clicking, double-clicking, or sliding the resource sharing consent control.
[0081] Specifically, the first terminal displays a sharing request interface in the resource sharing application, and displays a resource sharing consent control on the sharing request interface. In response to the triggering operation of the resource sharing consent control, it is determined to agree to share the computing power resources of the first terminal to the cloud gaming platform, enter the performance evaluation stage and display the evaluation progress prompt information.
[0082] In some embodiments, the first terminal displays a resource sharing rejection control on the sharing request interface. In response to a triggering operation on the resource sharing rejection control, the first terminal determines to reject sharing of the computing resources of the first terminal with the cloud gaming platform, closes the sharing request interface, and may exit the resource sharing application. For example, as shown in FIG10 , a schematic diagram of a sharing request interface is shown. The sharing request interface in FIG10 displays a resource sharing consent control 1002 and a resource sharing rejection control 1004.
[0083] In this embodiment, before entering the performance evaluation stage, the user is asked to agree to share the computing resources of the first terminal with the cloud gaming platform, thereby ensuring that the performance evaluation of the first terminal is performed only with the consent of the user of the first terminal, thereby improving the security of the first terminal. It should be noted that the performance evaluation is to detect the performance of the hardware and does not involve the privacy data of the user of the first terminal.
[0084] In some embodiments, the access information includes login information of the virtual machine; in response to a virtual machine sharing operation triggered based on a virtual machine sharing interface, sending the access information of the virtual machine to the cloud gaming platform includes: displaying the input login information of the virtual machine in the virtual machine sharing interface of the virtual machine; in response to the virtual machine sharing operation triggered based on the virtual machine sharing interface, sending the login information of the virtual machine to the cloud gaming platform.
[0085] Specifically, the access information may also include the network address of the virtual machine. The virtual machine sharing interface may also display a sharing confirmation control and a login information input area. The sharing confirmation control is used to trigger the virtual machine sharing operation. In response to the triggering operation on the sharing confirmation control, the first terminal obtains the login information entered in the login information input area, searches the local network address of the corresponding virtual machine based on the login information, and sends the network address and login information of the virtual machine to the server of the cloud gaming platform. Among them, the triggering operation on the sharing confirmation control includes but is not limited to operations such as clicking, double-clicking, or sliding on the sharing confirmation control.
[0086] In this embodiment, the login information of the virtual machine is sent to the cloud gaming platform, so that the server of the cloud gaming platform has the authority to log in to the virtual machine.
[0087] In some embodiments, the method further includes: receiving a game installation instruction sent by the cloud gaming platform to the virtual machine; the game installation instruction is used to trigger the installation of a specified game in the virtual machine; and responding to the game installation instruction to install the specified game in the virtual machine.
[0088] The designated game can be any game on the cloud gaming platform. The game installation instruction can carry the game identifier of the designated game or the download link address of the designated game. The game installation instruction is used to trigger the download and installation of at least one designated game in the virtual machine.
[0089] Specifically, after the first terminal sends the network address of the virtual machine to the server of the cloud gaming platform, the server of the cloud gaming platform sends a game installation instruction to the virtual machine in the first terminal. The virtual machine in the first terminal responds to the game installation instruction and downloads the specified game according to the game identifier or download link address carried in the game installation instruction and installs the downloaded specified game into the virtual machine. During the installation of the specified game, the first terminal can display the installation progress prompt information of the specified game in the interface of the virtual machine. The installation progress prompt information is used to indicate the installation progress of the virtual machine.
[0090] In some embodiments, the first terminal displays the virtual machine's interface in response to an operation to display the virtual machine's interface. The first terminal receives a game installation instruction sent by the cloud gaming platform to the virtual machine. The virtual machine in the first terminal responds to the game installation instruction, downloads and installs the specified game in the virtual machine, and displays information indicating the game download progress or game installation progress in the virtual machine's interface. As shown in Figure 11, the virtual machine interface is shown. As shown in Figure 12, the virtual machine interface displays the message "Game Downloading" to indicate the game download progress.
[0091] In this embodiment, in response to the game installation instruction sent by the server of the cloud gaming platform, a specified game is installed in the virtual machine, so that the game on the cloud gaming platform can be deployed on the virtual machine through the cloud gaming platform to facilitate scheduling of the virtual machine and enable the virtual machine to render the game interface of the specified game.
[0092] In some embodiments, the access information includes the network address of the virtual machine; the method also includes: when the virtual machine is in a logged-in state, receiving a game rendering instruction for a specified game installed in the virtual machine sent by the second terminal; the game rendering instruction is sent by the second terminal to the first terminal based on the network address of the virtual machine, and the network address of the virtual machine used by the second terminal is transmitted to the second terminal by the cloud gaming platform; rendering the game interface of the specified game according to the game rendering instruction, and returning the rendered game interface to the second terminal.
[0093] The second terminal refers to the player's terminal in the cloud game mode. The cloud game platform interface is the interface provided by the client of the cloud game platform.
[0094] Specifically, the second terminal displays a cloud gaming platform interface, displaying at least one game entry within the cloud gaming platform interface. In response to a trigger operation for a target game entry, the second terminal sends a launch request for the target game to the cloud gaming platform's server. In response to the launch request, the cloud gaming platform's server determines a target shared virtual machine from among the shared virtual machines on the cloud gaming platform. A shared virtual machine is a virtual machine that has shared its network address with the cloud gaming platform. The login information for the shared virtual machine may also have been shared with the cloud gaming platform's server. The method for sharing the network address and login information is similar to the method for sharing the network address and login information of the virtual machine in the first terminal with the cloud gaming platform described above. The cloud gaming platform may also store an identifier for the shared virtual machine. This identifier may be sent to the cloud gaming platform's server by the terminal to which the shared virtual machine belongs, or it may be generated by the cloud gaming platform for the shared virtual machine, without limitation. If the target shared virtual machine is a virtual machine in the first terminal, the cloud gaming platform's server may trigger the second terminal to establish a communication connection with the virtual machine in the first terminal. Specifically, the cloud gaming platform's server may send the network address of the virtual machine in the first terminal to the second terminal, and the second terminal may establish a communication connection with the first terminal based on the network address. After establishing a communication connection, the second terminal sends a game rendering instruction for the target game to the virtual machine in the first terminal. The virtual machine in the first terminal renders the game interface of the target game according to the game rendering instruction and returns the game interface to the second terminal, which then displays the game interface. The network address of the virtual machine used by the second terminal is the network address sent to the second terminal by the cloud gaming platform in response to the launch request.
[0095] In this embodiment, the game interface is rendered for the second terminal through the first terminal, that is, the virtual machine of the first terminal, so that the virtual machine of the first terminal becomes the server that provides the game interface rendering function in the cloud gaming platform, indirectly realizing an expansion of the computing power resources and storage resources of the cloud gaming platform, reducing the situation where the game cannot proceed normally due to the limited computing power of the cloud gaming platform itself, improving the efficiency of responding to cloud games, and improving the interactive efficiency of cloud games.
[0096] In some embodiments, after the first terminal shares computing power resources with the second terminal, the cloud gaming account obtains accelerated virtual resources. The accelerated virtual resources are used to speed up the queuing progress of the cloud gaming account when the cloud gaming account needs to queue up to enter the game on the cloud gaming platform; the cloud gaming account is the account used to log in to the cloud gaming platform at the first terminal.
[0097] The accelerated virtual resources can be game coins, game equipment, props, or game time in the cloud game account. If the computing power resources in the cloud game platform are insufficient and there are no shared virtual machines that can be scheduled in the cloud game platform, you need to queue up to enter the game.
[0098] Specifically, the first terminal can display the cloud gaming platform interface and, in response to a trigger operation on the game entry of any game in the cloud gaming platform interface, send a start request to the server to start the game. If the server determines that the computing resources in the cloud gaming platform are insufficient and there are no shared virtual machines that can be scheduled in the cloud gaming platform, it will send a queuing instruction to the first terminal. In response to the queuing instruction, the first terminal displays a queuing control for the game. In response to the trigger operation on the queuing control, the first terminal displays a prompt message indicating that the queue is in progress. The server can accelerate the queuing process based on the accelerated virtual resources owned by the cloud gaming account of the first terminal.
[0099] In some embodiments, the duration of game play for which virtual resources are rewarded is accelerated, referred to as reward duration. The server of the cloud gaming platform records the shared duration of the virtual machine of the first terminal. The shared duration refers to the duration during which the virtual machine is used to render the game interface for the second terminal. For example, the duration during which the second terminal uses the virtual machine to play the game can be used as the shared duration. The server of the cloud gaming platform can determine the reward duration based on the shared duration and determine the cloud gaming account corresponding to the virtual machine. For example, the cloud gaming account corresponding to the virtual machine can be found through the access information of the virtual machine or the identifier of the virtual machine, and the reward duration is increased based on the available duration of the cloud gaming account of the first terminal. Available duration refers to the duration during which a user can play games on the cloud gaming platform. The server can accelerate the queue progress based on the available duration of the cloud gaming account of the first terminal.
[0100] In this embodiment, cloud gaming accounts obtain accelerated virtual resources, thereby motivating the sharing of computing resources.
[0101] In some embodiments, the access information includes login information of the virtual machine; the method also includes: when the virtual machine is in a non-logged-in state, receiving a login request for the virtual machine sent by the cloud gaming platform; carrying the login information of the virtual machine in the login request; and logging into the virtual machine based on the login information of the virtual machine carried in the login request.
[0102] The access information of the virtual machine stored in the server of the cloud gaming platform includes the login information of the virtual machine. The access information of the virtual machine is sent by the first terminal to the server of the cloud gaming platform.
[0103] Specifically, when the virtual machine is not logged in, the cloud gaming platform can log in to the virtual machine using the stored virtual machine login information. For example, the cloud gaming platform can send a login request to the virtual machine on the first terminal, with the login request carrying the virtual machine login information. The virtual machine on the first terminal responds to the login request and uses the login information in the login request to log in to the virtual machine.
[0104] In some embodiments, the login request is triggered by a launch request for a target game sent by a second terminal and received by the cloud gaming platform. Specifically, the cloud gaming platform server responds to the launch request for the target game and determines a target shared virtual machine from among the shared virtual machines of the cloud gaming platform. If the target shared virtual machine is the virtual machine in the first terminal and the virtual machine in the first terminal is not logged in, the cloud gaming platform server sends a login request to the virtual machine in the first terminal. The virtual machine in the first terminal responds to the login request and logs in using the login information in the login request.
[0105] In this embodiment, when the virtual machine is not logged in, the cloud gaming platform triggers the virtual machine in the first terminal to log in through the login information of the virtual machine, thereby providing conditions for scheduling the virtual machine.
[0106] In some embodiments, in response to a resource sharing trigger operation initiated at the first terminal, displaying a virtual machine installation interface includes: displaying an interface of a resource sharing application; a resource sharing application for providing a service for sharing the computing resources of the terminal to a cloud gaming platform; in response to a resource sharing trigger operation initiated at the first terminal triggered through the interface of the resource sharing application, displaying a virtual machine installation interface in the resource sharing application.
[0107] Specifically, the first terminal can display the interface of the resource sharing application and display the resource sharing trigger control in the interface provided by the resource sharing application. The resource sharing trigger operation is a trigger operation for the resource sharing trigger control. The first terminal responds to the trigger operation for the resource sharing trigger control and displays the virtual machine installation interface in the resource sharing application.
[0108] In some embodiments, the first terminal may display a sharing request interface in a resource sharing application, the sharing request interface including a resource sharing consent control, and the resource sharing trigger control may be the resource sharing consent control. In response to a triggering operation on the resource sharing consent control, the first terminal displays a virtual machine installation interface in the resource sharing application. Specifically, in response to a triggering operation on the resource sharing consent control, the first terminal enters a performance evaluation phase and displays an evaluation progress prompt. Upon completion of the performance evaluation phase and a passing performance evaluation result, the first terminal displays a virtual machine installation interface.
[0109] In this embodiment, a resource sharing application is used to provide a service for sharing the computing power resources of the terminal to the cloud gaming platform, triggering a resource sharing trigger operation and displaying a virtual machine installation interface, so that computing power resources can be shared with the cloud gaming platform conveniently and quickly, thereby improving the efficiency of sharing computing power resources.
[0110] In some embodiments, displaying the interface of the resource sharing application includes: displaying the login interface of the resource sharing application; displaying the cloud gaming account entered into the login interface; the cloud gaming account is used to log in to the cloud gaming platform; when the resource sharing application is successfully logged in based on the cloud gaming account, the interface of the resource sharing application is displayed; responding to the virtual machine sharing operation triggered based on the virtual machine sharing interface, sending the access information of the virtual machine to the cloud gaming platform includes: responding to the virtual machine sharing operation triggered based on the virtual machine sharing interface, sending the access information of the virtual machine and the cloud gaming account currently logged in to the resource sharing application to the cloud gaming platform.
[0111] The account used to log in to the resource sharing application is the same as the account used to log in to the cloud gaming platform. This means that any account that can log in to the resource sharing application belongs to the cloud gaming platform. This means that users of the cloud gaming platform can log in to the resource sharing application. Of course, users who do not belong to the cloud gaming platform can also log in to the resource sharing application. This does not restrict users who do not belong to the cloud gaming platform from logging in to the resource sharing application.
[0112] Specifically, the first terminal displays the login interface of the resource sharing application, displays the cloud gaming account entered into the login interface, and when the resource sharing application is successfully logged in based on the cloud gaming account, displays the interface of the resource sharing application, for example, displays the sharing request interface provided by the resource sharing application.
[0113] In some embodiments, the method for obtaining the resource sharing application is provided by the cloud gaming platform. Specifically, the first terminal displays the cloud gaming platform interface, and displays the download entrance of the resource sharing application on the network on the cloud gaming platform interface, and the download entrance is used to provide the function of downloading the resource sharing application. The first terminal downloads the installation file of the resource sharing application in response to the download operation triggered by the download entrance. After the installation file of the resource sharing application is downloaded, the first terminal installs the resource sharing application on the first terminal in response to the installation operation for the downloaded installation file of the resource sharing application, and displays the entrance of the resource sharing application, such as a desktop icon, after the installation is successful. The first terminal responds to the operation of entering the resource sharing application triggered by the entrance of the resource sharing application and displays the login interface of the resource sharing application.
[0114] In some embodiments, the first terminal displays a cloud gaming account verification interface in response to a download operation triggered through the download portal, and the cloud gaming account verification interface is used to verify whether the user of the first terminal is a user of the cloud gaming platform. The first terminal responds to the verification operation triggered through the cloud gaming account verification interface, obtains the cloud gaming account entered into the cloud gaming account verification interface, and sends a verification request carrying the input cloud gaming account to the server of the cloud gaming platform. If the verification is successful, the download of the installation file of the resource sharing application is triggered. If the verification fails, the first terminal displays an account registration prompt message, which is used to prompt the cloud gaming account registered on the cloud gaming platform. A cloud gaming account refers to an account for logging into the cloud gaming platform.
[0115] In some embodiments, the first terminal responds to a virtual machine sharing operation triggered by a virtual machine sharing interface by sending the virtual machine access information and the cloud gaming account currently logged into the resource sharing application to a server of the cloud gaming platform. The cloud gaming platform server establishes a mapping relationship between the cloud gaming account and the virtual machine access information and stores the mapping relationship. The cloud gaming platform server may also establish a mapping relationship between the cloud gaming account, the virtual machine access information, and the virtual machine identifier, thereby enabling the corresponding cloud gaming account to be searched based on the virtual machine identifier, or the corresponding virtual machine identifier to be searched based on the cloud gaming account.
[0116] In some embodiments, the server of the cloud gaming platform records the shared duration of the virtual machine of the first terminal. The shared duration refers to the duration that the virtual machine is used to render the game interface for the second terminal. For example, the duration that the second terminal uses the virtual machine to play the game can be used as the shared duration. The server of the cloud gaming platform can determine the reward duration based on the shared duration and determine the cloud gaming account corresponding to the virtual machine. For example, it can use the virtual machine's access information or the virtual machine's identifier to find the cloud gaming account corresponding to the virtual machine, and add the reward duration based on the available duration of the cloud gaming account corresponding to the virtual machine. The available duration refers to the length of time that a user can play games on the cloud gaming platform.
[0117] In this embodiment, the resource sharing application is logged in through the cloud gaming account, and in response to the virtual machine sharing operation triggered based on the virtual machine sharing interface, the access information of the virtual machine and the cloud gaming account currently logged in to the resource sharing application are sent to the cloud gaming platform, so that the cloud gaming platform can store the access information of the virtual machine in correspondence with the cloud gaming account, so that the access information of the corresponding virtual machine can be found according to the cloud gaming account.
[0118] In some embodiments, as shown in FIG13 , a cloud game interaction method is provided. The method may be executed by a terminal or a server, or may be executed jointly by the terminal and the server. The method is described by taking the second terminal 106 in FIG1 as an example, and includes the following steps:
[0119] Step 1302, display the cloud gaming platform interface; the cloud gaming platform interface includes at least one game entrance.
[0120] The cloud gaming platform interface is the interface provided by the client of the cloud gaming platform. The second terminal is installed with the client of the cloud gaming platform. The game entrance is the entrance to the game.
[0121] Step 1304, responding to the triggering operation for the game entrance of the target game, obtaining the game interface of the target game sent by the shared virtual machine; the game interface is rendered by the computing power resources provided by the shared virtual machine in the cloud gaming platform; the computing power resources provided by the shared virtual machine are at least a part of the computing power resources of the terminal on which the shared virtual machine is installed.
[0122] Step 1306: Display the game interface.
[0123] The cloud gaming platform interface displays a target game entry, which may be any game on the cloud gaming platform. Triggering operations on the target game entry include, but are not limited to, clicking, double-clicking, or sliding on the game entry.
[0124] Specifically, the second terminal responds to a trigger operation for the target game's game entry by sending a launch request for the target game to the cloud gaming platform's server. The cloud gaming platform's server determines the target shared virtual machine from among the cloud gaming platform's shared virtual machines and, based on the target shared virtual machine's network address, triggers a communication connection between the target shared virtual machine and the second terminal. After the connection is established, the target shared virtual machine launches the target game and renders the target game's game interface, sending the rendered game interface to the second terminal. The second terminal receives the game interface returned by the target shared virtual machine and displays it.
[0125] In some embodiments, the second terminal responds to an operation instruction triggered by the displayed game interface by sending the operation instruction to the target shared virtual machine. The target shared virtual machine renders the game interface triggered by the operation instruction and returns the rendered game interface to the second terminal. The second terminal receives the game interface returned by the target shared virtual machine and displays the game interface.
[0126] In some embodiments, the second terminal responds to a trigger operation for a game entrance of the target game, and when computing resources of the cloud gaming platform are insufficient, obtains a game interface of the target game sent by the shared virtual machine.
[0127] In the above-mentioned cloud gaming interaction method, a cloud gaming platform interface is displayed, which includes at least one game entry. In response to a trigger operation for the game entry of a target game, the game interface of the target game sent by the shared virtual machine is obtained and the game interface is displayed. Because the game interface is rendered by the computing resources provided by the shared virtual machine in the cloud gaming platform, and the computing resources provided by the shared virtual machine are at least a portion of the computing resources of the terminal on which the shared virtual machine is installed, cloud gaming is achieved by utilizing the computing resources and storage resources provided by the virtual machine, indirectly achieving an expansion of the computing resources and storage resources of the cloud gaming platform, reducing the situation where the game cannot proceed normally due to the limited computing power of the cloud gaming platform itself, improving the efficiency of responding to cloud gaming, and improving the efficiency of cloud gaming interaction.
[0128] In some embodiments, as shown in FIG14 , a cloud game interaction method is provided. The method can be executed by a terminal or a server, or can be executed by both the terminal and the server. The method is described by taking the server in FIG1 as an example, and includes the following steps:
[0129] Step 1402: In response to the second terminal's request to start the target game, a target shared virtual machine is determined from the shared virtual machines of the cloud gaming platform; the cloud gaming platform has the authority to schedule at least a portion of the computing resources of the terminal where the shared virtual machine is installed; the target shared virtual machine refers to a shared virtual machine that is currently in a shared state and has the target game installed.
[0130] Specifically, in response to the second terminal's request to start the target game, the server searches for a shared virtual machine that is currently in a shared state and has the target game installed from among the shared virtual machines of the cloud gaming platform. If found, the server dispatches the found shared virtual machine, i.e., the target shared virtual machine, to the second terminal to trigger the target shared virtual machine to start the target game and render the game interface of the target game, and send the rendered game interface to the second terminal. For example, the server dispatches the target shared virtual machine as the server for rendering the game interface of the second terminal, triggers the establishment of a communication connection between the target shared virtual machine and the second terminal based on the access information of the target shared virtual machine, and sends a startup instruction to start the target game to the second terminal. The second terminal responds to the startup instruction, starts the target game and renders the game interface of the target game, and sends the rendered game interface to the second terminal.
[0131] Step 1404, based on the access information of the target shared virtual machine, trigger the establishment of a communication connection between the target shared virtual machine and the second terminal; the access information of the target shared virtual machine is information used to access the target shared virtual machine; wherein, the communication connection is used to transmit the operation instructions for the target game triggered by the second terminal to the target shared virtual machine, and transmit the game interface rendered by the target shared virtual machine according to the operation instructions to the second terminal.
[0132] Specifically, the server stores the network address of the target shared virtual machine. The server can send the network address of the target shared virtual machine to the second terminal, so that the second terminal can send a request to establish a communication connection to the target shared virtual machine based on the network address, thereby establishing a communication connection between the target shared virtual machine and the second terminal.
[0133] In some embodiments, when the server determines that the target shared virtual machine is in a logged-in state, the server triggers the establishment of a communication connection between the target shared virtual machine and the second terminal based on the network address of the target shared virtual machine. The server may store login information of the target shared virtual machine. When the server determines that the target shared virtual machine is not logged in, the server sends a login request carrying the login information to the target shared virtual machine. The target shared virtual machine responds to the login request and logs in according to the login information. After the login is successful, that is, after the target shared virtual machine is in a logged-in state, the server triggers the establishment of a communication connection between the target shared virtual machine and the second terminal based on the network address of the target shared virtual machine.
[0134] In the above-described cloud gaming interaction method, in response to a second terminal's request to launch a target game, a target shared virtual machine is determined from among the shared virtual machines of the cloud gaming platform. The cloud gaming platform has permission to schedule at least a portion of the computing resources of the terminal where the shared virtual machine is installed. The target shared virtual machine is a shared virtual machine currently in a shared state and having the target game installed. Based on access information of the target shared virtual machine, a communication connection is triggered between the target shared virtual machine and the second terminal. The access information of the target shared virtual machine is information used to access the target shared virtual machine. The communication connection is used to transmit operation instructions for the target game triggered by the second terminal to the target shared virtual machine, and transmit the game interface rendered by the target shared virtual machine in accordance with the operation instructions to the second terminal. Cloud gaming is thus implemented by leveraging the computing and storage resources provided by the virtual machines, indirectly expanding the computing and storage resources of the cloud gaming platform, reducing situations where games cannot proceed normally due to the cloud gaming platform's own limited computing power, improving the efficiency of cloud gaming responses, and enhancing the efficiency of cloud gaming interactions.
[0135] In some embodiments, in response to a launch request from a second terminal for a target game, determining a target shared virtual machine from among the shared virtual machines of the cloud gaming platform includes: in response to a launch request from a second terminal for a target game, evaluating the computing resources of the cloud gaming platform; and determining a target shared virtual machine from among the shared virtual machines of the cloud gaming platform when it is determined that the computing resources of the cloud gaming platform are insufficient.
[0136] Specifically, in response to the second terminal's request to launch the target game, the server evaluates the cloud gaming platform's computing resources. If it determines that the cloud gaming platform's computing resources are insufficient, it determines a target shared virtual machine from the cloud gaming platform's shared virtual machines. If it determines that the cloud gaming platform's computing resources are sufficient, it dispatches the cloud gaming platform's computing resources to provide game rendering services for the second terminal.
[0137] In this embodiment, when it is determined that the computing power resources of the cloud gaming platform are insufficient, a target shared virtual machine is determined from the shared virtual machines of the cloud gaming platform. Therefore, when the computing power resources of the cloud gaming platform are insufficient, resources can still be quickly scheduled for the second terminal, so that the cloud gaming can proceed normally, thereby improving the interactive efficiency of the cloud gaming.
[0138] In some embodiments, the login information of each shared virtual machine is shared to the cloud gaming platform after authorization; based on the access information of the target shared virtual machine, triggering the establishment of a communication connection between the target shared virtual machine and the second terminal includes: when the target shared virtual machine is in a non-logged-in state, sending a login request to the target shared virtual machine; the login request carries the login information of the target shared virtual machine, and the login information of the target shared virtual machine is used to log in to the target shared virtual machine; when the login of the target shared virtual machine is successful, triggering the establishment of a communication connection between the target shared virtual machine and the second terminal.
[0139] Specifically, the server responds to the second terminal's request to start the target game, determines the target shared virtual machine from the shared virtual machines of the cloud gaming platform, and sends a login request to the target shared virtual machine when the target shared virtual machine is in a non-logged-in state; the login request carries the login information of the target shared virtual machine, and the target shared virtual machine responds to the login request and logs in according to the login information. After the server determines that the login is successful, that is, that the target shared virtual machine is in a logged-in state, the server can send the network address of the target shared virtual machine to the second terminal, so that the second terminal can send a request to establish a communication connection to the target shared virtual machine based on the network address to establish a communication connection between the target shared virtual machine and the second terminal.
[0140] In this embodiment, the cloud gaming platform can log in to the target shared virtual machine through the login information of the target shared virtual machine, so that even if the target shared virtual machine is not logged in, it can still successfully schedule the target shared virtual machine to render the game for the second terminal, thereby improving the interactive efficiency of the cloud game.
[0141] In some embodiments, as shown in FIG15A , a cloud game interaction method is provided. The method can be executed by a terminal or jointly by a terminal and a server. The method is described as being executed by a first terminal, a server, and a second terminal, and includes the following steps:
[0142] In step 1502, the first terminal displays a sharing request interface in the resource sharing application, displays a resource sharing consent control in the sharing request interface, and enters a performance evaluation phase in response to a resource sharing trigger operation triggered by the resource sharing consent control. When the performance evaluation phase ends and the performance evaluation result is passed, the virtual machine installation interface is displayed.
[0143] Step 1504: The first terminal displays download guidance information on the virtual machine installation interface, responds to the virtual machine download operation triggered by the download guidance information, downloads the virtual machine installation file, and installs the virtual machine on the first terminal in response to the installation triggering operation for the downloaded virtual machine installation file.
[0144] Step 1506: The first terminal displays a virtual machine sharing interface for the virtual machine in the resource sharing application, and displays the input login information of the virtual machine in the virtual machine sharing interface.
[0145] In step 1508 , the first terminal responds to the virtual machine sharing operation triggered based on the virtual machine sharing interface, and sends the network address and login information of the virtual machine to the server of the cloud gaming platform.
[0146] In step 1510, the server stores the login information and network address of the virtual machine, making the virtual machine a shared virtual machine of the cloud gaming platform.
[0147] Step 1512: The second terminal displays the cloud gaming platform interface; the cloud gaming platform interface includes at least one game entrance.
[0148] Step 1514: The second terminal responds to the triggering operation of the game entry of the target game and sends a start request for the target game to the server.
[0149] In step 1516, the server responds to the second terminal's request to start the target game, determines the target shared virtual machine from the server's shared virtual machines, and sends the network address of the target shared virtual machine to the second terminal; the server has the authority to schedule at least part of the computing resources of the terminal where the shared virtual machine is installed; the target shared virtual machine refers to the shared virtual machine that is currently in a shared state and has the target game installed.
[0150] The target shared virtual machine may be a virtual machine installed in the first terminal, or may be a virtual machine shared by other terminals on the cloud gaming platform. In this embodiment, the target shared virtual machine is taken as an example of a virtual machine installed in the first terminal.
[0151] Step 1518: The second terminal establishes a communication connection with the target shared virtual machine in the first terminal based on the network address of the target shared virtual machine.
[0152] The communication connection is used to transmit the operation instructions for the target game triggered by the second terminal to the target shared virtual machine, and transmit the game interface rendered by the target shared virtual machine according to the operation instructions to the second terminal.
[0153] Step 1520: The second terminal sends a game start instruction for the target game to the target shared virtual machine in the first terminal.
[0154] In step 1522 , the target shared virtual machine in the first terminal renders a game interface of the target game in response to the game start instruction for the target game, and sends the rendered game interface to the second terminal.
[0155] Step 1524: The second terminal receives the game interface of the target game and displays the received game interface.
[0156] Step 1526: The second terminal sends an operation instruction for the target game to the target shared virtual machine in the first terminal.
[0157] In step 1528 , the target shared virtual machine in the first terminal renders a game interface based on the operation instruction, and sends the rendered game interface to the second terminal.
[0158] As shown in FIG15B , a timing diagram of interaction between the first terminal, the second terminal, and the server is provided in some embodiments. The timing diagram of interaction includes the following steps:
[0159] 1. Send the virtual machine's login information and network address to the server.
[0160] The first terminal sends the login information and network address of the virtual machine to the server.
[0161] 2. Store the virtual machine's login information and network address.
[0162] The server stores the login information and network address of the virtual machine.
[0163] 3. Respond to the trigger operation for the game entrance of the target game and send a start request for the target game to the server.
[0164] The second terminal responds to the triggering operation of the game entrance of the target game and sends a start request for the target game to the server.
[0165] 4. Determine the target shared virtual machine from the shared virtual machines of the cloud gaming platform.
[0166] The server responds to the start request for the target game and determines the target shared virtual machine from the shared virtual machines of the cloud game platform.
[0167] 5. The network address of the target shared virtual machine.
[0168] The server sends the network address of the target shared virtual machine to the second terminal.
[0169] 6. Establish a communication connection.
[0170] A communication connection is established between the first terminal and the second terminal.
[0171] 7. Game launch instructions for the target game.
[0172] The second terminal sends a game start instruction for the target game to the first terminal.
[0173] 8. Start the target game and render the game interface.
[0174] The first terminal starts the target game and renders the game interface in response to the game start instruction.
[0175] 9. Send the rendered game interface.
[0176] The first terminal sends the rendered game interface to the second terminal.
[0177] 10. Operation instructions for the target game.
[0178] The second terminal sends an operation instruction for the target game to the first terminal.
[0179] 11. The game interface is rendered according to the operation instructions.
[0180] Among them, the first terminal renders the game interface according to the operation instruction.
[0181] 12. Send the rendered game interface.
[0182] The first terminal sends the rendered game interface to the second terminal.
[0183] For example, as shown in Figure 16, a user launches a cloud gaming helper app on their personal computer. A pop-up window appears asking the user if they wish to share their gaming experience. If they select "no," the process terminates immediately; if they select "yes," the process proceeds to the next step. The helper app then launches a performance checker to test the user's computer's storage, graphics card, GPU, and CPU performance to see if they meet the cloud gaming backend's standards. If not, the process terminates immediately and the user is notified. If they do meet the standards, a pop-up window instructs the user to download and install a virtual machine. Because the virtual machine and the host computer are isolated, the cloud gaming server backend operates only in the virtual machine and does not affect the user's personal data on the host computer. After downloading and installing, the user is prompted to set their account and password, which are then sent to the cloud gaming backend via the cloud gaming helper app. The backend records the account and password corresponding to the IP address and stores them in a database to provide query records for subsequent scheduling. The cloud gaming backend then notifies the virtual machine via a socket to download the relevant game client.
[0184] As shown in Figure 17, the terminal of a user playing a cloud game launches the cloud game. The cloud game backend checks whether the current server resources are sufficient. If so, it directly dispatches the platform's own resources for the user to play. If all servers on the current platform are operational, it queries the database to see if there are server resources shared with the PC. If not, the user playing the cloud game is informed that resources are insufficient and needs to queue up first. A queue button is displayed on the client. If there is a shared PC, that is, a shared virtual machine, and the relevant game has been downloaded, the PC is scheduled as the server, that is, the corresponding virtual machine in the PC is scheduled as the server, and the PC is notified via a socket to start the game. After receiving the command, the PC launches the designated game and encodes the rendered game image and sends it over the network to the terminal of the user playing the cloud game. The cloud game client on the terminal decodes and displays it, completing the scheduling process. The cloud game backend records the user's play time, which will be used as a basis for subsequent time allocation to users who shared the PC. When the number of cloud gaming users is large, the resources of the cloud gaming platform may be insufficient. It is encouraged that users share their personal computers as platform resources. On the one hand, this can solve the problem of insufficient backend resources for cloud gaming that causes users to queue up. On the other hand, it can make full use of the resources that users can share. Users who share resources can get corresponding rewards, achieving a win-win effect between the platform and users. At the same time, it can greatly enhance the expansion of the number of cloud gaming users and the business system.
[0185] In this embodiment, cloud gaming is achieved with the help of computing power resources and storage resources provided by the virtual machine, which indirectly expands the computing power resources and storage resources of the cloud gaming platform, reduces the situation where the game cannot proceed normally due to the limited computing power of the cloud gaming platform itself, improves the efficiency of responding to cloud gaming, and improves the interactive efficiency of cloud gaming.
[0186] It should be understood that, although the various steps in the flowcharts involved in the various embodiments described above are displayed in sequence according to the instructions of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the various embodiments described above can include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of steps or stages in other steps.
[0187] Based on the same inventive concept, the embodiments of the present application also provide a cloud gaming interaction device for implementing the cloud gaming interaction method mentioned above. The implementation solution provided by this device is similar to the implementation solution described in the above method. Therefore, the specific limitations in one or more cloud gaming interaction device embodiments provided below can be found in the above-mentioned limitations on the cloud gaming interaction method and will not be repeated here.
[0188] In some embodiments, as shown in FIG18 , a cloud game interaction device is provided, including: an interface display module 1802 and an information sending module 1804 , wherein:
[0189] The interface display module 1802 is configured to display a virtual machine sharing interface for the virtual machine installed on the first terminal in response to a resource sharing trigger operation initiated on the first terminal; the installed virtual machine occupies at least a portion of the computing resources in the first terminal.
[0190] Information sending module 1804 is used to respond to the virtual machine sharing operation triggered based on the virtual machine sharing interface, and send the access information of the virtual machine to the cloud gaming platform, so that the cloud gaming platform obtains the authority to schedule the computing resources occupied by the virtual machine on the first terminal based on the access information; the access information is information used to access the virtual machine.
[0191] In some embodiments, the interface display module 1802 is further configured to display a virtual machine installation interface in response to a resource sharing triggering operation initiated by the first terminal; and install a virtual machine on the first terminal in response to triggering the virtual machine installation interface.
[0192] In some embodiments, the interface display module 1802 is also used to enter the performance evaluation phase in response to a resource sharing trigger operation initiated by the first terminal; the performance evaluation phase is used to evaluate whether the first terminal meets the conditions for sharing computing resources; when the performance evaluation phase ends and the performance evaluation result is passed, the virtual machine installation interface is displayed.
[0193] In some embodiments, the device is also used to display download guidance information on the virtual machine installation interface; the interface display module 1802 is also used to: respond to the virtual machine download operation triggered by the download guidance information, download the virtual machine installation file; respond to the installation trigger operation for the downloaded virtual machine installation file, and install the virtual machine on the first terminal.
[0194] In some embodiments, the interface display module 1802 is also used to display a resource sharing consent control on the sharing request interface; the sharing request interface is used to solicit whether to agree to share the computing resources of the first terminal to the cloud gaming platform; in response to the resource sharing trigger operation triggered by the resource sharing consent control, the performance evaluation stage is entered.
[0195] In some embodiments, the access information includes the login information of the virtual machine; the information sending module 1808 is also used to display the input login information of the virtual machine in the virtual machine sharing interface of the virtual machine; in response to the virtual machine sharing operation triggered based on the virtual machine sharing interface, the login information of the virtual machine is sent to the cloud gaming platform.
[0196] In some embodiments, the device is also used to receive a game installation instruction sent by the cloud gaming platform to the virtual machine; the game installation instruction is used to trigger the installation of a specified game in the virtual machine; and in response to the game installation instruction, the specified game is installed in the virtual machine.
[0197] In some embodiments, the access information includes the network address of the virtual machine; the device is also used to receive a game rendering instruction for a specified game installed in the virtual machine sent by the second terminal when the virtual machine is in a logged-in state; the game rendering instruction is sent by the second terminal to the first terminal based on the network address of the virtual machine, and the network address of the virtual machine used by the second terminal is transmitted to the second terminal by the cloud gaming platform; the game interface of the specified game is rendered according to the game rendering instruction, and the rendered game interface is returned to the second terminal.
[0198] In some embodiments, after the first terminal shares computing power resources with the second terminal, the cloud gaming account obtains accelerated virtual resources. The accelerated virtual resources are used to speed up the queuing progress of the cloud gaming account when the cloud gaming account needs to queue up to enter the game on the cloud gaming platform; the cloud gaming account is the account used to log in to the cloud gaming platform at the first terminal.
[0199] In some embodiments, the cloud gaming platform stores login information of the virtual machine; the device is further used to receive a login request for the virtual machine sent by the cloud gaming platform when the virtual machine is not logged in; the login request carries the login information of the virtual machine; and log in to the virtual machine based on the login information of the virtual machine carried in the login request.
[0200] In some embodiments, the interface display module 1802 is also used to display the interface of the resource sharing application; the resource sharing application is used to provide a service for sharing the computing resources of the terminal to the cloud gaming platform; in response to the resource sharing trigger operation initiated at the first terminal through the interface of the resource sharing application, the virtual machine installation interface is displayed in the resource sharing application.
[0201] In some embodiments, the interface display module 1802 is also used to display the login interface of the resource sharing application; display the cloud gaming account entered into the login interface; the cloud gaming account is used to log in to the cloud gaming platform; when the resource sharing application is successfully logged in based on the cloud gaming account, the interface of the resource sharing application is displayed; the information sending module 1808 is also used to respond to the virtual machine sharing operation triggered based on the virtual machine sharing interface, and send the access information of the virtual machine and the cloud gaming account currently logged in to the resource sharing application to the cloud gaming platform.
[0202] In some embodiments, as shown in FIG19 , a cloud game interaction device is provided, including: a platform interface display module 1902 , a game interface acquisition module 1904 , and a game interface display module 1906 , wherein:
[0203] The platform interface display module 1902 is used to display the cloud game platform interface; the cloud game platform interface includes at least one game entrance.
[0204] The game interface acquisition module 1904 is used to respond to the trigger operation of the game entrance of the target game and obtain the game interface of the target game sent by the shared virtual machine; the game interface is rendered by the computing power resources provided by the shared virtual machine in the cloud game platform; the computing power resources provided by the shared virtual machine are at least a part of the computing power resources of the terminal where the shared virtual machine is installed.
[0205] The game interface display module 1906 is used to display the game interface.
[0206] In some embodiments, as shown in FIG20 , a cloud game interaction device is provided, including: a request response module 2002 and a connection establishment trigger module 2004 , wherein:
[0207] The request response module 2002 is used to respond to the second terminal's request to start the target game and determine the target shared virtual machine from the shared virtual machines of the cloud gaming platform; the cloud gaming platform has the authority to schedule at least part of the computing resources of the terminal where the shared virtual machine is installed; the target shared virtual machine refers to the shared virtual machine that is currently in a shared state and has the target game installed.
[0208] The connection establishment trigger module 2004 is used to trigger the establishment of a communication connection between the target shared virtual machine and the second terminal based on the access information of the target shared virtual machine; wherein, the communication connection is used to transmit the operation instructions for the target game triggered by the second terminal to the target shared virtual machine, and transmit the game interface rendered by the target shared virtual machine according to the operation instructions to the second terminal.
[0209] In some embodiments, the request response module 2002 is also used to evaluate the computing resources of the cloud gaming platform in response to the second terminal's request to start the target game; when it is determined that the computing resources of the cloud gaming platform are insufficient, determine the target shared virtual machine from the shared virtual machines of the cloud gaming platform.
[0210] In some embodiments, the login information of each shared virtual machine is shared to the cloud gaming platform after authorization; the connection establishment trigger module 2004 is also used to send a login request to the target shared virtual machine when the target shared virtual machine is not logged in; the login request carries the login information of the target shared virtual machine, and the login information of the target shared virtual machine is used to log in to the target shared virtual machine; when the login of the target shared virtual machine is successful, a communication connection is triggered to be established between the target shared virtual machine and the second terminal.
[0211] Each module in the aforementioned cloud gaming interaction device can be implemented in whole or in part through software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in the computer device in the form of software, so that the processor can call and execute the corresponding operations of each module.
[0212] In some embodiments, a computer device is provided, which may be a server, and its internal structure diagram may be shown in Figure 21. The computer device includes a processor, a memory, an input / output interface (I / O) and a communication interface. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface is connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data involved in the cloud game interaction method. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a cloud game interaction method is implemented.
[0213] In some embodiments, a computer device is provided, which may be a terminal, and its internal structure diagram may be shown in Figure 22. The computer device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner. The wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication), or other technologies. When the computer program is executed by the processor, a cloud gaming interaction method is implemented. The display unit of the computer device is used to form a visually visible image, and can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device casing, or an external keyboard, touchpad or mouse, etc.
[0214] Those skilled in the art will understand that the structures shown in Figures 21 and 22 are merely block diagrams of partial structures related to the scheme of the present application, and do not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device may include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components.
[0215] In some embodiments, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned cloud game interaction method when executing the computer program.
[0216] In some embodiments, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned cloud game interaction method are implemented.
[0217] In some embodiments, a computer program product is provided, comprising a computer program that, when executed by a processor, implements the steps in the above-mentioned cloud gaming interaction method.
[0218] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions.
[0219] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processor involved in the various embodiments provided herein may be, but are not limited to, a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, and the like.
[0220] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0221] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.
[0222] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0223] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art could make various modifications and improvements without departing from the spirit of the present application, all of which fall within the scope of protection of the present application. Therefore, the scope of protection of the present patent application shall be determined by the appended claims.
Claims
1. A cloud game interaction method, executed by a first terminal, the method comprising: In response to a resource sharing trigger operation initiated at the first terminal, displaying a virtual machine sharing interface for the virtual machine installed at the first terminal; The installed virtual machine occupies at least a portion of computing resources in the first terminal; and In response to a virtual machine sharing operation triggered based on the virtual machine sharing interface, the access information of the virtual machine is sent to the cloud gaming platform, so that the cloud gaming platform obtains the authority to schedule the computing resources occupied by the virtual machine at the first terminal based on the access information; the access information is information used to access the virtual machine.
2. The method according to claim 1, wherein in response to the resource sharing triggering operation initiated at the first terminal, displaying a virtual machine sharing interface for the virtual machine installed at the first terminal comprises: In response to the resource sharing triggering operation initiated at the first terminal, displaying a virtual machine installation interface; In response to triggering the virtual machine installation interface, a virtual machine is installed on the first terminal.
3. The method according to claim 2, wherein in response to the resource sharing triggering operation initiated at the first terminal, displaying the virtual machine installation interface comprises: In response to a resource sharing triggering operation initiated by the first terminal, entering a performance evaluation phase; The performance evaluation stage is used to evaluate whether the first terminal meets the conditions for sharing computing resources; When the performance evaluation phase is completed and the performance evaluation result is passed, a virtual machine installation interface is displayed.
4. The method according to claim 3, wherein in response to the resource sharing triggering operation initiated by the first terminal, entering the performance evaluation phase comprises: Display resource sharing consent controls on the sharing solicitation interface; The sharing request interface is used to request whether to agree to share the computing resources of the first terminal with the cloud gaming platform; In response to a resource sharing triggering operation triggered by the resource sharing consent control, a performance evaluation phase is entered.
5. The method according to any one of claims 2 to 4, further comprising: Displaying download guidance information on the virtual machine installation interface; In response to triggering the virtual machine installation interface, installing the virtual machine on the first terminal includes: In response to the virtual machine download operation triggered by the download guide information, download the virtual machine installation file; In response to an installation triggering operation on the downloaded virtual machine installation file, a virtual machine is installed on the first terminal.
6. The method according to any one of claims 1 to 5, wherein the access information comprises login information of the virtual machine; The responding to the virtual machine sharing operation triggered by the virtual machine sharing interface and sending the access information of the virtual machine to the cloud gaming platform comprises: Displaying the input login information of the virtual machine in the virtual machine sharing interface of the virtual machine; In response to a virtual machine sharing operation triggered based on the virtual machine sharing interface, the login information of the virtual machine is sent to the cloud gaming platform.
7. The method according to any one of claims 1 to 6, further comprising: Receiving a game installation instruction sent by the cloud gaming platform to the virtual machine; The game installation instruction is used to trigger the installation of a specified game in the virtual machine; In response to the game installation instruction, the designated game is installed in the virtual machine.
8. The method according to claim 7, wherein the access information comprises a network address of the virtual machine; The method further comprises: When the virtual machine is in a logged-in state, receiving a game rendering instruction for the designated game installed in the virtual machine sent by a second terminal; The game rendering instruction is sent by the second terminal to the first terminal based on the network address of the virtual machine, and the network address of the virtual machine used by the second terminal is transmitted to the second terminal by the cloud game platform; The game interface of the specified game is rendered according to the game rendering instruction, and the rendered game interface is returned to the second terminal.
9. According to the method of claim 8, after the first terminal shares computing power resources with the second terminal, the cloud gaming account obtains accelerated virtual resources, and the accelerated virtual resources are used to speed up the queuing progress of the cloud gaming account when the cloud gaming account needs to queue up to enter the game in the cloud gaming platform; the cloud gaming account is the account used to log in to the cloud gaming platform at the first terminal.
10. The method according to any one of claims 7 to 9, wherein the access information includes login information of the virtual machine; the method further comprises: When the virtual machine is in a non-logged-in state, receiving a login request for the virtual machine sent by the cloud gaming platform; The login request carries the login information of the virtual machine; The virtual machine is logged in based on the login information of the virtual machine carried in the login request.
11. The method according to any one of claims 1 to 10, wherein in response to the resource sharing triggering operation initiated at the first terminal, displaying a virtual machine installation interface comprises: Display the interface of the resource sharing application; The resource sharing application is used to provide a service for sharing the computing resources of the terminal to the cloud gaming platform; In response to a resource sharing triggering operation initiated at the first terminal through an interface of a resource sharing application, a virtual machine installation interface is displayed on the resource sharing application.
12. The method according to claim 11, wherein the interface for displaying a resource sharing application comprises: Displaying a login interface of the resource sharing application; Displaying the cloud gaming account entered into the login interface; The cloud gaming account is an account used to log in to the cloud gaming platform; When the resource sharing application is successfully logged in based on the cloud gaming account, an interface of the resource sharing application is displayed; The responding to the virtual machine sharing operation triggered by the virtual machine sharing interface and sending the access information of the virtual machine to the cloud gaming platform comprises: In response to a virtual machine sharing operation triggered based on the virtual machine sharing interface, the access information of the virtual machine and the cloud gaming account currently logged into the resource sharing application are sent to the cloud gaming platform.
13. A cloud game interaction method, executed by a second terminal, the method comprising: Display the cloud gaming platform interface; The cloud gaming platform interface includes at least one game entrance; In response to a trigger operation on the game entrance of the target game, a game interface of the target game sent by the shared virtual machine is obtained; the game interface is rendered by computing resources provided by the shared virtual machine in the cloud game platform; the computing resources provided by the shared virtual machine are at least a part of computing resources of the terminal on which the shared virtual machine is installed; The game interface is displayed.
14. A cloud game interaction method, executed by a server, the method comprising: In response to a start request from the second terminal for a target game, determining a target shared virtual machine from the shared virtual machines of the cloud gaming platform; The cloud gaming platform has the authority to schedule at least a portion of the computing resources of the terminal on which the shared virtual machine is installed; the target shared virtual machine refers to a shared virtual machine that is currently in a shared state and has the target game installed; Based on the access information of the target shared virtual machine, triggering the establishment of a communication connection between the target shared virtual machine and the second terminal; the access information of the target shared virtual machine is information used to access the target shared virtual machine; The communication connection is used to transmit the operation instruction for the target game triggered by the second terminal to the target shared virtual machine, and transmit the game interface rendered by the target shared virtual machine according to the operation instruction to the second terminal.
15. The method according to claim 14, wherein in response to the second terminal's request to start the target game, determining the target shared virtual machine from the shared virtual machines of the cloud gaming platform comprises: In response to a start request from the second terminal for a target game, evaluating computing resources of the cloud gaming platform; When it is determined that the computing resources of the cloud gaming platform are insufficient, a target shared virtual machine is determined from among the shared virtual machines of the cloud gaming platform.
16. The method according to claim 14 or 15, wherein the login information of each shared virtual machine is shared to the cloud gaming platform after authorization; The triggering, based on the access information of the target shared virtual machine, to establish a communication connection between the target shared virtual machine and the second terminal includes: When the target shared virtual machine is in a non-logged-in state, sending a login request to the target shared virtual machine; the login request carries login information of the target shared virtual machine, and the login information of the target shared virtual machine is used to log in to the target shared virtual machine; When the target shared virtual machine logs in successfully, a communication connection is established between the target shared virtual machine and the second terminal.
17. A cloud game interaction device, the device comprising: An interface display module, configured to display a virtual machine sharing interface for a virtual machine installed on the first terminal in response to a resource sharing trigger operation initiated by the first terminal; The installed virtual machine occupies at least a portion of computing resources in the first terminal; An information sending module is used to respond to a virtual machine sharing operation triggered based on the virtual machine sharing interface, and send the access information of the virtual machine to the cloud gaming platform, so that the cloud gaming platform obtains the authority to schedule the computing resources occupied by the virtual machine at the first terminal based on the access information; the access information is information used to access the virtual machine.
18. A cloud game interaction device, the device comprising: Platform interface display module, used to display the cloud game platform interface; The cloud gaming platform interface includes at least one game entrance; A game interface acquisition module, configured to respond to a trigger operation on the game entrance of a target game and acquire a game interface of the target game sent by a shared virtual machine; the game interface is rendered by computing resources provided by the shared virtual machine in the cloud game platform; the computing resources provided by the shared virtual machine are at least a portion of computing resources of a terminal on which the shared virtual machine is installed; The game interface display module is used to display the game interface.
19. A cloud game interaction device, the device comprising: A request response module, configured to respond to a start request from the second terminal for a target game and determine a target shared virtual machine from among the shared virtual machines of the cloud game platform; The cloud gaming platform has the authority to schedule at least a portion of the computing resources of the terminal on which the shared virtual machine is installed; the target shared virtual machine refers to a shared virtual machine that is currently in a shared state and has the target game installed; A connection establishment trigger module is used to trigger the establishment of a communication connection between the target shared virtual machine and the second terminal based on the access information of the target shared virtual machine; the access information of the target shared virtual machine is information used to access the target shared virtual machine; wherein the communication connection is used to transmit the operation instructions for the target game triggered by the second terminal to the target shared virtual machine, and transmit the game interface rendered by the target shared virtual machine according to the operation instructions to the second terminal.
20. A computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method according to any one of claims 1 to 16 when executing the computer program.
21. A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method according to any one of claims 1 to 16.
22. A computer program product, comprising a computer program, which, when executed by a processor, implements the steps of the method according to any one of claims 1 to 16.
Citation Information
Patent Citations
Rendering service system, method and device for cloud game
CN111450528A
Cloud game data processing method and system
CN111870962A
System architecture for cloud gaming
CN113253979A
Game control method and system
CN113648648A
Cloud game processing method and system
CN114221987A
