Cloud game interaction method and device, computer equipment and storage medium
By installing virtual machines on the terminal and sharing their computing power resources, the problem of insufficient computing power on the cloud gaming platform is solved, and the response and interaction efficiency of cloud gaming is improved.
Patent Information
- Application Number
- CN202310562560.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-18
- Publication Date
- 2024-11-22
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 power resources, sending access information to the cloud gaming platform to obtain permissions, the cloud gaming platform can schedule the computing power resources of the terminal and improve game rendering efficiency.
With the help of the computing power resources and storage resources provided by the virtual machine, the resources of the cloud game platform are indirectly expanded, reducing the situation where the game cannot proceed normally due to insufficient computing power, and improving the response efficiency and interaction efficiency of cloud games.
Smart Images

Figure CN118987608A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of cloud gaming technology, and in particular to a cloud gaming interaction method, apparatus, computer device, and storage medium. Background Art
[0002] With the development of cloud technology, cloud gaming technology has emerged. Cloud gaming means that the game is run on the server, and the server transmits the rendered game screen to the client, which displays the game screen. If the terminal installs the cloud gaming client, the game interface can be displayed without downloading the game.
[0003] In traditional technology, in a cloud gaming scenario, the server of the cloud gaming platform is used as the server end for running the game, and the server of the cloud gaming platform returns the rendered game interface to the client of the cloud gaming platform.
[0004] However, due to the limited computing 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 not be able to respond to game start requests initiated by the client due to insufficient computing resources, resulting in a phenomenon of client waiting, leading to low cloud gaming interaction efficiency. Summary of the invention
[0005] Based on this, it is necessary to provide a cloud gaming interaction method, apparatus, computer equipment, computer-readable storage medium and computer program product that can improve the efficiency of cloud gaming interaction in response to the above-mentioned technical problems.
[0006] On the one hand, the present application provides a cloud game interaction method. The method includes: responding to a resource sharing trigger operation for the first terminal, displaying a virtual machine sharing interface for a virtual machine installed in the first terminal; the installed virtual machine occupies corresponding computing resources in the first terminal; responding to a virtual machine sharing operation triggered based on the virtual machine sharing interface, sending access information of the virtual machine to a cloud game platform, so that the cloud game platform has the authority to schedule the computing resources belonging to the virtual machine in the first terminal based on the access information; the access information is information used to access the virtual machine.
[0007] On the other hand, the present application also provides a cloud game interaction device. The device includes: an interface display module, which is used to respond to the resource sharing trigger operation for the first terminal and display the virtual machine sharing interface for the virtual machine installed in the first terminal; the installed virtual machine occupies the corresponding computing power resources in the first terminal; an information sending module, which 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 game platform, so that the cloud game platform has the authority to dispatch the computing power resources belonging to the virtual machine in the first terminal based on the access information.
[0008] In some embodiments, the interface display module is further used to respond to a resource sharing trigger operation on the first terminal, display a virtual machine installation interface; and install a virtual machine on the first terminal in response to triggering the virtual machine installation interface.
[0009] In some embodiments, the interface display module is also used to respond to a resource sharing trigger operation for the first terminal and enter a performance evaluation phase; 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.
[0010] In some embodiments, the device is also used to display download guidance information on the virtual machine installation interface; the interface display module is also used to: respond to a virtual machine download operation triggered by the download guidance information, download the virtual machine installation file; respond to an installation trigger operation for the downloaded virtual machine installation file, install the virtual machine on the first terminal.
[0011] In some embodiments, the interface display module is also used to display a resource sharing consent control on a 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 a resource sharing trigger operation triggered by the resource sharing consent control, a performance evaluation phase is entered.
[0012] In some embodiments, the access information includes login information of the virtual machine; the information sending module 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 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.
[0013] 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.
[0014] 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 the 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.
[0015] In some embodiments, 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 a game on the cloud gaming platform; the cloud gaming account is an account used to log in to the cloud gaming platform at the first terminal.
[0016] 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.
[0017] In some embodiments, the operation response module is also used to display the interface of the resource sharing application; the resource sharing application is used to provide services for sharing the computing resources of the terminal to the cloud gaming platform; in response to a resource sharing trigger operation for the first terminal triggered through the interface of the resource sharing application, a virtual machine installation interface is displayed in the resource sharing application.
[0018] In some embodiments, the operation response module is also used to display the login interface of the resource sharing application; display the cloud gaming account input 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 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.
[0019] 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.
[0020] On the other hand, the present application also provides a computer-readable storage medium, wherein a computer program is stored thereon, and when the computer program is executed by a processor, the steps in the above-mentioned cloud game interaction method are implemented.
[0021] On the other hand, the present application also provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned cloud game interaction method are implemented.
[0022] The above-mentioned cloud game interaction method, device, computer equipment, storage medium and computer program product respond to the resource sharing trigger operation for the first terminal, display the virtual machine sharing interface for the virtual machine installed in the first terminal, the installed virtual machine occupies the corresponding computing resources in the first terminal, respond to the virtual machine sharing operation triggered based on the virtual machine sharing interface, send the access information of the virtual machine to the cloud game platform, so that the cloud game platform has the authority to dispatch the computing resources belonging to the virtual machine in the first terminal based on the access information, and the access information is the information used to access the virtual machine. In this way, cloud games are realized with the help of the computing resources and storage resources provided by the virtual machine, which indirectly realizes an expansion of the computing resources and storage resources of the cloud game platform, reduces the situation where the game cannot be carried out normally due to the limited computing power of the cloud game platform itself, improves the efficiency of responding to cloud games, and improves the interaction efficiency of cloud games.
[0023] On the other hand, the present application provides a cloud game interaction method. The method includes: displaying a cloud game platform interface; the cloud game platform interface includes at least one game entrance; in response 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 resources provided by the shared virtual machine in the cloud game platform; the computing resources provided by the shared virtual machine are at least part of the computing resources of the terminal on which the shared virtual machine is installed; and displaying the game interface.
[0024] On the other hand, the present application also provides a cloud game interaction device. The device includes: a platform interface display module, which is used to display the cloud game platform interface; the cloud game platform interface includes at least one game entrance; a game interface acquisition module, which is used to respond to the trigger operation of the game entrance of the target game and acquire 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 part of the computing power resources of the terminal where the shared virtual machine is installed; a game interface display module, which is used to display the game interface.
[0025] 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.
[0026] On the other hand, the present application also provides a computer-readable storage medium, wherein a computer program is stored thereon, and when the computer program is executed by a processor, the steps in the above-mentioned cloud game interaction method are implemented.
[0027] On the other hand, the present application also provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned cloud game interaction method are implemented.
[0028] The above-mentioned cloud game interaction method, device, computer equipment, storage medium and computer program product display the cloud game platform interface, which includes at least one game entrance, responds to the trigger operation of the game entrance of the target game, obtains the game interface of the target game sent by the shared virtual machine, and displays the game interface. Since 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 part of the computing power resources of the terminal on which the shared virtual machine is installed, thereby realizing cloud games with the help of the computing power resources and storage resources provided by the virtual machine, indirectly realizing an expansion of the computing power resources and storage resources of the cloud game platform, reducing the situation where the game cannot be carried out normally due to the limited computing power of the cloud game platform itself, improving the efficiency of responding to cloud games, and improving the interaction efficiency of cloud games.
[0029] On the other hand, the present application provides a cloud game interaction method. The method includes: in response to a start request for a target game from a second terminal, determining a target shared virtual machine from each shared virtual machine of a cloud game platform; the cloud game 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 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.
[0030] On the other hand, the present application provides a cloud game interaction device. The device includes: a request response module, which is used to determine the target shared virtual machine from the shared virtual machines of the cloud game platform in response to the start request of the second terminal for the target game; the cloud game 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 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.
[0031] In some embodiments, the request response module is also used to evaluate the computing resources of the cloud gaming platform in response to a start request from the second terminal for a target game; when it is determined that the computing resources of the cloud gaming platform are insufficient, determine a target shared virtual machine from among the shared virtual machines of the cloud gaming platform.
[0032] 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 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.
[0033] 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.
[0034] On the other hand, the present application also provides a computer-readable storage medium, wherein a computer program is stored thereon, and when the computer program is executed by a processor, the steps in the above-mentioned cloud game interaction method are implemented.
[0035] On the other hand, the present application also provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned cloud game interaction method are implemented.
[0036] The above-mentioned cloud game interaction method, device, computer equipment, storage medium and computer program product, in response to the second terminal's start request for the target game, determine the target shared virtual machine from the shared virtual machines of the cloud game platform, the cloud game platform has the authority to dispatch 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, based on the access information of the target shared virtual machine, trigger the target shared virtual machine and the second terminal to establish a communication connection, 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. Thus, cloud games are realized with the help of the computing resources and storage resources provided by the virtual machine, indirectly realizing an expansion of the computing resources and storage resources of the cloud game platform, reducing the situation where the game cannot be carried out normally due to the limited computing power of the cloud game platform itself, improving the efficiency of responding to cloud games, and improving the interaction efficiency of cloud games. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 A diagram of an application environment of a cloud gaming interaction method in some embodiments;
[0038] Figure 2 A schematic diagram of a flow chart of a cloud game interaction method in some embodiments;
[0039] Figure 3 is a schematic diagram of a virtual machine sharing interface in some embodiments;
[0040] Figure 4 A schematic diagram of the first option and the second option in some embodiments;
[0041] Figure 5A schematic diagram showing the corresponding display of the identifier of a virtual machine and a shared status control in some embodiments;
[0042] Figure 6 A schematic diagram of a login information setting interface in some embodiments;
[0043] Figure 7 A schematic diagram showing evaluation progress prompt information in some embodiments;
[0044] Figure 8 A schematic diagram of a virtual machine installation interface in some embodiments;
[0045] Fig. 9 A schematic diagram of a download guide interface in some embodiments;
[0046] Fig.10 A schematic diagram of a sharing solicitation interface in some embodiments;
[0047] Fig.11 A schematic diagram of an interface of a virtual machine in some embodiments;
[0048] Fig.12 A schematic diagram of an interface of a virtual machine in some embodiments;
[0049] Fig.13 A schematic diagram of a flow chart of a cloud game interaction method in some embodiments;
[0050] Fig.14 A schematic diagram of a flow chart of a cloud game interaction method in some embodiments;
[0051] Fig.15A A schematic diagram of a flow chart of a cloud game interaction method in some embodiments;
[0052] Fig. 15B is an interaction sequence diagram between the first terminal, the second terminal and the server in some embodiments;
[0053] Fig.16 A schematic diagram of a flow chart of a cloud game interaction method in some embodiments;
[0054] Fig.17 A schematic diagram of a flow chart of a cloud game interaction method in some embodiments;
[0055] Fig.18 It is a structural block diagram of a cloud game interaction device in some embodiments;
[0056] Fig.19 It is a structural block diagram of a cloud game interaction device in some embodiments;
[0057] Fig. 20 It is a structural block diagram of a cloud game interaction device in some embodiments;
[0058] Fig.21 is an internal structure diagram of a computer device in some embodiments;
[0059] Fig. 22 1 is a diagram of the internal structure of a computer device in some embodiments. DETAILED DESCRIPTION
[0060] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0061] The cloud game interaction method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. 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 through a network. The data storage system can store 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 realizing 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 mainboard of the personal computer. It is one of the important devices of "man-machine". Its built-in parallel computing capability is also used for deep learning and other operations at this stage. Server 104 is a server that provides cloud gaming services. Cloud gaming (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 a player's game 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 as 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.
[0062] Specifically, a virtual machine may be installed on the first terminal 102, and the first terminal 102 may store access information of the installed virtual machine in the server 104. The access information of the virtual machine is information for accessing the virtual machine, and the access information of the virtual machine includes but is not limited to at least one of the network address or login information of the virtual machine. The server 104 may schedule the virtual machine in the first terminal 102 to complete the game rendering task based on the access information of the virtual machine. The second terminal 106 is a player game terminal, and a cloud game client may be installed on the second terminal 106. The second terminal 106 may communicate with the server 104 through the cloud game client. The second terminal 106 may display the interface of the cloud game client and display at least one game entrance in the interface of the cloud game client. The second terminal 106 responds to the trigger operation for any game entrance and sends a start request to the server 104 to start the corresponding game. In response to the start request, the server 104 schedules the virtual machine in the first terminal 102 as the server of the second terminal 106, so that the second terminal 106 can render the game interface for the first terminal 102 to realize the game mode of the cloud game. Among them, virtual machine (Virtual Machine) refers to a complete computer system with complete hardware system functions and running in a completely isolated environment simulated by software. All the work that can be done in a physical computer can be realized 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 realize an expansion of 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.
[0063] Among them, the first terminal 102 and the second terminal 106 can be, but are not limited to, various desktop computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server 104 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or 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 can be a smart phone, tablet computer, laptop computer, desktop computer, smart speaker, smart watch, etc., but is not limited to this. The terminal and the server can be directly or indirectly connected via wired or wireless communication, and this application is not limited here.
[0064] The data involved in the cloud game interaction method provided in this application may be stored in a blockchain system. For example, virtual machine access information may 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 a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. The blockchain may include a blockchain underlying platform, a platform product service layer, and an application service layer. The blockchain underlying platform may include processing modules such as user management, basic services, and smart contracts. Among them, the user management module is responsible for the identity information management of all blockchain participants, including maintaining the generation of public and private keys (account management), key management, and the maintenance of the corresponding relationship between the user's real identity and the blockchain address (authority management), etc., and under authorization, supervise and audit the transactions of certain real identities and provide risk control rule configuration (risk control audit); the basic service module is deployed on all blockchain node devices to verify the validity of business requests, and record the valid requests to the storage after consensus is completed. For a new business request, the basic service first adapts the interface to parse and authenticate (interface adaptation), and then encrypts the business information through the consensus algorithm (consensus management), and transmits it to the shared account book completely and consistently after encryption (network communication), and records and stores it; the smart contract module is responsible for the registration and issuance of contracts, contract triggering and contract execution. Developers can define the contract logic in a certain programming language and publish it to the blockchain (contract registration). According to the logic of the contract terms, call the key or other events to trigger the execution to complete the contract logic, and also provide the function of contract upgrade and cancellation. The platform product service layer provides the basic capabilities and implementation framework of typical applications. Developers can complete the blockchain implementation of business logic based on these basic capabilities and superimpose the characteristics of the business. The application service layer provides application services based on blockchain solutions for business participants to use. Storing data in the blockchain system can prevent data tampering and improve data security. For example, storing the access information of the virtual machine in the blockchain system can ensure the security of the virtual machine's access information.
[0065] In some embodiments, Figure 2 As shown, a cloud game interaction method is provided, which can be executed by a terminal or a server, or can be executed by a terminal and a server together. Figure 1 Taking the first terminal 102 in the example as an example, the method includes the following steps:
[0066] Step 202, in response to a resource sharing trigger operation for the first terminal, a virtual machine sharing interface for the virtual machine installed in the first terminal is displayed; the installed virtual machine occupies corresponding computing resources in the first terminal.
[0067] The resource sharing trigger operation is used to trigger the sharing of the computing resources of the local end to the cloud gaming platform. Computing power refers to computing power. Computing resources refer to resources that provide computing power, including but not limited to central processing unit (CPU), memory, hard disk or graphics card (GPU) and other resources.
[0068] The virtual machine sharing interface is used to share at least one of the login information or network address of the virtual machine to the cloud gaming platform. The virtual machine sharing interface may be an interface provided by a resource sharing application.
[0069] 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, to a cloud gaming platform. The resource sharing application may also be referred to as a cloud gaming helper. 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, slide, and other operations.
[0070] In some embodiments, the first terminal displays a virtual machine sharing interface in the resource sharing application, and displays a login information input area in the virtual machine sharing interface, the login information input area is used to input the login information of the virtual machine installed on the first terminal, and when the login information includes an account and a password, the login information input area may include an account input area and a password input area. Figure 3 As shown, a schematic diagram of the virtual machine sharing interface is shown. Figure 3 The virtual machine sharing interface in FIG. 3 shows an account input area 302 and a password input area 304 .
[0071] In some embodiments, the first terminal responds to a resource sharing trigger operation on the first terminal and displays a first option and a second option. If the first option is selected, it indicates a choice to install a new virtual machine in the first terminal and share the newly installed virtual machine to the cloud gaming platform. If the second option is selected, it indicates a choice to share the virtual machine already installed in the first terminal to the cloud gaming platform. If the first terminal receives a trigger operation for the first option, the interface is switched to the virtual machine installation interface, and in response to the triggering of the virtual machine installation interface, the virtual machine is installed on the first terminal. If the first terminal receives a trigger operation for the second option, the interface is switched to the virtual machine sharing interface, which can be used to input the login information of the virtual machine already installed on the first terminal. In this way, a new virtual machine can be installed and the newly installed virtual machine can be shared to the cloud gaming platform, or the virtual machine already installed on the first terminal can be shared to the cloud gaming platform. The flexibility and efficiency of sharing virtual machines are improved. Figure 4 As shown, a schematic diagram showing the first option and the second option is shown. Figure 4 A first option 402 and a second option 404 are shown in FIG.
[0072] 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 has the authority to schedule the computing resources belonging to the virtual machine in the first terminal based on the access information; the access information is information used to access the virtual machine.
[0073] Among them, the virtual machine sharing operation is used to trigger the sharing of the virtual machine's access information to the cloud gaming platform, and 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.
[0074] 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 the shared access information 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 for rendering the game interface in the cloud gaming platform, so that the cloud gaming platform has the authority to schedule the computing resources belonging to the virtual machine in the first terminal.
[0075] In some embodiments, the virtual machine sharing interface displays a sharing confirmation control, which is used to trigger the virtual machine sharing operation. The first terminal responds to the triggering operation on the sharing confirmation control, 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 clicking, double-clicking or sliding on the sharing confirmation control. The sharing confirmation control is, for example, Figure 3 In the control 306, the first terminal sends the access information of the virtual machine to the server of the cloud gaming platform in response to the click operation on the control 306.
[0076] 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 identifier of the virtual machine and display a sharing status control corresponding to the identifier 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 indicates that the virtual machine is in a sharing state. If the sharing status control is in the sharing-off state, it indicates 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. Figure 5 As shown, a schematic diagram showing the corresponding display of the virtual machine identifier and the shared status control is shown. Figure 5 (a) shows the sharing status control in the sharing-on state. Figure 5 (b) shows the sharing status control in the sharing-on state.
[0077] In the above-mentioned cloud game interaction method, in response to the resource sharing trigger operation for the first terminal, a virtual machine sharing interface for the virtual machine installed in the first terminal is displayed, and the installed virtual machine occupies corresponding computing resources in the first terminal. 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 game platform, so that the cloud game platform has the authority to dispatch the computing resources belonging to the virtual machine in the first terminal based on the access information. In this way, cloud games are realized with the computing resources and storage resources provided by the virtual machine, which indirectly realizes an expansion of the computing resources and storage resources of the cloud game platform, reduces the situation where the game cannot be carried out normally due to the limited computing power of the cloud game platform itself, improves the efficiency of responding to cloud games, and improves the interaction efficiency of cloud games.
[0078] In some embodiments, in response to a resource sharing trigger operation for the first terminal, displaying a virtual machine sharing interface for the virtual machine installed in the first terminal includes: in response to a resource sharing trigger operation for the first terminal, displaying a virtual machine installation interface; in response to triggering the virtual machine installation interface, installing the virtual machine in the first terminal.
[0079] Specifically, the virtual machine installation interface refers to an interface for installing a 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 on the resource sharing trigger control and displays the virtual machine installation interface.
[0080] 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, and when the performance evaluation phase ends and the performance evaluation result is passed, the first terminal displays a virtual machine installation interface.
[0081] In some embodiments, the first terminal may display download guide information on the virtual machine installation interface, the download guide information describes the download method of the virtual machine, and the download guide information may include a virtual machine download entry, and the virtual machine download entry may be, for example, a network link address for downloading the virtual machine. The first terminal downloads the virtual machine installation file in response to a trigger operation on the virtual machine download entry, and installs the virtual machine on the first terminal in response to an installation trigger operation on the virtual machine installation text. The installation trigger operation is an operation that triggers the installation of the virtual machine. The virtual machine installation file is a file used to install the virtual machine.
[0082] 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 an 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. Figure 6 As shown, a schematic diagram of the login information setting interface is shown. Figure 6 The login information setting interface 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 and password corresponding to the network address, and thus find the network address of the virtual machine according to the set account.
[0083] In this embodiment, in response to the resource sharing triggering operation on 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 on the first terminal, thereby improving the efficiency of installing the virtual machine.
[0084] In some embodiments, in response to a resource sharing trigger operation for the first terminal, displaying a virtual machine installation interface includes: responding to a resource sharing trigger operation for the first terminal, entering a performance evaluation phase; 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.
[0085] Among them, performance evaluation refers to the evaluation of the resources used to provide computing power in the first terminal, including but not limited to the size, model or performance of resources such as hard disks, disks, and graphics cards. The performance evaluation stage is used to evaluate whether the first terminal meets the conditions for sharing computing power resources. The performance evaluation result is passed or failed. If the performance evaluation result is passed, it means that the first terminal meets the conditions for sharing computing power resources. If the performance evaluation result is failed, it means that the first terminal does not meet the conditions for sharing computing power resources.
[0086] Specifically, the first terminal responds to the resource sharing trigger operation for the first terminal and enters the performance evaluation stage. In the performance evaluation stage, the first terminal is subjected to performance evaluation and evaluation progress prompt information is displayed. The evaluation progress prompt information is used to prompt the progress of the performance evaluation. When the performance evaluation stage ends and the performance evaluation result is passed, the first terminal displays the virtual machine installation interface. The evaluation progress prompt information is variable. For example, in the performance evaluation stage, the evaluation progress prompt information is information used to prompt that the performance evaluation is in progress. At the end of the performance evaluation stage, the evaluation progress prompt information is information used to prompt that the performance evaluation result is passed or failed.
[0087] 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.
[0088] In some embodiments, the first terminal may display an interface of a resource sharing application and display a resource sharing trigger control in the interface of the resource sharing application. The first terminal responds to a trigger operation on the resource sharing trigger control, performs a performance evaluation on the first terminal through the resource sharing application, and displays evaluation progress prompt information on the interface of the resource sharing application. Figure 7 As shown, the evaluation progress prompt information “Performance testing in progress…” is displayed. Of course, the evaluation progress prompt information may include the name of the hardware currently being tested.
[0089] In this embodiment, in response to the resource sharing trigger operation for the first terminal, the performance evaluation phase is entered. When the performance evaluation phase is completed 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 power 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 power resources, reducing unnecessary interactions and improving interaction efficiency.
[0090] 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 a virtual machine download operation triggered by the download guidance information, downloading the virtual machine installation file; in response to an installation trigger operation for the downloaded virtual machine installation file, installing the virtual machine on the first terminal.
[0091] 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 guide information is used to describe the download method of the virtual machine. The download guide information may include a virtual machine download entry, and the virtual machine download entry 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.
[0092] Specifically, the first terminal can respond to the resource sharing trigger operation for the first terminal in the resource sharing application, and display the virtual machine installation interface in the resource sharing application, and display download guide information in the virtual machine installation interface, and the download guide information may include the virtual machine download entrance. The first terminal responds to the trigger operation for the virtual machine download entrance and downloads the virtual machine installation file, for example, the virtual machine installation file can be downloaded to the local hard disk, the first terminal responds to the operation of entering the folder storing the virtual machine installation file, displays the virtual machine installation file stored in the folder, and responds to the installation trigger operation for the virtual machine installation file, and installs the virtual machine at the first terminal, that is, the first terminal.
[0093] In some embodiments, the first terminal may display a download guide entry on the virtual machine installation interface, and the first terminal responds to a trigger operation on the download guide entry by displaying a download guide interface and displaying download guide information on the download guide interface. Figure 8 As shown, a schematic diagram of the virtual machine installation interface is shown. Figure 8 The download guide entry 802 is shown in FIG. Fig. 9 As shown, the download guide interface is displayed. Fig. 9 The download guide interface in the display shows the download guide information 902. In response to the click operation on the download guide entry 802, the first terminal switches the interface to Fig. 9 The download guide interface in .
[0094] In some embodiments, the first terminal may also display an installation guide entry on the virtual machine installation interface. In response to a trigger operation on the installation guide entry, the first terminal displays installation description information, where the installation description information is used to describe the process of installing the virtual machine. The installation guide entry may be, for example, Figure 8 Control 804 in.
[0095] In this embodiment, the download guide information is displayed on the virtual machine installation interface, and the virtual machine is installed by downloading the guide information, thereby improving the efficiency of installing the virtual machine.
[0096] In some embodiments, in response to a resource sharing trigger operation for a first terminal, entering the performance evaluation stage includes: displaying a resource sharing consent control on a sharing solicitation interface; a sharing solicitation interface for soliciting whether to agree to share the computing 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.
[0097] 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 solicitation 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 operations such as clicking, double-clicking, or sliding on the resource sharing consent control.
[0098] 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 on 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 phase and display the evaluation progress prompt information.
[0099] In some embodiments, the first terminal displays a resource sharing rejection control on the sharing request interface. In response to the triggering operation on the resource sharing rejection control, the first terminal determines to reject sharing of the computing resources of the first terminal to the cloud gaming platform, closes the sharing request interface, and may exit the resource sharing application. Fig.10 As shown, a schematic diagram of the shared solicitation interface is shown. Fig.10 The sharing solicitation interface in shows a resource sharing consent control 1002 and a resource sharing rejection control 1004 .
[0100] In this embodiment, before entering the performance evaluation stage, the user is asked whether 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.
[0101] 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 a 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.
[0102] 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, and 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 input in the login information input area, searches for the network address of the corresponding virtual machine locally according to 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.
[0103] 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.
[0104] In some embodiments, the method also 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.
[0105] The designated game may be any game on the cloud gaming platform. The game installation instruction may carry a game identifier of the designated game or a 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.
[0106] 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, 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 prompt the installation progress of the virtual machine.
[0107] In some embodiments, the first terminal displays the interface of the virtual machine in response to the operation of displaying the interface of the virtual machine, the first terminal receives the 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 for prompting the game download progress or game installation progress in the interface of the virtual machine. Fig.11 As shown in the figure, the interface of the virtual machine is displayed. Fig.12 As shown, the information "Game downloading" used to prompt the progress of game downloading is displayed in the interface of the virtual machine.
[0108] 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.
[0109] 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 a game interface of the specified game according to the game rendering instruction, and returning the rendered game interface to the second terminal.
[0110] The second terminal refers to the terminal of the player in the game mode of the cloud game. The cloud game platform interface is the interface provided by the client of the cloud game platform.
[0111] Specifically, the second terminal displays the cloud gaming platform interface, and displays at least one game entrance in the cloud gaming platform interface. The second terminal responds to the trigger operation for the game entrance of the target game, and sends a start request for the target game to the server of the cloud gaming platform. The server of the cloud gaming platform responds to the start request and determines the target shared virtual machine from the shared virtual machines of the cloud gaming platform. A shared virtual machine refers to a virtual machine that shares a network address with the cloud gaming platform, and the login information of the shared virtual machine may also have been shared to the server of the cloud gaming platform. For the method of sharing the network address and login information, refer to the method of sharing the network address and login information of the virtual machine in the first terminal to the cloud gaming platform. The cloud gaming platform may also store the identification of the shared virtual machine, which may be sent to the server of the cloud gaming platform by the terminal to which the shared virtual machine belongs, or may be generated by the cloud gaming platform for the shared virtual machine, which is not limited here. In the case where the target shared virtual machine is a virtual machine in the first terminal, the server of the cloud gaming platform may trigger the second terminal to establish a communication connection with the virtual machine in the first terminal. Specifically, the server of the cloud gaming platform 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 according to the network address. After the communication connection is established, 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 displays the game interface. The network address of the virtual machine used by the second terminal is sent to the second terminal by the cloud gaming platform in response to the start request.
[0112] 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 be carried out normally due to the limited computing power of the cloud gaming platform itself, improving the efficiency of responding to cloud games, and improving the interaction efficiency of cloud games.
[0113] In some embodiments, after the first terminal shares computing power resources with the second terminal, the cloud gaming account obtains accelerated virtual resources, which are used to speed up the queuing progress of the cloud gaming account when the cloud gaming account needs to queue up to enter a game on the cloud gaming platform; the cloud gaming account is the account that logs into the cloud gaming platform on the first terminal.
[0114] The accelerated virtual resources may be game coins, game equipment, props, or game playing 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.
[0115] Specifically, the first terminal can display the cloud game platform interface, and in response to the trigger operation of the game entrance of any game in the cloud game platform interface, send a start request to the server to start the game. When the server determines that the computing resources in the cloud game platform are insufficient and there are no shared virtual machines that can be scheduled in the cloud game platform, it sends a queuing instruction to the first terminal. The first terminal responds to the queuing instruction and displays the queuing control of the game. The first terminal responds to the trigger operation of the queuing control and displays a prompt message for prompting that the queuing is in progress. The server can accelerate the queuing progress according to the accelerated virtual resources owned by the cloud game account of the first terminal.
[0116] In some embodiments, the duration of playing games for which virtual resources are rewarded is referred to as the 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 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, 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. The available duration refers to the duration that the user can play games on the cloud gaming platform. The server can accelerate the queuing progress based on the available duration of the cloud gaming account of the first terminal.
[0117] In this embodiment, cloud gaming accounts obtain accelerated virtual resources, thereby motivating the sharing of computing resources.
[0118] In some embodiments, the access information includes login information of the virtual machine; the method also includes: when the virtual machine is in a 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 in to the virtual machine based on the login information of the virtual machine carried in the login request.
[0119] 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.
[0120] Specifically, when the virtual machine is not logged in, the cloud gaming platform can log in to the virtual machine through the stored login information of the virtual machine. For example, the cloud gaming platform can send a login request to the virtual machine of the first terminal, and the login request carries the login information of the virtual machine. The virtual machine in the first terminal responds to the login request and uses the login information in the login request to log in to the virtual machine.
[0121] In some embodiments, the login request is triggered by a start request for a target game sent by a second terminal and received by the cloud gaming platform. Specifically, the server of the cloud gaming platform responds to the start request of the target game, determines a target shared virtual machine from the shared virtual machines of the cloud gaming platform, and when the target shared virtual machine is a virtual machine in the first terminal, and the virtual machine in the first terminal is not logged in, the server of the cloud gaming platform sends a login request to the virtual machine in the first terminal, and the virtual machine in the first terminal responds to the login request and logs in using the login information in the login request.
[0122] 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.
[0123] In some embodiments, in response to a resource sharing trigger operation for a first terminal, displaying a virtual machine installation interface includes: displaying an interface of a resource sharing application; a resource sharing application, used to provide a service for sharing the computing resources of the terminal to a cloud gaming platform; in response to a resource sharing trigger operation for the first terminal triggered by the interface of the resource sharing application, displaying a virtual machine installation interface in the resource sharing application.
[0124] 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.
[0125] In some embodiments, the first terminal may display a sharing solicitation interface in a resource sharing application, the sharing solicitation interface includes a resource sharing consent control, and the resource sharing trigger control may be the resource sharing consent control. The first terminal displays a virtual machine installation interface in the resource sharing application in response to a trigger operation on the resource sharing consent control. Specifically, the first terminal enters the performance evaluation phase and displays an evaluation progress prompt in response to a trigger operation on the resource sharing consent control, and displays a virtual machine installation interface when the performance evaluation phase ends and the performance evaluation result is passed.
[0126] 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 the resource sharing trigger operation and displaying the 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.
[0127] 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 input into the login interface; the cloud gaming account is used to log in to the cloud gaming platform account; 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.
[0128] 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, that is, the account that can log in to the resource sharing application belongs to the cloud gaming platform, that is, the user 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, and this does not restrict users who do not belong to the cloud gaming platform from logging in to the resource sharing application.
[0129] 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.
[0130] 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 responds to the download operation triggered by the download entrance and downloads the installation file of the resource sharing application. After the installation file of the resource sharing application is downloaded, the first terminal responds to the installation operation for the downloaded installation file of the resource sharing application, installs the resource sharing application on the first terminal, 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.
[0131] In some embodiments, the first terminal displays a cloud gaming account verification interface in response to a download operation triggered by the download entry, 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 by the cloud gaming account verification interface, obtains the cloud gaming account input 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 passes, the installation file of the resource sharing application is triggered to download. If the verification fails, the first terminal displays an account registration prompt message, and the account registration prompt message 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.
[0132] In some embodiments, the first terminal responds to the virtual machine sharing operation triggered based on the virtual machine sharing interface, and sends the virtual machine access information and the cloud game account currently logged into the resource sharing application to the server of the cloud game platform. The server of the cloud game platform establishes a mapping relationship between the cloud game account and the access information of the virtual machine, and stores the mapping relationship. The server of the cloud game platform can also establish a mapping relationship between the cloud game account, the access information of the virtual machine, and the identifier of the virtual machine, so that the corresponding cloud game account can be found according to the identifier of the virtual machine, and the identifier of the corresponding virtual machine can also be found according to the cloud game account.
[0133] In some embodiments, the server of the cloud gaming platform records the shared duration of the virtual machine of the first terminal, and 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 determines the reward duration based on the shared duration and determines 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 corresponding to the virtual machine. The available duration refers to the duration that the user can play games on the cloud gaming platform.
[0134] 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 corresponding virtual machine access information can be found according to the cloud gaming account.
[0135] In some embodiments, Fig.13 As shown, a cloud game interaction method is provided, which can be executed by a terminal or a server, or can be executed by a terminal and a server together. Figure 1Taking the second terminal 106 in the example as an example, the method includes the following steps:
[0136] Step 1302, display the cloud game platform interface; the cloud game platform interface includes at least one game entrance.
[0137] The cloud game platform interface is an interface provided by the client of the cloud game platform. The second terminal is installed with the client of the cloud game platform. The game entrance refers to the entrance to the game.
[0138] Step 1304, responding to the trigger 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 game platform; the computing power resources provided by the shared virtual machine are at least part of the computing power resources of the terminal on which the shared virtual machine is installed.
[0139] Step 1306, display the game interface.
[0140] The cloud game platform interface displays a game entrance of a target game, and the target game may be any game in the cloud game platform. The triggering operation for the game entrance of the target game includes, but is not limited to, clicking, double-clicking, or sliding the game entrance.
[0141] Specifically, the second terminal responds to the trigger operation for the game entrance of the target game and sends a start request for the target game to the server of the cloud gaming platform. The server of the cloud gaming platform determines the target shared virtual machine from the shared virtual machines of the cloud gaming platform, and based on the network address of the target shared virtual machine, triggers the establishment of a communication connection between the target shared virtual machine and the second terminal. After the connection is established, the target shared virtual machine starts the target game and renders the game interface of the target game, and sends 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.
[0142] In some embodiments, the second terminal responds to the operation instruction triggered by the displayed game interface and sends 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.
[0143] In some embodiments, the second terminal responds to a trigger operation on a game entrance of a 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.
[0144] In the above-mentioned cloud game interaction method, the cloud game platform interface is displayed, and the cloud game platform interface includes at least one game entrance. In response to the trigger operation of the game entrance of the target game, the game interface of the target game sent by the shared virtual machine is obtained, and the game interface is displayed. Since 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 part of the computing power resources of the terminal on which the shared virtual machine is installed, thereby realizing cloud games with the help of the computing power resources and storage resources provided by the virtual machine, indirectly realizing an expansion of the computing power resources and storage resources of the cloud game platform, reducing the situation where the game cannot be carried out normally due to the limited computing power of the cloud game platform itself, improving the efficiency of responding to cloud games, and improving the interaction efficiency of cloud games.
[0145] In some embodiments, Fig.14 As shown, a cloud game interaction method is provided, which can be executed by a terminal or a server, or can be executed by a terminal and a server together. Figure 1 The server in the example is used to illustrate the following steps:
[0146] Step 1402, in response to the second terminal's request to start the target game, 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 a shared virtual machine that is currently in a shared state and has the target game installed.
[0147] 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 each shared virtual machine of the cloud gaming platform. If found, the found shared virtual machine, i.e., the target shared virtual machine, is dispatched 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.
[0148] 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.
[0149] 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 to establish a communication connection between the target shared virtual machine and the second terminal.
[0150] In some embodiments, when the server determines that the target shared virtual machine is in a logged-in state, based on the network address of the target shared virtual machine, a communication connection is triggered to be established between the target shared virtual machine and the second terminal. The server may store login information of the target shared virtual machine. When the server determines that the target shared virtual machine is in a non-logged-in state, a login request carrying the login information is sent 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, the target shared virtual machine is in a logged-in state, the server triggers the target shared virtual machine to establish a communication connection with the second terminal based on the network address of the target shared virtual machine.
[0151] In the above-mentioned cloud game interaction method, in response to the start request of the second terminal for the target game, the target shared virtual machine is determined from the shared virtual machines of the cloud game platform, the cloud game platform has the authority to dispatch 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, 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. Thus, cloud games are realized with the help of the computing resources and storage resources provided by the virtual machine, indirectly realizing an expansion of the computing resources and storage resources of the cloud game platform, reducing the situation where the game cannot be carried out normally due to the limited computing power of the cloud game platform itself, improving the efficiency of responding to cloud games, and improving the interaction efficiency of cloud games.
[0152] 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 when it is determined that the computing resources of the cloud gaming platform are insufficient, determining a target shared virtual machine from among the shared virtual machines of the cloud gaming platform.
[0153] Specifically, in response to the second terminal's request to start the target game, the server evaluates the computing resources of the cloud gaming platform, and if it is determined that the computing resources of the cloud gaming platform are insufficient, determines the target shared virtual machine from the shared virtual machines of the cloud gaming platform. If it is determined that the computing resources of the cloud gaming platform are sufficient, the computing resources of the cloud gaming platform are dispatched to provide the second terminal with a service for rendering the game.
[0154] 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.
[0155] 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.
[0156] 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 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, so as to establish a communication connection between the target shared virtual machine and the second terminal.
[0157] 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 when 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 interaction efficiency of the cloud game.
[0158] In some embodiments, Fig.15A As shown, a cloud game interaction method is provided, which can be executed by a terminal or jointly by a terminal and a server. The method is applied to a first terminal, a server, and a second terminal as an example for explanation, and includes the following steps:
[0159] 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, enters a performance evaluation phase in response to a resource sharing trigger operation triggered by the resource sharing consent control, and displays a virtual machine installation interface when the performance evaluation phase ends and the performance evaluation result is passed.
[0160] Step 1504: the first terminal displays download guide information on the virtual machine installation interface, responds to the virtual machine download operation triggered by the download guide information, downloads the virtual machine installation file, and installs the virtual machine on the first terminal in response to the installation trigger operation for the downloaded virtual machine installation file.
[0161] 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 of the virtual machine.
[0162] 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.
[0163] 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.
[0164] Step 1512, the second terminal displays the cloud gaming platform interface; the cloud gaming platform interface includes at least one game entrance.
[0165] 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.
[0166] Step 1516, 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 server, 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.
[0167] 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 to the cloud gaming platform. In this embodiment, the target shared virtual machine is taken as an example as a virtual machine installed in the first terminal.
[0168] 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.
[0169] 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.
[0170] Step 1520: The second terminal sends a game start instruction for the target game to the target shared virtual machine in the first terminal.
[0171] Step 1522: The target shared virtual machine in the first terminal renders a game interface of the target game in response to a game start instruction for the target game, and sends the rendered game interface to the second terminal.
[0172] Step 1524: The second terminal receives the game interface of the target game and displays the received game interface.
[0173] Step 1526: The second terminal sends an operation instruction for the target game to the target shared virtual machine in the first terminal.
[0174] 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.
[0175] like Fig. 15B As shown, a timing diagram of interaction between the first terminal, the second terminal and the server in some embodiments is provided. The timing diagram of interaction includes the following steps:
[0176] 1. Send the virtual machine's login information and network address to the server.
[0177] The first terminal sends the login information and network address of the virtual machine to the server.
[0178] 2. Store the login information and network address of the virtual machine.
[0179] The server stores the login information and network address of the virtual machine.
[0180] 3. Respond to the trigger operation of the game entrance of the target game and send a start request for the target game to the server.
[0181] 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.
[0182] 4. Determine the target shared virtual machine from the shared virtual machines of the cloud gaming platform.
[0183] 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.
[0184] 5. The network address of the target shared virtual machine.
[0185] The server sends the network address of the target shared virtual machine to the second terminal.
[0186] 6. Establish a communication connection.
[0187] A communication connection is established between the first terminal and the second terminal.
[0188] 7. Game launch instructions for the target game.
[0189] The second terminal sends a game start instruction for the target game to the first terminal.
[0190] 8. Start the target game and render the game interface.
[0191] The first terminal starts the target game in response to the game start instruction and renders the game interface.
[0192] 9. Send the rendered game interface.
[0193] The first terminal sends the rendered game interface to the second terminal.
[0194] 10. Operation instructions for the target game.
[0195] The second terminal sends an operation instruction for the target game to the first terminal.
[0196] 11. The game interface is rendered according to the operation instructions.
[0197] Among them, the first terminal renders the game interface according to the operation instruction.
[0198] 12. Send the rendered game interface.
[0199] The first terminal sends the rendered game interface to the second terminal.
[0200] For example, Fig.16 As shown, the user starts a helper program for cloud games on his personal computer. The helper program pops up a window to ask the user whether sharing is needed. If the user chooses no, the process is terminated directly. If the user chooses yes, the next step is taken. The helper program starts the performance detection program to detect the performance of the user's computer's storage space, graphics card, GPU, CPU and other related devices to see if they meet the standards of the cloud game background. If they do not meet the standards, the process is terminated directly and the user is informed. If they meet the standards, a pop-up window will be displayed to guide the user to download a virtual machine and install it. Because the space between the virtual machine and the main computer is isolated, the cloud game server background only operates in the virtual machine and will not affect the personal data of the user's main computer space. After the user downloads and installs, the user is prompted to set the account password and send it to the cloud game background through the cloud game helper program. The background records the account password corresponding to the IP address and stores it in the database to provide query records for subsequent scheduling. The cloud game background notifies the virtual machine through the socket to download the relevant game client.
[0201] like Fig.17As shown, the terminal of the user playing the cloud game starts the cloud game, and the cloud game background detects whether the resources of the current server are sufficient. If the resources are sufficient, the platform's own resources are directly dispatched for users to play. If all the servers of the current platform are in operation, the database is queried to see if there are server resources that share the personal computer. If not, the user playing the cloud game is informed that the current resources are insufficient and they need to queue up first, and the client displays a queue button. If there is a shared personal computer, that is, there is a shared virtual machine, and the relevant game has been downloaded, the personal computer is dispatched as the server, that is, the corresponding virtual machine in the personal computer is dispatched as the server, and the personal computer is notified through the socket to start the game. After receiving the instruction, the personal computer starts the specified game, and encodes the rendering screen of the game and sends it to the terminal of the user playing the cloud game through the network. The cloud game client on the terminal of the user playing the cloud game decodes and displays it, completing the entire scheduling process. The cloud game background records the playing time of the user playing the cloud game as a standard for the subsequent time distribution to the user who shared the personal computer. When the number of cloud game users is large, the resources of the cloud game platform may be insufficient. It is encouraged that users share personal computers as platform resources. On the one hand, it can solve the problem of insufficient cloud game background resources causing users to have 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 cloud game users and business systems.
[0202] In this embodiment, cloud gaming is achieved with the help of computing resources and storage resources provided by the virtual machine, which indirectly expands the computing 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.
[0203] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed 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 part of the steps or stages in other steps.
[0204] Based on the same inventive concept, the embodiment of the present application also provides a cloud game interaction device for implementing the cloud game interaction method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more cloud game interaction device embodiments provided below can refer to the limitations of the cloud game interaction method above, and will not be repeated here.
[0205] In some embodiments, Fig.18 As shown, a cloud game interaction device is provided, including: an interface display module 1802 and an information sending module 1804, wherein:
[0206] The interface display module 1802 is used to respond to the resource sharing trigger operation for the first terminal and display the virtual machine sharing interface for the virtual machine installed in the first terminal; the installed virtual machine occupies the corresponding computing resources in the first terminal.
[0207] 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 has the authority to schedule the computing resources belonging to the virtual machine in the first terminal based on the access information; the access information is information used to access the virtual machine.
[0208] In some embodiments, the interface display module 1802 is further used to respond to a resource sharing trigger operation on the first terminal, display a virtual machine installation interface; and respond to the triggering of the virtual machine installation interface to install the virtual machine on the first terminal.
[0209] In some embodiments, the interface display module 1802 is also used to respond to a resource sharing trigger operation for the first terminal and enter a performance evaluation phase; 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.
[0210] 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 a virtual machine download operation triggered by the download guidance information, download the virtual machine installation file; respond to an installation trigger operation for the downloaded virtual machine installation file, and install the virtual machine on the first terminal.
[0211] In some embodiments, the interface display module 1802 is also used to display a resource sharing consent control on the sharing solicitation interface; the sharing solicitation 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, enter the performance evaluation phase.
[0212] In some embodiments, the access information includes 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.
[0213] 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.
[0214] 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.
[0215] In some embodiments, after the first terminal shares computing power resources with the second terminal, the cloud gaming account obtains accelerated virtual resources, which are used to speed up the queuing progress of the cloud gaming account when the cloud gaming account needs to queue up to enter a game on the cloud gaming platform; the cloud gaming account is the account that logs into the cloud gaming platform on the first terminal.
[0216] 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.
[0217] 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 services for sharing the computing resources of the terminal to the cloud gaming platform; in response to a resource sharing trigger operation for the first terminal triggered through the interface of the resource sharing application, a virtual machine installation interface is displayed in the resource sharing application.
[0218] 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 account; 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.
[0219] In some embodiments, Fig.19 As shown, 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:
[0220] 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.
[0221] 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 part of the computing power resources of the terminal on which the shared virtual machine is installed.
[0222] The game interface display module 1906 is used to display the game interface.
[0223] In some embodiments, Fig. 20 As shown, a cloud game interaction device is provided, including: a request response module 2002 and a connection establishment trigger module 2004, wherein:
[0224] 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.
[0225] 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.
[0226] 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.
[0227] 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 established between the target shared virtual machine and the second terminal.
[0228] Each module in the above-mentioned cloud game interaction device can be implemented in whole or in part by software, hardware and their combination. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0229] In some embodiments, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Fig.21 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, 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 the external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a cloud game interaction method is implemented.
[0230] In some embodiments, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Fig. 22As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. Among them, 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 the 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 the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless method 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 game 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 covered on the display screen, or a button, trackball or touchpad set on the computer device casing, or an external keyboard, touchpad or mouse, etc.
[0231] Those skilled in the art will understand that Fig.21 and Fig. 22 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0232] 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.
[0233] In some embodiments, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the steps in the above-mentioned cloud game interaction method are implemented.
[0234] In some embodiments, a computer program product is provided, including a computer program, which implements the steps in the above-mentioned cloud game interaction method when executed by a processor.
[0235] 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 relevant laws, regulations and standards of relevant countries and regions.
[0236] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed 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 the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an 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 each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0237] The technical features of the above embodiments may 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.
[0238] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A cloud game interaction method, characterized in that: Applied to a first terminal, the method includes: In response to a resource sharing trigger operation for the first terminal, a virtual machine sharing interface for the virtual machine installed in the first terminal is displayed; the installed virtual machine occupies corresponding computing resources in the first terminal; 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 has the authority to schedule the computing resources belonging to the virtual machine in 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, characterized in that The step of responding to the resource sharing triggering operation on the first terminal and displaying a virtual machine sharing interface for the virtual machine installed in the first terminal includes: In response to the resource sharing triggering operation on 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, characterized in that The displaying of the virtual machine installation interface in response to the resource sharing triggering operation on the first terminal includes: In response to the resource sharing triggering operation for the first terminal, entering a performance evaluation phase; the performance evaluation phase 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, characterized in that The responding to the resource sharing triggering operation for the first terminal and entering the performance evaluation phase includes: Displaying a resource sharing consent control on a sharing request interface; the sharing request interface is used to ask whether to agree to share the computing power resources of the first terminal to 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 claim 2, characterized in that: The method further comprises: Displaying download guidance information on the virtual machine installation interface; The step of installing the virtual machine on the first terminal in response to triggering the virtual machine installation interface 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 claim 1, characterized in that The access information includes 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 claim 1, characterized in that The method further comprises: 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, characterized in that The access information includes the 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 the second terminal; the game rendering instruction is sent to the first terminal by the second 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.
9. The method according to claim 8, characterized in that After the first terminal shares computing 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 a game on the cloud gaming platform; the cloud gaming account is an account used to log in to the cloud gaming platform at the first terminal.
10. The method according to claim 7, characterized in that The access information includes login information of the virtual machine; the method further 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; the login request carries 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, characterized in that: The displaying of the virtual machine installation interface in response to the resource sharing triggering operation on the first terminal includes: Displaying an interface of a 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 for the first terminal triggered by 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, characterized in that The interface displaying the resource sharing application includes: Displaying a login interface of the resource sharing application; Displaying the cloud gaming account number input into the login interface; the cloud gaming account number 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, 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, characterized in that: Applied to the second terminal, the method includes: Displaying a cloud gaming platform interface; wherein 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 part of the computing resources of the terminal on which the shared virtual machine is installed; The game interface is displayed.
14. A cloud game interaction method, characterized in that: The method comprises: In response to a start request for a target game from a second terminal, a target shared virtual machine is determined from shared virtual machines of a cloud gaming platform; the cloud gaming platform has authority to schedule at least part of the computing resources of a 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, characterized in that In response to the start request of the second terminal for the target game, determining the target shared virtual machine from the shared virtual machines of the cloud game platform includes: 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, characterized in that 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 interactive device, characterized in that: The device comprises: An interface display module, configured to respond to a resource sharing trigger operation for a first terminal and display a virtual machine sharing interface for a virtual machine installed in the first terminal; the installed virtual machine occupies corresponding 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 has the authority to schedule the computing resources belonging to the virtual machine in the first terminal based on the access information; the access information is information used to access the virtual machine.
18. A cloud game interactive device, characterized in that: The device comprises: A platform interface display module, used to display a cloud gaming platform interface; the cloud gaming platform interface includes at least one game entry; 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 part of the 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 interactive device, characterized in that: The device comprises: a request response module, configured to determine a target shared virtual machine from among the shared virtual machines of the cloud gaming platform in response to a start request from the second terminal for the target game; the cloud gaming platform having authority to schedule at least part 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, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 17 are implemented.
21. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 17 are implemented.
22. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 17 are implemented.
