Disclosure of Invention
The application provides a game trial playing method, cloud equipment, terminal equipment and a storage medium, which can solve at least one technical problem.
In a first aspect, a method of game play is provided, the method comprising:
receiving a game trial play request sent by the terminal equipment, wherein the game trial play request is sent by the terminal equipment through a linked format;
determining a target game according to the game trial play request;
and sending the video stream corresponding to the target game to the terminal equipment so that the user can perform game trial play based on the video stream corresponding to the target game.
In another possible implementation manner, the game trial playing request carries identification information corresponding to the game requested to be tried to be played;
determining a target game according to the game play request, comprising:
the target game is determined based on the identification information.
In another possible implementation manner, the sending a video stream corresponding to the target game to the terminal device further includes:
receiving a communication connection request sent by terminal equipment;
establishing a communication connection with the terminal device based on the communication connection request;
wherein, the video stream that corresponds with the target game is sent to terminal equipment, including:
and sending the video stream corresponding to the target game to the terminal equipment through communication connection.
In another possible implementation manner, the method further includes sending a video stream corresponding to the target game to the terminal device, and then:
receiving operation behavior information of a user for a current video stream, which is captured by terminal equipment;
determining a corresponding operation result based on the operation behavior information, and sending a video stream corresponding to the operation result to the terminal equipment;
and circularly executing to take the video stream corresponding to the operation result as the current video stream, receiving operation behavior information of the user aiming at the current video stream captured by the terminal equipment, determining the corresponding operation result based on the operation behavior information, and sending the video stream corresponding to the operation result to the terminal equipment until the preset condition is detected to be met.
In another possible implementation, the method for game play further includes:
when an identity registration request of a user for a target game is received, trial playing data of the user in trial playing of the target game are obtained, wherein the identity registration request of the target game is used for requesting the user to register identity information for the target game in a non-trial playing process;
the target game is loaded based on the try-to-play data.
In another possible implementation manner, the identity registration request of the target game carries an internet protocol address IP address;
the method for acquiring the trial play data of the user in the trial play of the target game comprises the following steps:
determining temporary game identity information matched with the IP address based on the corresponding relation between the IP address and the stored IP address and the temporary game identity information, wherein the temporary game identity information is identity information distributed when a user tries to play a target game;
and acquiring trial playing data of the user when trying to play the target game based on the determined temporary game identity information matched with the IP address.
In a second aspect, there is provided a method of game play, the method comprising:
sending a game trial playing request input by a user based on a link format to the cloud equipment, wherein the game trial playing request is used for requesting a trial playing of a target game;
and receiving a video stream aiming at the target game sent by the cloud equipment.
In another possible implementation manner, receiving a video stream for a target game sent by a cloud device, and then:
according to the specification information of the video stream played by the browser, adjusting the format and the playing size information of the video stream;
and playing the adjusted video stream through the browser.
In a third aspect, a cloud device is provided, where the cloud device includes:
the first receiving module is used for receiving a game play request sent by the terminal equipment, and the game play request is sent by the terminal equipment through a linked format;
the determining module is used for determining a target game according to the game playing request;
and the sending module is used for sending the video stream corresponding to the target game to the terminal equipment so that the user can perform game trial play based on the video stream corresponding to the target game.
In another possible implementation manner, the game trial playing request carries identification information corresponding to the game requested to be tried to be played;
and the determining module is specifically used for determining the target game based on the identification information.
In another possible implementation manner, the cloud device further includes a second receiving module and an establishing module, wherein,
the second receiving module is used for receiving a communication connection request sent by the terminal equipment;
the establishing module is used for establishing communication connection with the terminal equipment based on the communication connection request;
the sending module is specifically configured to send a video stream corresponding to the target game to the terminal device through communication connection.
In another possible implementation manner, the cloud device further includes a third receiving module, a determining and sending module, and a circulation module, wherein,
the third receiving module is used for receiving the operation behavior information of the user aiming at the current video stream, which is captured by the terminal equipment;
the determining and sending module is used for determining a corresponding operation result based on the operation behavior information and sending the video stream corresponding to the operation result to the terminal equipment;
and the circulating module is used for circularly executing the operation of taking the video stream corresponding to the operation result as the current video stream, receiving the operation behavior information of the user aiming at the current video stream captured by the terminal equipment, determining the corresponding operation result based on the operation behavior information, and sending the video stream corresponding to the operation result to the terminal equipment until the preset condition is detected to be met.
In another possible implementation manner, the cloud device further includes an obtaining module and a loading module, wherein,
the acquisition module is used for acquiring trial playing data of a user when the user tries to play the target game when receiving an identity registration request of the user for the target game, wherein the identity registration request of the target game is used for requesting to register identity information for the target game in a non-trial playing process;
and the loading module is used for loading the target game based on the trial play data.
In another possible implementation manner, the identity registration request of the target game carries an internet protocol address IP address;
the acquisition module comprises a determination unit and an acquisition unit, wherein,
the determining unit is used for determining temporary game identity information matched with the IP address based on the corresponding relation between the IP address and the stored temporary game identity information, and the temporary game identity information is identity information distributed when a user tries to play a target game;
and the acquisition unit is used for acquiring trial playing data of the user when trying to play the target game based on the determined temporary game identity information matched with the IP address.
In a fourth aspect, a terminal device is provided, which includes:
the system comprises a sending module, a cloud end device and a processing module, wherein the sending module is used for sending a game trial playing request input by a user based on a link format to the cloud end device, and the game trial playing request is used for requesting a trial playing target game;
the receiving module is used for receiving the video stream aiming at the target game sent by the cloud equipment.
In another possible implementation manner, the terminal device further includes an adjusting module and a playing module, wherein,
the adjusting module is used for adjusting the format and the playing size information of the video stream according to the specification information of the video stream played by the browser;
and the playing module is used for playing the adjusted video stream through the browser.
In a fifth aspect, a cloud device is provided, where the cloud device includes:
one or more processors;
a memory;
one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to: the operation corresponding to the game play trial method shown in the first aspect is performed.
In a sixth aspect, a terminal device is provided, which includes:
one or more processors;
a memory;
one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to: the operation corresponding to the trial play method according to the second aspect is executed.
In a seventh aspect, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of game play of the first aspect.
In an eighth aspect, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the game play method of the second aspect.
The beneficial effect that technical scheme that this application provided brought is:
the application provides a game trial playing method, cloud equipment and a storage medium, compared with the prior art, the game trial playing request sent by the terminal equipment is received, wherein the game trial playing request is sent by the terminal equipment through a linked format, a target game is determined according to the game trial playing request, a video stream corresponding to the target game is sent to the terminal equipment, so that a user can perform game trial playing based on the video stream corresponding to the target game, namely the user can directly request game trial playing through the link, a software development kit corresponding to the trial playing game is not required to be downloaded by the user, a preparation stage of the user before the game trial playing is omitted, complexity of the game trial playing and preparation time of the game trial playing are reduced, and user experience can be improved.
The application provides a game trial playing method, terminal equipment and a storage medium, compared with the prior art, the game trial playing method and the terminal equipment have the advantages that the game trial playing request input by a user based on a link format is sent to the cloud equipment, the game trial playing request is used for requesting the trial playing of a target game, the video stream aiming at the target game sent by the cloud equipment is received, so that the user can perform the game trial playing based on the video stream corresponding to the target game, the user can directly request the game trial playing through the link, the software development kit corresponding to the trial playing game does not need to be downloaded by the user, the preparation stage of the user before the game trial playing is omitted, the complexity of the game trial playing and the preparation time of the game trial playing are reduced, and the user experience can be improved.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
The embodiment of the application provides a game trial playing method, as shown in fig. 1, executed by a cloud device, the method including:
step S101, receiving a game play request sent by a terminal device.
Wherein the game play request is transmitted by the terminal device through a linked format.
For the purposes of the present embodiment, linking refers to the process of passing parameters and control commands between modules of an electronic computer program and assembling them into an executable whole. Links refer to connections that point from a web page to a target. In the embodiment of the present application, the target to be pointed may be a game play webpage, a game play picture, a game play file, or a game play application, which is not limited in the embodiment of the present application.
For the embodiment of the application, when the terminal device detects that the user clicks the link corresponding to the trial game, the terminal device sends the game trial play request, that is, the terminal device sends the game trial play request through the link format, or when the terminal device detects that the user inputs the link website to the preset browser and confirms, the terminal device sends the game trial play request to the cloud device, that is, the terminal device sends the game trial play request through the link format.
Step S102, according to the game playing request, the target game is determined.
Step S103, sending the video stream corresponding to the target game to the terminal equipment so that the user can play the game on the basis of the video stream corresponding to the target game.
For the embodiment of the application, the video stream corresponding to the target game is sent to the terminal device, that is, the video corresponding to the target game, or the video and the audio corresponding to the target game are sent to the terminal device in a streaming transmission manner.
Compared with the prior art, the game trial playing method includes the steps that a game trial playing request sent by a terminal device is received, wherein the game trial playing request is sent by the terminal device through a linked format, a target game is determined according to the game trial playing request, and a video stream corresponding to the target game is sent to the terminal device, so that a user can perform game trial playing based on the video stream corresponding to the target game, namely the user can directly request game trial playing through the link, a software development kit corresponding to the trial playing game does not need to be downloaded by the user, a preparation stage of the user before game trial playing is omitted, complexity of the game trial playing and preparation time of the game trial playing are reduced, and user experience can be improved.
In another possible implementation manner of the embodiment of the application, the game play request carries identification information corresponding to the game requested to be played in a trial manner, and step S102 may specifically include: the target game is determined based on the identification information.
For the embodiment of the present application, the identification information corresponding to the game requested to try to play may be a Uniform Resource Locator (URL), and generally, the URL includes a mode, a server name, a path, and a file, where the mode is also called a Protocol, such as a Hypertext Transfer Protocol (HTTP); server name, i.e., Internet Protocol address (IP address), such as 192.168.0.1; the path is the storage location of the specified file.
For the embodiment of the present application, the identification information corresponding to the game requested to try to play is not limited to the URL, and may be other information, which is not limited in the embodiment of the present application.
In another possible implementation manner of the embodiment of the present application, step S103 may further include: receiving a communication connection request sent by terminal equipment; and establishing communication connection with the terminal equipment based on the communication connection request.
Wherein, step S103 may specifically include: and sending the video stream corresponding to the target game to the terminal equipment through communication connection.
For the embodiment of the present application, the communication connection may be a wired connection or a wireless connection, and is not limited in the embodiment of the present application. In the embodiment of the application, a communication connection with the terminal device is established to realize signal transmission and/or data transmission with the terminal device.
For the embodiment of the present application, the video stream corresponding to the target game may be sent to the terminal device through the communication connection, and other information, such as operation behavior information of the user for the video stream, may also be transmitted.
In another possible implementation manner of the embodiment of the present application, after step S103, the method may further include: receiving operation behavior information of a user for a current video stream, which is captured by terminal equipment; determining a corresponding operation result based on the operation behavior information, and sending a video stream corresponding to the operation result to the terminal equipment; and circularly executing to take the video stream corresponding to the operation result as the current video stream, receiving operation behavior information of the user aiming at the current video stream captured by the terminal equipment, determining the corresponding operation result based on the operation behavior information, and sending the video stream corresponding to the operation result to the terminal equipment until the preset condition is detected to be met.
For the embodiment of the present application, the operation behavior information of the user for the current video stream, captured by the terminal device, may include a click operation, may also include a slide operation, and may also include other operations, such as a long-press operation, which is not limited in the embodiment of the present application.
For the embodiment of the application, after receiving the operation behavior information of the user aiming at the current video stream captured by the terminal equipment, analyzing the operation behavior information, operating the instruction corresponding to the operation behavior information, taking the result of the operation instruction as the operation result, and sending the video stream corresponding to the operation result to the terminal equipment. For example, receiving the switching operation of the user for any two objects of the current video stream, and sending the video stream corresponding to the switching operation to the terminal device.
For the embodiment of the application, the preset condition may be that the communication connection with the terminal device is disconnected; the terminal equipment can also be configured to not send operation behavior information within a preset time; other conditions, such as receiving the try-play end information sent by the terminal device, or receiving a video stream corresponding to the no-operation behavior information, which is not limited in the embodiment of the present application.
In another possible implementation manner of the embodiment of the application, the method for game play may further include: when an identity registration request of a user for a target game is received, obtaining trial playing data of the user when trying to play the target game; the target game is loaded based on the try-to-play data.
The identity registration request of the target game is used for requesting to register identity information aiming at the target game by a user in a non-trial playing process.
For example, for game XXX, the user has completed levels 1-1 to 1-5 at the time of trial play, and upon receiving a user identity registration request for game XXX, trial play data for levels 1-1 to 1-5 at the time of trial play of the user is obtained, and game XXX is loaded based on the trial play data, i.e., the user may start from level 1-6 at the time of formal play (non-trial play) of the game.
In another possible implementation manner of the embodiment of the application, the identity registration request of the target game carries an internet protocol address (IP) address; acquiring trial play data of a user in trial play of a target game may include: determining temporary game identity information matched with the IP address based on the IP address and the corresponding relation between the stored IP address and the temporary game identity information; and acquiring trial playing data of the user when trying to play the target game based on the determined temporary game identity information matched with the IP address.
The temporary game identity information is identity information distributed when the user tries to play the target game.
For the embodiment of the application, the user is allocated with the identity information when trying to play the game, and the allocated identity information and the IP address have a corresponding relation. In the embodiment of the application, the identity information allocated by the user in the game trial playing process is determined based on the IP address carried in the identity registration request of the target game, so that the trial playing data is obtained.
For example, the identification information assigned when the user tries to play is "guest 009", and the IP address corresponding to "guest 009" when trying to play is "192.168.0.1", and when the IP address "192.168.0.1" carried in the identification registration request of the target game is acquired, it is possible to determine "guest 009", thereby acquiring the trial play data of "guest 009".
For the embodiment of the application, the cloud device in the above embodiment is a software platform adopting an application virtualization technology, and integrates multiple functions of software searching, downloading, using, managing, backing up and the like.
The above describes the game try-play method according to the embodiment from the perspective of the cloud device, and the following describes the game try-play method according to the embodiment from the perspective of the terminal device.
An embodiment of the present application provides a game play method, as shown in fig. 2, executed by a terminal device, where the method includes:
step S201, a game play request input by the user based on the link format is sent to the cloud device.
Wherein the game play trial request is for requesting a trial play of the target game.
For the purposes of the present embodiment, linking refers to the process of passing parameters and control commands between modules of an electronic computer program and assembling them into an executable whole. Links refer to connections that point from a web page to a target. In the embodiment of the present application, the target to be pointed may be a game play webpage, a game play picture, a game play file, or a game play application, which is not limited in the embodiment of the present application.
For the embodiment of the application, when it is detected that the user clicks the link corresponding to the trial game, the game trial play request is sent to the cloud device, that is, the game trial play request input by the user based on the link format is sent to the cloud device, or when it is detected that the user inputs the link website to the browser and confirms, the game trial play request is sent to the cloud device, that is, the game trial play request input by the user based on the link format is sent to the cloud device.
Step S202, receiving a video stream aiming at the target game sent by the cloud device.
For the embodiment of the application, the video stream sent by the cloud device and corresponding to the target game is received, that is, the video corresponding to the target game sent by the cloud device in a streaming transmission manner, or the video and the audio corresponding to the target game are received.
Compared with the prior art, the game trial playing method has the advantages that the game trial playing request input by the user based on the link format is sent to the cloud end device, the game trial playing request is used for requesting the trial playing of the target game, the video stream aiming at the target game sent by the cloud end device is received, so that the user can perform the game trial playing based on the video stream corresponding to the target game, the user can directly request the game trial playing through the link, the user does not need to download the software development kit corresponding to the trial playing game, the preparation stage of the user before the game trial playing is omitted, the complexity of the game trial playing and the preparation time of the game trial playing are reduced, and the user experience can be improved.
In another possible implementation manner of the embodiment of the present application, after step S202, the method may further include: according to the specification information of the video stream played by the browser, adjusting the format and the playing size information of the video stream; and playing the adjusted video stream through the browser.
For the embodiment of the present application, the specification information may include position information of the page playing video, format information of the page playing video, resolution information of the page playing video, physical size information of the page playing video, and the like, which is not limited in the embodiment of the present application.
For the embodiment of the application, the format of the video stream is adjusted so that the video stream can be played in the browser, for example, the MP4 format is converted into the WebM format that can be played by the browser; and adjusting the playing size of the video stream to enable the video stream to be played in the browser in an appropriate size, for example, adjusting the video stream with the size of 4cm by 3cm to the video stream with the size of 12cm by 9 cm.
For the embodiment of the application, the terminal device can capture the operation behavior information of the adjusted video stream played by the user aiming at the browser, upload the operation behavior information to the cloud device, receive the video stream corresponding to the operation result fed back by the cloud device, adjust the format and the playing size information of the video stream corresponding to the operation result according to the specification information of the video stream played by the browser, and play the adjusted video stream through the browser.
And the operation result is determined by the cloud equipment according to the operation behavior information.
For the embodiment of the present application, the operation behavior information may include a click operation, may also include a slide operation, and may also include other operations, such as a long-press operation, which is not limited in the embodiment of the present application.
For the embodiment of the present application, the terminal device in the above embodiment may be a computer end, a mobile phone end, or a tablet computer end, and is not limited in the embodiment of the present application.
The above describes the game try-play method according to the embodiment from the perspective of the terminal device, and the game try-play method according to the embodiment from the perspective of interaction between the cloud device and the terminal device is described below.
An embodiment of the present application provides a game play method, as shown in fig. 3, the method includes:
in step S301, the terminal device sends a game play request input by the user based on the link format to the cloud device.
Wherein the game play trial request is for requesting a trial play of the target game.
Step S302, the cloud device receives a game playing request sent by the terminal device.
Step S303, the cloud device determines a target game according to the game trial playing request.
Step S304, the cloud device sends the video stream corresponding to the target game to the terminal device, so that the user can perform game trial play based on the video stream corresponding to the target game.
In step S305, the terminal device receives a video stream for the target game sent by the cloud device.
For the game trial playing method provided by the embodiment of the present application, reference may be made to the related description of the above method embodiment, and the implementation principle is similar, which is not described in detail in the embodiment of the present application.
Compared with the prior art, the game trial playing method includes the steps that a terminal device sends a game trial playing request input by a user based on a link format to a cloud device, the cloud device receives the game trial playing request sent by the terminal device, the cloud device determines a target game according to the game trial playing request, the cloud device sends a video stream corresponding to the target game to the terminal device so that the user can perform game trial playing based on the video stream corresponding to the target game, the terminal device receives the video stream aiming at the target game sent by the cloud device, the purpose that the user can directly request game trial playing through the link is achieved, a software development kit corresponding to the trial playing game does not need to be downloaded by the user, a preparation stage of the user before the trial playing is omitted, and therefore complexity of the game trial playing and preparation time of the game trial playing are reduced, and further user experience can be improved.
The above method steps specifically illustrate a game playing method, and the following introduces the cloud device from the perspective of the virtual module or the virtual unit, specifically as follows:
an embodiment of the present application provides a cloud device, as shown in fig. 4, the cloud device 40 may include: a first receiving module 401, a determining module 402, and a sending module 403, wherein,
the first receiving module 401 is configured to receive a game play request sent by a terminal device.
Wherein the game play request is transmitted by the terminal device through a linked format.
A determining module 402, configured to determine a target game according to the game play request.
A sending module 403, configured to send the video stream corresponding to the target game to the terminal device, so that the user performs a game trial play based on the video stream corresponding to the target game.
In another possible implementation manner of the embodiment of the application, the game try-play request carries identification information corresponding to a game requested to be try-played.
The determining module 402 is specifically configured to determine the target game based on the identification information.
In another possible implementation manner of the embodiment of the present application, the cloud device 40 further includes a second receiving module and a creating module, wherein,
and the second receiving module is used for receiving the communication connection request sent by the terminal equipment.
And the establishing module is used for establishing communication connection with the terminal equipment based on the communication connection request.
The sending module 403 is specifically configured to send a video stream corresponding to the target game to the terminal device through a communication connection.
In another possible implementation manner of the embodiment of the present application, the cloud device 40 further includes a third receiving module, a determining and sending module, and a circulating module, wherein,
and the third receiving module is used for receiving the operation behavior information of the user aiming at the current video stream, which is captured by the terminal equipment.
And the determining and sending module is used for determining a corresponding operation result based on the operation behavior information and sending the video stream corresponding to the operation result to the terminal equipment.
And the circulating module is used for circularly executing the operation of taking the video stream corresponding to the operation result as the current video stream, receiving the operation behavior information of the user aiming at the current video stream captured by the terminal equipment, determining the corresponding operation result based on the operation behavior information, and sending the video stream corresponding to the operation result to the terminal equipment until the preset condition is detected to be met.
In another possible implementation manner of the embodiment of the present application, the cloud device 40 further includes an obtaining module and a loading module, wherein,
the acquisition module is used for acquiring trial playing data of the user when the user tries to play the target game when receiving the identity registration request of the user for the target game.
The identity registration request of the target game is used for requesting to register identity information aiming at the target game by a user in a non-trial playing process.
And the loading module is used for loading the target game based on the trial play data.
In another possible implementation manner of the embodiment of the application, the identity registration request of the target game carries an internet protocol address IP address.
The acquisition module comprises a determination unit and an acquisition unit, wherein,
and the determining unit is used for determining the temporary game identity information matched with the IP address based on the IP address and the corresponding relation between the stored IP address and the temporary game identity information.
The temporary game identity information is identity information distributed when the user tries to play the target game.
And the acquisition unit is used for acquiring trial playing data of the user when trying to play the target game based on the determined temporary game identity information matched with the IP address.
For the embodiment of the present application, the first receiving module 401, the second receiving module, and the third receiving module may be the same receiving module, or any two of the first receiving module, the second receiving module, and the third receiving module may be the same receiving module, or three different receiving modules, which is not limited in the embodiment of the present application.
The cloud device 40 provided in the embodiment of the present application is suitable for the embodiment of the method executed by the cloud device in the above embodiment of the method, and the implementation principle thereof is similar, and is not described in detail in the embodiment of the present application.
Compared with the prior art, the cloud device 40 is provided by the embodiment of the application, the game trial play request sent by the terminal device is received, wherein the game trial play request is sent by the terminal device through a linked format, the target game is determined according to the game trial play request, the video stream corresponding to the target game is sent to the terminal device, so that the user can perform game trial play based on the video stream corresponding to the target game, namely the user can directly request the game trial play through the link, the user is not required to download a software development kit corresponding to the game trial play, a preparation stage of the user before the game trial play is omitted, complexity of the game trial play and preparation time of the game trial play are reduced, and user experience can be improved.
The cloud device in the embodiment of the present application is described above from the perspective of the virtual module and the virtual unit, and the terminal device in the embodiment of the present application is described below from the perspective of the virtual module or the virtual unit.
An embodiment of the present application provides a terminal device, as shown in fig. 5, the terminal device 50 may include: a sending module 501 and a receiving module 502, wherein,
the sending module 501 is configured to send a game play request input by a user based on a link format to the cloud device.
Wherein the game play trial request is for requesting a trial play of the target game.
The receiving module 502 is configured to receive a video stream for a target game sent by a cloud device.
In another possible implementation manner of the embodiment of the present application, the terminal device 50 further includes an adjusting module and a playing module, wherein,
and the adjusting module is used for adjusting the format and the playing size information of the video stream according to the specification information of the video stream played by the browser.
And the playing module is used for playing the adjusted video stream through the browser.
The terminal device 50 provided in the embodiment of the present application is suitable for the method embodiment executed by the terminal device in the above method embodiment, and the implementation principle thereof is similar, and is not described in detail in the embodiment of the present application.
Compared with the prior art, the terminal device 50 provided by the embodiment of the application sends the game trial play request input by the user based on the link format to the cloud device, wherein the game trial play request is used for requesting the trial play of the target game, and receives the video stream of the target game sent by the cloud device, so that the user can perform the game trial play based on the video stream corresponding to the target game, namely the user can directly request the game trial play through the link, a software development kit corresponding to the trial play game is not required to be downloaded by the user, a preparation stage of the user before the game trial play is omitted, the complexity of the game trial play and the preparation time of the game trial play are reduced, and the user experience can be improved.
The terminal device according to the embodiment of the present application is described above from the perspective of a virtual module, and the electronic device according to the present application is described below from the perspective of a physical device.
An embodiment of the present application provides an electronic device, where the electronic device may be a cloud device or a terminal device, as shown in fig. 6, an electronic device 4000 shown in fig. 6 includes: a processor 4001 and a memory 4003. Processor 4001 is coupled to memory 4003, such as via bus 4002. Optionally, the electronic device 4000 may further comprise a transceiver 4004. In addition, the transceiver 4004 is not limited to one in practical applications, and the structure of the electronic device 4000 is not limited to the embodiment of the present application.
Processor 4001 may be a CPU, general purpose processor, DSP, ASIC, FPGA or other programmable logic device, transistor logic device, hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor 4001 may also be a combination that performs a computational function, including, for example, a combination of one or more microprocessors, a combination of a DSP and a microprocessor, or the like.
Bus 4002 may include a path that carries information between the aforementioned components. Bus 4002 may be a PCI bus, EISA bus, or the like. The bus 4002 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 6, but this is not intended to represent only one bus or type of bus.
Memory 4003 may be, but is not limited to, a ROM or other type of static storage device that can store static information and instructions, a RAM or other type of dynamic storage device that can store information and instructions, an EEPROM, a CD-ROM or other optical disk storage, an optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
The memory 4003 is used for storing application codes for executing the scheme of the present application, and the execution is controlled by the processor 4001. The processor 4001 is configured to execute the application code stored in the memory 4003 to implement the contents shown in any one of the foregoing method embodiments, wherein the processor 4001 located in the cloud device is configured to execute the application code stored in the memory 4003 located in the cloud device to implement any one of the foregoing method embodiments executed by the cloud device; the processor 4001 located in the terminal device is configured to execute application code stored in the memory 4003 located in the terminal device to implement any of the method embodiments described above as being performed by the terminal device.
An embodiment of the present application provides an electronic device, where the electronic device includes: a memory and a processor; at least one program stored in the memory for execution by the processor, which when executed by the processor, implements: according to the game trial play method and the terminal device, the game trial play request is sent by the terminal device through a linked format, the target game is determined according to the game trial play request, the video stream corresponding to the target game is sent to the terminal device, so that the user can perform game trial play based on the video stream corresponding to the target game, the user can directly request the game trial play through the link, a software development kit corresponding to the trial play game is not required to be downloaded by the user, a preparation stage of the user before the game trial play is omitted, complexity of the game trial play and preparation time of the game trial play are reduced, and user experience can be improved.
An embodiment of the present application provides an electronic device, where the electronic device includes: a memory and a processor; at least one program stored in the memory for execution by the processor, which when executed by the processor, implements: according to the game trial playing method and device, the game trial playing request input by the user based on the link format is sent to the cloud end device, the game trial playing request is used for requesting to try playing of the target game, the video stream, sent by the cloud end device, of the target game is received, the user can conduct game trial playing based on the video stream corresponding to the target game, the user can directly request game trial playing through the link, the software development kit corresponding to the trial playing game does not need to be downloaded by the user, the preparation stage of the user before the game trial playing is omitted, the complexity of the game trial playing and the preparation time of the game trial playing are reduced, and user experience can be improved.
The electronic device of the present application is described above from the perspective of a physical device, and the computer-readable storage medium of the present application is described below from the perspective of a storage medium.
The present application provides a computer-readable storage medium, on which a computer program is stored, which, when running on a computer, enables the computer to execute the corresponding content in the foregoing method embodiments. Compared with the prior art, the game trial play request sent by the terminal device is received, wherein the game trial play request is sent by the terminal device through a linked format, the target game is determined according to the game trial play request, and the video stream corresponding to the target game is sent to the terminal device, so that the user can perform game trial play based on the video stream corresponding to the target game, that is, the user can directly request the game trial play through the link, a software development kit corresponding to the trial play game is not required to be downloaded by the user, a preparation stage of the user before the game trial play is omitted, complexity of the game trial play and preparation time of the game trial play are reduced, and user experience can be improved.
The present application provides a computer-readable storage medium, on which a computer program is stored, which, when running on a computer, enables the computer to execute the corresponding content in the foregoing method embodiments. Compared with the prior art, the game trial playing request input by the user based on the link format is sent to the cloud device, wherein the game trial playing request is used for requesting the trial playing of the target game, and the video stream, which is sent by the cloud device and is aimed at the target game, is received, so that the user can perform the game trial playing based on the video stream corresponding to the target game, that is, the user can directly request the game trial playing through the link, a software development kit corresponding to the trial playing game is not required to be downloaded by the user, a preparation stage of the user before the game trial playing is omitted, the complexity of the game trial playing and the preparation time of the game trial playing are reduced, and the user experience is improved.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
The foregoing is only a partial embodiment of the present application, and it should be noted that, for those skilled in the art, several modifications and decorations can be made without departing from the principle of the present application, and these modifications and decorations should also be regarded as the protection scope of the present application.