CN111214828A - Game running method, device, equipment, medium and cloud game platform - Google Patents

Game running method, device, equipment, medium and cloud game platform Download PDF

Info

Publication number
CN111214828A
CN111214828A CN202010006310.XA CN202010006310A CN111214828A CN 111214828 A CN111214828 A CN 111214828A CN 202010006310 A CN202010006310 A CN 202010006310A CN 111214828 A CN111214828 A CN 111214828A
Authority
CN
China
Prior art keywords
game
client
cloud
video frame
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010006310.XA
Other languages
Chinese (zh)
Inventor
饶福贵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202010006310.XA priority Critical patent/CN111214828A/en
Publication of CN111214828A publication Critical patent/CN111214828A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/30Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
    • A63F13/35Details of game servers
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/30Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
    • A63F13/31Communication aspects specific to video games, e.g. between several handheld game devices at close range
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/5044Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering hardware capabilities

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure provides a game running method, a game running device, game running equipment, game running media and a cloud game platform. The method is applied to a cloud game server, and the cloud game server is provided with a plurality of games, and comprises the following steps: starting a first game according to a starting request of the first game sent by a client; rendering a game picture of a first game into a video frame, and sending the video frame to a client in a video streaming mode; and receiving an operation instruction of the client to the video frame, rendering the next frame of video frame according to the operation instruction, and sending the next frame of video frame to the client. The game is not required to be installed on a personal terminal of a user, but is installed on the cloud game server, the user can start the game only by accessing the cloud game server through the client, the space memory of the personal terminal of the user can be greatly released, and the personal terminal is not required to have better performance.

Description

Game running method, device, equipment, medium and cloud game platform
Technical Field
The present disclosure relates to the field of network game technologies, and in particular, to a game running method, device, apparatus, medium, and cloud game platform.
Background
Currently, playing video games is a relatively popular way of entertaining and entertaining people, and the types of video games are increasing. In the related art, a player needs to download and install software of an electronic game to a personal terminal (such as a smart phone, a computer, and the like) according to own interest to run the game, so that the software of the electronic game occupies a space memory of the personal terminal, and some large-scale electronic games need the personal terminal to have better performance to support running, otherwise, user experience is affected.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a game running method, device, apparatus, medium, and cloud game platform.
According to a first aspect of the embodiments of the present disclosure, there is provided a game running method applied to a cloud game server, where a plurality of games are installed, the method including:
starting a first game according to a starting request of the first game sent by a client;
rendering the game picture of the first game into a video frame, and sending the video frame to the client in a video streaming mode;
and receiving an operation instruction of the client to the video frame, rendering a next frame of video frame according to the operation instruction, and sending the next frame of video frame to the client.
In an alternative embodiment, the operation instruction and the video stream are transmitted through different transmission channels.
In an optional embodiment, the cloud game server includes a plurality of independent memory spaces, and one memory space is used for running a game requested to be started by a specific client.
In an optional embodiment, before starting the first game according to a start request of the first game sent by a client, the method further includes:
receiving login information of a client in a specified application, wherein the login information is an identifier of a user account of the client for logging in the specified application, and the specified application is an application for providing cloud game service;
detecting whether a memory space in an idle state exists at present;
if not, the login information is sent to other cloud game servers in the cloud game server cluster, so that the other cloud game servers start the first game based on the starting request of the client;
if yes, allocating a memory space to the client, and receiving a starting request of the first game sent by the client in the memory space.
In an optional embodiment, the login information includes a user account, and after determining that the client is in the memory space of the cloud game server and before starting the first game, the method further includes:
and loading all games related to the user account in the memory space.
In an optional embodiment, the user account is also a player account of all games provided by the cloud gaming service, and before starting the first game, the method further includes:
loading the player data of the user account in the first game in the memory space;
the step of initiating the first game comprises:
initiating the first game based on the player data.
In an optional embodiment, the start request carries client system information, and the step of starting the first game includes:
and starting the game version of the first game adapted to the system of the client according to the client system information.
In an optional embodiment, the start request carries client system information, and the step of rendering the game screen of the first game into a video frame includes:
and rendering the game picture of the first game into a video frame adapted to the system resolution of the client according to the client system information.
In an optional embodiment, the start request carries game version selection information, and the step of starting the first game includes:
and starting the corresponding game version of the first game according to the game version selection information.
In an optional embodiment, the start request carries client system information and game version selection information, and the step of starting the first game includes:
starting a corresponding game version of the first game according to the game version selection information;
the rendering of the game screen of the first game into a video frame includes:
and rendering the game picture of the first game into a video frame adapted to the system resolution of the client according to the client system information.
In an optional embodiment, the initiation request carries an entity handle connection identifier, and the method further includes:
and determining whether a virtual handle icon is added in the video frame or not according to whether the entity handle connection identifier is in a connection state or not.
In an optional embodiment, the method further comprises:
starting and switching to a second game based on a received switching request for switching to the second game sent by the client, rendering a game picture of the second game into a video frame, and sending the video frame to the client in a video streaming mode.
According to a second aspect of the embodiments of the present disclosure, there is provided a game running method applied to a client, the method including:
sending a starting request of a first game to a cloud game server;
receiving a video stream of the first game sent by the cloud game server, wherein the video stream comprises at least one video frame, and the video frame is formed by rendering the cloud game server according to a game picture of the first game;
sending an operation instruction for the video frame to the cloud game server;
and receiving a next frame of video frame of the cloud game server, wherein the next frame of video frame is formed by rendering the cloud game server according to the operation instruction.
In an alternative embodiment, the operation instruction and the video stream are transmitted through different transmission channels.
In an optional embodiment, before sending the start request of the first game to the cloud game server, the method includes:
logging in a designated application based on a user account, and sending login information to the cloud game server to enable the cloud game server to allocate a memory space, wherein:
the user account is an account of a user login specified application, the login information is an identifier of the specified application login by the user account of the client, and the specified application is an application providing cloud game service;
the cloud game server comprises a plurality of independent memory spaces, and one memory space is used for running a game which is requested to be started by a specified client.
In an optional embodiment, after logging in the designated application, the method further comprises:
displaying the identification of all games related to the user account lock, wherein the identification is used for describing the uniqueness of the games.
In an optional embodiment, the user account is also a player account of all games provided by the cloud gaming service.
In an alternative embodiment, the video frame includes a virtual handle icon.
In an optional embodiment, the initiation request includes an entity handle connection identifier, and the method further includes:
when detecting the access entity handle, marking the entity handle connection information as a connection state.
In an optional embodiment, the method further comprises:
sending a switching request for switching to a second game to the cloud game server so that the cloud game server is started and switched to the second game;
and receiving the video stream of the second game sent by the cloud game server.
According to a third aspect of the embodiments of the present disclosure, there is provided a cloud game platform, the platform comprising a client and a cloud game server, the client and the cloud game server being communicatively connected,
the client is configured to send a start request of a first game to the cloud game server;
the cloud game server is configured to start the first game according to the starting request;
the cloud game server is configured to render the game screen of the first game into video frames and send the video frames to the client in a video streaming mode;
the client is configured to receive the video stream fed back by the cloud game server and send an operation instruction for the video frame to the cloud game server;
the cloud game server is configured to receive the operation instruction, render a next frame of video frame according to the operation instruction, and send the next frame of video frame to the client;
the client is configured to receive the next frame of video frames.
In an optional embodiment, the cloud game server includes a plurality of memory spaces, and one memory space is used for running a game requested to be started by a specific client.
In an optional embodiment, the client is configured to log in a specified application based on a user account before sending a start request of a first game to the cloud game server, and send login information to the cloud game server, wherein the user account is an account of the specified application logged in by a user, the login information is an identifier of the specified application logged in by the user account of the client, and the specified application is an application providing cloud game service;
the cloud game server is configured to receive the login information and detect whether a memory space in an idle state exists at present;
if not, the login information is sent to other cloud game servers in the cloud game server cluster, so that the other cloud game servers start the first game based on the starting request of the client;
if yes, allocating a memory space in an idle state to the client, and receiving a starting request of the first game sent by the client in the memory space.
In an optional embodiment, the cloud game server is configured to load all games associated with the user account in the memory space after determining the memory space of the client and before starting the first game.
In an optional embodiment, the user account is also a player account of all games provided by the cloud gaming service;
the cloud game server is configured to load player data of the user account in the first game in the memory space before starting the first game, and start the first game based on the player data.
In an optional embodiment, the platform further comprises a data server, the cloud game server is in communication connection with the data server, and the data server stores information of all games related to each user account and player data in each game;
the cloud game server is configured to acquire information of all games associated with the user account from the data server, and load all games associated with the user account in the memory space.
In an optional embodiment, the cloud game server is configured to store the user account in the local in the current player data of the first game and send the user account to the data server when receiving a game quitting instruction of the client, and close the first game based on the game quitting instruction;
the data server is configured to receive the current player data and update the player data of the user account at the first game to the current player data.
In an optional embodiment, the cloud game server is further communicatively connected with the game server of the first game,
the cloud game server is configured to send the current player data of the user account in the first game to the game server of the first game, so that the game server of the first game synchronizes the current player data of the user account.
In an optional embodiment, the start request carries client system information, and the cloud game server is configured to start a game version of the first game adapted to a system of the client according to the client system information.
In an optional embodiment, the start request carries client system information, and the cloud game server is configured to render the game screen of the first game into a video frame adapted to the system resolution of the client according to the client system information.
In an optional embodiment, the start request carries game version selection information, and the cloud game server is configured to start a corresponding game version of the first game according to the game version selection information.
In an optional embodiment, the start request carries client system information and game version selection information, and the cloud game server is configured to start a corresponding game version of the first game according to the game version selection information; and rendering the game picture of the first game into a video frame adapted to the system resolution of the client according to the client system information.
In an optional embodiment, the start request carries physical handle connection information, and the cloud game server is configured to determine whether to add a virtual handle icon to the video frame according to whether the physical handle connection identifier is in a connected state.
In an optional embodiment, the platform further comprises an authentication server, the authentication server is connected with the cloud game server in a communication way,
the client is configured to log in a specified application based on a user account and a user password before sending a starting request of a first game, and send the user account and the user password to the cloud game server, wherein the specified application is an application providing cloud game service;
the cloud game server is configured to forward the user account and the user password to the authentication server;
the authentication server is configured to generate a Token and send the Token to the cloud game server when verifying that the user account and the user password pass;
the cloud game server is configured to forward the Token to the client;
the client is configured to save the Token to save the user account in the login state of the specified application.
In an optional embodiment, the Token is sent when the client sends a starting request of a first game to the cloud game server;
the cloud game server is configured to forward the user account and the Token to the authentication server;
the authentication server is configured to return a first verification result of passing verification to the cloud game server when the user account and the Token are verified to pass;
the cloud game server is configured to launch the first game based on the first verification result.
In an optional embodiment, the cloud game server is further connected with the game server of each game in a communication way;
the cloud game server is configured to send the user account and the Token to a game server of the first game after the first game is started based on the first verification result, so that the game server verifies the validity of the user based on the user account and the Token;
the cloud game server is configured to receive a second verification result that the game server of the first game returns a verification pass, and locally store the Token so as to store the time efficiency of the user account in the login state of the first game.
In an optional embodiment, the platform further comprises a management server, the management server comprises a game library storing all games provided by the cloud game service, and the management server is in communication connection with the cloud game server;
the cloud game server is configured to obtain configuration information of the first game from the game library after receiving the starting request, and start the first game based on the configuration information.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a game running device applied to a cloud game server, where a plurality of games are installed, the device including:
the starting module is configured to start a first game according to a starting request of the first game sent by a client;
a rendering module configured to render a game screen of the first game as a video frame;
a first sending module configured to send the video frame to the client in a video stream;
a first receiving module configured to receive an operation instruction of the client on the video frame;
and the second sending module is configured to render the next frame of video frame according to the operation instruction and send the next frame of video frame to the client.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a game execution apparatus applied to a client, the apparatus including:
the system comprises a first sending module, a second sending module and a control module, wherein the first sending module is configured to send a starting request of a first game to a cloud game server;
the first receiving module is configured to receive a video stream of the first game sent by the cloud game server, wherein the video stream comprises at least one video frame, and the video frame is rendered by the cloud game server according to a game picture of the first game;
the second sending module is configured to send an operation instruction for the video frame to the cloud game server;
the second receiving module is configured to receive a next frame of video frame of the cloud game server, and the next frame of video frame is rendered by the cloud game server according to the operation instruction.
According to a sixth aspect of embodiments of the present disclosure, there is provided a server comprising a processor and a memory for storing processor-executable instructions, the processor being configured to perform the steps of the game execution method described in any of the first aspects.
According to a seventh aspect of embodiments of the present disclosure, there is provided an electronic device comprising a processor and a memory for storing processor-executable instructions, the processor being configured to perform the steps of the game execution method described in any of the second aspects.
According to an eighth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, having stored thereon a computer program, which when executed by a processor, carries out the steps of the game execution method described in any of the embodiments of the first aspect.
According to a ninth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the game execution method described in any of the embodiments of the second aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
in the technical scheme, various games are installed on the cloud game server, a user can select a first game to be played through the client, and sends a request for starting the first game to the cloud game server, the cloud game server receives the starting request of the client, and starting a first game, rendering a game picture displayed after the first game is started into a video frame by the cloud game server, and transmits the video stream to the client, the client receives the video stream, the user can display the game picture according to the video stream, the operation instruction related to the game is sent on the client, the cloud game server can receive the operation instruction, in the first game in operation, corresponding operation is executed, the picture of the first game after the operation is executed is rendered into a next frame of video frame, and the video frame is sent to the client, so that the user can obtain feedback on the client. Therefore, the game is not required to be installed on the personal terminal of the user but installed on the cloud game server, the user can start the game only by accessing the cloud game server through the client, the space memory of the personal terminal of the user can be greatly released, and the personal terminal is not required to have better performance.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
Fig. 1 is a flow chart illustrating a game running method according to an exemplary embodiment.
Fig. 2 is a flow chart illustrating a method for running a game according to an exemplary embodiment.
Fig. 3 is a flow chart illustrating a method for running a game according to an exemplary embodiment.
FIG. 4 is a flow diagram illustrating another method of game play in accordance with an exemplary embodiment.
FIG. 5 is a flow diagram illustrating another method of game play in accordance with an exemplary embodiment.
FIG. 6 is a flow diagram illustrating another method of game play in accordance with an exemplary embodiment.
Fig. 7A is a schematic structural diagram of a cloud game platform according to an exemplary embodiment.
Fig. 7B is a schematic view of an interaction flow of a cloud game platform according to an exemplary embodiment.
Fig. 8 is a schematic structural diagram of a game execution apparatus according to an exemplary embodiment.
Fig. 9 is a schematic structural diagram of another game execution apparatus according to an exemplary embodiment.
Fig. 10 is a schematic diagram illustrating a structure of a server according to an exemplary embodiment.
Fig. 11 is a schematic structural diagram of an electronic device according to an exemplary embodiment.
Detailed Description
The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
The following describes a game running method, device, equipment, medium and cloud game platform of the present disclosure in detail with reference to the accompanying drawings. The features of the following examples and embodiments may be combined with each other without conflict.
The present disclosure provides a game running method, which is applied to a cloud game server, wherein a plurality of games are installed on the cloud game server, a user can request the cloud game server through a client, and the client can be a smart phone, a computer, a tablet computer, a smart television, and the like. Fig. 1 is a schematic flow chart illustrating a game running method according to an exemplary embodiment of the present disclosure. As shown in fig. 1, the game running method includes the following steps 101 to 103:
step 101, starting a first game according to a starting request of the first game sent by a client.
In step 101, a user may select to start a first game through a client and send a start request to a cloud game server, and the cloud game server may receive a request of the client to start the first game and start the first game based on the start request.
And 102, rendering the game picture of the first game into a video frame, and sending the video frame to the client in a video stream mode.
In step 102, after the cloud game server locally starts the first game, the game screen displayed by the first game may be rendered into a video frame, and the video frame is transmitted in a video stream manner and correspondingly transmitted to the client requesting to start the first game, that is, the client receives the video stream of the first game screen and plays and presents the video stream to the user, instead of the client running the first game. Compared with the prior art that a user needs to install and run a game at a client, the client of the present disclosure may not require better graphics operation and data processing capabilities.
And 103, receiving an operation instruction of the client to the video frame, rendering a next frame of video frame according to the operation instruction, and sending the next frame of video frame to the client.
In step 103, the game screen received by the client is a video, and operations performed on the video frame by the user may be received, however, the operations are not responded on the client, the client sends an operation instruction to the cloud game server, and the cloud game server performs a corresponding operation on the first game running on the cloud game server according to the received operation instruction. After the corresponding operation is executed, the cloud game server renders the game picture changed by the first game into a next frame of video frame, and sends the next frame of video frame to the client so that the client can display the operated game picture.
In one possible embodiment of the present disclosure, the operation instruction and the video stream are transmitted through different transmission channels. Therefore, the operation instruction and the video stream are transmitted in independent transmission channels, the transmission speed can be improved, and the time delay of the cloud game server for responding to the received operation instruction and feeding back the game picture to the client is reduced.
In one possible embodiment of the present disclosure, the operation instruction is transmitted with the video stream through a high speed network. Thus, the transmission speed can be further increased to reduce the delay.
In a possible embodiment of the present disclosure, before sending the video frame to the client, the method further includes: and adding a virtual handle icon to the video frame. When the client is a device with a touch screen (such as a smart phone, a tablet computer, and the like), a user can touch the touch screen through a finger to generate a touch signal, and an operation instruction received by the client is the touch signal. In order to facilitate the user to distinguish which positions on the touch screen can trigger the operation instructions and which types of operation instructions can be triggered, the cloud game server adds the virtual handle icon to the video frame when rendering the game picture into the video frame.
For example, the virtual handle icon may include an icon of an operation direction change; as another example, the virtual handle icon may include an icon to operate a game function; as another example, the virtual handle icon may include an icon to operate a game setting.
In a possible embodiment of the present disclosure, the start request carries an entity handle connection identifier, and the method further includes: and determining whether a virtual handle icon is added in the video frame or not according to whether the entity handle connection identifier is in a connection state or not. Generally, the physical handle has specific physical keys to prompt the user which types of operation instructions can be triggered by the keys. When the entity handle connection identifier acquired by the cloud game server is in a connection state, the virtual handle icon is not added to the video frame when the game picture is rendered into the video frame. When the entity handle connection identifier acquired by the cloud game server is in an unconnected state, a virtual handle icon can be added to a video frame when a game picture is rendered into the video frame. The physical handle can be a game handle, a keyboard, a mouse, a television remote controller and other devices.
In the above method provided by the present exemplary embodiment, the cloud game server is installed with various games, the user can select a first game to be played through the client, and send a request for starting the first game to the cloud game server, the cloud game server receives the start request of the client and starts the first game, the cloud game server renders a game screen displayed after the first game is started into a video frame and transmits the video frame to the client in a video stream manner, the client receives the video stream, the user can send an operation instruction related to the game on the client according to the game screen presented by the video stream, the cloud game server executes a corresponding operation in the first game in operation according to the received operation instruction, and renders a screen of the first game after the operation into a next video frame to be sent to the client, the user can then get feedback on the client. Therefore, the game is not required to be installed on the personal terminal of the user but installed on the cloud game server, the user can start the game only by accessing the cloud game server through the client, the space memory of the personal terminal of the user can be greatly released, and the personal terminal is not required to have better performance.
The cloud game server has higher performance relative to a personal computer, can run calculation quickly, has stronger load capacity, and can support a plurality of clients to access simultaneously and respond to the requests of the clients to run games simultaneously in order to utilize the cloud game server as much as possible.
In one possible embodiment of the present disclosure, the cloud game server includes a plurality of independent memory spaces, and one memory space is used for running a game requested to be started by a specific client. The cloud game server can divide a plurality of independent memory spaces, one designated client uses one memory space, or each memory space only serves one designated client in the period of the client requesting access to the cloud game server, and the cloud game server responds to the starting request of one designated client in one memory space to start the game. Because each memory space is relatively independent, the cloud game server responds to the request of each client in each memory space, and the memory spaces can not be influenced by each other. Therefore, when a plurality of clients request to start the same game, the cloud game server can start the game in the corresponding memory spaces.
Fig. 2 is a schematic flow chart of a game running method according to an exemplary embodiment of the present disclosure, and this embodiment provides an exemplary description of how a cloud game server allocates a memory space to a client based on the foregoing embodiment. As shown in fig. 2, the game running method includes the following steps 201 to 207:
step 201, receiving login information of a client in a specified application, wherein the login information is an identifier of a user account of the client logging in the specified application, and the specified application is an application providing cloud game service.
In step 201, the client may install a specific application providing the cloud game service, and the client may communicate with the cloud game server based on the specific application. The user can register a user account on the specified application through the client to acquire the cloud game service.
When a user logs in a user account of the user in a specific application through a client, the client sends login information to a cloud game server, the login information can identify that the user of the client logs in the specific application by using the user account, the login information can include the user account and also can include any one or more of information such as a user IP address, login time and login state, and the disclosure is not particularly limited. The cloud game server receives the login information, can show that the user is in a login state at present, and can show that the user has the intention of requesting the cloud game service.
In one possible embodiment of the present disclosure, the cloud game server receiving the login information of the client may be a cloud game server that is connected to the client and is used when the client requests the cloud game service last time.
In one possible embodiment of the present disclosure, the cloud game server receiving the login information of the client may be a fixed cloud game server allocated when the user of the client registers the user account.
In one possible embodiment of the present disclosure, the cloud game server receiving the login information of the client may be a cloud game server in an area where the client is currently located.
Step 202, detecting whether a memory space in an idle state exists at present; if yes, executing steps 204 to 207; otherwise, step 203 is executed.
In step 202, the number of the plurality of memory spaces of the cloud game server is limited, or the number of clients that the cloud game server can support to provide services is limited, so that when the login information of the client is received, the cloud game server detects whether the cloud game server has a memory space in an idle state at present, and can provide the client corresponding to the login information for connection and use.
Step 203, sending the login information to other cloud game servers in the cloud game server cluster, so that the other cloud game servers start the first game based on the start request of the client.
In step 203, the cloud game server detects that the current memory spaces of the cloud game server are all in a non-idle state, that is, when the login information of the client is received, other clients are connected to use the memory spaces, and an idle memory space cannot be provided for the client to connect to use, so that the login information of the client is forwarded to other cloud game servers in the cloud game server cluster, so that the other cloud game servers provide services.
It should be understood that the cloud game service is provided by a cloud game server cluster, the cloud game server cluster comprises a plurality of cloud game servers, each cloud game server can be provided with a plurality of games, and the cloud game service can be provided for a large number of clients. When the memory space of one cloud game server is used, the memory space is transferred to other cloud game servers to provide service.
In a possible embodiment of the present disclosure, the cloud game server may forward the login information of the client to other cloud game servers in the area where the client is currently located. Therefore, communication links between other cloud game servers and the client can be reduced, and communication delay is reduced.
In a possible embodiment of the present disclosure, before the cloud game server sends the login information to other cloud game servers in the area where the client is currently located, the cloud game server may first inquire whether the other cloud game servers have a memory space in an idle state.
And if at least one other cloud game server in the current area responds that the memory space in the idle state exists, the cloud game server sends the login information to one responding cloud game server.
If the other cloud game servers in the area where the client is currently located do not have the memory space in the idle state, the cloud game server can inquire the cloud game servers in other areas adjacent to the area where the client is currently located so as to forward the login information to the cloud game servers in the adjacent areas to provide services. Therefore, communication links between other cloud game servers and the client can be reduced as much as possible, and communication delay is reduced.
For example, a beijing user logs in a designated application through a client, the client sends login information of the user to one of cloud game servers in the beijing area, if the cloud game server does not have a free memory space currently, the client inquires whether other cloud game servers in the beijing area have a free memory space or not so as to be preferentially transferred to the other cloud game servers in the beijing area for providing service, and if the other cloud game servers in the beijing area do not have a free memory space currently, the cloud game server inquires whether the cloud game server in the hebeijing area has a free memory space or not so as to be transferred to the cloud game server in the hebeijing area for providing service.
Step 204, allocating a memory space in an idle state to the client, and receiving a starting request of the first game sent by the client in the memory space.
In step 204, the cloud game server detects that at least one memory space in an idle state exists at present, may allocate an idle memory space to the client sending the login information, may provide a service in the memory space, and receives a start request of a first game sent by the client, so as to start and run the first game in the memory space.
Due to the memory space allocated by the cloud game server, all games associated with the user account may not be installed before. In one possible embodiment of the present disclosure, after determining that the client is in the memory space of the cloud game server and before starting the first game, the method further includes: and loading all games related to the user account in the memory space. And after determining the memory space allocated to the client, the cloud game server pulls the allocated memory space of all games related to the user account of the client, and loads and installs the memory space. Thus, the requested game can be started quickly in accordance with the start request of the client.
In a possible embodiment of the present disclosure, the memory space of the cloud game server may reserve all games associated with one user account within a set time period, or, when one user account is allocated to one memory space for the first time to be connected and used, and the user account is disconnected for use, the cloud game server may not immediately unload all games associated with the user account, but reserve all games associated with the user account within the set time period. Therefore, if the user account is allocated to the same memory space again in the set time period, the cloud game server does not need to load and install all games related to the user account, the processing process of the cloud game server can be simplified, the running speed of the cloud game server is increased, the client can be responded quickly, and the user experience is improved.
Step 205, according to a starting request of a first game sent by a client, starting the first game.
Step 206, rendering the game picture of the first game into a video frame, and sending the video frame to the client in a video stream mode.
And step 207, receiving an operation instruction of the client to the video frame, rendering a next frame of video frame according to the operation instruction, and sending the next frame of video frame to the client.
Steps 205 to 207 are the same as the related art in steps 101 to 103, and are not described herein again.
In a possible implementation manner of the present disclosure, the user account may also be a player account of all games provided by the cloud game service, that is, a user account used for logging in a cloud game service application, and may also be a player account of all games provided by the cloud game service. Therefore, the condition that a user needs to register a player account when playing a game can be avoided, the user can conveniently memorize and manage the accounts, and the user experience is improved.
In one possible embodiment of the present disclosure, before starting the first game, the method further includes: loading the player data of the user account in the first game in the memory space; the step of initiating the first game comprises: initiating the first game based on the player data. After acquiring a start request of a first game sent by a client, a cloud game server loads player data, such as player information, player equipment, game progress of a player and the like, of a user account of the client in the first game, so that when the cloud game server starts the first game, the cloud game server can quickly log in the player account and can also quickly load the current game progress of the user account.
It should be understood that, when the cloud game server receives a quit request of the first game sent by the client, current game data, such as game progress, game duration and the like, of the user account of the client may be saved, and then the first game is quitted.
In addition, when the user exits the designated application, the cloud game server can detect that the connection with the client is disconnected, and therefore the cloud game server can change the state of the memory space allocated to the client into an idle state, so that the memory space is allocated to other clients to be served.
In a possible embodiment of the present disclosure, the cloud server may store the game and the related data loaded by the client in the memory space within a set time period. Therefore, if the client is allocated with the same memory space again within the set time period, the existing and related data of the client do not need to be loaded again. If the client is not allocated to the same memory space again within a set time period, the cloud game server may delete the game and the related data loaded by the client to release the memory space.
It can be understood that, if the same memory space is allocated to the client again within the set time period, the cloud game service is provided to the client again, and the set time period can be recalculated when the client goes offline.
In the method provided by the exemplary embodiment shown in fig. 2, when a user logs in an application of a cloud game service through a client, the cloud game server may receive login information of the client, allocate a free memory space for the client to subsequently start running a cloud game, and if the cloud game server detects that there is no free memory space, forward the login information of the client to other cloud game servers in the cloud game server cluster, so that the other cloud game servers allocate the free memory space to provide the service. Therefore, when a user logs in the application of the cloud game service through the client, the cloud game server and the memory space which provide the service are well distributed and determined, the waiting time of starting the game in subsequent requests of the user can be reduced, and the user experience is improved.
The cloud game server can support various types of clients to be accessed and used, and the clients can be smart phones, computers, tablet computers, smart televisions and the like. The operating systems used by the different types of clients are not necessarily the same, and may include, but are not limited to, the following: android (android) systems, apple (ios) systems, Microsoft (Windows) systems, and so on. Various games installed on the cloud game server can also have game versions supporting different operating systems.
In a possible implementation manner of the present disclosure, the start request carries client system information, and the step of starting the first game includes: and starting the game version of the first game adapted to the system of the client according to the client system information. The cloud game server can be provided with various versions of games, the starting request sent by the client can carry client system information, when the starting request of the first game sent by the client is received, the client system information is obtained, and the appropriate game version of the first game is started based on the operating system of the client. Therefore, the corresponding game version can be started aiming at the operating system of the client, so that the rendered video frame can be adapted to the performance of the client, and the user experience is improved.
For example, if the obtained client system information indicates that the operating system of the client is a Windows system, the Windows version of the first game is started; if the obtained client system information is that the operating system of the client is an android system, an android version of the first game can be started through an android virtualizer; if the obtained client system information is that the operating system of the client is an apple system, the apple version of the first game can be started through the apple virtualizer.
However, there are also games that may support only one game version. In one possible embodiment of the present disclosure, the rendering the game screen of the first game as a video frame includes: and rendering the game picture of the first game into a video frame adapted to the system resolution of the client according to the client system information. Therefore, if the operating system of the client which sends the starting request of the first game is inconsistent with the system supported by the game version of the first game, the cloud game server can render the game picture of the first game into a video frame which is adaptive to the resolution of the operating system of the client according to the acquired system information of the client, so as to adapt to the performance of the client and improve the user experience.
It is to be appreciated that the client system information can include one or more of the following: operating system type, client model, display screen resolution, client capabilities, and the like.
In addition, some games can support multiple game versions, but the player accounts in the game versions are independent and not universal, for example, the player information and the game progress of the same player account in an android system, an apple system and a Windows system are different.
In a possible implementation manner of the present disclosure, the start request carries game version selection information, and the step of starting the first game includes: and starting the corresponding game version of the first game according to the game version selection information. The cloud game server obtains game version selection information when receiving a starting request of the first game sent by the client, and starts the first game of the corresponding game version based on the selection of the user.
However, the system supported by the user-selected version of the game may not be consistent with the operating system of the client. In one possible embodiment of the present disclosure, the step of starting the first game includes: starting a corresponding game version of the first game according to the game version selection information; the rendering of the game screen of the first game into a video frame includes: and rendering the game picture of the first game into a video frame adapted to the system resolution of the client according to the client system information. In this way, the first game of the corresponding game version can be started according to the selection of the user, and the game picture of the first game is rendered into the video frame which is matched with the resolution of the operating system according to the operating system of the client. Therefore, the selection of the user can be met, and the performance of the client is adapted, so that the user experience is improved.
Fig. 3 is a schematic flow chart of a game running method according to an exemplary embodiment of the present disclosure, and this embodiment is an exemplary description of how a cloud game server switches a game to perform a game based on the foregoing embodiment. As shown in fig. 3, the game running method includes the following steps 301 to 304:
step 301, according to a starting request of a first game sent by a client, starting the first game.
Step 302, rendering the game picture of the first game into a video frame, and sending the video frame to the client in a video stream mode.
Step 303, receiving an operation instruction of the client to the video frame, rendering a next frame of video frame according to the operation instruction, and sending the next frame of video frame to the client.
Steps 301 to 303 are the same as the related art in steps 101 to 103, and are not described again.
Step 304, based on the received switching request for switching to the second game sent by the client, starting and switching to the second game, rendering the game picture of the second game into a video frame, and sending the video frame to the client in a video stream manner.
In step 304, the user may operate the switch game on the client, that is, the user may operate the switch to initiate play of the second game while playing the first game. Based on the operation of the user, the cloud game server may receive a switching request sent by the client to switch to the second game, may start and switch to the second game, render the game screen of the second game into a video frame, and send the video frame to the client in a video streaming manner, so that the client plays and displays the game screen video of the second game to the user, and the user may execute corresponding operation based on the game screen video to play the second game.
In the method of the exemplary embodiment shown in fig. 3, the cloud game server may respond to a requirement that the user selects to switch the second game when playing the first game, start and switch the second game in time, render the game screen of the second game into a video frame, and send the video frame to the client, so as to improve user experience.
The present disclosure also provides another game running method, where the game running is applied to a client, and the client may be a smart phone, a computer, a tablet computer, a smart television, or other devices. Fig. 4 is a schematic flow chart of a game running method according to an exemplary embodiment of the present disclosure, and this embodiment is described in an exemplary manner based on the exemplary embodiment shown in fig. 1. As shown in fig. 4, the game running method includes the following steps 401 to 404:
step 401, sending a starting request of a first game to a cloud game server.
In step 401, a user may operate and select a first game on a client, and the client sends a request for starting the first game to a cloud game server based on the selection operation of the user.
Step 402, receiving a video stream of the first game sent by the cloud game server, where the video stream includes at least one video frame, and the video frame is formed by rendering the cloud game server according to a game picture of the first game.
In step 402, the client may receive a video stream of a game screen displayed by the first game sent by the cloud game based on the start request, and play and display the video stream to the user.
Step 403, sending the operation instruction for the video frame to the cloud game server.
In step 403, the user may trigger an operation related to the first game through the touch screen or the physical gamepad according to the video frame of the first game displayed by the client, and the client sends the operation instruction to the cloud game server, so that the cloud game server may execute the operation instruction, thereby implementing the operation of the first game by the user.
Step 404, receiving a next frame of video frame of the cloud game server, wherein the next frame of video frame is rendered by the cloud game server according to the operation instruction.
In step 404, the client may receive a video frame corresponding to a game screen that is fed back by the cloud game server and changes according to the operation instruction, so as to display to the user that the operation on the first game is effective.
In one possible embodiment of the present disclosure, the operation instruction and the video stream are transmitted through different transmission channels. Therefore, the operation instruction and the video stream are transmitted in independent transmission channels, the transmission speed can be improved, and the time delay of the cloud game server for responding to the received operation instruction and feeding back the game picture to the client is reduced.
In one possible embodiment of the present disclosure, the operation instruction is transmitted with the video stream through a high speed network. Thus, the transmission speed can be further increased to reduce the delay.
Because the client can be a device with a touch screen, such as a smart phone, a tablet computer, and the like, a user can touch the touch screen through fingers to generate a touch signal, and an operation instruction received by the client is the touch signal. In order to facilitate the user to discern which locations on the touch screen may trigger operating instructions, and which types of operating instructions may be triggered, in one possible embodiment of the present disclosure, the video frame includes a virtual handle icon.
In one possible embodiment of the present disclosure, the virtual handle icon may be added by the cloud game server when rendering the game screen as a video frame. For example, the virtual handle icon may include an icon of an operation direction change; as another example, the virtual handle icon may include an icon to operate a game function; as another example, the virtual handle icon may include an icon to operate a game setting.
In another possible embodiment of the present disclosure, the virtual handle icon may be additionally displayed by the client at a position where the video frame is played. For example, the client may add a virtual handle icon in a window for playing a video frame, the user may trigger a corresponding operation according to the displayed virtual handle icon in the window for playing the video frame, and the client receives a touch signal in the window and sends the touch signal as an operation instruction to the cloud game server. For another example, the client may superimpose a transparent window on the window for playing the video frame, add the virtual handle icon on the transparent window, and the transparent window may receive the touch signal generated by the user and send the touch signal as the operation instruction to the cloud game server.
The client can also be other devices without a touch screen, the client of the type can provide the user to operate the game through an external physical handle, and the physical handle can be a game handle, a keyboard, a mouse, a television remote controller and other devices.
In a possible embodiment of the present disclosure, when the virtual handle icon is added by a cloud game server, the start request carries an entity handle connection identifier, and the method further includes: when detecting the access entity handle, marking the entity handle connection information as a connection state. The client side can send the condition of accessing the entity handle to the cloud game server, so that the cloud game server does not add an icon of the virtual handle to a video frame when rendering a game picture, the played video stream picture is more concise, the user cannot be influenced to watch the video stream picture, and the user experience is improved.
For the case that the virtual handle icon is added by the client, in another possible embodiment of the present disclosure, when the client detects that the physical handle is accessed, the virtual handle icon is not added at the position where the video frame is played. For example, the client does not add a virtual handle icon within the window that plays the video frame. As another example, the client does not overlay a transparent window including a virtual handle icon on the window playing the video frame.
In the method provided by the exemplary embodiment shown in fig. 4, the cloud game server is installed with various games, the user can select a first game to be played through the client, and send a request for starting the first game to the cloud game server, the cloud game server receives the start request of the client and starts the first game, the cloud game server renders a game picture displayed after the first game is started into a video frame and transmits the video frame to the client in a video stream manner, the client receives the video stream, the user can send a game-related operation instruction on the client according to the game picture presented by the video stream, the cloud game server executes a corresponding operation in the first game in operation according to the received operation instruction, and renders the picture of the first game after the operation into a next frame of video frame to be sent to the client, the user can then get feedback on the client. Therefore, the game is not required to be installed on the personal terminal of the user but installed on the cloud game server, the user can start the game only by accessing the cloud game server through the client, the space memory of the personal terminal of the user can be greatly released, and the personal terminal is not required to have better performance.
Fig. 5 is a schematic flow chart of another game running method according to an exemplary embodiment of the present disclosure, and this embodiment exemplarily illustrates how a client is allocated to a memory space of a cloud game server on the basis of the embodiment shown in fig. 4. As shown in fig. 5, the game running method includes the following steps 501 to 507:
step 501, logging in a designated application based on a user account, and sending login information to the cloud game server, so that the cloud game server allocates a memory space.
Wherein: the user account is an account of a user login specified application, the login information is an identifier of the specified application login by the user account of the client, and the specified application is an application providing cloud game service; the cloud game server comprises a plurality of independent memory spaces, and one memory space is used for running a game which is requested to be started by a specified client.
In step 501, the client installs an application providing the cloud game service, and can log in on the specified application based on the user account input by the user to obtain the cloud game service. And moreover, login information is sent to the cloud game server to inform the cloud game server that the account number of the user logged in by the current client is in a login state, and the intention of the user for requesting the cloud game service can be expressed, so that the cloud game server allocates a memory space to the client.
Step 502, after logging in a designated application, displaying identifiers of all games related to the user account lock, wherein the identifiers are used for describing uniqueness of the games.
In step 502, after the account of the user is logged in on the client, identifiers of all games are displayed in a designated application according to the games associated with the account of the user, so that the user can select the games to be started according to the identifiers. For example, the identifier may be a game name, and as another example, the identifier may be a game icon.
In one possible embodiment of the present disclosure, the identification of the game is linked to an interface that initiates the game. In this way, the user can trigger the client to send the start request by clicking the identifier of the game.
It is understood that the execution sequence of the two steps of displaying the identifications of all the games associated with the user account lock and sending the login information to the cloud game server can be switched, or can be executed simultaneously.
Step 503, sending a start request of the first game to the cloud game server.
Step 504, receiving a video stream of the first game sent by the cloud game server, where the video stream includes at least one video frame, and the video frame is rendered by the cloud game server according to a game picture of the first game.
And step 505, sending the operation instruction for the video frame to the cloud game server.
Step 506, receiving a next frame of video frame of the cloud game server, wherein the next frame of video frame is rendered by the cloud game server according to the operation instruction.
Steps 503 to 506 are the same as the related art in steps 401 to 404, and are not described again.
In one possible embodiment of the present disclosure, the user account may also be a player account of all games provided by the cloud gaming service. That is, the user account used for logging in the cloud game service application may also be used as a player account of all games that can be provided by the cloud game service. Therefore, the condition that a user needs to register a player account when playing a game can be avoided, the user can conveniently memorize and manage the accounts, and the user experience is improved.
In one possible embodiment of the present disclosure, the initiation request includes at least one of the following information: client system information, game version selection information.
In one possible embodiment of the present disclosure, the game version and/or the client system comprises at least one of: android system, apple system and Windows system.
Fig. 6 is a schematic flow chart of another game running method according to an exemplary embodiment of the present disclosure, and this embodiment provides an exemplary description of how the client requests to switch the game. As shown in fig. 6, the game running method includes the following steps 601 to 606:
step 601, sending a starting request of a first game to a cloud game server.
Step 602, receiving a video stream of the first game sent by the cloud game server, where the video stream includes at least one video frame, and the video frame is rendered by the cloud game server according to a game picture of the first game.
Step 603, sending the operation instruction for the video frame to the cloud game server.
Step 604, receiving a next frame of video frame of the cloud game server, wherein the next frame of video frame is rendered by the cloud game server according to the operation instruction.
Steps 601 to 604 are the same as the related art in steps 401 to 404, and are not described again.
Step 605, sending a switching request for switching to a second game to the cloud game server, so that the cloud game server is started and switched to the second game.
In step 605, the client may display an identifier of the game function switching in the designated application, and the user may trigger the client to send a request for switching the game to the cloud server by selecting and clicking the identifier. If the client is a device without a touch screen, the function key can be operated through the physical handle, or the identifier for switching the game function can be selected through operating the key. The user can also select which game to switch, and the client sends a switching request with accurate requirements to the cloud server so that the cloud server can switch to the game selected by the user.
Step 606, receiving the video stream of the second game sent by the cloud game server.
In step 606, after initiating the switching request of the second game, the client receives the video stream of the second game responded by the cloud game server, and plays and displays the video stream, so that the user can perform a response operation on the second game according to the video stream.
In the method of the exemplary embodiment shown in fig. 6, when the user plays the first game through the client, the user may select a requirement for switching the second game, the cloud game server may start and switch the second game in time, and the game screen of the second game is rendered into a video frame and sent to the client, so that the user experience may be improved.
Fig. 7A is a schematic structural diagram of a cloud game platform according to an exemplary embodiment of the present disclosure, and fig. 7B is a schematic interaction flow diagram of a cloud game platform according to an exemplary embodiment of the present disclosure. As shown in fig. 7A, the platform 70 includes a client 71 and a cloud game server 72, and the client and the cloud game server are connected in communication. The client may be a smart phone, a computer, a tablet computer, a smart television, and the like, and fig. 7A takes a smart phone as an example. As shown in fig. 7B, the interaction process between the client 71 and the cloud game server 72 includes:
the client 71 is configured to send a start request of a first game to the cloud game server 72;
the cloud game server 72 is configured to start the first game according to the start request;
the cloud game server 72 is configured to render the game screen of the first game into video frames and send the video frames to the client 71 in a video streaming manner;
the client 71 is configured to receive the video stream fed back by the cloud game server 72, and send an operation instruction for the video frame to the cloud game server 72;
the cloud game server 72 is configured to receive the operation instruction, render a next frame of video frame according to the operation instruction, and send the next frame of video frame to the client;
the client 71 is configured to receive the next frame of video frames.
In one possible embodiment of the present disclosure, the cloud game server includes a plurality of memory spaces, and one memory space is used for running a game requested to be started by a specific client.
In one possible embodiment of the present disclosure, the client is configured to log in a specific application based on a user account before sending a start request of a first game to the cloud game server, and send login information to the cloud game server, where the user account is an account of the specific application logged in by a user, the login information is an identifier of the specific application logged in by the user account of the client, and the specific application is an application providing a cloud game service;
the cloud game server is configured to receive the login information and detect whether a memory space in an idle state exists at present;
if not, the login information is sent to other cloud game servers in the cloud game server cluster, so that the other cloud game servers start the first game based on the starting request of the client;
if yes, allocating a memory space in an idle state to the client, and receiving a starting request of the first game sent by the client in the memory space.
In one possible embodiment of the present disclosure, the cloud game server is configured to load all games associated with the user account in the memory space after determining the memory space of the client and before starting the first game.
In one possible implementation manner of the present disclosure, the user account is also a player account of all games provided by the cloud game service;
the cloud game server is configured to load player data of the user account in the first game in the memory space before starting the first game, and start the first game based on the player data.
In one possible implementation manner of the present disclosure, the platform further includes a data server, and the cloud game server is further in communication connection with the data server, where the data server stores information of all games associated with each user account and player data in each game;
the cloud game server is configured to acquire information of all games associated with the user account from the data server, and load all games associated with the user account in the memory space.
The cloud game platform is provided with an independent data server for storing information of all games related to the registered users and player data of the registered users in the games, so that the cloud game server pulls the games and the player data related to user accounts logged in by the client to the data server so as to provide cloud game service for the client. Therefore, the data server is specially used for storing information of all games related to user accounts and player data in all games, the cloud game server is specially used for providing cloud game service for the client, labor division of all servers of the cloud game platform can be determined, the storage space of the cloud game server does not need to be occupied, the running speed is improved, and user experience is improved.
In one possible embodiment of the disclosure, the cloud game server is configured to, when receiving a game quitting instruction of the client, store the user account in a local area in the current player data of the first game and send the user account to the data server, and close the first game based on the game quitting instruction;
the data server is configured to receive the current player data and update the player data of the user account at the first game to the current player data.
When the client sends the command of quitting the game, the cloud game server can store the current player data in time and synchronously send the current player data to the data server for backup, so that the integrity of the data can be improved.
In one possible implementation manner of the present disclosure, the cloud game server is further in communication connection with a game server of the first game, and the cloud game server is configured to send the current player data of the user account in the first game to the game server of the first game, so that the game server of the first game synchronizes the current player data of the user account.
In one possible embodiment of the disclosure, the start request carries client system information, and the cloud game server is configured to start a game version of the first game adapted to a system of the client according to the client system information.
In one possible embodiment of the disclosure, the start request carries client system information, and the cloud game server is configured to render the game screen of the first game into a video frame adapted to the system resolution of the client according to the client system information.
In one possible implementation manner of the present disclosure, the start request carries game version selection information, and the cloud game server is configured to start a corresponding game version of the first game according to the game version selection information.
In one possible implementation manner of the present disclosure, the start request carries client system information and game version selection information, and the cloud game server is configured to start a corresponding game version of the first game according to the game version selection information; and rendering the game picture of the first game into a video frame adapted to the system resolution of the client according to the client system information.
In one possible embodiment of the present disclosure, the game version installed in the cloud game server and/or the system of the client includes at least one of the following: android system, apple system and Windows system.
In one possible implementation manner of the present disclosure, the start request carries physical handle connection information, and the cloud game server is configured to determine whether to add a virtual handle icon in the video frame according to whether the physical handle connection identifier is in a connection status.
When a user logs in a designated application through a client, authentication of cloud game service is required. In one possible embodiment of the present disclosure, the platform further includes an authentication server, the authentication server is connected in communication with the cloud game server,
the client is configured to log in a specified application based on a user account and a user password before sending a starting request of a first game, and send the user account and the user password to the cloud game server, wherein the specified application is an application providing cloud game service;
the cloud game server is configured to forward the user account and the user password to the authentication server;
the authentication server is configured to generate a Token and send the Token to the cloud game server when verifying that the user account and the user password pass;
the cloud game server is configured to forward the Token to the client;
the client is configured to save the Token to save the user account in the login state of the specified application.
Therefore, the user opens the specified application of the client next time without re-inputting the user account and the user password, automatic login is achieved, and user experience is improved.
In one possible embodiment of the present disclosure, the client is configured to send the Token when sending a start request of a first game to the cloud game server;
the cloud game server is configured to forward the user account and the Token to the authentication server;
the authentication server is configured to return a first verification result of passing verification to the cloud game server when the user account and the Token are verified to pass;
the cloud game server is configured to launch the first game based on the first verification result.
Therefore, the identity verification of the user account can be maintained, so that the request sent by the client where the user account is located can provide verification, and the cloud game server responds to the request of the client based on the verification.
In one possible implementation manner of the present disclosure, the cloud game server is further connected in communication with a game server of each game;
the cloud game server is configured to send the user account and the Token to a game server of the first game after the first game is started based on the first verification result, so that the game server verifies the validity of the user based on the user account and the Token;
the cloud game server is configured to receive a second verification result that the game server of the first game returns a verification pass, and locally store the Token so as to store the time efficiency of the user account in the login state of the first game.
Therefore, when the user requests to start the first game next time, automatic login can be achieved, and user experience is improved.
In one possible embodiment of the present disclosure, the platform further includes a management server, the management server includes a game library storing all games provided by a cloud game service, and the management server is in communication connection with the cloud game server;
the cloud game server is configured to obtain configuration information of the first game from the game library after receiving the starting request, and start the first game based on the configuration information.
Therefore, the configuration information of all games provided by the cloud game platform is stored in the management server, when the client requests the cloud game server to start the first game, the cloud game server acquires the configuration information of the first game from the management server and starts the first game, and the memory space of the cloud game server can be greatly released, so that the running speed is improved.
In one possible embodiment of the present disclosure, the management server is further communicatively connected to the client, the management server includes a content management system,
the management server is configured to acquire user behavior information of a user account associated with the client, and push game recommendation information to the user account according to the user behavior information.
That is, the management server can also push related or similar games to the user account according to the user behavior information of the user account on the specified application, such as frequently played games and game duration, and display the related or similar games on the specified application, so that the user is interested in requesting to start the related games.
The present disclosure also provides a game execution device, and fig. 8 is a schematic structural diagram of a game execution device according to an exemplary embodiment of the present disclosure. This game running device is applied to the cloud game server, a plurality of games are installed to the cloud game server, as shown in fig. 8, this game running device 80 includes:
the starting module 810 is configured to start a first game according to a starting request of the first game sent by a client;
a rendering module 820 configured to render a game screen of the first game as a video frame;
a first sending module 820, sending the video frame to the client in a video stream manner;
a first receiving module 830 configured to receive an operation instruction of the client on the video frame;
a second sending module 840 configured to render a next frame of video frame according to the operation instruction and send the next frame of video frame to the client.
In an exemplary embodiment of the present disclosure, the operation instruction and the video stream are transmitted through different transmission channels.
In an exemplary embodiment of the present disclosure, the cloud game server includes a plurality of independent memory spaces, and one memory space is used for running a game requested to be started by a specific client.
In an exemplary embodiment of the present disclosure, the apparatus further includes:
the second receiving module is configured to receive login information of a client in a specified application before starting a first game according to a starting request of the first game sent by the client, wherein the login information is an identifier of the specified application which is logged in by a user account of the client, and the specified application is an application providing cloud game service;
the detection module is configured to detect whether a memory space in an idle state exists at present;
the third sending module is configured to send the login information to other cloud game servers in the cloud game server cluster if the first game is not started, so that the other cloud game servers start the first game based on the starting request of the client;
the allocation module is configured to allocate a memory space in an idle state to the client if the memory space is in the idle state;
and the third receiving module is configured to receive the starting request of the first game sent by the client in the memory space.
In an exemplary embodiment of the present disclosure, the login information includes a user account, and the apparatus further includes:
the first loading module is configured to load all games associated with the user account in the memory space after the client is determined to be in the memory space of the cloud game server and before the first game is started.
In an exemplary embodiment of the present disclosure, the user account is also a player account of all games provided by the cloud gaming service, and the apparatus further includes:
the second loading module is configured to load player data of the user account in the first game in the memory space before the first game is started;
the initiation module is configured to initiate the first game based on the player data.
In an exemplary embodiment of the present disclosure, the initiation request carries client system information,
the starting module is configured to start a game version of the first game adapted to a system of the client according to the client system information.
In an exemplary embodiment of the present disclosure, the initiation request carries client system information,
the rendering module is configured to render the game screen of the first game into a video frame adapted to the system resolution of the client according to the client system information.
In an exemplary embodiment of the present disclosure, the start request carries game version selection information,
the starting module is configured to start the corresponding game version of the first game according to the game version selection information.
In an exemplary embodiment of the present disclosure, the start request carries client system information and game version selection information,
the starting module is configured to start the corresponding game version of the first game according to the game version selection information;
the rendering module is configured to render the game screen of the first game into a video frame adapted to the system resolution of the client according to the client system information.
In an exemplary embodiment of the disclosure, the game version and/or the client system comprises at least one of: android system, apple system and Windows system.
In an exemplary embodiment of the present disclosure, the start request carries an entity handle connection identifier, and the apparatus further includes:
and the adding module is configured to determine whether to add a virtual handle icon in the video frame according to whether the entity handle connection identifier is in a connection state.
In an exemplary embodiment of the present disclosure, the apparatus further comprises a switching module,
the starting module is configured to start a second game based on the received switching request for switching to the second game sent by the client;
the switching module is configured to switch to the second game;
the rendering module is configured to render a game screen of the second game as a video frame;
the first sending module is configured to send the video frames to the client in a video stream.
The present disclosure also provides another game execution apparatus, and fig. 9 is a schematic structural diagram of another game execution apparatus according to an exemplary embodiment of the present disclosure. The game execution apparatus is applied to a client, and as shown in fig. 9, the game execution apparatus 90 includes:
a first sending module 910 configured to send a start request of a first game to a cloud game server;
a first receiving module 920, configured to receive a video stream of the first game sent by the cloud game server, where the video stream includes at least one video frame, and the video frame is rendered by the cloud game server according to a game screen of the first game;
a second sending module 930 configured to send an operation instruction for the video frame to the cloud game server;
a second receiving module 940, configured to receive a next frame of video frame of the cloud game server, where the next frame of video frame is rendered by the cloud game server according to the operation instruction.
In an exemplary embodiment of the present disclosure, the operation instruction and the video stream are transmitted through different transmission channels.
In an exemplary embodiment of the present disclosure, the apparatus further includes:
a login module configured to log in within a specified application based on a user account before sending a start request of a first game to a cloud game server
A third sending module, configured to send login information to the cloud game server, so that the cloud game server allocates a memory space, wherein:
the user account is an account of a user login specified application, the login information is an identifier of the specified application login by the user account of the client, and the specified application is an application providing cloud game service;
the cloud game server comprises a plurality of independent memory spaces, and one memory space is used for running a game which is requested to be started by a specified client.
In an exemplary embodiment of the present disclosure, the apparatus further includes:
and the display module is configured to display the identifications of all games associated with the user account lock after logging in a specified application, wherein the identifications are used for describing the uniqueness of the games.
In an exemplary embodiment of the present disclosure, the user account is also a player account of all games provided by the cloud gaming service.
In an exemplary embodiment of the present disclosure, the initiation request includes at least one of the following information: client system information, game version selection information.
In an exemplary embodiment of the disclosure, the game version and/or the client system comprises at least one of: android system, apple system and Windows system.
In an exemplary embodiment of the present disclosure, the video frame includes a virtual handle icon.
In an exemplary embodiment of the present disclosure, the initiation request includes an entity handle connection identifier, and the apparatus further includes:
a marking module configured to mark the entity handle connection information as a connected state when an access entity handle is detected.
In an exemplary embodiment of the present disclosure, the apparatus further includes:
a fourth sending module, configured to send a switching request for switching to a second game to the cloud game server, so that the cloud game server starts and switches to the second game;
the third receiving module is configured to receive the video stream of the second game sent by the cloud game server.
With regard to the apparatus in each of the above exemplary embodiments, the specific manner in which each module performs the operation has been described in detail in the exemplary embodiment related to the method, and will not be described in detail here.
The present disclosure also provides a server, and fig. 10 is a schematic structural diagram of a server according to an exemplary embodiment of the present disclosure. As shown in fig. 10, according to an exemplary embodiment, a game execution apparatus 100 is shown, for example, the apparatus 100 may be provided as a server, for example, a cloud game server. Referring to fig. 10, the apparatus 100 includes a processing component 1022 that further includes one or more processors and memory resources, represented by memory 1032, for storing instructions, such as application programs, that are executable by the processing component 1022. The application programs stored in memory 1032 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1022 is configured to execute instructions to perform the game execution method described above as applied to the server of the online shopping system.
The device 100 may also include a power component 1026 configured to perform power management for the device 100, a wired or wireless network interface 1050 configured to connect the device 100 to a network, and an input-output (I/O) interface 1058. The device 100 may operate based on an operating system stored in memory 1032, such as Android, IOS, Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
Wherein the instructions in the memory 1332, when executed by the processing component 1022, enable the apparatus 100 to perform a method of game play, comprising:
starting a first game according to a starting request of the first game sent by a client;
rendering the game picture of the first game into a video frame, and sending the video frame to the client in a video streaming mode;
and receiving an operation instruction of the client to the video frame, rendering a next frame of video frame according to the operation instruction, and sending the next frame of video frame to the client.
The present disclosure also provides an electronic device, and fig. 11 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present disclosure. As shown in fig. 11, according to an exemplary embodiment, a game execution apparatus 110 is shown, for example, the apparatus 110 may be provided as an electronic device, and the electronic device may be a terminal such as a smart phone, a computer, a tablet computer, a smart television, and the like.
Referring to fig. 11, the apparatus 110 may include one or more of the following components: processing component 1101, memory 1102, power component 1103, multimedia component 1104, audio component 1105, input/output (I/O) interface 1106, sensor component 1107, and communication component 1108.
The processing component 1101 generally controls the overall operation of the device 110, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1101 may include one or more processors 1109 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 1101 can include one or more modules that facilitate interaction between the processing component 1101 and other components. For example, the processing component 1101 can include a multimedia module to facilitate interaction between the multimedia component 1104 and the processing component 1101.
The memory 1102 is configured to store various types of data to support operations at the device 110. Examples of such data include instructions for any application or method operating on device 110, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1102 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 1103 provides power to the various components of the device 110. The power components 1103 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 110.
The multimedia component 1104 includes a screen that provides an output interface between the device 110 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1104 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 110 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
Audio component 1105 is configured to output and/or input audio signals. For example, audio component 1105 may include a Microphone (MIC) configured to receive external audio signals when apparatus 110 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in memory 1102 or transmitted via communications component 1108. In some embodiments, audio component 1105 further includes a speaker for outputting audio signals.
The I/O interface 1102 provides an interface between the processing component 1101 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
Sensor component 1107 includes one or more sensors to provide status evaluations of various aspects of device 110. For example, sensor component 1107 may detect the open/closed state of device 110, the relative positioning of components, such as a display and keypad of device 110, the change in position of device 110 or a component of device 110, the presence or absence of user contact with device 110, the orientation or acceleration/deceleration of device 110, and the change in temperature of device 110. Sensor assembly 1107 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. Sensor assembly 1107 may also include a photosensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1107 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1108 is configured to facilitate communications between the apparatus 110 and other devices in a wired or wireless manner. The device 110 may access wireless networks based on communication standards, such as WiFi, 2G, 3G, 4G, 5G, and more generations of mobile communications, or a combination thereof. In an exemplary embodiment, the communication component 1108 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1108 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 110 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided that includes instructions, such as the memory 112, that are executable by the processor 1109 of the device 110 to perform the above-described methods. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Wherein the instructions in the storage medium, when executed by the processor, enable the apparatus 110 to perform another game execution method, comprising:
sending a starting request of a first game to a cloud game server;
receiving a video stream of the first game sent by the cloud game server, wherein the video stream comprises at least one video frame, and the video frame is formed by rendering the cloud game server according to a game picture of the first game;
sending an operation instruction for the video frame to the cloud game server;
and receiving a next frame of video frame of the cloud game server, wherein the next frame of video frame is formed by rendering the cloud game server according to the operation instruction.
The present disclosure also provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
starting a first game according to a starting request of the first game sent by a client;
rendering the game picture of the first game into a video frame, and sending the video frame to the client in a video streaming mode;
and receiving an operation instruction of the client to the video frame, rendering a next frame of video frame according to the operation instruction, and sending the next frame of video frame to the client.
The present disclosure also provides another computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
sending a starting request of a first game to a cloud game server;
receiving a video stream of the first game sent by the cloud game server, wherein the video stream comprises at least one video frame, and the video frame is formed by rendering the cloud game server according to a game picture of the first game;
sending an operation instruction for the video frame to the cloud game server;
and receiving a next frame of video frame of the cloud game server, wherein the next frame of video frame is formed by rendering the cloud game server according to the operation instruction.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, wherein the modules described as separate parts may or may not be physically separate, and the parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. One of ordinary skill in the art can understand and implement it without inventive effort.
The foregoing description of specific embodiments of the present disclosure has been described. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
Other embodiments of the present disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
The above description is only exemplary of the present disclosure and should not be taken as limiting the disclosure, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.

Claims (26)

1. A game running method is applied to a cloud game server, a plurality of games are installed on the cloud game server, and the method comprises the following steps:
starting a first game according to a starting request of the first game sent by a client;
rendering the game picture of the first game into a video frame, and sending the video frame to the client in a video streaming mode;
and receiving an operation instruction of the client to the video frame, rendering a next frame of video frame according to the operation instruction, and sending the next frame of video frame to the client.
2. A game execution method according to claim 1, wherein the operation instruction and the video stream are transmitted through different transmission channels.
3. The game execution method of claim 1, wherein the cloud game server comprises a plurality of independent memory spaces, and one memory space is used for executing a game requested to be started by a specific client.
4. The game execution method according to claim 3, further comprising, before starting the first game in accordance with a start request of the first game sent from the client, the step of:
receiving login information of a client in a specified application, wherein the login information is an identifier of a user account of the client for logging in the specified application, and the specified application is an application for providing cloud game service;
detecting whether a memory space in an idle state exists at present;
if not, the login information is sent to other cloud game servers in the cloud game server cluster, so that the other cloud game servers start the first game based on the starting request of the client;
if yes, allocating a memory space to the client, and receiving a starting request of the first game sent by the client in the memory space.
5. The game running method of claim 4, wherein the login information includes a user account, and after determining that the client is in the memory space of the cloud game server and before starting the first game, the method further comprises:
and loading all games related to the user account in the memory space.
6. The game running method of claim 5, wherein the user account is a player account of all games provided by the cloud gaming service, and before starting the first game, the method further comprises:
loading the player data of the user account in the first game in the memory space;
the step of initiating the first game comprises:
initiating the first game based on the player data.
7. A game execution method according to claim 1, wherein the start request carries client system information, and the step of starting the first game comprises:
and starting the game version of the first game adapted to the system of the client according to the client system information.
8. A game execution method according to claim 1, wherein the start request carries client system information, and the step of rendering the game screen of the first game as a video frame comprises:
and rendering the game picture of the first game into a video frame adapted to the system resolution of the client according to the client system information.
9. A game execution method according to claim 1, wherein the start request carries game version selection information, and the step of starting the first game includes:
and starting the corresponding game version of the first game according to the game version selection information.
10. A game execution method according to claim 1, wherein the start request carries client system information and game version selection information, and the step of starting the first game includes:
starting a corresponding game version of the first game according to the game version selection information;
the rendering of the game screen of the first game into a video frame includes:
and rendering the game picture of the first game into a video frame adapted to the system resolution of the client according to the client system information.
11. A game execution method according to claim 1, wherein the initiation request carries an entity handle connection identifier, the method further comprising:
and determining whether a virtual handle icon is added in the video frame or not according to whether the entity handle connection identifier is in a connection state or not.
12. A game playing method according to claim 1, wherein the method further comprises:
starting and switching to a second game based on a received switching request for switching to the second game sent by the client, rendering a game picture of the second game into a video frame, and sending the video frame to the client in a video streaming mode.
13. A game running method applied to a client, the method comprising:
sending a starting request of a first game to a cloud game server;
receiving a video stream of the first game sent by the cloud game server, wherein the video stream comprises at least one video frame, and the video frame is formed by rendering the cloud game server according to a game picture of the first game;
sending an operation instruction for the video frame to the cloud game server;
and receiving a next frame of video frame of the cloud game server, wherein the next frame of video frame is formed by rendering the cloud game server according to the operation instruction.
14. A game execution method as claimed in claim 13, wherein the operation instruction is transmitted through a different transmission channel from the video stream.
15. The game execution method of claim 13, prior to sending the request for starting the first game to the cloud game server, comprising:
logging in a designated application based on a user account, and sending login information to the cloud game server to enable the cloud game server to allocate a memory space, wherein:
the user account is an account of a user login specified application, the login information is an identifier of the specified application login by the user account of the client, and the specified application is an application providing cloud game service;
the cloud game server comprises a plurality of independent memory spaces, and one memory space is used for running a game which is requested to be started by a specified client.
16. A game execution method according to claim 15, further comprising, after logging in within a specified application:
displaying the identification of all games related to the user account lock, wherein the identification is used for describing the uniqueness of the games.
17. The game execution method of claim 15, wherein the user account is a player account of all games provided by the cloud gaming service.
18. A game play method according to claim 13, wherein the video frame includes a virtual handle icon.
19. A game execution method as claimed in claim 13, wherein the initiation request includes an identity of a physical handle connection, the method further comprising:
when detecting the access entity handle, marking the entity handle connection information as a connection state.
20. A game playing method according to claim 13, wherein the method further comprises:
sending a switching request for switching to a second game to the cloud game server so that the cloud game server is started and switched to the second game;
and receiving the video stream of the second game sent by the cloud game server.
21. The utility model provides a game running device, its characterized in that is applied to high in the clouds game server, a plurality of games are installed to high in the clouds game server, the device includes:
the starting module is configured to start a first game according to a starting request of the first game sent by a client;
a rendering module configured to render a game screen of the first game as a video frame;
a first sending module configured to send the video frame to the client in a video stream;
a first receiving module configured to receive an operation instruction of the client on the video frame;
and the second sending module is configured to render the next frame of video frame according to the operation instruction and send the next frame of video frame to the client.
22. A game execution apparatus, applied to a client, the apparatus comprising:
the system comprises a first sending module, a second sending module and a control module, wherein the first sending module is configured to send a starting request of a first game to a cloud game server;
the first receiving module is configured to receive a video stream of the first game sent by the cloud game server, wherein the video stream comprises at least one video frame, and the video frame is rendered by the cloud game server according to a game picture of the first game;
the second sending module is configured to send an operation instruction for the video frame to the cloud game server;
the second receiving module is configured to receive a next frame of video frame of the cloud game server, and the next frame of video frame is rendered by the cloud game server according to the operation instruction.
23. A server comprising a processor and a memory for storing processor-executable instructions, wherein the processor is configured to perform the steps of the game execution method of any one of claims 1 to 12.
24. An electronic device comprising a processor and a memory for storing processor-executable instructions, wherein the processor is configured to perform the steps of the game execution method of any one of claims 13 to 20.
25. A computer-readable storage medium, on which a computer program is stored, which program, when executed by a processor, carries out the steps of the game execution method of any one of claims 1 to 12.
26. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the steps of the game execution method of any one of claims 13 to 20.
CN202010006310.XA 2020-01-03 2020-01-03 Game running method, device, equipment, medium and cloud game platform Pending CN111214828A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010006310.XA CN111214828A (en) 2020-01-03 2020-01-03 Game running method, device, equipment, medium and cloud game platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010006310.XA CN111214828A (en) 2020-01-03 2020-01-03 Game running method, device, equipment, medium and cloud game platform

Publications (1)

Publication Number Publication Date
CN111214828A true CN111214828A (en) 2020-06-02

Family

ID=70829448

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010006310.XA Pending CN111214828A (en) 2020-01-03 2020-01-03 Game running method, device, equipment, medium and cloud game platform

Country Status (1)

Country Link
CN (1) CN111214828A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111782299A (en) * 2020-07-03 2020-10-16 珠海金山网络游戏科技有限公司 Game access method and device
CN111797024A (en) * 2020-07-16 2020-10-20 网易(杭州)网络有限公司 Game testing method, device, system, electronic equipment and storage medium
CN111970573A (en) * 2020-07-27 2020-11-20 西安万像电子科技有限公司 Cloud game method and system
CN112272301A (en) * 2020-09-23 2021-01-26 西安万像电子科技有限公司 Data processing method, device, system, equipment and storage medium
CN112954020A (en) * 2021-01-28 2021-06-11 广州虎牙科技有限公司 Game control method, device, electronic equipment and computer-readable storage medium
CN113730919A (en) * 2021-09-10 2021-12-03 北京百度网讯科技有限公司 Cloud application pre-starting method, device, equipment, storage medium and program product
WO2022042004A1 (en) * 2020-08-28 2022-03-03 腾讯科技(深圳)有限公司 Data processing method and device and storage medium
CN114268626A (en) * 2020-09-16 2022-04-01 阿里巴巴集团控股有限公司 Window processing system, method and device
WO2023029900A1 (en) * 2021-08-31 2023-03-09 腾讯科技(深圳)有限公司 Video frame rendering method and apparatus, device, and storage medium
WO2024055865A1 (en) * 2022-09-16 2024-03-21 腾讯科技(深圳)有限公司 Task platform display method and apparatus, device, and computer program product

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103023872A (en) * 2012-11-16 2013-04-03 杭州顺网科技股份有限公司 Cloud game service platform
CN108066986A (en) * 2017-10-26 2018-05-25 咪咕互动娱乐有限公司 A kind of Streaming Media determines method and device and storage medium
CN110221878A (en) * 2019-06-17 2019-09-10 北京金山安全软件有限公司 Game service updating method and device, electronic equipment and storage medium
CN110227259A (en) * 2018-03-06 2019-09-13 华为技术有限公司 A kind of method, apparatus of data processing, server and system
CN110227260A (en) * 2019-08-07 2019-09-13 南昌黑鲨科技有限公司 Cloud game accelerated method, device, readable storage medium storing program for executing and computer equipment
CN110368686A (en) * 2019-07-03 2019-10-25 上海闻泰信息技术有限公司 Cloud game implementation method, device, cloud server, terminal and medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103023872A (en) * 2012-11-16 2013-04-03 杭州顺网科技股份有限公司 Cloud game service platform
CN108066986A (en) * 2017-10-26 2018-05-25 咪咕互动娱乐有限公司 A kind of Streaming Media determines method and device and storage medium
CN110227259A (en) * 2018-03-06 2019-09-13 华为技术有限公司 A kind of method, apparatus of data processing, server and system
CN110221878A (en) * 2019-06-17 2019-09-10 北京金山安全软件有限公司 Game service updating method and device, electronic equipment and storage medium
CN110368686A (en) * 2019-07-03 2019-10-25 上海闻泰信息技术有限公司 Cloud game implementation method, device, cloud server, terminal and medium
CN110227260A (en) * 2019-08-07 2019-09-13 南昌黑鲨科技有限公司 Cloud game accelerated method, device, readable storage medium storing program for executing and computer equipment

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111782299A (en) * 2020-07-03 2020-10-16 珠海金山网络游戏科技有限公司 Game access method and device
CN111797024A (en) * 2020-07-16 2020-10-20 网易(杭州)网络有限公司 Game testing method, device, system, electronic equipment and storage medium
CN111970573A (en) * 2020-07-27 2020-11-20 西安万像电子科技有限公司 Cloud game method and system
WO2022042004A1 (en) * 2020-08-28 2022-03-03 腾讯科技(深圳)有限公司 Data processing method and device and storage medium
CN114268626A (en) * 2020-09-16 2022-04-01 阿里巴巴集团控股有限公司 Window processing system, method and device
CN112272301A (en) * 2020-09-23 2021-01-26 西安万像电子科技有限公司 Data processing method, device, system, equipment and storage medium
CN112954020A (en) * 2021-01-28 2021-06-11 广州虎牙科技有限公司 Game control method, device, electronic equipment and computer-readable storage medium
WO2023029900A1 (en) * 2021-08-31 2023-03-09 腾讯科技(深圳)有限公司 Video frame rendering method and apparatus, device, and storage medium
CN113730919A (en) * 2021-09-10 2021-12-03 北京百度网讯科技有限公司 Cloud application pre-starting method, device, equipment, storage medium and program product
CN113730919B (en) * 2021-09-10 2024-01-09 北京百度网讯科技有限公司 Cloud application pre-starting method, device, equipment, storage medium and program product
WO2024055865A1 (en) * 2022-09-16 2024-03-21 腾讯科技(深圳)有限公司 Task platform display method and apparatus, device, and computer program product

Similar Documents

Publication Publication Date Title
CN111214828A (en) Game running method, device, equipment, medium and cloud game platform
US20170155958A1 (en) Method, Apparatus and System for Playing Multimedia Data, and Storage Medium
WO2022007513A1 (en) Video projecting method, device, equipment, and storage medium
CN106528081B (en) Operation execution method and device
CN107526591B (en) Method and device for switching types of live broadcast rooms
CN112169320B (en) Method, device, equipment and storage medium for starting and archiving application program
CN111641839B (en) Live broadcast method and device, electronic equipment and storage medium
CN109922098B (en) Content sharing method and device for content sharing
CN113032030A (en) Camera starting method and device, terminal equipment and storage medium
CN105912204B (en) Method and device for starting application interface
CN113099262A (en) Information display method and device, electronic equipment and storage medium
CN107272896B (en) Method and device for switching between VR mode and non-VR mode
CN114025180A (en) Game operation synchronization system, method, device, equipment and storage medium
CN106775624B (en) Method and device for determining application display sequence
US20220159336A1 (en) Method and system for displaying screen
CN109819341B (en) Video playing method and device, computing equipment and storage medium
CN114189542A (en) Interaction control method and device
CN112333518B (en) Function configuration method and device for video and electronic equipment
CN110913276B (en) Data processing method, device, server, terminal and storage medium
CN112905096B (en) Display control method, device, terminal equipment and storage medium
KR20230043030A (en) Method and apparatus for game live broadcast interaction, electronic device and storage medium
US9774730B2 (en) Method, device, and system for telephone interaction
CN114286425A (en) Long connection establishing system, method and device, electronic equipment and storage medium
CN114272600A (en) Control right switching system, method, device, equipment and storage medium
CN113238887A (en) Data processing method, device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination