WO2021114795A1 - Cloud game live broadcast method, cloud game anchor end, viewer end and computer-readable storage medium - Google Patents

Cloud game live broadcast method, cloud game anchor end, viewer end and computer-readable storage medium Download PDF

Info

Publication number
WO2021114795A1
WO2021114795A1 PCT/CN2020/115990 CN2020115990W WO2021114795A1 WO 2021114795 A1 WO2021114795 A1 WO 2021114795A1 CN 2020115990 W CN2020115990 W CN 2020115990W WO 2021114795 A1 WO2021114795 A1 WO 2021114795A1
Authority
WO
WIPO (PCT)
Prior art keywords
cloud game
cloud
game
audience
control
Prior art date
Application number
PCT/CN2020/115990
Other languages
French (fr)
Chinese (zh)
Inventor
杜晶
林顺
Original Assignee
厦门雅基软件有限公司
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 厦门雅基软件有限公司 filed Critical 厦门雅基软件有限公司
Publication of WO2021114795A1 publication Critical patent/WO2021114795A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4781Games
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/4508Management of client data or end-user data
    • H04N21/4532Management of client data or end-user data involving end-user characteristics, e.g. viewer profile, preferences

Definitions

  • This application relates to the field of Internet technology. Specifically, this application relates to a cloud game live broadcast method, a cloud game host, an audience terminal, and a computer-readable storage medium.
  • This application provides a cloud game live broadcast method, a client and a computer-readable storage medium, which can solve at least one of the above technical problems.
  • the technical solutions are as follows:
  • a cloud game live broadcast method which is executed by the cloud game host, and the method includes:
  • connection notification is sent to the first audience terminal, wherein the connection notification carries the connection information of the master GS, and the connection notification is used to notify the first audience terminal to establish a connection with the master GS ,
  • the first audience terminal is the audience terminal that obtains the control rights of the cloud game;
  • determining the manner in which the audience terminal in the live broadcast room obtains the control rights of the cloud game includes:
  • the first cloud game control right transfer request is sent to a certain audience terminal in the live broadcast room through the cloud interactive signaling server, where the first cloud game control right transfer request carries the identity of the audience terminal receiving the request, and the first cloud game controls
  • the right transfer request is used to invite the audience in the live broadcast room to control the cloud game
  • determining the manner in which the audience in the live broadcast room obtains the control rights of the cloud game includes:
  • the cloud game control right transfer request is used to request the control of cloud games
  • a confirmation message for the second cloud game control right transfer request is sent through the cloud interactive signaling server, and it is determined that the audience in the live broadcast room obtains the cloud game control right.
  • determining the manner in which the audience in the live broadcast room obtains the control rights of the cloud game includes:
  • the confirmation message for the third cloud game control transfer request When receiving the confirmation message for the third cloud game control transfer request, it is determined that the audience in the live broadcast room obtains the cloud game control right, where the confirmation message for the third cloud game control transfer request carries the confirmation message sender The identity of the corresponding audience.
  • the method further includes: disconnecting from the main control GS.
  • pushing multimedia information for the anchor to the live streaming server includes:
  • multimedia information for the host of the cloud game through the multimedia acquisition device, where the multimedia information includes: video data and audio data; and
  • the method further includes:
  • the interactive signaling server in the cloud sends a control right notice to the first audience, and the interactive signaling server in the cloud sends a disconnection notice to the master GS, where the notice of the control right is used to notify the first audience.
  • the host of the cloud game takes back the control of the cloud game, and the disconnect notification is used to notify the master GS to disconnect from the first viewer.
  • the method further includes:
  • a cloud game live broadcast method which is executed by the first audience terminal, and includes:
  • connection notification sent by the cloud game host through the interactive signaling server in the cloud, where the connection notification carries the connection information of the master game server GS, and the connection notification is used to notify the first viewer to establish a connection with the master GS;
  • the method further includes:
  • a notification message for regaining the control right sent by an interactive signaling server in the cloud is received, where the notification message is used to notify the first viewer terminal that the cloud game host terminal reclaims the control right for the cloud game.
  • the method further includes:
  • a cloud game anchor terminal including:
  • the first sending module is configured to send a connection notification to the first audience terminal when the audience terminal in the live broadcast room obtains the control right of the cloud game.
  • the connection notification carries the connection information of the master GS, and the connection notification is used to notify the first audience terminal.
  • the audience terminal establishes a connection with the main control GS, and the first audience terminal is the audience terminal that has the right to control the cloud game;
  • the pull and push module is configured to pull the cloud game picture and sound data from the live streaming server, and push multimedia information for the anchor to the live streaming server, where the cloud game picture and sound data are based on the game at the first audience Generated by control instructions;
  • the cloud tour anchor terminal further includes: a first determining module, wherein:
  • the first determining module is configured to: when determining that the audience terminal in the live broadcast room obtains the control right of the cloud game:
  • the first cloud game control right transfer request is sent to a certain audience terminal in the live broadcast room through the cloud interactive signaling server, where the first cloud game control right transfer request carries the identity of the audience terminal receiving the request, and the first cloud game controls
  • the right transfer request is used to invite the audience in the live broadcast room to control the cloud game;
  • the cloud tour anchor terminal further includes: a second determining module, where:
  • the second determining module is configured to: when determining that the audience terminal in the live broadcast room obtains the control right of the cloud game:
  • the cloud game control right transfer request is used to request the control of cloud games
  • a confirmation message for the second cloud game control right transfer request is sent through the cloud interactive signaling server, and it is determined that the audience in the live broadcast room obtains the cloud game control right.
  • the cloud tour anchor terminal further includes: a third determining module, where:
  • the third determining module is configured to: when determining that the audience terminal in the live broadcast room obtains the control right of the cloud game:
  • the confirmation message for the third cloud game control transfer request When receiving the confirmation message for the third cloud game control transfer request, it is determined that the audience in the live broadcast room obtains the cloud game control right, and the confirmation message for the third cloud game control transfer request carries the confirmation message corresponding to the sender The identity of the audience.
  • the cloud tour anchor terminal further includes: a disconnection module, where:
  • the disconnect module is configured to disconnect from the main control GS.
  • the push module pushes multimedia information for the anchor to the live streaming server, it is configured as follows:
  • multimedia information for the host of the cloud game through the multimedia acquisition device, where the multimedia information includes: video data and audio data; and
  • the cloud tour anchor terminal further includes: a second sending module, where:
  • the second sending module is configured to send a notification to withdraw the control right to the first audience through the interactive signaling server in the cloud, and to send a disconnection notification to the master GS through the interactive signaling server in the cloud, where the control is withdrawn
  • the notification is used to notify the first viewer that the cloud game host will withdraw the control right of the cloud game
  • the disconnect notification is used to notify the master GS to disconnect from the first viewer.
  • the cloud tour anchor terminal further includes: an acquisition module, where:
  • the obtaining module is configured to obtain the identity information corresponding to all the viewers in the live broadcast room from the instant messaging IM live broadcast server in the cloud.
  • the fourth aspect provides an audience terminal, including:
  • the first receiving module is configured to receive the connection notification sent by the cloud game host through the interactive signaling server in the cloud, wherein the connection notification carries the connection information of the master game server GS, and the connection notification is used to notify the first viewer and the host Control GS to establish a connection;
  • Establish a connection module which is configured to establish a connection with the main control GS based on the connection information of the main control GS;
  • the first pull module is configured to pull multimedia information for the anchor from the live streaming server in the cloud.
  • the push module is configured to push the control commands for the game to the main control GS of the cloud game server, so that the main control GS of the cloud game server generates cloud game screen and sound data based on the control command, and pushes the cloud game screen and sound data to stream Live streaming server to the cloud.
  • the audience side further includes: a second receiving module configured to receive the video stream and audio stream pushed by the master GS of the cloud gaming server through the point-to-point P2P real-time protocol, where the video stream and the audio stream are It is obtained by encoding the game screen and sound data generated based on the control instruction by the main control GS of the cloud game server.
  • the audience terminal further includes: a third receiving module configured to receive a notification message for revocation of the control right sent by the interactive signaling server in the cloud, wherein the notification message is used to notify the first audience terminal, The host of the cloud game withdraws the control rights for cloud games.
  • the audience terminal further includes: a second pulling module configured to stop pulling game images and sound data from the live streaming server in the cloud.
  • a cloud game anchor terminal including:
  • One or more processors are One or more processors;
  • One or more application programs where one or more application programs are stored in a memory and configured to be executed by one or more processors, and one or more programs are configured to: execute according to the first aspect or the first aspect The operation corresponding to the cloud game live broadcast method shown in any possible implementation manner.
  • a cloud game anchor terminal including:
  • One or more processors are One or more processors;
  • One or more application programs where one or more application programs are stored in a memory and configured to be executed by one or more processors, and one or more programs are configured to: execute according to the second aspect or the second aspect
  • a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the cloud game live broadcast method shown in the first aspect or any possible implementation manner of the first aspect is implemented.
  • a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the cloud game live broadcast method shown in the second aspect or any possible implementation manner of the second aspect is implemented.
  • This application provides a cloud game live broadcast method, a cloud game host and a computer-readable storage medium.
  • the first viewer when the audience in the live broadcast room obtains the control right of the cloud game, the first viewer
  • the connection notification carries the connection information of the master game server GS.
  • the connection notification is used to notify the first audience terminal to establish a connection with the master GS.
  • the first audience terminal obtains the cloud game control right from the audience terminal, and then from the live broadcast
  • the streaming server pulls the cloud game image and sound data, and pushes multimedia information for the anchor to the live streaming server to realize the cloud game live broadcast.
  • the cloud game image and sound data are generated based on the game control instructions of the first viewer.
  • the viewer in the live room can control the cloud game, and the cloud game host can pull the viewer’s control screen and sound data for the cloud game from the live streaming server, and push the multimedia information about the host.
  • the live streaming server it can realize the combination of cloud game control and live broadcasting.
  • This application provides a cloud game live broadcast method, an audience terminal, and a computer-readable storage medium.
  • this application receives a connection notification sent by a cloud game host through an interactive signaling server in the cloud, and the connection notification carries the host Control the connection information of the game server GS, the connection notification is used to notify the first audience to establish a connection with the main control GS, and then establish a connection with the main control GS based on the connection information of the main control GS, and then pull the target from the live streaming server in the cloud
  • the host’s multimedia information, and the game-specific control instructions are pushed to the cloud game server's main control GS, so that the cloud game server's main control GS generates cloud game screen and sound data based on the control instructions, and pushes it to the cloud live streaming server.
  • the viewer terminal that obtains the control right in the live room pulls the multimedia information for the anchor from the live streaming server, and connects with the main control GS, controls the cloud game and pushes the control instructions to the main control GS, so that The main control GS pushes the cloud game picture and sound data generated based on the control instruction to the live streaming server, thereby realizing the combination of cloud game control and live broadcast.
  • FIG. 1 is a schematic flowchart of a cloud game live broadcast method executed by a cloud game host provided by an embodiment of the application;
  • FIG. 2 is a schematic flowchart of a cloud game live broadcast method executed by a first audience terminal according to an embodiment of the application
  • FIG. 3 is a schematic diagram of a device structure of a cloud tour anchor terminal provided by an embodiment of the application.
  • FIG. 4 is a schematic structural diagram of a first audience device provided by an embodiment of the application.
  • FIG. 5 is a schematic structural diagram of a physical device on the anchor end of a cloud game provided by an embodiment of the application;
  • FIG. 6 is a schematic structural diagram of another physical device of the first audience terminal provided by an embodiment of the application.
  • Figure 7 is a schematic diagram of the host and viewers pushing and pulling streams through the live streaming server
  • FIG. 8 is a schematic diagram of establishing a connection between a cloud game server and a live streaming server in an embodiment of the application
  • Fig. 9 is a schematic diagram of an example of cloud game live broadcast in an embodiment of the application.
  • Game live broadcast uses a platform consistent with other scenarios, such as talent live broadcasts.
  • the live broadcast system distributes the content of the host to multiple viewers in the live room.
  • the video must be sliced and buffered.
  • the live broadcast of the host generally uses the real-time message transmission protocol (Real Time Messaging Protocol, RTMP) as an application layer protocol, that is, the anchor end pushes RTMP streams to the live streaming server, and the streaming generally uses RTMP, HTTP-based streaming media network transmission protocol (HTTP Live Streaming, HLS) or HDL (full English name: HTTP) Deliver Living) (or HLV (full English name: HTTP Live Video)) and other protocols, among which the transport layer protocols corresponding to the push and pull streams are the Transmission Control Protocol (TCP) protocol, as shown in Figure 7. Show.
  • TCP Transmission Control Protocol
  • the realizing process of the game live broadcast includes: a live streaming process at the host end and a process of viewers pulling the stream to watch the live broadcast.
  • the live streaming process of the host includes: when the host logs in to the live account and enters the management page to create a new live room, obtain the address of the push server, the port of the push server, and the authorization key; then the host opens the instant messaging (Instant Messaging) , IM) tool, after logging in to the live account, enter the live room to have video and graphic chat with the audience in the live room; then run the local native game, open OBS (Open Broadcaster Software) to complete the necessary settings for screen recording and streaming , Start to push the stream to the corresponding push server in the live broadcast room, so that the audience can obtain the game picture and sound of the host;
  • IM Instant Messaging
  • OBS Open Broadcaster Software
  • the process of live streaming from the audience includes: when the audience enters the live broadcast room by logging in to the live broadcast account (or as a visitor), it can chat with the anchor in the live broadcast room and other audiences in video and text at the same time. In the case of streaming at the host end, you can also watch the game process that the host may be doing.
  • the live broadcast system needs to be rebuilt, which is costly, time-consuming and labor-intensive;
  • the audience in the live broadcast room can only watch the host For the control of cloud games on your own terminal, you cannot directly establish in-game interaction with the host in the live broadcast platform;
  • the account number and password are passed to the audience, which leads to the disclosure of the host’s account and key, causing trouble to the user;
  • the cloud game live broadcast method, client and computer-readable storage medium provided in this application are intended to solve the above technical problems in the prior art.
  • the cloud game live broadcast method can be applied to a cloud game live broadcast system, and the system may include: a cloud game host, the cloud, and each audience terminal (the first audience terminal and other audience terminals) in the live broadcast room, where the cloud includes : Live IM (instant messaging) server, interactive signaling server, live streaming server, cloud travel server, where cloud travel server includes: a certain game instance running in it, game service (Game Service, GS), in which each live room is generally There is only one GS that controls the main character in the game (master GS for short); further, the host of the cloud game can interact with the audiences in the live room through the live IM server; the host of the cloud game can communicate with the live broadcast through the interactive signaling server Information exchange between the various audience ends of the game; the host of the cloud game can directly exchange information with the various audience ends of the live room through the live streaming server; the host of the cloud game exchanges information with the host of the cloud through the cloud game server and the live streaming server.
  • Live IM instant messaging
  • cloud travel server includes: a
  • both the first viewer terminal and the cloud tour anchor terminal can exchange information with the cloud tour server (including the master GS) through a P2P connection.
  • the following embodiments respectively introduce the method of cloud game live broadcast from the perspective of the cloud game host and the first audience terminal, and the cloud game live broadcast method from the perspective of interaction between the cloud game host and the first audience terminal .
  • the embodiment of the application provides a cloud game live broadcast method. As shown in FIG. 1, it is executed by the cloud game host, where the cloud game host is the client corresponding to the host performing the cloud game live broadcast.
  • the method includes:
  • Step S101 When the audience terminal in the live broadcast room obtains the control right of the cloud game, a connection notification is sent to the first audience terminal.
  • connection notification carries the connection information of the master GS
  • the connection notification is used to notify the first audience terminal to establish a connection with the master GS
  • the first audience terminal is the audience terminal that obtains the control right of the cloud game.
  • the connection information may include at least one of the following: the identity of the master GS (Identity, Id), the Id of the live broadcast room, the host Id, and the authentication token for the current control transfer of the host. , Id of the first audience, the name of the game running in the cloud, and other information.
  • the cloud game host in a live room can transfer cloud game control to any viewer in the live room.
  • the cloud game host sends The first audience terminal sends a connection request to request the first audience terminal to establish a connection with the master GS in the live broadcast room.
  • the audience terminal that obtains the control right of the cloud game is the audience terminal that can perform cloud game control in place of the anchor.
  • a live room corresponds to a master GS.
  • the cloud game host After the cloud game host will determine the audience (first audience) that has the control right of the cloud game, it will send the interactive signaling server to the one who has the control right of the cloud game.
  • the audience terminal sends a connection notification, so that the audience terminal (the first audience terminal) that has obtained the control right establishes a connection with the corresponding master GS based on the connection information of the master GS carried in the received connection notification.
  • the audience terminal (the first audience terminal) who has obtained the control of the cloud game establishes a connection with the master GS
  • the audience terminal (the first audience terminal) who has the control of the cloud game can control the cloud game through the P2P connection
  • the instructions are pushed to the main control GS, so that the main control GS simulates the game control instructions in the target game instance running in the cloud, obtains the game screen and sound data, and pushes them to the live streaming server, so as to realize the live streaming from the cloud game host in step S102
  • the cloud game screen and sound data are pulled from the streaming server, and the specific process is detailed in the following embodiments.
  • the game instance is the actual running game process.
  • the instance is the concrete representation of the object
  • the operation can act on the instance
  • the instance can store the result of the operation in a stateful manner.
  • Step S102 Pull the cloud game picture and sound data from the live streaming server, and push multimedia information for the anchor to the live streaming server, so as to realize the cloud game live broadcast.
  • the cloud game picture and sound data are generated based on the game control instructions of the first audience terminal for the cloud game in the connected master GS.
  • the cloud game host can pull cloud game screen and sound data from the live streaming server.
  • the audience terminal the first audience terminal who has the right to control the cloud game
  • Other viewers can pull cloud game images and sound data from the live streaming server.
  • the multimedia information (video and audio) of the host that can be obtained by the cloud game host is pushed to the live streaming server, so that each viewer in the live room can pull the host-specific multimedia information from the live streaming server, and obtain and
  • the method of pushing multimedia information for the anchor is detailed in the following embodiments. I won't repeat them here.
  • the embodiment of the application provides a cloud game live broadcast method.
  • a connection notification is sent to the first audience terminal, and the connection notification carries the master GS Connection information.
  • the connection notification is used to notify the first audience terminal to establish a connection with the master GS.
  • the first audience terminal is the audience terminal that has obtained the control right of the cloud game. Then it pulls the cloud game screen and sound data from the live streaming server and sends it to The live streaming server pushes the multimedia information for the anchor to realize the cloud game live broadcast.
  • the cloud game picture and sound data are generated based on the game control instructions of the first viewer.
  • the viewer in the live broadcast room can control the cloud game, and the cloud game host can pull the viewer’s control screen and sound data for the cloud game from the live streaming server, and update the host’s multimedia
  • the information is pushed to the live streaming server, so that the control of cloud games and the live broadcast can be combined.
  • a possible implementation of the embodiment of the present application is to determine the manner in which the audience terminal in the live broadcast room obtains cloud game control rights, including: sending the first cloud game control to a certain audience terminal in the live broadcast room through an interactive signaling server in the cloud
  • the first cloud game control right transfer request carries the identity of the audience terminal receiving the request, and the first cloud game control right transfer request is used to invite the audience terminal in the live broadcast room to control the cloud game;
  • the confirmation message of the game control transfer request it is determined that the audience terminal in the live broadcast room obtains the cloud game control.
  • the cloud game host detects the cloud game control right transfer operation triggered by the host, it sends the first cloud game control right transfer request to the cloud interactive signaling server, so that the cloud interactive signaling server controls the cloud game according to the first cloud game control.
  • the right transfer request carries the identity of the viewer that receives the request, and sends the first cloud game control right transfer request to the corresponding viewer.
  • the cloud game host receives the viewer through the cloud interactive signaling server
  • the end is based on the confirmation message of the first cloud game control transfer request
  • the audience terminal corresponding to the carried identifier of the audience terminal receiving the request is called, for example, the first audience terminal.
  • the first cloud game control right transfer request may carry at least two identities corresponding to the audience terminals, and the cloud interactive signaling server sends the first cloud game control right transfer request to the corresponding audience terminals.
  • the cloud game host receives the confirmation message for the control of the first cloud game for the first time, it is determined that the audience terminal in the live broadcast room has obtained the cloud game control instruction, and the audience terminal that has obtained the cloud game control instruction is the first time that it has received the confirmation message for the first cloud game control.
  • the sender corresponding to the confirmation message of the game control right can also determine the viewer who has the control right based on the anchor’s selection operation when the confirmation message sent by at least two viewers is received, and determine the audience in the live broadcast room.
  • the audience side obtains the right to operate.
  • the mobile game host can also randomly select one of the at least two audience sides that send the confirmation message as the audience side that has the control right, and determines that the audience side in the live broadcast room has the control right.
  • the host of the cloud game sends the first cloud game control right transfer request to the audience A and the audience B through the interactive signaling server in the cloud. If the confirmation message from the audience A is first received, the audience who has the control right is determined The end is the viewer end A, and it is determined that the viewer end in the live room has the control right; or, after receiving the confirmation message sent by the viewer end A and the viewer end B separately, the cloud tour host end determines the viewer end based on the host's selection operation B is the viewer who has the right to control, and it is determined that the viewer in the live room has the right to control; or, after receiving the confirmation messages sent by the viewer A and the viewer B respectively, the Yunyou host randomly selects the audience Terminal A is the audience terminal that has the control right, and it is determined that the audience terminal in the live broadcast room has the control right.
  • Another possible implementation of the embodiment of the present application is to determine the manner in which the audience terminal in the live broadcast room obtains the cloud game control right, including: receiving the second cloud game control right sent by any audience terminal through the cloud interactive signaling server Transfer request.
  • the second cloud game control right transfer request carries the identity information of the viewer who sent the second cloud game control right transfer request.
  • the second cloud game control right transfer request is used to request control of the cloud game and is sent through the cloud interactive signaling server In response to the confirmation message of the second cloud game control right transfer request, it is determined that the audience terminal in the live broadcast room obtains the cloud game control right.
  • the anchor end of the cloud game can display it to the anchor.
  • the anchor end of the cloud game will respond to The confirmation message of the second cloud game control right transfer request is sent to the corresponding audience terminal through the interactive signaling server in the cloud, so as to confirm that the audience terminal in the live broadcast room obtains the cloud game control right.
  • the mobile game host After the mobile game host receives the second game control transfer request sent by at least two viewers within a preset time period, it can be displayed to the host, and then based on the host’s selection and manipulation, the viewer that has the control right is determined. And send a confirmation message for the second cloud game control transfer request sent by it; or based on the order in which the control transfer request is received, determine the audience that has the control right, and send the second cloud game sent to it.
  • a confirmation message for the transfer request of the game control right; or the cloud game host can randomly determine the viewer terminal that has the control right, and send a confirmation message for the second cloud game control transfer request sent by it.
  • the host of the cloud game receives the second game control transfer request sent by the viewer C and the viewer D within 1 minute, and displays it to the host. Based on the host's selection operation, it is determined that the viewer C is the viewer with the control rights. At the end, it sends a confirmation message for the second cloud game control transfer request to the audience C; or the cloud game host receives the second game control transfer request sent by the audience C and the audience D separately within 1 minute, And first receives the request of the audience terminal C, it is determined that the audience terminal C is the audience terminal that has the control right, and then the confirmation message for the second cloud game control right transfer request is sent to the audience terminal C, and it is determined that the audience terminal has obtained the cloud game Control; or, the cloud game host randomly selects the audience terminal D as the audience terminal that has the control right, and sends a confirmation message for the second cloud game control right transfer request to the audience terminal D, and determines that the audience terminal obtains the cloud game Control.
  • the host of the cloud game determines the audience that sends the cloud game transfer request, and sends the first cloud game control right transfer request to the determined audience, and then determines that the audience obtains the cloud game. Control; (2) The cloud game host directly receives the second cloud game control transfer request sent by the audience, and then determines the audience that has the control right to determine that the audience has the control of the cloud game. Of course, it can also be controlled by the audience.
  • the interactive signaling server in the cloud determines the audience end that receives the cloud game transfer request. For details, refer to the following embodiments.
  • Another possible implementation of the embodiment of the present application is to determine the manner in which the audience terminal in the live broadcast room obtains cloud game control rights, including: sending a third cloud game control right transfer to any audience terminal through the cloud interactive signaling server The request, where the audience that receives the third cloud game control right transfer request is determined by the cloud interactive signaling server; when the confirmation message for the third cloud game control right transfer request is received, the audience in the live broadcast room is determined
  • the terminal obtains the control right of the cloud game, and the confirmation message for the third cloud game control right transfer request carries the identity of the audience terminal corresponding to the sender of the confirmation message.
  • the cloud game host sends a third cloud game control right transfer request.
  • the cloud interactive signaling server receives the transfer request, it determines the audience that receives the third cloud game control right transfer request, and then transfers the third cloud game control right transfer request.
  • Three cloud game control transfer request is pushed to the corresponding audience.
  • the interactive signaling server in the cloud can randomly determine the audience side that receives the third cloud game control right transfer request, and can also obtain the control right record based on history to determine to receive the third cloud game control The audience side of the right transfer request.
  • the method of determining the viewer terminal receiving the third cloud game control right transfer request based on other methods is within the protection scope of the embodiment of the present application.
  • the method of determining the audience terminal to obtain the control right and the method of determining the audience terminal obtaining the cloud game control right are as described in the above-mentioned embodiment The method is similar, so I won't repeat it here.
  • the cloud game host transfers the control of the cloud game to a certain viewer in the live broadcast room. At this time, the cloud game host does not need to connect with the master GS at this time. Therefore, in this embodiment of the application , Also includes: disconnect the connection with the master GS.
  • the disconnection operation with the master GS can be performed; of course, the connection with the master GS can also be disconnected at the same time or after the connection notification is sent. Operation, or when it is detected that the audience terminal (the first audience terminal) that has obtained the control right establishes a connection with the master GS, the connection operation with the master GS is disconnected.
  • the specific execution sequence is not limited in the embodiments of the present application. Any possible execution order falls within the protection scope of the embodiments of this application.
  • Pushing multimedia information for the host to the live streaming server includes: obtaining the multimedia information for the host through the multimedia acquisition device; pushing the multimedia information for the host to the live streaming server through RTMP streaming, so that each viewer can pull from the live streaming server Get multimedia information for the anchor.
  • multimedia information includes: video data and audio data.
  • the anchor end of the cloud game obtains the anchor's video data through the camera, and obtains the anchor's audio data through the microphone, and pushes the obtained video data and audio data to the live streaming server through RTMP streaming, so that each audience in the live room (Including the first audience terminal and other audience terminals) pull the anchor's video data and audio data from the live streaming server.
  • the above-mentioned acquired multimedia information for the host may also include multimedia information when the host of the cloud tour is connected to microphones and multi-person meetings. Therefore, the embodiment of the application does not affect the interaction of the host of the cloud tour with other viewers and other hosts.
  • chat information and gift information in addition to cloud game picture and sound data, and multimedia information for the anchor, it may also include chat information and gift information.
  • the chat information input by the cloud game anchor on the public screen can be broadcast
  • the IM server is transmitted to each audience in the live room.
  • the chat information input by any audience in the live room on the public screen can also be transmitted to the cloud game host and each audience through the live IM server.
  • any audience can give it away.
  • the gift information for the host can also be transmitted to the cloud tour host and each audience through the live IM server, so as to display the gift information given by the audience at the corresponding location.
  • the cloud game host only transfers the control of the cloud game to the audience (the first audience). In fact, the cloud game host still has the control of the cloud game, that is, it can take back the first audience’s control of the cloud game at any time. Control rights, as follows:
  • Another possible implementation manner of the embodiment of the present application further includes: sending a notification of taking back the control right to the first audience through the interactive signaling server in the cloud, and sending disconnection to the master GS through the interactive signaling server in the cloud Notice.
  • step of sending a notification of taking back the control right to the first audience through the interactive signaling server in the cloud there is no difference between the step of sending a notification of taking back the control right to the first audience through the interactive signaling server in the cloud and the step of sending a disconnection notification to the master GS through the interactive signaling server in the cloud.
  • Strict order that is, the two can be performed at the same time, and one of the steps can be performed before the other.
  • the notice of taking back the control right is used to notify the first viewer end
  • the cloud game host end takes back the control right of the cloud game
  • the disconnect notice is used to notify the master GS to disconnect from the first viewer end.
  • the audience side in the live broadcast room can send a notification of taking back the control right to the interactive signaling server in the cloud, so that the interactive signaling server in the cloud can send the control right request to the audience side (first The audience side) sends a notification of taking back the control right.
  • the audience side that has obtained the control right can only display "The cloud game host has taken back the control right of the cloud game and will not be able to control the cloud game after XXX time" and so on.
  • the cloud game host sends a disconnection notification to the master GS through the interactive signaling server in the cloud, so that the master GS receiving the disconnection notification will disconnect after a preset time and the viewer terminal that has the control right (The first audience) connection.
  • the main control GS starts a countdown after receiving the disconnection notification, and actively disconnects the connection with the audience terminal (the first audience terminal) that has the control right after the countdown ends.
  • the cloud game host can send a withdrawal control notification to the first viewer at any time, and the cloud game control right can be withdrawn without the first viewer’s consent, that is, the cloud game host has absolute control of the cloud game. This can ensure that the cloud game host is in control of the cloud game live broadcast and enhance the experience of the host.
  • the game control can also be transferred to another audience side in the above manner.
  • the game control can also be transferred again on the same audience side.
  • the specific method is shown above, here No longer.
  • the audience end (the first audience end) that has obtained the control right can also transfer the control right of the game to another audience end in the live broadcast room.
  • the specific operation process is as follows:
  • the first viewer end sends a control right transfer request to another viewer end, either through the interactive signaling server or not through the interactive signaling server;
  • the first viewer end sends a control right transfer request to another viewer end, it first sends a request whether to allow the control right transfer to the cloud tour host end, and the request carries the identity information of the viewer end to be controlled.
  • the first audience terminal receives the confirmation control of the control right transfer request from the other audience terminal, either through the interactive signaling server or not through the interactive signaling server;
  • the first audience terminal sends a connection notification to the other audience terminal, carrying the connection information of the master GS, so that the other audience terminal establishes a connection with the master GS;
  • the first audience terminal is disconnected from the main control GS, and the sequence of this step and (2) and (3) is not limited;
  • the main control GS receives the control instruction from the other audience side, simulates the corresponding control, obtains the game screen and sound data, and pushes the game screen and sound data to the live streaming server;
  • the first audience terminal, the cloud game host terminal, and other audience terminals (except the first audience terminal and the other audience terminal) pull the game screen and sound data from the live streaming server;
  • the anchor end of the cloud game will still push the multimedia information for the anchor to the live streaming server, so that each viewer end can pull the multimedia information for the anchor.
  • the anchor still has the control right to withdraw the authority, and the specific method is similar to the above withdrawal method, and will not be repeated.
  • the cloud game transfer request can be re-sent to other viewer terminals, and of course it can continue.
  • Control cloud games may also send a request to the cloud game host to request the cloud game host to withdraw its cloud game control rights.
  • the method further includes: obtaining the identity information corresponding to all the viewers in the live room from the instant messaging IM live server in the cloud.
  • the step of obtaining the identity information corresponding to all the viewers in the live broadcast room from the IM live broadcast server in the cloud may be performed before sending the connection notification to the first viewer, or may be located at the interactive signaling server in the cloud to the live broadcast.
  • a certain viewer terminal sends the first cloud game control right transfer request Before a certain viewer terminal sends the first cloud game control right transfer request, of course, it can also be located at the same time or after the cloud game anchor terminal logs in to the live broadcast room. It is not limited in the embodiments of this application.
  • the foregoing embodiment mainly introduces the cloud game live broadcast method from the perspective of the cloud game host.
  • the following describes the cloud game live broadcast method mainly from the first viewer terminal (the viewer terminal that obtains the control right). For details, refer to the following embodiments.
  • the embodiment of the present application also provides another cloud game live broadcast method, as shown in FIG. 2, executed by the first audience terminal, including:
  • Step S201 Receive a connection notification sent by the cloud game host through the interactive signaling server in the cloud.
  • connection notification carries the connection information of the master GS, and the connection notification is used to notify the first audience to establish a connection with the master GS.
  • the manner in which the first viewer terminal receives the connection notification sent by the cloud game host through the cloud interactive signaling server and the connection information of the master GS are detailed in the above-mentioned embodiment, and will not be repeated here.
  • Step S202 Establish a connection with the main control GS based on the connection information of the main control GS.
  • the first audience terminal establishes a P2P connection with the main control GS based on the received connection information of the main control GS.
  • the cloud game control can be realized only after the first audience terminal establishes a connection relationship with the main control GS.
  • Step S203 Pull multimedia information for the anchor from the live streaming server in the cloud, and push the game-specific control instructions to the main control GS of the cloud game server, so that the main control GS of the cloud game server generates cloud game images and images based on the control instructions.
  • the audio data is pushed to the live streaming server in the cloud.
  • the first viewer terminal obtains the viewer's control instructions for the cloud game, and pushes the control instructions for the cloud game to the master GS through the P2P real-time protocol stream, so that the master GS corresponds to the target game instance running in the cloud
  • the game control instructions are simulated in the game control command, and based on the control result, the game picture and sound data are generated, and streamed to the live streaming server, so that the cloud game host and other viewers can pull the game picture and sound data from the live streaming server.
  • the cloud game host and other viewers can pull the game screen and sound data by pulling RTMP streams, HLS streams or other protocol streams.
  • the first viewer and other viewers still pull multimedia information for the anchor from the live streaming server.
  • the embodiment of the application provides a cloud game live broadcast method.
  • the embodiment of the application receives a connection notification sent by a cloud game host through an interactive signaling server in the cloud, and the connection notification carries the connection information of the master GS .
  • the connection notification is used to notify the first audience to establish a connection with the master GS, and then establish a connection with the master GS based on the connection information of the master GS, and then pull the multimedia information for the anchor from the live streaming server in the cloud, and
  • the game control commands are pushed to the main control GS in the cloud game server, so that the main control GS in the main control GS of the cloud game server generates cloud game screen and sound data based on the control instructions, and pushes them to the live streaming server in the cloud.
  • the viewer terminal that obtains the control right in the live room pulls the multimedia information for the anchor from the live streaming server, and connects with the main control GS, controls the cloud game and pushes the control instructions to the main control GS, so that The main control GS pushes the cloud game picture and sound data generated based on the control instruction to the live streaming server, thereby realizing the combination of cloud game control and live broadcast.
  • Another possible implementation manner of the embodiment of the present application is to establish a connection with the main control GS based on the connection information of the main control GS, and then further includes: stopping to pull the game screen and sound data from the live streaming server in the cloud.
  • the first audience terminal since the first audience terminal obtains the control right of the cloud game, that is, the first audience terminal controls the cloud game, the first audience terminal stops the live broadcast from the cloud after establishing a connection relationship with the master GS Pull the game screen and sound data from the streaming server. But it still pulls multimedia information for the anchor.
  • the first audience end pushes the control instructions for the game to the main control GS of the cloud game server
  • the first audience also needs to obtain the control instructions for the cloud game. Therefore, after pushing the control instructions for the game to the cloud game server, it also includes: receiving the video stream and audio stream pushed by the main control GS of the cloud game server through the point-to-point P2P real-time protocol.
  • the video stream and audio stream are from the cloud game server
  • the main control GS is obtained by encoding the game picture and sound data generated based on the control command.
  • the main control GS in the cloud game server generates cloud game picture and sound data based on the control instruction, and can also encode it to obtain the corresponding video stream and audio stream, and push the video stream and audio stream to Live streaming server, and push the video stream and audio stream to the first audience (the audience with the control right) through the P2P real-time protocol, that is, the first audience receives the video stream and audio pushed by the master GS in the cloud game server flow.
  • the first audience terminal only obtains the control right of the cloud game, but the cloud game host terminal can withdraw the control right of the first audience terminal for the cloud game at any time.
  • the method further includes: receiving the cloud-based interactive signaling server. The notification message of taking back the control right.
  • the notification message is used to notify the first viewer end that the cloud game anchor end takes back the control right for the cloud game.
  • the master GS needs to push the control result (cloud game screen and sound data) to the live streaming server, because Before controlling the cloud game, the master GS and the host streaming server need to establish a connection relationship; specifically, the master GS receives the streaming address and key sent by the Yunyou host, and the push address and key are when the Yunyou host logs in to the live room The obtained push stream address and key; the master control GS updates the stored push stream address based on the received push stream address; the master control GS sends the connection carrying the key to the live streaming server based on the updated push stream address Request to establish a connection between the live streaming server and the cloud game server.
  • the master GS after the master GS receives the push stream address and key sent by the host of Yunyou, it can also update the stored push stream address according to the received push stream address, and directly according to the received push stream address.
  • the push stream address sends a connection request carrying the key to the host stream server.
  • the host obtains the push address and key, and then the Yunyou host receives the push address and key entered by the user (host) on the page side, and will push the address when starting the game
  • the key is transmitted to the main control GS of the cloud game server
  • the main control GS updates the stored push stream address, and sends a connection request carrying the key to the live stream server based on the updated push stream address, so that the live stream server
  • the verification is based on the key, and after the verification is passed, a connection between the live streaming server and the master GS of the cloud game server is realized, as shown in Fig. 8.
  • the host of the cloud game obtains the corresponding identities of each audience in the live room from the live IM server in the cloud through the live SDK;
  • the host of the cloud game sends a cloud game control right transfer request to a certain audience through the interactive signaling server in the cloud;
  • the audience terminal that has obtained the control right establishes a P2P connection with the main control GS (at this time, the control command for cloud games can be sent to the main control GS);
  • the viewer terminal that has obtained the control right sends a connected notification message to the cloud tour host through the interactive signaling server to notify the cloud tour host, and the viewer terminal that has the control right establishes a connection with the master GS;
  • the main control GS pushes the game screen and sound data to the live streaming server
  • the host of the tour pushes the multimedia information for the host to the live streaming server;
  • a viewer terminal pulls multimedia information for the anchor from the live streaming server.
  • the host of the cloud game sends a notice of revocation of the control right through the interactive signaling server to the audience that has the control right, and sends a disconnection notice to the master GS through the interactive signaling server, so that the master GS is disconnected and the audience who has the control right P2P connection at the end.
  • the cloud game host only transfers the cloud game control rights to a certain audience, and does not need to transmit the game account and key, so as to avoid the leakage of the game account and key, resulting in insecure information. Circumstances, and improve the interaction between the anchor and the audience.
  • the cloud game host when the cloud game host has the cloud game control right, the cloud game host connects to the master GS through P2P to push the cloud game control instructions to the master GS, and then the master GS will The game screen and sound data generated by the cloud game control instruction is pushed to the live streaming server in the cloud, so that each viewer in the live room can pull the game screen and sound data from the live streaming server in the cloud; and, cloud travel The host can also push the acquired multimedia information for the host to the live streaming server in the cloud, so that each viewer in the live room can pull the corresponding multimedia information for the host from the live streaming server in the cloud.
  • any viewer in the room pulls the corresponding data, it can send a request message to the live streaming server to request the type of data to be pulled. If the requested data is the multimedia information of the host, or the cloud game screen and For audio data, pull the multimedia information for the anchor or cloud game picture and sound data from the live streaming server in the cloud.
  • the cloud The live streaming server can synthesize the multimedia information for the host and the cloud game picture and sound data into a stream through image superposition or image synthesis processing, and the viewer can pull the stream to obtain the multimedia information for the host And cloud game screen and sound data; of course, after the cloud game host end transfers the control of the cloud game to a certain audience in the live room (the first audience), other audiences in the live room (except the first audience) When pulling data from the live streaming server, it is also applicable to the above-mentioned pulling method, which will not be repeated here.
  • the main control GS can be integrated into the game instance, or of course, can also exist separately. This is not limited in the embodiments of the present application.
  • the above-mentioned embodiments respectively introduced the cloud game host end executing cloud game live broadcast method and the first audience end executing cloud game live broadcast method from the perspective of the method flow.
  • the following introduces a cloud game host end from the perspective of a virtual module or a virtual unit.
  • the first audience terminal, the cloud game anchor terminal and the first audience terminal introduced in the embodiments of the present application may be applicable to the foregoing method embodiments, and will not be repeated here.
  • the cloud game anchor terminal 30 may include: a first sending module 31, a pull and push module 32, wherein:
  • the first sending module 31 is configured to send a connection notification to the first audience terminal when the audience terminal in the live broadcast room obtains the control right of the cloud game.
  • connection notification carries the connection information of the master GS
  • the connection notification is used to notify the first audience terminal to establish a connection with the master GS
  • the first audience terminal is the audience terminal that obtains the control right of the cloud game.
  • the pull and push module 32 is configured to pull the cloud game picture and sound data from the live streaming server, and push multimedia information for the anchor to the live streaming server, so as to realize the cloud game live broadcast.
  • the cloud game picture and sound data are generated based on the game control instructions of the first audience terminal.
  • the cloud tour anchor terminal 30 further includes: a first determining module, wherein:
  • the first determining module determines that the audience terminal in the live broadcast room obtains the control right of the cloud game, it is specifically configured as follows:
  • the first cloud game control right transfer request is sent to a certain audience in the live broadcast room through the cloud interactive signaling server.
  • the first cloud game control right transfer request carries the identity of the audience receiving the request.
  • the first cloud game control right transfer The request is used to invite the audience in the live broadcast room to control the cloud game;
  • the cloud tour anchor terminal 30 further includes: a second determining module, wherein:
  • the second determining module is configured to: when determining that the audience terminal in the live broadcast room obtains the control right of the cloud game:
  • the second cloud game control right transfer request carries the identity information of the viewer who sent the second cloud game control right transfer request, and the second cloud The game control transfer request is used to request the control of cloud games,
  • a confirmation message for the second cloud game control right transfer request is sent through the cloud interactive signaling server, and it is determined that the audience in the live broadcast room obtains the cloud game control right.
  • the cloud tour anchor terminal 30 further includes: a third determining module, wherein:
  • the third determining module is configured to: when determining that the audience terminal in the live broadcast room obtains the control right of the cloud game:
  • the confirmation message for the third cloud game control transfer request When the confirmation message for the third cloud game control transfer request is received, it is determined that the audience in the live broadcast room obtains the cloud game control.
  • the confirmation message for the third cloud game control transfer request carries the audience corresponding to the sender of the confirmation message The identity of the terminal.
  • the cloud tour anchor terminal 30 further includes: a disconnection module, where:
  • the disconnect module is configured to disconnect from the main control GS.
  • the pushing module 33 when the pushing module 33 pushes the multimedia information for the anchor to the live streaming server, it is configured to:
  • the multimedia information includes: video data and audio data;
  • the cloud tour anchor terminal 30 further includes: a second sending module, where:
  • the second sending module is configured to send a notification of taking back the control right to the first audience through the interactive signaling server in the cloud, and to send a disconnection notification to the master GS through the interactive signaling server in the cloud, and the notification of taking back the control right is used for
  • the first viewer is notified that the cloud game host will withdraw the control of the cloud game, and the disconnect notification is used to notify the master GS to disconnect from the first viewer.
  • the cloud tour anchor terminal 30 further includes: an acquisition module, wherein:
  • the obtaining module is configured to obtain the identity information corresponding to all the viewers in the live broadcast room from the instant messaging IM live broadcast server in the cloud.
  • the embodiment of the application provides a cloud game host. Compared with the prior art, the embodiment of the application sends a connection notification to the first audience terminal when the audience terminal in the live broadcast room obtains the control right of the cloud game, and the connection notification carries the host Control the connection information of the GS, the connection notification is used to notify the first audience to establish a connection with the master GS.
  • the first audience is the audience that has the control of the cloud game, and then pulls the cloud game screen and sound data from the live streaming server , And push the multimedia information for the anchor to the live streaming server to realize the cloud game live broadcast.
  • the cloud game picture and sound data are generated based on the game control instructions of the first viewer.
  • the viewer in the live room can control the cloud game, and the cloud game host can pull the viewer’s control screen and sound data for the cloud game from the live streaming server, and then update the host’s multimedia The information is pushed to the live streaming server, so that the control of cloud games and the live broadcast can be combined.
  • the embodiment of the present application also provides a first audience terminal.
  • the first audience terminal 40 may include: a first receiving module 41, a connection establishing module 42, a first pulling module 43, and a pushing module 44, among them,
  • the first receiving module 41 is configured to receive the connection notification sent by the cloud game host through the interactive signaling server in the cloud.
  • connection notification carries the connection information of the master GS, and the connection notification is used to notify the first audience to establish a connection with the master GS.
  • the connection establishment module 42 is configured to establish a connection with the main control GS based on the connection information of the main control GS.
  • the first pulling module 43 is configured to pull multimedia information for the host from the live streaming server in the cloud.
  • the push module 44 is configured to push the control commands for the game to the main control GS of the cloud game server, so that the main control GS of the cloud game server generates cloud game screen and sound data based on the control instructions, and pushes it to the live streaming server in the cloud .
  • the first audience terminal 40 further includes: a second receiving module, wherein:
  • the second receiving module is configured to receive the video stream and audio stream pushed by the main control GS of the cloud game server through the point-to-point P2P real-time protocol.
  • the video stream and audio stream are generated by the main control GS of the cloud game server based on the control instructions. Sound data is encoded.
  • the first audience terminal 40 further includes: a third receiving module, wherein:
  • the third receiving module is configured to receive the notification message of reclaiming the control right sent by the interactive signaling server in the cloud.
  • the notification message is used to notify the first viewer end that the cloud game anchor end takes back the control right for the cloud game.
  • the first audience terminal 40 further includes: a second pull module, wherein:
  • the second pulling module is configured to stop pulling the game screen and sound data from the live streaming server in the cloud.
  • the embodiment of the application provides a first viewer terminal.
  • the embodiment of the application receives a connection notification sent by the cloud game host through the interactive signaling server in the cloud, and the connection notification carries the connection information of the master GS .
  • the connection notification is used to notify the first audience to establish a connection with the master GS, and then establish a connection with the master GS based on the connection information of the master GS, and then pull the multimedia information for the anchor from the live streaming server in the cloud, and
  • the control commands for the game are pushed to the main control GS of the cloud game server, so that the main control GS of the cloud game server generates cloud game screen and sound data based on the control instructions, and pushes it to the live streaming server in the cloud.
  • the audience terminal that obtains the control right in the live broadcast room pulls multimedia information for the anchor from the live streaming server, and connects with the main control GS, controls the cloud game and pushes the control instructions to the main control GS, In this way, the main control GS pushes the cloud game picture and sound data generated based on the control instruction to the live streaming server, thereby realizing the combination of cloud game control and live broadcast.
  • the above embodiment introduces a cloud game host and first audience terminal from the perspective of a virtual module or a virtual unit.
  • the following embodiment introduces a cloud game host and first audience terminal from the perspective of a physical device. For details, see The following examples.
  • the cloud game anchor terminal 5000 shown in FIG. 5 includes a processor 5001 and a memory 5003. Among them, the processor 5001 and the memory 5003 are connected, for example, through a bus 5002.
  • the mobile host 5000 may further include a transceiver 5004. It should be noted that in actual applications, the transceiver 5004 is not limited to one, and the structure of the mobile host 5000 does not constitute a limitation to the embodiment of the present application.
  • the processor 5001 may be a CPU, a general-purpose processor, DSP, ASIC, FPGA, or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute various exemplary logical blocks, modules, and circuits described in conjunction with the disclosure of this application.
  • the processor 5001 may also be a combination that implements computing functions, for example, it includes one or more microprocessor combinations, a DSP and a microprocessor combination, and so on.
  • the bus 5002 may include a path for transferring information between the above-mentioned components.
  • the bus 5002 may be a PCI bus, an EISA bus, or the like.
  • the bus 5002 can be divided into an address bus, a data bus, a control bus, and the like. For ease of presentation, only one thick line is used to represent in FIG. 5, but it does not mean that there is only one bus or one type of bus.
  • the memory 5003 can be ROM or other types of static storage devices that can store static information and instructions, RAM or other types of dynamic storage devices that can store information and instructions, or it can be EEPROM, CD-ROM or other optical disk storage, or optical disk storage. (Including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program codes in the form of instructions or data structures and can be used by a computer Any other media accessed, but not limited to this.
  • the memory 5003 is used to store application program codes for executing the solutions of the present application, and is controlled by the processor 5001 to execute.
  • the processor 5001 is configured to execute the application program code stored in the memory 5003 to implement the content shown in any method embodiment executed by the cloud game host.
  • the embodiment of the application provides a cloud game anchor terminal.
  • the cloud game anchor terminal in the embodiment of the application includes: a memory and a processor; at least one program is stored in the memory and used to be executed by the processor, which is similar to the prior art.
  • Realizable In the embodiment of this application, when the audience terminal in the live broadcast room obtains the control right of the cloud game, a connection notification is sent to the first audience terminal.
  • the connection notification carries the connection information of the master GS, and the connection notification is used to notify the first audience terminal. Establish a connection with the main control GS.
  • the first audience is the one that has the control of the cloud game.
  • the cloud game picture and sound data are generated based on the game control instructions of the first audience terminal. That is, in the embodiment of the present application, the viewer in the live broadcast room can control the cloud game, and the cloud game host can pull the viewer’s control screen and sound data for the cloud game from the live streaming server, and provide multimedia information about the host. Push the stream to the live streaming server, which can realize the combination of cloud game control and live broadcasting.
  • the embodiment of the present application provides a first audience terminal.
  • the first audience terminal 6000 shown in FIG. 6 includes a processor 6001 and a memory 6003.
  • the processor 6001 and the memory 6003 are connected, for example, through a bus 6002.
  • the cloud tour anchor 6000 may further include a transceiver 6004. It should be noted that in actual applications, the transceiver 6004 is not limited to one, and the structure of the mobile host 6000 does not constitute a limitation to the embodiment of the present application.
  • the processor 6001 may be a CPU, a general-purpose processor, DSP, ASIC, FPGA, or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute various exemplary logical blocks, modules, and circuits described in conjunction with the disclosure of this application.
  • the processor 6001 may also be a combination that implements computing functions, for example, includes a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and so on.
  • the bus 6002 may include a path for transferring information between the above-mentioned components.
  • the bus 6002 may be a PCI bus or an EISA bus.
  • the bus 6002 can be divided into an address bus, a data bus, a control bus, and so on. For ease of representation, only one thick line is used in FIG. 6, but it does not mean that there is only one bus or one type of bus.
  • the memory 6003 can be ROM or other types of static storage devices that can store static information and instructions, RAM or other types of dynamic storage devices that can store information and instructions, or it can be EEPROM, CD-ROM or other optical disk storage, or optical disk storage. (Including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program codes in the form of instructions or data structures and can be used by a computer Any other media accessed, but not limited to this.
  • the memory 6003 is used to store application program codes for executing the solutions of the present application, and is controlled by the processor 6001 to execute.
  • the processor 6001 is configured to execute the application program code stored in the memory 6003, so as to realize the content shown in any method embodiment executed by the first viewer terminal.
  • the embodiment of the present application provides a first viewer terminal.
  • the cloud game host terminal in the embodiment of the present application includes: a memory and a processor; at least one program is stored in the memory and is used to be executed by the processor in accordance with the prior art.
  • the comparison is achievable:
  • the embodiment of the application receives the connection notification sent by the cloud game host through the interactive signaling server in the cloud, and the connection notification carries the connection information of the master GS, and the connection notification is used to notify the first audience to establish a connection with the master GS Connect, and then establish a connection with the master GS based on the connection information of the master GS, and then pull the multimedia information for the anchor from the live streaming server in the cloud, and push the control commands for the game to the master GS of the cloud game server to
  • the main control GS of the cloud game server generates cloud game screen and sound data based on the control instructions, and pushes it to the live streaming server in the cloud.
  • the viewer terminal that obtains the control right in the live broadcast room pulls the multimedia information for the anchor from the live streaming server, and connects with the main control GS, controls the cloud game and pushes the control instructions to the main control GS, to The main control GS pushes the cloud game picture and sound data generated based on the control instruction to the live streaming server, thereby realizing the combination of cloud game control and live broadcast.
  • the embodiment of the present application provides a computer-readable storage medium with a computer program stored on the computer-readable storage medium, and when it runs on a computer, the computer can execute the corresponding method in the aforementioned embodiment of the method executed by the cloud game host. content.
  • a connection notification is sent to the first audience terminal.
  • the connection notification carries the connection information of the master GS, and the connection notification is used to notify the first audience terminal.
  • An audience terminal establishes a connection with the main control GS.
  • the first audience terminal is the audience terminal that has the control right of the cloud game.
  • the cloud game picture and sound data are generated based on the game control instruction of the first audience terminal. That is, in the embodiment of the present application, the viewer in the live broadcast room can control the cloud game, and the cloud game host can pull the viewer’s control screen and sound data for the cloud game from the live streaming server, and provide multimedia information about the host. Push the stream to the live streaming server, which can realize the combination of cloud game control and live broadcasting.
  • the embodiment of the present application provides a computer-readable storage medium with a computer program stored on the computer-readable storage medium, and when it runs on a computer, the computer can execute the aforementioned method executed by the first viewer. Corresponding content.
  • this embodiment of the application receives a connection notification sent by a cloud game host through an interactive signaling server in the cloud.
  • the connection notification carries the connection information of the master GS, and the connection notification is used to notify the first viewer and the master.
  • the GS establishes a connection, and then establishes a connection with the master GS based on the connection information of the master GS, and then pulls the multimedia information for the anchor from the live streaming server in the cloud, and pushes the control commands for the game to the master GS of the cloud game server , So that the main control GS of the cloud game server generates cloud game screen and sound data based on the control instructions, and pushes it to the live streaming server in the cloud.
  • the viewer terminal that obtains the control right in the live broadcast room pulls the multimedia information for the anchor from the live streaming server, and connects with the main control GS, controls the cloud game and pushes the control instructions to the main control GS, to The main control GS pushes the cloud game picture and sound data generated based on the control instruction to the live streaming server, thereby realizing the combination of cloud game control and live broadcast.

Abstract

Provided are a cloud game live broadcast method, a cloud game anchor end, a viewer end and a computer-readable storage medium. The method comprises: when a viewer end in a live broadcast room obtains a cloud game control right, a cloud game anchor end sending a connection notification to a first viewer end; the first viewer end receiving the connection notification sent, by the cloud game anchor end, by means of an interaction signaling server at a cloud end, and establishing a connection with a main control GS on the basis of connection information of the main control GS; then, the cloud game anchor end pulling a cloud game picture and sound data from a live streaming server, and pushing multimedia information for an anchor to the live streaming server; and the first viewer end pulling the multimedia information for the anchor from the live streaming server at the cloud end, and sending a control instruction for a game to the main control GS, so that the main control GS simulates and controls, on the basis of the control instruction, a game instance running at the cloud end, generates the cloud game picture and the sound data, and pushes same to the live streaming server.

Description

云游戏直播方法、云游主播端、观众端及计算机可读存储介质Cloud game live broadcast method, cloud game host terminal, audience terminal and computer readable storage medium
相关申请的交叉引用Cross-references to related applications
本公开要求于2019年12月11日在中国国家知识产权局提交的申请号为201911269041.X的中国专利申请的权益,其全部内容通过引用整体并入本文。This disclosure claims the rights and interests of a Chinese patent application with an application number of 201911269041.X filed at the State Intellectual Property Office of China on December 11, 2019, the entire content of which is incorporated herein by reference in its entirety.
技术领域Technical field
本申请涉及互联网技术领域,具体而言,本申请涉及一种云游戏直播方法、云游主播端、观众端及计算机可读存储介质。This application relates to the field of Internet technology. Specifically, this application relates to a cloud game live broadcast method, a cloud game host, an audience terminal, and a computer-readable storage medium.
背景技术Background technique
随着信息技术的发展,互联网技术迅速发展,直播行业随之应运而生,多元化的直播内容成为各大直播平台所追逐的内容,越来越多的用户通过各个直播平台进行在线娱乐、营销会议,甚至游戏直播,尤其是游戏直播可以提升主播和观众的互动,具备较大的吸引力。With the development of information technology and the rapid development of Internet technology, the live broadcast industry has emerged accordingly. Diversified live broadcast content has become the content pursued by major live broadcast platforms. More and more users are engaged in online entertainment and marketing through various live broadcast platforms. Conferences and even game live broadcasts, especially game live broadcasts, can enhance the interaction between the anchor and the audience, and have greater appeal.
近年来,随着云游戏的产生,由于云游戏本身的优势,例如,云游戏中所有游戏都在云游服务器端运行,对终端设备的硬件要求较低,从而也越来越受到各大直播平台以及各大主播的欢迎,即进行云游戏的直播也成为一种趋势,因此如何将云游戏和直播进行结合成为一个关键问题。In recent years, with the emergence of cloud games, due to the advantages of cloud games themselves, for example, all games in cloud games run on the cloud game server, which requires lower hardware requirements for terminal equipment, and has become increasingly popular with major live broadcast platforms. As well as the welcome of major broadcasters, the live broadcast of cloud games has also become a trend, so how to combine cloud games and live broadcast has become a key issue.
发明内容Summary of the invention
本申请提供了一种云游戏直播方法、客户端及计算机可读存储介质,可以解决上述至少一种技术问题。技术方案如下:This application provides a cloud game live broadcast method, a client and a computer-readable storage medium, which can solve at least one of the above technical problems. The technical solutions are as follows:
第一方面,提供了一种云游戏直播方法,由云游主播端执行,该方法包括:In the first aspect, a cloud game live broadcast method is provided, which is executed by the cloud game host, and the method includes:
当直播间内的观众端获得云游戏操控权时,向第一观众端发送连接通 知,其中,连接通知中携带主控GS的连接信息,连接通知用于通知第一观众端与主控GS建立连接,第一观众端为获得云游戏操控权的观众端;以及When the audience terminal in the live broadcast room obtains the control right of the cloud game, a connection notification is sent to the first audience terminal, wherein the connection notification carries the connection information of the master GS, and the connection notification is used to notify the first audience terminal to establish a connection with the master GS , The first audience terminal is the audience terminal that obtains the control rights of the cloud game; and
从直播流服务器中拉取云游戏画面和声音数据,并且向直播流服务器推送针对主播的多媒体信息,其中,云游戏画面和声音数据是基于第一观众端的游戏操控指令生成的。Pull cloud game picture and sound data from the live streaming server, and push multimedia information for the anchor to the live streaming server, where the cloud game picture and sound data are generated based on the game control instructions of the first viewer.
在一种可能的实现方式中,确定直播间内的观众端获得云游戏操控权的方式,包括:In a possible implementation manner, determining the manner in which the audience terminal in the live broadcast room obtains the control rights of the cloud game includes:
通过云端的互动信令服务器向直播间的某一观众端发送第一云游戏操控权转移请求,其中,第一云游戏操控权转移请求携带接收该请求的观众端的身份标识,第一云游戏操控权转移请求用于邀请直播间内的观众端操控云游戏;以及The first cloud game control right transfer request is sent to a certain audience terminal in the live broadcast room through the cloud interactive signaling server, where the first cloud game control right transfer request carries the identity of the audience terminal receiving the request, and the first cloud game controls The right transfer request is used to invite the audience in the live broadcast room to control the cloud game; and
当接收到针对第一云游戏操控权转移请求的确认消息时,确定直播间内的观众端获得云游戏操控权。When receiving the confirmation message for the first cloud game control right transfer request, it is determined that the audience terminal in the live broadcast room obtains the cloud game control right.
在另一种可能的实现方式中,确定直播间内的观众端获得云游戏操控权的方式,包括:In another possible implementation manner, determining the manner in which the audience in the live broadcast room obtains the control rights of the cloud game includes:
接收任一观众端通过云端的互动信令服务器发送的第二云游戏操控权转移请求,其中,第二云游戏操控权转移请求携带发送第二云游戏操控权转移请求的观众端的身份信息,第二云游戏操控权转移请求用于请求操控云游戏,以及Receive a second cloud game control right transfer request sent by any viewer through the cloud interactive signaling server, where the second cloud game control right transfer request carries the identity information of the viewer who sent the second cloud game control right transfer request, and Second, the cloud game control right transfer request is used to request the control of cloud games, and
通过云端的互动信令服务器发送针对第二云游戏操控权转移请求的确认消息,并确定直播间内的观众端获得云游戏操控权。A confirmation message for the second cloud game control right transfer request is sent through the cloud interactive signaling server, and it is determined that the audience in the live broadcast room obtains the cloud game control right.
在另一种可能的实现方式中,确定直播间内的观众端获得云游戏操控权的方式,包括:In another possible implementation manner, determining the manner in which the audience in the live broadcast room obtains the control rights of the cloud game includes:
通过云端的互动信令服务器向任一观众端发送第三云游戏操控权转移请求,其中,接收到第三云游戏操控权转移请求的观众端是云端的互动信令服务器确定的;以及Sending a third cloud game control right transfer request to any viewer terminal through the cloud interactive signaling server, where the viewer terminal that receives the third cloud game control right transfer request is determined by the cloud interactive signaling server; and
当接收到针对第三云游戏操控权转移请求的确认消息时,确定直播间内的观众端获得云游戏操控权,其中,针对第三云游戏操控权转移请求的 确认消息携带有确认消息发送方对应的观众端的身份标识。When receiving the confirmation message for the third cloud game control transfer request, it is determined that the audience in the live broadcast room obtains the cloud game control right, where the confirmation message for the third cloud game control transfer request carries the confirmation message sender The identity of the corresponding audience.
在另一种可能的实现方式中,该方法还包括:断开与主控GS的连接。In another possible implementation manner, the method further includes: disconnecting from the main control GS.
在另一种可能的实现方式中,向直播流服务器推送针对主播的多媒体信息,包括:In another possible implementation manner, pushing multimedia information for the anchor to the live streaming server includes:
通过多媒体获取装置获取针对云游主播端的多媒体信息,其中,多媒体信息包括:视频数据和音频数据;以及Acquire multimedia information for the host of the cloud game through the multimedia acquisition device, where the multimedia information includes: video data and audio data; and
通过RTMP流方式向直播流服务器推送针对主播的多媒体信息,以使得各个观众端从直播流服务器中拉取针对主播的多媒体信息。Push the multimedia information for the anchor to the live streaming server through RTMP streaming, so that each viewer terminal pulls the multimedia information for the anchor from the live streaming server.
在另一种可能的实现方式中,该方法还包括:In another possible implementation manner, the method further includes:
通过云端的互动信令服务器向第一观众端发送收回控制权通知,并且通过云端的互动信令服务器向与主控GS发送断开连接通知,其中,收回控制权通知用于通知第一观众端,云游主播端收回云游戏操控权,断开通知用于通知与主控GS断开与第一观众端的连接。The interactive signaling server in the cloud sends a control right notice to the first audience, and the interactive signaling server in the cloud sends a disconnection notice to the master GS, where the notice of the control right is used to notify the first audience. , The host of the cloud game takes back the control of the cloud game, and the disconnect notification is used to notify the master GS to disconnect from the first viewer.
在另一种可能的实现方式中,该方法还包括:In another possible implementation manner, the method further includes:
从云端的即时通讯IM直播服务器中获取直播间内所有观众端分别对应的身份信息。Obtain the identity information corresponding to all the viewers in the live broadcast room from the instant messaging IM live broadcast server in the cloud.
第二方面,提供了一种云游戏直播方法,由第一观众端执行,包括:In the second aspect, a cloud game live broadcast method is provided, which is executed by the first audience terminal, and includes:
接收云游主播端通过云端的互动信令服务器发送的连接通知,其中,连接通知中携带主控游戏服务器GS的连接信息,连接通知用于通知第一观众端与主控GS建立连接;Receive the connection notification sent by the cloud game host through the interactive signaling server in the cloud, where the connection notification carries the connection information of the master game server GS, and the connection notification is used to notify the first viewer to establish a connection with the master GS;
基于主控GS的连接信息与主控GS建立连接;以及Establish a connection with the master GS based on the connection information of the master GS; and
从云端的直播流服务器中拉取针对主播的多媒体信息,并且将针对游戏的操控指令推送至云游服务器的主控GS,以使得云游服务器的主控GS基于操控指令生成云游戏画面和声音数据,并将云游戏画面和声音数据推流至云端的直播流服务器。Pull multimedia information for the anchor from the live streaming server in the cloud, and push the game control instructions to the main control GS of the cloud game server, so that the main control GS of the cloud game server generates cloud game screen and sound data based on the control instructions. And push the cloud game screen and sound data to the live streaming server in the cloud.
在一种可能的实现方式中,将针对游戏的操控指令推送至云游服务器的主控GS之后,该方法还包括:In a possible implementation, after the game-specific control instructions are pushed to the master GS of the cloud game server, the method further includes:
接收云游服务器的主控GS通过点对点P2P实时协议推送的视频流和音频流,其中,视频流和音频流是由云游服务器的主控GS对基于操控指 令生成的游戏画面和声音数据进行编码得到的。Receive the video stream and audio stream pushed by the main control GS of the cloud game server through the point-to-point P2P real-time protocol, where the video stream and audio stream are obtained by the main control GS of the cloud game server encodes the game screen and sound data generated based on the control instructions .
在一种可能的实现方式中,接收云端的互动信令服务器发送的收回操控权的通知消息,其中,通知消息用于通知第一观众端,云游主播端收回针对云游戏的操控权。In a possible implementation manner, a notification message for regaining the control right sent by an interactive signaling server in the cloud is received, where the notification message is used to notify the first viewer terminal that the cloud game host terminal reclaims the control right for the cloud game.
在一种可能的实现方式中,基于主控GS的连接信息与主控GS建立连接之后,该方法还包括:In a possible implementation, after establishing a connection with the master GS based on the connection information of the master GS, the method further includes:
停止从云端的直播流服务器中拉取游戏画面和声音数据。Stop pulling game screen and sound data from the live streaming server in the cloud.
第三方面,提供了一种云游主播端,包括:In the third aspect, a cloud game anchor terminal is provided, including:
第一发送模块,被配置为当直播间内的观众端获得云游戏操控权时,向第一观众端发送连接通知,其中,连接通知中携带主控GS的连接信息,连接通知用于通知第一观众端与主控GS建立连接,第一观众端为获得云游戏操控权的观众端;以及The first sending module is configured to send a connection notification to the first audience terminal when the audience terminal in the live broadcast room obtains the control right of the cloud game. The connection notification carries the connection information of the master GS, and the connection notification is used to notify the first audience terminal. The audience terminal establishes a connection with the main control GS, and the first audience terminal is the audience terminal that has the right to control the cloud game; and
拉取以及推送模块,被配置为从直播流服务器中拉取云游戏画面和声音数据,并且向直播流服务器推送针对主播的多媒体信息,其中,云游戏画面和声音数据是基于第一观众端的游戏操控指令生成的;The pull and push module is configured to pull the cloud game picture and sound data from the live streaming server, and push multimedia information for the anchor to the live streaming server, where the cloud game picture and sound data are based on the game at the first audience Generated by control instructions;
在一种可能的实现方式中,云游主播端还包括:第一确定模块,其中,In a possible implementation manner, the cloud tour anchor terminal further includes: a first determining module, wherein:
第一确定模块在确定直播间内的观众端获得云游戏操控权时,被配置为:The first determining module is configured to: when determining that the audience terminal in the live broadcast room obtains the control right of the cloud game:
通过云端的互动信令服务器向直播间的某一观众端发送第一云游戏操控权转移请求,其中,第一云游戏操控权转移请求携带接收该请求的观众端的身份标识,第一云游戏操控权转移请求用于邀请直播间内的观众端操控云游戏;The first cloud game control right transfer request is sent to a certain audience terminal in the live broadcast room through the cloud interactive signaling server, where the first cloud game control right transfer request carries the identity of the audience terminal receiving the request, and the first cloud game controls The right transfer request is used to invite the audience in the live broadcast room to control the cloud game;
当接收到针对第一云游戏操控权转移请求的确认消息时,确定直播间内的观众端获得云游戏操控权。When receiving the confirmation message for the first cloud game control right transfer request, it is determined that the audience terminal in the live broadcast room obtains the cloud game control right.
在一种可能的实现方式中,云游主播端还包括:第二确定模块,其中,In a possible implementation manner, the cloud tour anchor terminal further includes: a second determining module, where:
第二确定模块在确定直播间内的观众端获得云游戏操控权时,被配置为:The second determining module is configured to: when determining that the audience terminal in the live broadcast room obtains the control right of the cloud game:
接收任一观众端通过云端的互动信令服务器发送的第二云游戏操控权转移请求,其中,第二云游戏操控权转移请求携带发送第二云游戏操控 权转移请求的观众端的身份信息,第二云游戏操控权转移请求用于请求操控云游戏,Receive a second cloud game control right transfer request sent by any viewer through the cloud interactive signaling server, where the second cloud game control right transfer request carries the identity information of the viewer who sent the second cloud game control right transfer request, and Second, the cloud game control right transfer request is used to request the control of cloud games,
通过云端的互动信令服务器发送针对第二云游戏操控权转移请求的确认消息,并确定直播间内的观众端获得云游戏操控权。A confirmation message for the second cloud game control right transfer request is sent through the cloud interactive signaling server, and it is determined that the audience in the live broadcast room obtains the cloud game control right.
在一种可能的实现方式中,云游主播端还包括:第三确定模块,其中,In a possible implementation manner, the cloud tour anchor terminal further includes: a third determining module, where:
第三确定模块在确定直播间内的观众端获得云游戏操控权时,被配置为:The third determining module is configured to: when determining that the audience terminal in the live broadcast room obtains the control right of the cloud game:
通过云端的互动信令服务器向任一观众端发送第三云游戏操控权转移请求,其中,接收到第三云游戏操控权转移请求的观众端为云端的互动信令服务器确定的;以及Sending a third cloud game control right transfer request to any viewer terminal through the cloud interactive signaling server, where the viewer terminal that receives the third cloud game control right transfer request is determined by the cloud interactive signaling server; and
当接收到针对第三云游戏操控权转移请求的确认消息时,确定直播间内的观众端获得云游戏操控权,针对第三云游戏操控权转移请求的确认消息携带有确认消息发送方对应的观众端的身份标识。When receiving the confirmation message for the third cloud game control transfer request, it is determined that the audience in the live broadcast room obtains the cloud game control right, and the confirmation message for the third cloud game control transfer request carries the confirmation message corresponding to the sender The identity of the audience.
在一种可能的实现方式中,云游主播端还包括:断开连接模块,其中,In a possible implementation manner, the cloud tour anchor terminal further includes: a disconnection module, where:
断开连接模块,被配置为断开与主控GS的连接。The disconnect module is configured to disconnect from the main control GS.
在一种可能的实现方式中,推送模块在向直播流服务器推送针对主播的多媒体信息时,被配置为:In a possible implementation manner, when the push module pushes multimedia information for the anchor to the live streaming server, it is configured as follows:
通过多媒体获取装置获取针对云游主播端的多媒体信息,其中,多媒体信息包括:视频数据和音频数据;以及Acquire multimedia information for the host of the cloud game through the multimedia acquisition device, where the multimedia information includes: video data and audio data; and
通过RTMP流方式向直播流服务器推送针对主播的多媒体信息,以使得各个观众端从直播流服务器中拉取针对主播的多媒体信息。Push the multimedia information for the anchor to the live streaming server through RTMP streaming, so that each viewer terminal pulls the multimedia information for the anchor from the live streaming server.
在一种可能的实现方式中,云游主播端还包括:第二发送模块,其中,In a possible implementation manner, the cloud tour anchor terminal further includes: a second sending module, where:
第二发送模块,被配置为通过云端的互动信令服务器向第一观众端发送收回控制权通知,以及通过云端的互动信令服务器向与主控GS发送断开连接通知,其中,收回控制权通知用于通知第一观众端,云游主播端收回云游戏操控权,断开通知用于通知与主控GS断开与第一观众端的连接。The second sending module is configured to send a notification to withdraw the control right to the first audience through the interactive signaling server in the cloud, and to send a disconnection notification to the master GS through the interactive signaling server in the cloud, where the control is withdrawn The notification is used to notify the first viewer that the cloud game host will withdraw the control right of the cloud game, and the disconnect notification is used to notify the master GS to disconnect from the first viewer.
在一种可能的实现方式中,云游主播端还包括:获取模块,其中,In a possible implementation manner, the cloud tour anchor terminal further includes: an acquisition module, where:
获取模块,被配置为从云端的即时通讯IM直播服务器中获取直播间内所有观众端分别对应的身份信息。The obtaining module is configured to obtain the identity information corresponding to all the viewers in the live broadcast room from the instant messaging IM live broadcast server in the cloud.
第四方面,提供了一种观众端,包括:The fourth aspect provides an audience terminal, including:
第一接收模块,被配置为接收云游主播端通过云端的互动信令服务器发送的连接通知,其中,连接通知中携带主控游戏服务器GS的连接信息,连接通知用于通知第一观众端与主控GS建立连接;The first receiving module is configured to receive the connection notification sent by the cloud game host through the interactive signaling server in the cloud, wherein the connection notification carries the connection information of the master game server GS, and the connection notification is used to notify the first viewer and the host Control GS to establish a connection;
建立连接模块,被配置为基于主控GS的连接信息与主控GS建立连接;Establish a connection module, which is configured to establish a connection with the main control GS based on the connection information of the main control GS;
第一拉取模块,被配置为从云端的直播流服务器中拉取针对主播的多媒体信息;以及The first pull module is configured to pull multimedia information for the anchor from the live streaming server in the cloud; and
推送模块,被配置为将针对游戏的操控指令推送至云游服务器的主控GS,以使得云游服务器的主控GS基于操控指令生成云游戏画面和声音数据,并将云游戏画面和声音数据推流至云端的直播流服务器。The push module is configured to push the control commands for the game to the main control GS of the cloud game server, so that the main control GS of the cloud game server generates cloud game screen and sound data based on the control command, and pushes the cloud game screen and sound data to stream Live streaming server to the cloud.
在一种可能的实现方式中,观众端还包括:第二接收模块,被配置为接收云游服务器的主控GS通过点对点P2P实时协议推送的视频流和音频流,其中,视频流和音频流是由云游服务器的主控GS对基于操控指令生成的游戏画面和声音数据进行编码得到的。In a possible implementation, the audience side further includes: a second receiving module configured to receive the video stream and audio stream pushed by the master GS of the cloud gaming server through the point-to-point P2P real-time protocol, where the video stream and the audio stream are It is obtained by encoding the game screen and sound data generated based on the control instruction by the main control GS of the cloud game server.
在一种可能的实现方式中,观众端还包括:第三接收模块,被配置为接收云端的互动信令服务器发送的收回操控权的通知消息,其中,通知消息用于通知第一观众端,云游主播端收回针对云游戏的操控权。In a possible implementation manner, the audience terminal further includes: a third receiving module configured to receive a notification message for revocation of the control right sent by the interactive signaling server in the cloud, wherein the notification message is used to notify the first audience terminal, The host of the cloud game withdraws the control rights for cloud games.
在一种可能的实现方式中,观众端还包括:第二拉取模块,被配置为停止从云端的直播流服务器中拉取游戏画面和声音数据。In a possible implementation manner, the audience terminal further includes: a second pulling module configured to stop pulling game images and sound data from the live streaming server in the cloud.
第五方面,提供一种云游主播端,包括:In the fifth aspect, a cloud game anchor terminal is provided, including:
一个或多个处理器;One or more processors;
存储器;Memory
一个或多个应用程序,其中一个或多个应用程序被存储在存储器中并被配置为由一个或多个处理器执行,一个或多个程序配置用于:执行根据第一方面或者第一方面任一可能的实现方式所示的云游戏直播方法对应的操作。One or more application programs, where one or more application programs are stored in a memory and configured to be executed by one or more processors, and one or more programs are configured to: execute according to the first aspect or the first aspect The operation corresponding to the cloud game live broadcast method shown in any possible implementation manner.
第六方面,提供一种云游主播端,包括:In the sixth aspect, a cloud game anchor terminal is provided, including:
一个或多个处理器;One or more processors;
存储器;Memory
一个或多个应用程序,其中一个或多个应用程序被存储在存储器中并被配置为由一个或多个处理器执行,一个或多个程序配置用于:执行根据第二方面或者第二方面任一可能的实现方式所示的云游戏直播方法对应的操作。One or more application programs, where one or more application programs are stored in a memory and configured to be executed by one or more processors, and one or more programs are configured to: execute according to the second aspect or the second aspect The operation corresponding to the cloud game live broadcast method shown in any possible implementation manner.
第七方面,提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现第一方面或者第一方面任一可能的实现方式所示的云游戏直播方法。In a seventh aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the cloud game live broadcast method shown in the first aspect or any possible implementation manner of the first aspect is implemented.
第八方面,提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现第二方面或者第二方面任一可能的实现方式所示的云游戏直播方法。In an eighth aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the cloud game live broadcast method shown in the second aspect or any possible implementation manner of the second aspect is implemented.
本申请提供的技术方案带来的有益效果是:The beneficial effects brought about by the technical solution provided by this application are:
本申请提供了一种云游戏直播方法、云游主播端及计算机可读存储介质,与现有技术相比,在本申请中,当直播间内的观众端获得云游戏操控权时,向第一观众端发送连接通知,连接通知中携带主控游戏服务器GS的连接信息,连接通知用于通知第一观众端与主控GS建立连接,第一观众端获得云游戏操控权的观众端,然后从直播流服务器中拉取云游戏画面和声音数据,并且向直播流服务器推送针对主播的多媒体信息,以实现云游戏直播,云游戏画面和声音数据是基于第一观众端的游戏操控指令生成的。即在本申请中直播间内的观众端可以操控云游戏,且云游主播端可以从直播流服务器中拉取该观众端针对云游戏的操控画面和声音数据,并将关于主播的多媒体信息推流至直播流服务器,从而可以实现将操控云游戏和直播进行结合。This application provides a cloud game live broadcast method, a cloud game host and a computer-readable storage medium. Compared with the prior art, in this application, when the audience in the live broadcast room obtains the control right of the cloud game, the first viewer The connection notification carries the connection information of the master game server GS. The connection notification is used to notify the first audience terminal to establish a connection with the master GS. The first audience terminal obtains the cloud game control right from the audience terminal, and then from the live broadcast The streaming server pulls the cloud game image and sound data, and pushes multimedia information for the anchor to the live streaming server to realize the cloud game live broadcast. The cloud game image and sound data are generated based on the game control instructions of the first viewer. That is to say, in this application, the viewer in the live room can control the cloud game, and the cloud game host can pull the viewer’s control screen and sound data for the cloud game from the live streaming server, and push the multimedia information about the host. To the live streaming server, it can realize the combination of cloud game control and live broadcasting.
本申请提供了一种云游戏直播方法、观众端及计算机可读存储介质,与现有技术相比,本申请接收云游主播端通过云端的互动信令服务器发送的连接通知,连接通知中携带主控游戏服务器GS的连接信息,连接通知用于通知第一观众端与主控GS建立连接,然后基于主控GS的连接信息与主控GS建立连接,然后从云端的直播流服务器中拉取针对主播的多媒体信息,并且将针对游戏的操控指令推送至云游服务器的主控GS,以使 得云游服务器的主控GS基于操控指令生成云游戏画面和声音数据,并推流至云端的直播流服务器。即,在本申请中直播间的获取操控权的观众端从直播流服务器中拉取针对主播的多媒体信息,并与主控GS连接,操控云游戏并将操控指令推送至主控GS,以使得主控GS将基于操控指令生成的云游戏画面和声音数据推送至直播流服务器,从而实现将操控云游戏和直播进行结合。This application provides a cloud game live broadcast method, an audience terminal, and a computer-readable storage medium. Compared with the prior art, this application receives a connection notification sent by a cloud game host through an interactive signaling server in the cloud, and the connection notification carries the host Control the connection information of the game server GS, the connection notification is used to notify the first audience to establish a connection with the main control GS, and then establish a connection with the main control GS based on the connection information of the main control GS, and then pull the target from the live streaming server in the cloud The host’s multimedia information, and the game-specific control instructions are pushed to the cloud game server's main control GS, so that the cloud game server's main control GS generates cloud game screen and sound data based on the control instructions, and pushes it to the cloud live streaming server. That is, in this application, the viewer terminal that obtains the control right in the live room pulls the multimedia information for the anchor from the live streaming server, and connects with the main control GS, controls the cloud game and pushes the control instructions to the main control GS, so that The main control GS pushes the cloud game picture and sound data generated based on the control instruction to the live streaming server, thereby realizing the combination of cloud game control and live broadcast.
附图说明Description of the drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对本申请实施例描述中所需要使用的附图作简单地介绍。In order to more clearly describe the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings that need to be used in the description of the embodiments of the present application.
图1为本申请实施例提供的一种由云游主播端执行的云游戏直播方法的流程示意图;FIG. 1 is a schematic flowchart of a cloud game live broadcast method executed by a cloud game host provided by an embodiment of the application;
图2为本申请实施例提供的一种由第一观众端执行的云游戏直播方法的流程示意图;2 is a schematic flowchart of a cloud game live broadcast method executed by a first audience terminal according to an embodiment of the application;
图3为本申请实施例提供的一种云游主播端的装置结构示意图;FIG. 3 is a schematic diagram of a device structure of a cloud tour anchor terminal provided by an embodiment of the application; FIG.
图4为本申请实施例提供的一种第一观众端的装置结构示意图;FIG. 4 is a schematic structural diagram of a first audience device provided by an embodiment of the application;
图5为本申请实施例提供的一种云游主播端的实体装置结构示意图;FIG. 5 is a schematic structural diagram of a physical device on the anchor end of a cloud game provided by an embodiment of the application; FIG.
图6为本申请实施例提供了另一种第一观众端的实体装置结构示意图;FIG. 6 is a schematic structural diagram of another physical device of the first audience terminal provided by an embodiment of the application;
图7为主播端和观众端通过直播流服务器进行推流和拉流的示意图;Figure 7 is a schematic diagram of the host and viewers pushing and pulling streams through the live streaming server;
图8为本申请实施例中云游服务器和直播流服务器建立连接的示意图;FIG. 8 is a schematic diagram of establishing a connection between a cloud game server and a live streaming server in an embodiment of the application;
图9为本申请实施例中云游戏直播的一个实例示意图。Fig. 9 is a schematic diagram of an example of cloud game live broadcast in an embodiment of the application.
具体实施方式Detailed ways
下面详细描述本申请的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本申请,而不能解释为对本发明的限制。The embodiments of the present application are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals indicate the same or similar elements or elements with the same or similar functions. The embodiments described below with reference to the drawings are exemplary, and are only used to explain the present application, and cannot be construed as limiting the present invention.
本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、“一个”、“所述”和“该”也可包括复数形式。应该进一步理解的是,本申请的说明书中使用的措辞“包括”是指存在所述特征、整数、步骤、操作、元件和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、组件和/或它们的组。应该理解,当我们称元件被“连接”或“耦接”到另一元件时,它可以直接连接或耦接到其他元件,或者也可以存在中间元件。此外,这里使用的“连接”或“耦接”可以包括无线连接或无线耦接。这里使用的措辞“和/或”包括一个或更多个相关联的列出项的全部或任一单元和全部组合。Those skilled in the art can understand that, unless specifically stated, the singular forms "a", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of this application refers to the presence of the described features, integers, steps, operations, elements and/or components, but does not exclude the presence or addition of one or more other features, Integers, steps, operations, elements, components, and/or groups of them. It should be understood that when we refer to an element 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. In addition, “connected” or “coupled” used herein may include wireless connection or wireless coupling. The term "and/or" as used herein includes all or any unit and all combinations of one or more associated listed items.
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the purpose, technical solutions, and advantages of the present application clearer, the implementation manners of the present application will be described in further detail below in conjunction with the accompanying drawings.
游戏直播采用与其他场景,如才艺类直播一致的平台,直播系统将主播的内容分发给直播间内多名观众,须对视频进行切片和缓存处理,主播推流普遍采用实时消息传输协议(Real Time Messaging Protocol,RTMP)作为应用层协议,即主播端向直播流服务器推送RTMP流,拉流普遍采用RTMP、基于HTTP的流媒体网络传输协议(HTTP Live Streaming,HLS)或者HDL(英文全称:HTTP Deliver Living)(或称HLV(英文全称:HTTP Live Video))等协议,其中,推流和拉流所对应的传输层协议均为传输控制协议(Transmission Control Protocol,TCP)协议,如图7所示。Game live broadcast uses a platform consistent with other scenarios, such as talent live broadcasts. The live broadcast system distributes the content of the host to multiple viewers in the live room. The video must be sliced and buffered. The live broadcast of the host generally uses the real-time message transmission protocol (Real Time Messaging Protocol, RTMP) as an application layer protocol, that is, the anchor end pushes RTMP streams to the live streaming server, and the streaming generally uses RTMP, HTTP-based streaming media network transmission protocol (HTTP Live Streaming, HLS) or HDL (full English name: HTTP) Deliver Living) (or HLV (full English name: HTTP Live Video)) and other protocols, among which the transport layer protocols corresponding to the push and pull streams are the Transmission Control Protocol (TCP) protocol, as shown in Figure 7. Show.
具体地,游戏直播实现流程包括:主播端直播推流过程和观众拉流以观看直播的流程。Specifically, the realizing process of the game live broadcast includes: a live streaming process at the host end and a process of viewers pulling the stream to watch the live broadcast.
其中,主播端直播推流过程包括:当主播端登录直播账号,进入管理页面新建直播间时,获取推流服务器地址、推流服务器端口和授权密钥等;然后主播端打开即时通讯(Instant Messaging,IM)工具,登录直播账号后,进入直播间内与直播间内的观众进行视频和图文聊天;然后运行本地端原生游戏,打开OBS(Open Broadcaster Software)完成录屏和推流的必要设置,开始推流至直播间对应的推流服务器,以使得观众端可以获得主播端的游戏画面和声音;Among them, the live streaming process of the host includes: when the host logs in to the live account and enters the management page to create a new live room, obtain the address of the push server, the port of the push server, and the authorization key; then the host opens the instant messaging (Instant Messaging) , IM) tool, after logging in to the live account, enter the live room to have video and graphic chat with the audience in the live room; then run the local native game, open OBS (Open Broadcaster Software) to complete the necessary settings for screen recording and streaming , Start to push the stream to the corresponding push server in the live broadcast room, so that the audience can obtain the game picture and sound of the host;
其中,观众端直播拉流的过程包括:当观众端通过登录直播账号(或 者以游客身份)进入直播间时,即可以与直播间内的主播和其他观众端进行视频和图文聊天,同时在主播端进行推流的情况下,还可以观看主播可能正在进行的游戏过程。Among them, the process of live streaming from the audience includes: when the audience enters the live broadcast room by logging in to the live broadcast account (or as a visitor), it can chat with the anchor in the live broadcast room and other audiences in video and text at the same time. In the case of streaming at the host end, you can also watch the game process that the host may be doing.
在上述方案的基础上,同样也可能存在以下技术问题:(1)现有技术中需要重新搭建直播系统,花费较大、耗时耗力;(2)直播间内的观众端仅可以观看主播在自己的终端上针对云游戏的操控,无法直接在直播平台内与主播建立游戏内的互动;(3)若需要将云游戏的操控权传递给直播间内的某观众端需要直接将云游戏的账号和密码均传递给该观众端,从而导致主播的账号和密钥泄露,给用户带来麻烦;(4)在将操控权传递给直播间的某观众端之后,直播间内的其他观众端仅可以看到该观众端摄像头和话筒收集的该观众的影像和声音;On the basis of the above solution, the following technical problems may also exist: (1) In the prior art, the live broadcast system needs to be rebuilt, which is costly, time-consuming and labor-intensive; (2) The audience in the live broadcast room can only watch the host For the control of cloud games on your own terminal, you cannot directly establish in-game interaction with the host in the live broadcast platform; (3) If you need to pass the control of the cloud game to an audience in the live broadcast room, you need to directly transfer the cloud game The account number and password are passed to the audience, which leads to the disclosure of the host’s account and key, causing trouble to the user; (4) After passing the control right to a certain audience in the live broadcast room, other viewers in the live broadcast room Only the video and sound of the audience collected by the camera and microphone of the audience can be seen at the end;
本申请提供的云游戏直播方法、客户端和计算机可读存储介质,旨在解决现有技术的如上技术问题。The cloud game live broadcast method, client and computer-readable storage medium provided in this application are intended to solve the above technical problems in the prior art.
本申请实施例提供的云游戏直播方法可以应用于云游戏直播系统,该系统中可以包括:云游主播端、云端、直播间的各个观众端(第一观众端以及其它观众端),其中云端包括:直播IM(即时消息)服务器、互动信令服务器、直播流服务器、云游服务器,其中云游服务器中包括:运行于其中的某游戏实例、游戏服务(Game Service,GS),其中每个直播间一般只有一个在游戏内控制主要角色的GS(简称主控GS);进一步地,云游主播端可以通过直播IM服务器与直播间的各个观众端进行信息交互;云游主播端可以通过互动信令服务器与直播间的各个观众端进行信息交互;云游主播端可以直接通过直播流服务器与直播间的各个观众端进行信息交互;云游主播端通过云游服务器以及直播流服务器与云游主播端进行信息交互。当然,在本申请实施例中,第一观众端和云游主播端均可以通过P2P连接与云游服务器(包括主控GS)进行信息交互。在上述系统的基础上,下述实施例中分别从云游主播端和第一观众端的角度介绍了云游戏直播的方法,并且从云游主播端和第一观众端进行交互的角度云游戏直播的方法。The cloud game live broadcast method provided by the embodiments of the present application can be applied to a cloud game live broadcast system, and the system may include: a cloud game host, the cloud, and each audience terminal (the first audience terminal and other audience terminals) in the live broadcast room, where the cloud includes : Live IM (instant messaging) server, interactive signaling server, live streaming server, cloud travel server, where cloud travel server includes: a certain game instance running in it, game service (Game Service, GS), in which each live room is generally There is only one GS that controls the main character in the game (master GS for short); further, the host of the cloud game can interact with the audiences in the live room through the live IM server; the host of the cloud game can communicate with the live broadcast through the interactive signaling server Information exchange between the various audience ends of the game; the host of the cloud game can directly exchange information with the various audience ends of the live room through the live streaming server; the host of the cloud game exchanges information with the host of the cloud through the cloud game server and the live streaming server. Of course, in the embodiment of the present application, both the first viewer terminal and the cloud tour anchor terminal can exchange information with the cloud tour server (including the master GS) through a P2P connection. On the basis of the above system, the following embodiments respectively introduce the method of cloud game live broadcast from the perspective of the cloud game host and the first audience terminal, and the cloud game live broadcast method from the perspective of interaction between the cloud game host and the first audience terminal .
下面以具体地实施例对本申请的技术方案以及本申请的技术方案如 何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。下面将结合附图,对本申请的实施例进行描述。The technical solutions of the present application and how the technical solutions of the present application solve the above technical problems will be described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
本申请实施例提供了一种云游戏直播方法,如图1所示,由云游主播端执行,其中,云游主播端即为进行云游戏直播的主播所对应的客户端,该方法包括:The embodiment of the application provides a cloud game live broadcast method. As shown in FIG. 1, it is executed by the cloud game host, where the cloud game host is the client corresponding to the host performing the cloud game live broadcast. The method includes:
步骤S101、当直播间内的观众端获得云游戏操控权时,向第一观众端发送连接通知。Step S101: When the audience terminal in the live broadcast room obtains the control right of the cloud game, a connection notification is sent to the first audience terminal.
其中,连接通知中携带主控GS的连接信息,连接通知用于通知第一观众端与主控GS建立连接,第一观众端为获得云游戏操控权的观众端。在本申请实施例中,连接信息可以包括以下至少一项:主控GS的身份标识(Identity,Id)、所在直播间的Id、主播端Id、主播端本次操控权移交的鉴权令牌、第一观众端Id、云端运行游戏的名称等信息。Wherein, the connection notification carries the connection information of the master GS, the connection notification is used to notify the first audience terminal to establish a connection with the master GS, and the first audience terminal is the audience terminal that obtains the control right of the cloud game. In this embodiment of the application, the connection information may include at least one of the following: the identity of the master GS (Identity, Id), the Id of the live broadcast room, the host Id, and the authentication token for the current control transfer of the host. , Id of the first audience, the name of the game running in the cloud, and other information.
对于本申请实施例,一个直播间内的云游主播端可以将云游戏操控权传递至直播间内的任一观众端,当直播间内的某一观众端获得云游戏操控权时,云游主播端向第一观众端发送连接请求,以请求该第一观众端与直播间内的主控GS建立连接。在本申请实施例中,获得云游戏操控权的观众端为可以代替主播进行云游戏操控的观众端。For the embodiment of this application, the cloud game host in a live room can transfer cloud game control to any viewer in the live room. When a certain viewer in the live room obtains cloud game control, the cloud game host sends The first audience terminal sends a connection request to request the first audience terminal to establish a connection with the master GS in the live broadcast room. In the embodiment of the present application, the audience terminal that obtains the control right of the cloud game is the audience terminal that can perform cloud game control in place of the anchor.
进一步地,一般情况下,一个直播间对应一个主控GS,当云游主播端将确定获得云游戏操控权的观众端(第一观众端)之后,通过互动信令服务器向获得云游戏操控权的观众端发送连接通知,以使得获得操控权的观众端(第一观众端)基于接收到的连接通知中携带的主控GS的连接信息与对应的主控GS建立连接。Further, under normal circumstances, a live room corresponds to a master GS. After the cloud game host will determine the audience (first audience) that has the control right of the cloud game, it will send the interactive signaling server to the one who has the control right of the cloud game. The audience terminal sends a connection notification, so that the audience terminal (the first audience terminal) that has obtained the control right establishes a connection with the corresponding master GS based on the connection information of the master GS carried in the received connection notification.
进一步地,在获得云游戏操控权的观众端(第一观众端)与主控GS建立连接之后,获得云游戏操控权的观众端(第一观众端)可以通过P2P连接将对云游戏的操控指令推送至主控GS,以使得主控GS在云端对应运行的目标游戏实例中模拟游戏操控指令,得到游戏画面和声音数据,并推送至直播流服务器,从而实现步骤S102中云游主播端从直播流服务器中拉取云游戏画面和声音数据,具体的流程详见下述实施例。在本申请实 施例中,游戏实例为实际运行的游戏进程。其中,实例是对象的具体表示,操作可以作用于实例,实例可以有状态地存储操作结果。Furthermore, after the audience terminal (the first audience terminal) who has obtained the control of the cloud game establishes a connection with the master GS, the audience terminal (the first audience terminal) who has the control of the cloud game can control the cloud game through the P2P connection The instructions are pushed to the main control GS, so that the main control GS simulates the game control instructions in the target game instance running in the cloud, obtains the game screen and sound data, and pushes them to the live streaming server, so as to realize the live streaming from the cloud game host in step S102 The cloud game screen and sound data are pulled from the streaming server, and the specific process is detailed in the following embodiments. In the embodiment of this application, the game instance is the actual running game process. Among them, the instance is the concrete representation of the object, the operation can act on the instance, and the instance can store the result of the operation in a stateful manner.
步骤S102、从直播流服务器中拉取云游戏画面和声音数据,以及向直播流服务器推送针对主播的多媒体信息,以实现云游戏直播。Step S102: Pull the cloud game picture and sound data from the live streaming server, and push multimedia information for the anchor to the live streaming server, so as to realize the cloud game live broadcast.
其中,云游戏画面和声音数据是基于第一观众端针对已连接的主控GS中的云游戏的游戏操控指令生成的。Among them, the cloud game picture and sound data are generated based on the game control instructions of the first audience terminal for the cloud game in the connected master GS.
当然,由上述实施例中可知,云游主播端可以从直播流服务器中拉取云游戏画面和声音数据,当然,直播间内除获得云游戏操控权的观众端(第一观众端)之外,其它观众端均可以从直播流服务器中拉取云游戏画面和声音数据。当然,云游主播端可以获取到的主播的多媒体信息(视频和音频)推送至直播流服务器,以使得直播间内的各个观众端可以从直播流服务器中拉取针对主播的多媒体信息,其中获取并推送针对主播的多媒体信息的方式具体详见下述实施例。在此不再赘述。Of course, it can be seen from the above embodiment that the cloud game host can pull cloud game screen and sound data from the live streaming server. Of course, in the live broadcast room, except for the audience terminal (the first audience terminal) who has the right to control the cloud game, Other viewers can pull cloud game images and sound data from the live streaming server. Of course, the multimedia information (video and audio) of the host that can be obtained by the cloud game host is pushed to the live streaming server, so that each viewer in the live room can pull the host-specific multimedia information from the live streaming server, and obtain and The method of pushing multimedia information for the anchor is detailed in the following embodiments. I won't repeat them here.
本申请实施例提供了一种云游戏直播方法,与现有技术相比,当直播间内的观众端获得云游戏操控权时,向第一观众端发送连接通知,连接通知中携带主控GS的连接信息,连接通知用于通知第一观众端与主控GS建立连接,第一观众端为获得云游戏操控权的观众端,然后从直播流服务器中拉取云游戏画面和声音数据,并且向直播流服务器推送针对主播的多媒体信息,以实现云游戏直播,云游戏画面和声音数据是基于第一观众端的游戏操控指令生成的。即,在本申请实施例中直播间内的观众端可以操控云游戏,并且云游主播端可以从直播流服务器中拉取该观众端针对云游戏的操控画面和声音数据,并将关于主播的多媒体信息推流至直播流服务器,从而可以实现将操控云游戏和直播进行结合。The embodiment of the application provides a cloud game live broadcast method. Compared with the prior art, when the audience terminal in the live broadcast room obtains the control right of the cloud game, a connection notification is sent to the first audience terminal, and the connection notification carries the master GS Connection information. The connection notification is used to notify the first audience terminal to establish a connection with the master GS. The first audience terminal is the audience terminal that has obtained the control right of the cloud game. Then it pulls the cloud game screen and sound data from the live streaming server and sends it to The live streaming server pushes the multimedia information for the anchor to realize the cloud game live broadcast. The cloud game picture and sound data are generated based on the game control instructions of the first viewer. That is, in the embodiment of the present application, the viewer in the live broadcast room can control the cloud game, and the cloud game host can pull the viewer’s control screen and sound data for the cloud game from the live streaming server, and update the host’s multimedia The information is pushed to the live streaming server, so that the control of cloud games and the live broadcast can be combined.
由上述实施例中可知:当直播间内的观众端获得云游戏的操控权时,执行上述步骤S101和步骤S102,但是云游主播端需要先确定直播间内的观众端获得云游戏操控权,其中云游主播端确定直播间内的观众端获得云游戏操控权的方式具体详见下述实施例。It can be seen from the above embodiment that when the viewer terminal in the live broadcast room obtains the control right of the cloud game, the above steps S101 and S102 are executed, but the cloud game host needs to first determine that the viewer terminal in the live broadcast room obtains the cloud game control right. The method for the host to determine that the viewer in the live broadcast room obtains the control right of the cloud game is detailed in the following embodiments.
本申请实施例的一种可能的实现方式,确定直播间内的观众端获得云游戏操控权的方式,包括:通过云端的互动信令服务器向直播间的某一观 众端发送第一云游戏操控权转移请求,第一云游戏操控权转移请求携带接收该请求的观众端的身份标识,第一云游戏操控权转移请求用于邀请直播间内的观众端操控云游戏;当接收到针对第一云游戏操控权转移请求的确认消息时,确定直播间内的观众端获得云游戏操控权。A possible implementation of the embodiment of the present application is to determine the manner in which the audience terminal in the live broadcast room obtains cloud game control rights, including: sending the first cloud game control to a certain audience terminal in the live broadcast room through an interactive signaling server in the cloud The first cloud game control right transfer request carries the identity of the audience terminal receiving the request, and the first cloud game control right transfer request is used to invite the audience terminal in the live broadcast room to control the cloud game; In the confirmation message of the game control transfer request, it is determined that the audience terminal in the live broadcast room obtains the cloud game control.
具体地,云游主播端检测到主播触发的云游戏操控权转移操作时,向云端的互动信令服务器发送第一云游戏操控权转移请求,以使得云端的互动信令服务器根据第一云游戏操控权转移请求中携带的接收该请求的观众端的身份标识,向对应的观众端发送该第一云游戏操控权转移请求,进而,当云游戏主播端在通过云端的互动信令服务器接收到该观众端基于第一云游戏操控权转移请求的确认消息时,确定直播间内的观众端获得云游戏操控权,并且可以知道获得云游戏操控权的观众端,即第一云游戏操控权转移请求中携带的接收该请求的观众端的身份标识所对应的观众端,例如称为第一观众端。Specifically, when the cloud game host detects the cloud game control right transfer operation triggered by the host, it sends the first cloud game control right transfer request to the cloud interactive signaling server, so that the cloud interactive signaling server controls the cloud game according to the first cloud game control. The right transfer request carries the identity of the viewer that receives the request, and sends the first cloud game control right transfer request to the corresponding viewer. Furthermore, when the cloud game host receives the viewer through the cloud interactive signaling server When the end is based on the confirmation message of the first cloud game control transfer request, it is determined that the audience end in the live broadcast room has the cloud game control right, and can know the audience end that has obtained the cloud game control right, that is, the first cloud game control right transfer request is in progress The audience terminal corresponding to the carried identifier of the audience terminal receiving the request is called, for example, the first audience terminal.
进一步地,第一云游戏操控权转移请求中可以携带至少两个观众端分别对应的身份标识,并由云端的互动信令服务器分别将第一云游戏操控权转移请求发送至对应的各个观众端,当云游主播端首次接收到针对第一云游戏操控权的确认消息时,确定直播间内的观众端获得云游戏操控指令,且获得云游戏操控指令的观众端为首次接收到针对第一云游戏操控权的确认消息所对应的发送端,当然还可以在接收到至少两个观众端发送的确认消息时,基于主播的选择操作确定出获得操控权的观众端,且确定出直播间内的观众端获得操作权,当然云游主播端还可以从发送确认消息的至少两个观众端中随机选择一个观众端作为获得操控权的观众端,且确定出直播间内的观众端获得操控权。Further, the first cloud game control right transfer request may carry at least two identities corresponding to the audience terminals, and the cloud interactive signaling server sends the first cloud game control right transfer request to the corresponding audience terminals. When the cloud game host receives the confirmation message for the control of the first cloud game for the first time, it is determined that the audience terminal in the live broadcast room has obtained the cloud game control instruction, and the audience terminal that has obtained the cloud game control instruction is the first time that it has received the confirmation message for the first cloud game control. The sender corresponding to the confirmation message of the game control right, of course, can also determine the viewer who has the control right based on the anchor’s selection operation when the confirmation message sent by at least two viewers is received, and determine the audience in the live broadcast room. The audience side obtains the right to operate. Of course, the mobile game host can also randomly select one of the at least two audience sides that send the confirmation message as the audience side that has the control right, and determines that the audience side in the live broadcast room has the control right.
例如,云游主播端通过云端的互动信令服务器向观众端A、观众端B分别发送第一云游戏操控权转移请求,若首先接收到观众端A的确认消息时,则确定获得操控权的观众端为观众端A,且确定出直播间内的观众端获得操控权;又或者,云游主播端接收到观众端A和观众端B分别发送的确认消息之后,基于主播的选择操作,确定观众端B为获得操控权的观众端,且确定出直播间内的观众端获得操控权;又或者,云游主播端接收 到观众端A和观众端B分别发送的确认消息之后,云游主播端随机选择观众端A为获得操控权的观众端,且确定出直播间内的观众端获得操控权。For example, the host of the cloud game sends the first cloud game control right transfer request to the audience A and the audience B through the interactive signaling server in the cloud. If the confirmation message from the audience A is first received, the audience who has the control right is determined The end is the viewer end A, and it is determined that the viewer end in the live room has the control right; or, after receiving the confirmation message sent by the viewer end A and the viewer end B separately, the cloud tour host end determines the viewer end based on the host's selection operation B is the viewer who has the right to control, and it is determined that the viewer in the live room has the right to control; or, after receiving the confirmation messages sent by the viewer A and the viewer B respectively, the Yunyou host randomly selects the audience Terminal A is the audience terminal that has the control right, and it is determined that the audience terminal in the live broadcast room has the control right.
上述实施例中介绍了云游主播端主动发送云游戏操控权转移请求,当然直播间内的观众端还可以主动发送云游戏操控权转移请求,以请求获得云游戏的操控权,具体详见下述实施例。In the above embodiment, it is described that the host of the cloud game actively sends a cloud game control right transfer request. Of course, the viewer in the live broadcast room can also actively send a cloud game control right transfer request to request the control right of the cloud game. For details, see the following实施例。 Example.
本申请实施例的另一种可能的实现方式,确定直播间内的观众端获得云游戏操控权的方式,包括:接收任一观众端通过云端的互动信令服务器发送的第二云游戏操控权转移请求,第二云游戏操控权转移请求携带发送第二云游戏操控权转移请求的观众端的身份信息,第二云游戏操控权转移请求用于请求操控云游戏,通过云端的互动信令服务器发送针对第二云游戏操控权转移请求的确认消息,并确定直播间内的观众端获得云游戏操控权。Another possible implementation of the embodiment of the present application is to determine the manner in which the audience terminal in the live broadcast room obtains the cloud game control right, including: receiving the second cloud game control right sent by any audience terminal through the cloud interactive signaling server Transfer request. The second cloud game control right transfer request carries the identity information of the viewer who sent the second cloud game control right transfer request. The second cloud game control right transfer request is used to request control of the cloud game and is sent through the cloud interactive signaling server In response to the confirmation message of the second cloud game control right transfer request, it is determined that the audience terminal in the live broadcast room obtains the cloud game control right.
具体地,当云游主播端接收到任一观众端通过云端的互动信令服务器发送的第二游戏操控权转移请求之后,可以显示给主播,当检测到主播的确认操作时,云游主播端将针对第二云游戏操控权转移请求的确认消息通过云端的互动信令服务器发送至对应的观众端,以确定出直播间内的观众端获得云游戏操控权。Specifically, after receiving the second game control transfer request sent by any viewer through the interactive signaling server in the cloud, the anchor end of the cloud game can display it to the anchor. When the anchor's confirmation operation is detected, the anchor end of the cloud game will respond to The confirmation message of the second cloud game control right transfer request is sent to the corresponding audience terminal through the interactive signaling server in the cloud, so as to confirm that the audience terminal in the live broadcast room obtains the cloud game control right.
当然,当云游主播端在预设时间段内接收到至少两个观众端分别发送的第二游戏操控权转移请求之后,可以显示给主播,然后基于主播的选择操控确定获得操控权的观众端,并发送针对其发送的第二云游戏操控权转移请求的确认消息;又或者可以基于接收到操控权转移请求的先后顺序,确定出获得操控权的观众端,并发送针对其发送的第二云游戏操控权转移请求的确认消息;又或者可以由云游主播端随机确定出获得操控权的观众端,并发送针对其发送的第二云游戏操控权转移请求的确认消息。Of course, after the mobile game host receives the second game control transfer request sent by at least two viewers within a preset time period, it can be displayed to the host, and then based on the host’s selection and manipulation, the viewer that has the control right is determined. And send a confirmation message for the second cloud game control transfer request sent by it; or based on the order in which the control transfer request is received, determine the audience that has the control right, and send the second cloud game sent to it. A confirmation message for the transfer request of the game control right; or the cloud game host can randomly determine the viewer terminal that has the control right, and send a confirmation message for the second cloud game control transfer request sent by it.
例如,云游主播端在1分钟内接收到观众端C和观众端D分别发送的第二游戏操控权转移请求,显示给主播,基于主播的选择操作,确定出观众端C为获得操控权的观众端,则向观众端C发送针对第二云游戏操控权转移请求的确认消息;又或者云游主播端在1分钟内接收到观众端C 和观众端D分别发送的第二游戏操控权转移请求,且先接收到观众端C的请求,则确定观众端C为获得操控权的观众端,则向观众端C发送针对第二云游戏操控权转移请求的确认消息,且确定出观众端获得云游戏操控权;又或者,云游戏主播端随机选择观众端D为获得操控权的观众端,则向观众端D发送针对第二云游戏操控权转移请求的确认消息,且确定出观众端获得云游戏操控权。For example, the host of the cloud game receives the second game control transfer request sent by the viewer C and the viewer D within 1 minute, and displays it to the host. Based on the host's selection operation, it is determined that the viewer C is the viewer with the control rights. At the end, it sends a confirmation message for the second cloud game control transfer request to the audience C; or the cloud game host receives the second game control transfer request sent by the audience C and the audience D separately within 1 minute, And first receives the request of the audience terminal C, it is determined that the audience terminal C is the audience terminal that has the control right, and then the confirmation message for the second cloud game control right transfer request is sent to the audience terminal C, and it is determined that the audience terminal has obtained the cloud game Control; or, the cloud game host randomly selects the audience terminal D as the audience terminal that has the control right, and sends a confirmation message for the second cloud game control right transfer request to the audience terminal D, and determines that the audience terminal obtains the cloud game Control.
进一步地,除了上述两种方式((1)云游主播端确定发送云游戏转移请求的观众端,并向确定出的观众端发送第一云游戏操控权转移请求,进而确定出观众端获得云游戏操控权;(2)云游戏主播端直接接收观众端发送的第二云游戏操控权转移请求,进而确定出获得操控权的观众端,以确定出观众端获得云游戏操控权,当然还可以由云端的互动信令服务器确定出接收云游戏转移请求的观众端,具体详见下述实施例。Further, in addition to the above two methods ((1) The host of the cloud game determines the audience that sends the cloud game transfer request, and sends the first cloud game control right transfer request to the determined audience, and then determines that the audience obtains the cloud game. Control; (2) The cloud game host directly receives the second cloud game control transfer request sent by the audience, and then determines the audience that has the control right to determine that the audience has the control of the cloud game. Of course, it can also be controlled by the audience. The interactive signaling server in the cloud determines the audience end that receives the cloud game transfer request. For details, refer to the following embodiments.
本申请实施例的另一种可能的实现方式,确定直播间内的观众端获得云游戏操控权的方式,包括:通过云端的互动信令服务器向任一观众端发送第三云游戏操控权转移请求,其中,接收到第三云游戏操控权转移请求的观众端是由云端的互动信令服务器确定的;当接收到针对第三云游戏操控权转移请求的确认消息,确定直播间内的观众端获得云游戏操控权,针对第三云游戏操控权转移请求的确认消息携带有确认消息发送方对应的观众端的身份标识。Another possible implementation of the embodiment of the present application is to determine the manner in which the audience terminal in the live broadcast room obtains cloud game control rights, including: sending a third cloud game control right transfer to any audience terminal through the cloud interactive signaling server The request, where the audience that receives the third cloud game control right transfer request is determined by the cloud interactive signaling server; when the confirmation message for the third cloud game control right transfer request is received, the audience in the live broadcast room is determined The terminal obtains the control right of the cloud game, and the confirmation message for the third cloud game control right transfer request carries the identity of the audience terminal corresponding to the sender of the confirmation message.
具体地,云游戏主播端发送第三云游戏操控权转移请求,在云端的互动信令服务器接收到该转移请求之后,确定出接收该第三云游戏操控权转移请求的观众端,进而将第三云游戏操控权转移请求推送至对应的观众端。在本申请实施例中,云端的互动信令服务器可以随机确定出接收该第三云游戏操控权转移请求的观众端,还可以基于历史获得操控权的记录,确定出接收该第三云游戏操控权转移请求的观众端。当然基于其他方式确定出接收第三云游戏操控权转移请求的观众端的方式均在本申请实施例的保护范围之内。Specifically, the cloud game host sends a third cloud game control right transfer request. After the cloud interactive signaling server receives the transfer request, it determines the audience that receives the third cloud game control right transfer request, and then transfers the third cloud game control right transfer request. Three cloud game control transfer request is pushed to the corresponding audience. In the embodiment of the present application, the interactive signaling server in the cloud can randomly determine the audience side that receives the third cloud game control right transfer request, and can also obtain the control right record based on history to determine to receive the third cloud game control The audience side of the right transfer request. Of course, the method of determining the viewer terminal receiving the third cloud game control right transfer request based on other methods is within the protection scope of the embodiment of the present application.
进一步地,当云游戏主播端接收到针对第三云游戏操控转移权的确认消息之后,确定获得操控权的观众端的方式和确定出观众端获得云游戏操 控权的方式和上述实施例中介绍的方式类似,在此不再赘述。Further, after the cloud game host receives the confirmation message for the third cloud game control transfer right, the method of determining the audience terminal to obtain the control right and the method of determining the audience terminal obtaining the cloud game control right are as described in the above-mentioned embodiment The method is similar, so I won't repeat it here.
当然,除了本申请实施例介绍的确定出获得云游戏操控权的观众端以及确定出观众端获得云游戏操控权的方式,其他可能的确定出获得云游戏操控权的观众端和确定出观众端获得云游戏操控权的方式均在本申请实施例的保护范围之内。Of course, in addition to determining the audience terminal that obtains cloud game control rights and determining the manner in which the audience terminal obtains cloud game control rights described in the embodiments of this application, there are other possibilities to determine the audience terminal that obtains cloud game control rights and determine the audience terminal. The ways to obtain the cloud game control right are all within the protection scope of the embodiments of the present application.
由上述实施例可知,云游主播端将针对云游戏的操控权转移给直播间内的某一观众端,则此时云游主播端此时不需要与主控GS连接,因此在本申请实施例中,还包括:断开与主控GS的连接。It can be seen from the above embodiment that the cloud game host transfers the control of the cloud game to a certain viewer in the live broadcast room. At this time, the cloud game host does not need to connect with the master GS at this time. Therefore, in this embodiment of the application , Also includes: disconnect the connection with the master GS.
进一步地,在确定出直播端的观众端获得云游戏操控权的同时或者之后,可以执行断开与主控GS的连接操作;当然还可以在发送连接通知同时或者之后断开与主控GS的连接操作,又或者当检测到获得操控权的观众端(第一观众端)与主控GS建立连接时断开与主控GS的连接操作。在本申请实施例中不限定具体的执行顺序。任何可能的执行顺序均在本申请实施例的保护范围之内。Further, at the same time or after it is determined that the viewer terminal of the live broadcast terminal obtains the control of the cloud game, the disconnection operation with the master GS can be performed; of course, the connection with the master GS can also be disconnected at the same time or after the connection notification is sent. Operation, or when it is detected that the audience terminal (the first audience terminal) that has obtained the control right establishes a connection with the master GS, the connection operation with the master GS is disconnected. The specific execution sequence is not limited in the embodiments of the present application. Any possible execution order falls within the protection scope of the embodiments of this application.
由上述实施例中可知,获得操控权的观众端(第一观众端)也可以获得针对云游戏的操控权,云游主播端仍然具有向云端的直播流服务器推送针对主播的多媒体信息,具体地,向直播流服务器推送针对主播的多媒体信息,包括:通过多媒体获取装置获取针对主播的多媒体信息;通过RTMP流方式向直播流服务器推送针对主播的多媒体信息,以使得各个观众端从直播流服务器中拉取针对主播的多媒体信息。It can be seen from the above embodiment that the viewer end (the first viewer end) that obtains the control right can also obtain the control right for the cloud game, and the cloud game host still has the ability to push multimedia information for the host to the live streaming server in the cloud. Specifically, Pushing multimedia information for the host to the live streaming server includes: obtaining the multimedia information for the host through the multimedia acquisition device; pushing the multimedia information for the host to the live streaming server through RTMP streaming, so that each viewer can pull from the live streaming server Get multimedia information for the anchor.
其中,多媒体信息包括:视频数据和音频数据。Among them, multimedia information includes: video data and audio data.
具体地,云游主播端通过摄像头获取主播的视频数据,并通过话筒获得主播的音频数据,并将获得视频数据和音频数据通过RTMP流方式推送至直播流服务器,以使得直播间内的各个观众端(包括第一观众端和其它观众端)从直播流服务器中拉取主播的视频数据和音频数据。Specifically, the anchor end of the cloud game obtains the anchor's video data through the camera, and obtains the anchor's audio data through the microphone, and pushes the obtained video data and audio data to the live streaming server through RTMP streaming, so that each audience in the live room (Including the first audience terminal and other audience terminals) pull the anchor's video data and audio data from the live streaming server.
当然,上述获取的针对主播的多媒体信息还可以包括:云游主播端进行连麦和多人会议时的多媒体信息,因此本申请实施例中不影响云游主播端和其它观众端和其它主播的互动。Of course, the above-mentioned acquired multimedia information for the host may also include multimedia information when the host of the cloud tour is connected to microphones and multi-person meetings. Therefore, the embodiment of the application does not affect the interaction of the host of the cloud tour with other viewers and other hosts.
进一步地,除了云游戏画面和声音数据、以及针对主播的多媒体信息, 还可以包括:聊天信息和礼物信息,在本申请实施例中,云游主播端在公屏上输入的聊天信息,可以通过直播IM服务器传送至直播间内的各个观众端,当然直播间内任一观众端在公屏上输入的聊天信息还可以通过直播IM服务器传送至云游主播端以及各个观众端,当然任一观众端赠送给主播的礼物信息,还可以通过直播IM服务器传送至云游主播端和各个观众端,以在对应的位置处显示观众端赠送的礼物信息。Further, in addition to cloud game picture and sound data, and multimedia information for the anchor, it may also include chat information and gift information. In this embodiment of the application, the chat information input by the cloud game anchor on the public screen can be broadcast The IM server is transmitted to each audience in the live room. Of course, the chat information input by any audience in the live room on the public screen can also be transmitted to the cloud game host and each audience through the live IM server. Of course, any audience can give it away. The gift information for the host can also be transmitted to the cloud tour host and each audience through the live IM server, so as to display the gift information given by the audience at the corresponding location.
进一步地,云游主播端仅是将云游戏的操控权转移给观众端(第一观众端),其实云游主播端仍然拥有针对云游戏的控制权,即可以随时收回第一观众端针对云游戏的操控权,具体如下所示:Further, the cloud game host only transfers the control of the cloud game to the audience (the first audience). In fact, the cloud game host still has the control of the cloud game, that is, it can take back the first audience’s control of the cloud game at any time. Control rights, as follows:
本申请实施例的另一种可能的实现方式,还包括:通过云端的互动信令服务器向第一观众端发送收回控制权通知,以及通过云端的互动信令服务器向主控GS发送断开连接通知。Another possible implementation manner of the embodiment of the present application further includes: sending a notification of taking back the control right to the first audience through the interactive signaling server in the cloud, and sending disconnection to the master GS through the interactive signaling server in the cloud Notice.
对于本申请实施例,通过云端的互动信令服务器向第一观众端发送收回控制权通知的步骤,与通过云端的互动信令服务器向与主控GS发送断开连接通知的步骤之间不存在严格的顺序,即二者可以同时执行,其中一步骤可以在另一步骤之前执行。For the embodiment of the present application, there is no difference between the step of sending a notification of taking back the control right to the first audience through the interactive signaling server in the cloud and the step of sending a disconnection notification to the master GS through the interactive signaling server in the cloud. Strict order, that is, the two can be performed at the same time, and one of the steps can be performed before the other.
其中,收回控制权通知用于通知第一观众端,云游主播端收回云游戏操控权,断开通知用于通知主控GS断开与第一观众端的连接。Among them, the notice of taking back the control right is used to notify the first viewer end, the cloud game host end takes back the control right of the cloud game, and the disconnect notice is used to notify the master GS to disconnect from the first viewer end.
具体地,在直播间内的观众端获得云游戏操控权之后即可以向云端的互动信令服务器发送收回控制权通知,以使得云端的互动信令服务器向获得操控权请求的观众端(第一观众端)发送收回控制权通知,例如,在获得操控权的观众端可以仅显示“云游主播端已收回云游戏的操控权,在XXX时间之后将不能操控该云游戏”等等。Specifically, after the audience side in the live broadcast room obtains the control right of the cloud game, it can send a notification of taking back the control right to the interactive signaling server in the cloud, so that the interactive signaling server in the cloud can send the control right request to the audience side (first The audience side) sends a notification of taking back the control right. For example, the audience side that has obtained the control right can only display "The cloud game host has taken back the control right of the cloud game and will not be able to control the cloud game after XXX time" and so on.
进一步地,云游主播端通过云端的互动信令服务器向主控GS发送断开连接通知,以使得接收到该断开连接通知的主控GS在预设时间之后断开与获得操控权的观众端(第一观众端)的连接。例如,主控GS在接收到断开连接通知之后,开启倒计时,并在倒计时结束之后主动断开与获得操控权的观众端(第一观众端)的连接。Further, the cloud game host sends a disconnection notification to the master GS through the interactive signaling server in the cloud, so that the master GS receiving the disconnection notification will disconnect after a preset time and the viewer terminal that has the control right (The first audience) connection. For example, the main control GS starts a countdown after receiving the disconnection notification, and actively disconnects the connection with the audience terminal (the first audience terminal) that has the control right after the countdown ends.
在本申请实施例中,云游主播端可以随时向第一观众端发送收回控制 通知,且不需要第一观众端同意就可以收回云游戏操控权,即云游主播端具备云游戏的绝对操控权,从而可以保证云游主播端掌控云游戏直播,提升主播的体验。In this embodiment of the application, the cloud game host can send a withdrawal control notification to the first viewer at any time, and the cloud game control right can be withdrawn without the first viewer’s consent, that is, the cloud game host has absolute control of the cloud game. This can ensure that the cloud game host is in control of the cloud game live broadcast and enhance the experience of the host.
当然,在云游主播端收回云游戏操控权之后,还可以按照上述方式向另一个观众端转移游戏操控权,当然还可以在同一观众端再次转移游戏操控权,具体的方式如上所示,在此不再赘述。进一步地,获得操控权的观众端(第一观众端)还可以将游戏操控权转移给直播间内的另一观众端,具体地操作流程如下所示:Of course, after the cloud game host has retracted the control of the cloud game, the game control can also be transferred to another audience side in the above manner. Of course, the game control can also be transferred again on the same audience side. The specific method is shown above, here No longer. Furthermore, the audience end (the first audience end) that has obtained the control right can also transfer the control right of the game to another audience end in the live broadcast room. The specific operation process is as follows:
(1)第一观众端向另一观众端发送操控权转移请求,可以通过互动信令服务器,也可以不通过互动信令服务器;(1) The first viewer end sends a control right transfer request to another viewer end, either through the interactive signaling server or not through the interactive signaling server;
当然,第一观众端向另一观众端发送操控权转移请求之前,先向云游主播端发送是否准许转移操控权的请求,该请求携带待得到操控权的观众端的身份信息。Of course, before the first viewer end sends a control right transfer request to another viewer end, it first sends a request whether to allow the control right transfer to the cloud tour host end, and the request carries the identity information of the viewer end to be controlled.
(2)第一观众端接收该另一观众端针对操控权转移请求的确认操控,可以通过互动信令服务器,也可以不通过互动信令服务器;(2) The first audience terminal receives the confirmation control of the control right transfer request from the other audience terminal, either through the interactive signaling server or not through the interactive signaling server;
(3)第一观众端向该另一观众端发送连接通知,携带主控GS的连接信息,以使得另一观众端与主控GS建立连接;(3) The first audience terminal sends a connection notification to the other audience terminal, carrying the connection information of the master GS, so that the other audience terminal establishes a connection with the master GS;
(4)第一观众端断开与主控GS的连接,该步骤与(2)、(3)的顺序不做限定;(4) The first audience terminal is disconnected from the main control GS, and the sequence of this step and (2) and (3) is not limited;
(5)主控GS接收该另一观众端的操控指令,模拟对应的操控,得到游戏画面和声音数据,并将游戏画面和声音数据推送至直播流服务器;(5) The main control GS receives the control instruction from the other audience side, simulates the corresponding control, obtains the game screen and sound data, and pushes the game screen and sound data to the live streaming server;
(6)第一观众端、云游主播端以及其它观众端(除第一观众端和该另一观众端之外)从直播流服务器中拉取游戏画面和声音数据;(6) The first audience terminal, the cloud game host terminal, and other audience terminals (except the first audience terminal and the other audience terminal) pull the game screen and sound data from the live streaming server;
当然,云游主播端还是会推送针对主播的多媒体信息至直播流服务器,以使得各个观众端拉取针对主播的多媒体信息。Of course, the anchor end of the cloud game will still push the multimedia information for the anchor to the live streaming server, so that each viewer end can pull the multimedia information for the anchor.
进一步地,在上述情况下,仍然由主播拥有操控权收回权限,具体方式与上述收回方式类似,不再赘述。Further, in the above case, the anchor still has the control right to withdraw the authority, and the specific method is similar to the above withdrawal method, and will not be repeated.
当然,在上述实施例中,若云游主播端或者第一观众端均未接收到任何针对云游戏操控权转移请求的确认消息时,可以重新向其它观众端发送 云游戏转移请求,当然还可以继续操控云游戏。进一步地,获得云游戏的观众端还可以向云游主播端发送请求,以请求云游主播端收回其云游戏操控权。Of course, in the above-mentioned embodiment, if neither the cloud game host nor the first viewer terminal receives any confirmation message for the cloud game control transfer request, the cloud game transfer request can be re-sent to other viewer terminals, and of course it can continue. Control cloud games. Further, the viewer terminal that has obtained the cloud game may also send a request to the cloud game host to request the cloud game host to withdraw its cloud game control rights.
由上述实施例可知,云游主播端需要和直播间内的观众端进行信息交互,因此,该方法还包括:从云端的即时通讯IM直播服务器中获取直播间内所有观众端分别对应的身份信息。It can be seen from the above embodiment that the cloud game host needs to interact with the audience in the live room. Therefore, the method further includes: obtaining the identity information corresponding to all the viewers in the live room from the instant messaging IM live server in the cloud.
具体地,从云端的IM直播服务器中获取直播间内的所有观众端分别对应的身份信息的步骤,可以位于向第一观众端发送连接通知之前,也可以位于通过云端的互动信令服务器向直播间的某一观众端发送第一云游戏操控权转移请求之前,当然还可以位于当云游主播端登入该直播间的同时或之后。在本申请实施例中不做限定。Specifically, the step of obtaining the identity information corresponding to all the viewers in the live broadcast room from the IM live broadcast server in the cloud may be performed before sending the connection notification to the first viewer, or may be located at the interactive signaling server in the cloud to the live broadcast. Before a certain viewer terminal sends the first cloud game control right transfer request, of course, it can also be located at the same time or after the cloud game anchor terminal logs in to the live broadcast room. It is not limited in the embodiments of this application.
上述实施例主要以云游主播端的角度介绍了云游戏直播方法,下述以第一观众端(获得操控权的观众端)为主介绍云游戏直播方法,详见下述实施例。The foregoing embodiment mainly introduces the cloud game live broadcast method from the perspective of the cloud game host. The following describes the cloud game live broadcast method mainly from the first viewer terminal (the viewer terminal that obtains the control right). For details, refer to the following embodiments.
本申请实施例还提供了另一种云游戏直播方法,如图2所示,由第一观众端执行,包括:The embodiment of the present application also provides another cloud game live broadcast method, as shown in FIG. 2, executed by the first audience terminal, including:
步骤S201、接收云游主播端通过云端的互动信令服务器发送的连接通知。Step S201: Receive a connection notification sent by the cloud game host through the interactive signaling server in the cloud.
其中,连接通知中携带主控GS的连接信息,连接通知用于通知第一观众端与主控GS建立连接。Wherein, the connection notification carries the connection information of the master GS, and the connection notification is used to notify the first audience to establish a connection with the master GS.
具体地,第一观众端接收云游主播端通过云端的互动信令服务器发送的连接通知的方式以及主控GS的连接信息详见上述实施例,在此不再赘述。Specifically, the manner in which the first viewer terminal receives the connection notification sent by the cloud game host through the cloud interactive signaling server and the connection information of the master GS are detailed in the above-mentioned embodiment, and will not be repeated here.
步骤S202、基于主控GS的连接信息与主控GS建立连接。在本申请实施例中,第一观众端基于接收到的主控GS的连接信息与主控GS建立P2P连接。Step S202: Establish a connection with the main control GS based on the connection information of the main control GS. In the embodiment of the present application, the first audience terminal establishes a P2P connection with the main control GS based on the received connection information of the main control GS.
进一步地,在第一观众端与主控GS建立连接关系之后,才可以实现云游戏操控。Further, the cloud game control can be realized only after the first audience terminal establishes a connection relationship with the main control GS.
步骤S203、从云端的直播流服务器中拉取针对主播的多媒体信息, 以及将针对游戏的操控指令推送至云游服务器的主控GS,以使得云游服务器的主控GS基于操控指令生成云游戏画面和声音数据,并推流至云端的直播流服务器。Step S203: Pull multimedia information for the anchor from the live streaming server in the cloud, and push the game-specific control instructions to the main control GS of the cloud game server, so that the main control GS of the cloud game server generates cloud game images and images based on the control instructions. The audio data is pushed to the live streaming server in the cloud.
具体地,第一观众端获取该观众对于云游戏的操控指令,并将针对云游戏的操控指令通过P2P实时协议流推送至主控GS,以使得主控GS在在云端对应运行的目标游戏实例中模拟所述游戏操控指令,并基于操控结果生成游戏画面和声音数据,推流至直播流服务器,以使得云游主播端和其他观众端从直播流服务器中拉取游戏画面和声音数据。当然,云游主播端和其它观众端可以通过拉取RTMP流、HLS流或者其他协议流的方式拉取游戏画面和声音数据。Specifically, the first viewer terminal obtains the viewer's control instructions for the cloud game, and pushes the control instructions for the cloud game to the master GS through the P2P real-time protocol stream, so that the master GS corresponds to the target game instance running in the cloud The game control instructions are simulated in the game control command, and based on the control result, the game picture and sound data are generated, and streamed to the live streaming server, so that the cloud game host and other viewers can pull the game picture and sound data from the live streaming server. Of course, the cloud game host and other viewers can pull the game screen and sound data by pulling RTMP streams, HLS streams or other protocol streams.
当然,第一观众端和其他观众端仍然从直播流服务器中拉取针对主播的多媒体信息。Of course, the first viewer and other viewers still pull multimedia information for the anchor from the live streaming server.
本申请实施例提供了一种云游戏直播方法,与现有技术相比,本申请实施例接收云游主播端通过云端的互动信令服务器发送的连接通知,连接通知中携带主控GS的连接信息,连接通知用于通知第一观众端与主控GS建立连接,然后基于主控GS的连接信息与主控GS建立连接,然后从云端的直播流服务器中拉取针对主播的多媒体信息,并且将针对游戏的操控指令推送至云游服务器中的主控GS,以使得云游服务器的主控GS中的主控GS基于操控指令生成云游戏画面和声音数据,并推流至云端的直播流服务器。即,在本申请中直播间的获取操控权的观众端从直播流服务器中拉取针对主播的多媒体信息,并与主控GS连接,操控云游戏并将操控指令推送至主控GS,以使得主控GS将基于操控指令生成的云游戏画面和声音数据推送至直播流服务器,从而实现将操控云游戏和直播进行结合。The embodiment of the application provides a cloud game live broadcast method. Compared with the prior art, the embodiment of the application receives a connection notification sent by a cloud game host through an interactive signaling server in the cloud, and the connection notification carries the connection information of the master GS , The connection notification is used to notify the first audience to establish a connection with the master GS, and then establish a connection with the master GS based on the connection information of the master GS, and then pull the multimedia information for the anchor from the live streaming server in the cloud, and The game control commands are pushed to the main control GS in the cloud game server, so that the main control GS in the main control GS of the cloud game server generates cloud game screen and sound data based on the control instructions, and pushes them to the live streaming server in the cloud. That is, in this application, the viewer terminal that obtains the control right in the live room pulls the multimedia information for the anchor from the live streaming server, and connects with the main control GS, controls the cloud game and pushes the control instructions to the main control GS, so that The main control GS pushes the cloud game picture and sound data generated based on the control instruction to the live streaming server, thereby realizing the combination of cloud game control and live broadcast.
本申请实施例的另一种可能的实现方式,基于主控GS的连接信息与主控GS建立连接,之后还包括:停止从云端的直播流服务器中拉取游戏画面和声音数据。Another possible implementation manner of the embodiment of the present application is to establish a connection with the main control GS based on the connection information of the main control GS, and then further includes: stopping to pull the game screen and sound data from the live streaming server in the cloud.
对于本申请实施例,由于第一观众端获得云游戏的操控权,即由第一观众端针对云游戏进行操控,因此第一观众端在与主控GS建立连接关系 之后,停止从云端的直播流服务器中拉取游戏画面和声音数据。但是仍然拉取针对主播的多媒体信息。For the embodiment of this application, since the first audience terminal obtains the control right of the cloud game, that is, the first audience terminal controls the cloud game, the first audience terminal stops the live broadcast from the cloud after establishing a connection relationship with the master GS Pull the game screen and sound data from the streaming server. But it still pulls multimedia information for the anchor.
进一步地,虽然第一观众端(获得操控权的观众端)将针对游戏的操控指令推送至云游服务器的主控GS,但是第一观众端(获得操控权的观众端)也需要获得针对云游戏的操控结果,因此将针对游戏的操控指令推送至云游服务器之后,还包括:接收云游服务器的主控GS通过点对点P2P实时协议推送的视频流和音频流,视频流和音频流是由云游服务器的主控GS对基于操控指令生成的游戏画面和声音数据进行编码得到的。Furthermore, although the first audience end (the audience who has the control right) pushes the control instructions for the game to the main control GS of the cloud game server, the first audience (the audience who has the control right) also needs to obtain the control instructions for the cloud game. Therefore, after pushing the control instructions for the game to the cloud game server, it also includes: receiving the video stream and audio stream pushed by the main control GS of the cloud game server through the point-to-point P2P real-time protocol. The video stream and audio stream are from the cloud game server The main control GS is obtained by encoding the game picture and sound data generated based on the control command.
具体地,在上述实施例中云游服务器中的主控GS基于操控指令生成云游戏画面和声音数据之后还可以对其进行编码得到对应的视频流和音频流,并将视频流和音频流推送至直播流服务器,并且将视频流和音频流通过P2P实时协议推送至第一观众端(获得操控权的观众端),即第一观众端接收到云游服务器中的主控GS推送的视频流和音频流。Specifically, in the above-mentioned embodiment, the main control GS in the cloud game server generates cloud game picture and sound data based on the control instruction, and can also encode it to obtain the corresponding video stream and audio stream, and push the video stream and audio stream to Live streaming server, and push the video stream and audio stream to the first audience (the audience with the control right) through the P2P real-time protocol, that is, the first audience receives the video stream and audio pushed by the master GS in the cloud game server flow.
进一步地,第一观众端仅是获得云游戏的操控权,但是云游主播端可以随时收回第一观众端针对云游戏的操控权,具体地,该方法还包括:接收云端的互动信令服务器发送的收回操控权的通知消息。Further, the first audience terminal only obtains the control right of the cloud game, but the cloud game host terminal can withdraw the control right of the first audience terminal for the cloud game at any time. Specifically, the method further includes: receiving the cloud-based interactive signaling server. The notification message of taking back the control right.
其中,通知消息用于通知第一观众端,云游主播端收回针对云游戏的操控权。Among them, the notification message is used to notify the first viewer end that the cloud game anchor end takes back the control right for the cloud game.
其中,针对接收云端的互动信令服务器发送的收回操控权的通知消息的方式,详见云游主播端对应的实施例,在此不再赘述。For the manner of receiving the notification message of reclaiming the control right sent by the interactive signaling server in the cloud, please refer to the corresponding embodiment of the cloud game host for details, which will not be repeated here.
由上述实施例可知,无论是云游主播端操控云游戏还是获得操控权的观众端操控云游戏,均需要主控GS将操控结果(云游戏画面和声音数据)推流至直播流服务器,因为在操控云游戏之前,主控GS和主播流服务器需要建立连接关系;具体地,主控GS接收云游主播端发送的推流地址和密钥,推流地址和密钥为云游主播端登录直播间时获取到的推流地址和密钥;主控GS基于接收到的推流地址对存储的推流地址进行更新;主控GS基于更新后的推流地址向直播流服务器发送携带有密钥的连接请求,以使得直播流服务器与云游服务器建立连接。在本申请实施例中,主控GS在接收到云游主播端发送的推流地址和密钥后,还可以根据接收到的推流地 址对已存储的推流地址进行更新,并且直接根据接收到的推流地址向主播流服务器发送携带有密钥的连接请求。It can be seen from the above embodiment that whether it is the cloud game host controlling the cloud game or the audience controlling the cloud game with the control right, the master GS needs to push the control result (cloud game screen and sound data) to the live streaming server, because Before controlling the cloud game, the master GS and the host streaming server need to establish a connection relationship; specifically, the master GS receives the streaming address and key sent by the Yunyou host, and the push address and key are when the Yunyou host logs in to the live room The obtained push stream address and key; the master control GS updates the stored push stream address based on the received push stream address; the master control GS sends the connection carrying the key to the live streaming server based on the updated push stream address Request to establish a connection between the live streaming server and the cloud game server. In the embodiment of this application, after the master GS receives the push stream address and key sent by the host of Yunyou, it can also update the stored push stream address according to the received push stream address, and directly according to the received push stream address. The push stream address sends a connection request carrying the key to the host stream server.
具体地,在云游主播登入直播间时,主播获取推流地址和密钥,然后云游主播端接收用户(主播)在页面端输入的推流地址和密钥,并且在启动游戏时将推流地址和密钥传送至云游服务器的主控GS,主控GS对存储的推流地址进行更新,并基于更新后的推流地址向直播流服务器发送携带有密钥的连接请求,以使得直播流服务器基于密钥进行验证,在验证通过之后实现直播流服务器与云游服务器的主控GS建立连接,具体如图8所示。Specifically, when a Yunyou host logs in to the live room, the host obtains the push address and key, and then the Yunyou host receives the push address and key entered by the user (host) on the page side, and will push the address when starting the game And the key is transmitted to the main control GS of the cloud game server, the main control GS updates the stored push stream address, and sends a connection request carrying the key to the live stream server based on the updated push stream address, so that the live stream server The verification is based on the key, and after the verification is passed, a connection between the live streaming server and the master GS of the cloud game server is realized, as shown in Fig. 8.
进一步地,在上述实施例的基础上,介绍了一个具体实例,以介绍云游戏直播方式,具体如图9所示。Further, on the basis of the foregoing embodiment, a specific example is introduced to introduce the cloud game live broadcast method, as shown in FIG. 9.
①云游主播端通过直播SDK从云端的直播IM服务器中获取直播间内各个观众端分别对应的身份标识;① The host of the cloud game obtains the corresponding identities of each audience in the live room from the live IM server in the cloud through the live SDK;
②云游主播端通过云端的互动信令服务器向某一观众端发送云游戏操控权转移请求;②The host of the cloud game sends a cloud game control right transfer request to a certain audience through the interactive signaling server in the cloud;
③若该观众端同意获得操控权,则通过云端的互动信令服务器向云游主播端发送针对云游戏操控权转移请求的确认消息;③If the viewer agrees to obtain the control right, it will send a confirmation message for the cloud game control right transfer request to the cloud game host through the cloud interactive signaling server;
④云游主播端断开与云游服务器中主控GS的连接;④The anchor end of the cloud game disconnects the connection with the master GS in the cloud game server;
⑤向获得操控权的观众端发送连接通知,以通知该观众端与主控GS建立连接;⑤Send a connection notification to the audience that has the control right to notify the audience to establish a connection with the master GS;
⑥获得操控权的观众端与主控GS建立P2P连接(此时可向主控GS发送针对云游戏的操控指令);⑥The audience terminal that has obtained the control right establishes a P2P connection with the main control GS (at this time, the control command for cloud games can be sent to the main control GS);
⑦获得操控权的观众端通过互动信令服务器向云游主播端发送已连接通知消息,以通知云游主播端,获得操控权的观众端与主控GS建立连接;⑦The viewer terminal that has obtained the control right sends a connected notification message to the cloud tour host through the interactive signaling server to notify the cloud tour host, and the viewer terminal that has the control right establishes a connection with the master GS;
⑧获得操控权的观众端停止从直播流服务器中拉取对应的游戏画面和声音数据;⑧ The viewer who has obtained the control right stops pulling the corresponding game screen and sound data from the live streaming server;
⑨主控GS向直播流服务器推送游戏画面和声音数据;⑨The main control GS pushes the game screen and sound data to the live streaming server;
⑩云游主播端和其他观众端从直播流服务器中拉取游戏画面和声 音数据;进一步地,其他观众端从直播流服务器中拉取游戏画面和声音数据在图9中不再展示;⑩The cloud game host and other viewers pull the game screen and sound data from the live streaming server; further, other viewers pull the game screen and sound data from the live streaming server, which is no longer shown in Figure 9;
Figure PCTCN2020115990-appb-000001
游主播端向直播流服务器推送针对主播的多媒体信息;
Figure PCTCN2020115990-appb-000001
The host of the tour pushes the multimedia information for the host to the live streaming server;
Figure PCTCN2020115990-appb-000002
个观众端从直播流服务器中拉取针对主播的多媒体信息。
Figure PCTCN2020115990-appb-000002
A viewer terminal pulls multimedia information for the anchor from the live streaming server.
其中,⑨⑩
Figure PCTCN2020115990-appb-000003
之间并不限定执行顺序。并且,其他观众端从直播流服务器中拉取针对直播的多媒体信息也不在图9中展示。
Among them, ⑨⑩
Figure PCTCN2020115990-appb-000003
There is no restriction on the order of execution. Moreover, the multimedia information for the live broadcast that other viewers pull from the live streaming server is not shown in FIG. 9.
Figure PCTCN2020115990-appb-000004
云游主播端通过互动信令服务器向获得操控权的观众端发送收回操控权通知,并且通过互动信令服务器向主控GS发送断开连接通知,以使得主控GS断开与获得操控权的观众端的P2P连接。
Figure PCTCN2020115990-appb-000004
The host of the cloud game sends a notice of revocation of the control right through the interactive signaling server to the audience that has the control right, and sends a disconnection notice to the master GS through the interactive signaling server, so that the master GS is disconnected and the audience who has the control right P2P connection at the end.
其中,主控GS断开与获得操控权的观众端的连接不在图9中展示。Among them, the disconnection of the main control GS and the connection of the audience terminal with the control right are not shown in FIG. 9.
进一步地,由上述实施例可知,云游主播端仅是将云游戏操控权传递给某一观众端,并不需要传递游戏账号和密钥,以避免游戏账号和密钥外泄,造成信息不安全的情况,并且提升了主播和观众端的互动。Furthermore, it can be seen from the above embodiment that the cloud game host only transfers the cloud game control rights to a certain audience, and does not need to transmit the game account and key, so as to avoid the leakage of the game account and key, resulting in insecure information. Circumstances, and improve the interaction between the anchor and the audience.
进一步地,由上述实施例可知:云游主播端在具备云游戏操控权时,云游戏主播端通过P2P与主控GS连接,以将云游戏操控指令推送至主控GS,然后由主控GS将基于该云游戏操控指令生成的游戏画面和声音数据推流至云端的直播流服务器,以使得直播间内的各个观众端可以从云端的直播流服务器中拉取该游戏画面和声音数据;并且,云游主播端还可以将获取到的针对主播的多媒体信息推流至云端的直播流服务器,以使得直播间的各个观众端从该云端的直播流服务器中拉取对应的针对主播的多媒体信息,但是直播间内的任一个观众端在拉取对应的数据时,可以向直播流服务器发送请求消息,以请求拉取数据的类型,若请求拉取的数据为针主播的多媒体信息、或者云游戏画面和声音数据时,则从云端的直播流服务器中拉取针对主播的多媒体信息,或者云游戏画面和声音数据,若请求拉取的数据为针对主播的多媒体信息以及云游戏画面和声音数据,则云端的直播流服务器可以对针对主播的多媒体信息以及云游戏画面和声音数据通过图像叠加、或者图像合成处理等合成为一路流,并由该观众端拉取该路流,以得到针对主播的多媒体信息以及云游戏画面和声音数据;当然,在云游主播端在该云游戏操控权转移给直播间内的某一观众端(第一观众 端)之后,直播间内的其他观众端(除第一观众端之外的其他观众端)在从直播流服务器中拉取数据时,同样适用于上述拉取方式,在此不在赘述。Furthermore, it can be seen from the above embodiment that when the cloud game host has the cloud game control right, the cloud game host connects to the master GS through P2P to push the cloud game control instructions to the master GS, and then the master GS will The game screen and sound data generated by the cloud game control instruction is pushed to the live streaming server in the cloud, so that each viewer in the live room can pull the game screen and sound data from the live streaming server in the cloud; and, cloud travel The host can also push the acquired multimedia information for the host to the live streaming server in the cloud, so that each viewer in the live room can pull the corresponding multimedia information for the host from the live streaming server in the cloud. When any viewer in the room pulls the corresponding data, it can send a request message to the live streaming server to request the type of data to be pulled. If the requested data is the multimedia information of the host, or the cloud game screen and For audio data, pull the multimedia information for the anchor or cloud game picture and sound data from the live streaming server in the cloud. If the requested data is the multimedia information for the anchor and the cloud game picture and sound data, the cloud The live streaming server can synthesize the multimedia information for the host and the cloud game picture and sound data into a stream through image superposition or image synthesis processing, and the viewer can pull the stream to obtain the multimedia information for the host And cloud game screen and sound data; of course, after the cloud game host end transfers the control of the cloud game to a certain audience in the live room (the first audience), other audiences in the live room (except the first audience) When pulling data from the live streaming server, it is also applicable to the above-mentioned pulling method, which will not be repeated here.
进一步地,在本申请实施例中,主控GS可以集成于游戏实例中,当然也可以单独存在。在本申请实施例中并不对此进行限定。Further, in the embodiment of the present application, the main control GS can be integrated into the game instance, or of course, can also exist separately. This is not limited in the embodiments of the present application.
上述实施例分别从方法流程的角度介绍了云游主播端执行云游戏直播方法以及第一观众端执行云游戏直播的方法,下述从虚拟模块或者虚拟单元的角度介绍了一种云游戏主播端以及第一观众端,在本申请实施例中介绍的云游戏主播端和第一观众端均可以适用于上述方法实施例,在此不再赘述。The above-mentioned embodiments respectively introduced the cloud game host end executing cloud game live broadcast method and the first audience end executing cloud game live broadcast method from the perspective of the method flow. The following introduces a cloud game host end from the perspective of a virtual module or a virtual unit. The first audience terminal, the cloud game anchor terminal and the first audience terminal introduced in the embodiments of the present application may be applicable to the foregoing method embodiments, and will not be repeated here.
本申请实施例提供了一种云游戏主播端,如图3所示,云游戏主播端30可以包括:第一发送模块31、拉取及推送模块32,其中,The embodiment of the present application provides a cloud game anchor terminal. As shown in FIG. 3, the cloud game anchor terminal 30 may include: a first sending module 31, a pull and push module 32, wherein:
第一发送模块31,被配置为当直播间内的观众端获得云游戏操控权,向第一观众端发送连接通知。The first sending module 31 is configured to send a connection notification to the first audience terminal when the audience terminal in the live broadcast room obtains the control right of the cloud game.
其中,连接通知中携带主控GS的连接信息,连接通知用于通知第一观众端与主控GS建立连接,第一观众端为获得云游戏操控权的观众端。Wherein, the connection notification carries the connection information of the master GS, the connection notification is used to notify the first audience terminal to establish a connection with the master GS, and the first audience terminal is the audience terminal that obtains the control right of the cloud game.
拉取及推送模块32,被配置为从直播流服务器中拉取云游戏画面和声音数据,向直播流服务器推送针对主播的多媒体信息,以实现云游戏直播。The pull and push module 32 is configured to pull the cloud game picture and sound data from the live streaming server, and push multimedia information for the anchor to the live streaming server, so as to realize the cloud game live broadcast.
其中,云游戏画面和声音数据是基于第一观众端的游戏操控指令生成的。Among them, the cloud game picture and sound data are generated based on the game control instructions of the first audience terminal.
本申请实施例的另一种可能的实现方式,云游主播端30还包括:第一确定模块,其中,In another possible implementation manner of the embodiment of the present application, the cloud tour anchor terminal 30 further includes: a first determining module, wherein:
第一确定模块在确定直播间内的观众端获得云游戏操控权时,具体被配置为:When the first determining module determines that the audience terminal in the live broadcast room obtains the control right of the cloud game, it is specifically configured as follows:
通过云端的互动信令服务器向直播间的某一观众端发送第一云游戏操控权转移请求,第一云游戏操控权转移请求携带接收该请求的观众端的身份标识,第一云游戏操控权转移请求用于邀请直播间内的观众端操控云游戏;The first cloud game control right transfer request is sent to a certain audience in the live broadcast room through the cloud interactive signaling server. The first cloud game control right transfer request carries the identity of the audience receiving the request. The first cloud game control right transfer The request is used to invite the audience in the live broadcast room to control the cloud game;
当接收到针对第一云游戏操控权转移请求的确认消息时,确定直播间 内的观众端获得云游戏操控权。When receiving the confirmation message for the first cloud game control right transfer request, it is determined that the audience terminal in the live broadcast room obtains the cloud game control right.
本申请实施例的另一种可能的实现方式,云游主播端30还包括:第二确定模块,其中,In another possible implementation manner of the embodiment of the present application, the cloud tour anchor terminal 30 further includes: a second determining module, wherein:
第二确定模块在确定直播间内的观众端获得云游戏操控权时,被配置为:The second determining module is configured to: when determining that the audience terminal in the live broadcast room obtains the control right of the cloud game:
接收任一观众端通过云端的互动信令服务器发送的第二云游戏操控权转移请求,第二云游戏操控权转移请求携带发送第二云游戏操控权转移请求的观众端的身份信息,第二云游戏操控权转移请求用于请求操控云游戏,Receive a second cloud game control right transfer request sent by any viewer through the cloud interactive signaling server. The second cloud game control right transfer request carries the identity information of the viewer who sent the second cloud game control right transfer request, and the second cloud The game control transfer request is used to request the control of cloud games,
通过云端的互动信令服务器发送针对第二云游戏操控权转移请求的确认消息,并确定直播间内的观众端获得云游戏操控权。A confirmation message for the second cloud game control right transfer request is sent through the cloud interactive signaling server, and it is determined that the audience in the live broadcast room obtains the cloud game control right.
本申请实施例的另一种可能的实现方式,云游主播端30还包括:第三确定模块,其中,In another possible implementation manner of the embodiment of the present application, the cloud tour anchor terminal 30 further includes: a third determining module, wherein:
第三确定模块在确定直播间内的观众端获得云游戏操控权时,被配置为:The third determining module is configured to: when determining that the audience terminal in the live broadcast room obtains the control right of the cloud game:
通过云端的互动信令服务器向任一观众端发送第三云游戏操控权转移请求,其中,接收到第三云游戏操控权转移请求的观众端是云端的互动信令服务器确定的;Sending a third cloud game control right transfer request to any audience terminal through the cloud interactive signaling server, where the audience terminal that receives the third cloud game control right transfer request is determined by the cloud interactive signaling server;
当接收到针对第三云游戏操控权转移请求的确认消息,确定直播间内的观众端获得云游戏操控权,针对第三云游戏操控权转移请求的确认消息携带有确认消息发送方对应的观众端的身份标识。When the confirmation message for the third cloud game control transfer request is received, it is determined that the audience in the live broadcast room obtains the cloud game control. The confirmation message for the third cloud game control transfer request carries the audience corresponding to the sender of the confirmation message The identity of the terminal.
本申请实施例的另一种可能的实现方式,云游主播端30还包括:断开连接模块,其中,In another possible implementation manner of the embodiment of the present application, the cloud tour anchor terminal 30 further includes: a disconnection module, where:
断开连接模块,被配置为断开与主控GS的连接。The disconnect module is configured to disconnect from the main control GS.
本申请实施例的另一种可能的实现方式,推送模块33在向直播流服务器推送针对主播的多媒体信息时,被配置为:In another possible implementation manner of the embodiment of the present application, when the pushing module 33 pushes the multimedia information for the anchor to the live streaming server, it is configured to:
通过多媒体获取装置获取针对云游主播端的多媒体信息,多媒体信息包括:视频数据和音频数据;Acquire multimedia information for the host of the cloud game through the multimedia acquisition device, and the multimedia information includes: video data and audio data;
通过RTMP流方式向直播流服务器推送针对主播的多媒体信息,以使 得各个观众端从直播流服务器中拉取针对主播的多媒体信息。Push the multimedia information for the anchor to the live streaming server through RTMP streaming, so that each viewer can pull the multimedia information for the anchor from the live streaming server.
本申请实施例的另一种可能的实现方式,云游主播端30还包括:第二发送模块,其中,In another possible implementation manner of the embodiment of the present application, the cloud tour anchor terminal 30 further includes: a second sending module, where:
第二发送模块,被配置为通过云端的互动信令服务器向第一观众端发送收回控制权通知,以及通过云端的互动信令服务器向主控GS发送断开连接通知,收回控制权通知用于通知第一观众端,云游主播端收回云游戏操控权,断开通知用于通知主控GS断开与第一观众端的连接。The second sending module is configured to send a notification of taking back the control right to the first audience through the interactive signaling server in the cloud, and to send a disconnection notification to the master GS through the interactive signaling server in the cloud, and the notification of taking back the control right is used for The first viewer is notified that the cloud game host will withdraw the control of the cloud game, and the disconnect notification is used to notify the master GS to disconnect from the first viewer.
本申请实施例的另一种可能的实现方式,云游主播端30还包括:获取模块,其中,In another possible implementation manner of the embodiment of the present application, the cloud tour anchor terminal 30 further includes: an acquisition module, wherein:
获取模块,被配置为从云端的即时通讯IM直播服务器中获取直播间内所有观众端分别对应的身份信息。The obtaining module is configured to obtain the identity information corresponding to all the viewers in the live broadcast room from the instant messaging IM live broadcast server in the cloud.
本申请实施例提供了一种云游主播端,与现有技术相比,本申请实施例当直播间内的观众端获得云游戏操控权,向第一观众端发送连接通知,连接通知中携带主控GS的连接信息,连接通知用于通知第一观众端与主控GS建立连接,第一观众端为获得云游戏操控权的观众端,然后从直播流服务器中拉取云游戏画面和声音数据,并且向直播流服务器推送针对主播的多媒体信息,以实现云游戏直播,云游戏画面和声音数据是基于第一观众端的游戏操控指令生成的。即,在本申请实施例中直播间内的观众端可以操控云游戏,且云游主播端可以从直播流服务器中拉取该观众端针对云游戏的操控画面和声音数据,并将关于主播的多媒体信息推流至直播流服务器,从而可以实现将操控云游戏和直播进行结合。The embodiment of the application provides a cloud game host. Compared with the prior art, the embodiment of the application sends a connection notification to the first audience terminal when the audience terminal in the live broadcast room obtains the control right of the cloud game, and the connection notification carries the host Control the connection information of the GS, the connection notification is used to notify the first audience to establish a connection with the master GS. The first audience is the audience that has the control of the cloud game, and then pulls the cloud game screen and sound data from the live streaming server , And push the multimedia information for the anchor to the live streaming server to realize the cloud game live broadcast. The cloud game picture and sound data are generated based on the game control instructions of the first viewer. That is, in the embodiment of the present application, the viewer in the live room can control the cloud game, and the cloud game host can pull the viewer’s control screen and sound data for the cloud game from the live streaming server, and then update the host’s multimedia The information is pushed to the live streaming server, so that the control of cloud games and the live broadcast can be combined.
本申请实施例还提供了一种第一观众端,如图4所示,第一观众端40可以包括:第一接收模块41、建立连接模块42、第一拉取模块43、推送模块44,其中,The embodiment of the present application also provides a first audience terminal. As shown in FIG. 4, the first audience terminal 40 may include: a first receiving module 41, a connection establishing module 42, a first pulling module 43, and a pushing module 44, among them,
第一接收模块41,被配置为接收云游主播端通过云端的互动信令服务器发送的连接通知。The first receiving module 41 is configured to receive the connection notification sent by the cloud game host through the interactive signaling server in the cloud.
其中,连接通知中携带主控GS的连接信息,连接通知用于通知第一观众端与主控GS建立连接。Wherein, the connection notification carries the connection information of the master GS, and the connection notification is used to notify the first audience to establish a connection with the master GS.
建立连接模块42,被配置为基于主控GS的连接信息与主控GS建立 连接。The connection establishment module 42 is configured to establish a connection with the main control GS based on the connection information of the main control GS.
第一拉取模块43,被配置为从云端的直播流服务器中拉取针对主播的多媒体信息。The first pulling module 43 is configured to pull multimedia information for the host from the live streaming server in the cloud.
推送模块44,被配置为将针对游戏的操控指令推送至云游服务器的主控GS,以使得云游服务器的主控GS基于操控指令生成云游戏画面和声音数据,并推流至云端的直播流服务器。The push module 44 is configured to push the control commands for the game to the main control GS of the cloud game server, so that the main control GS of the cloud game server generates cloud game screen and sound data based on the control instructions, and pushes it to the live streaming server in the cloud .
本申请实施例的一种可能的实现方式,第一观众端40还包括:第二接收模块,其中,In a possible implementation manner of the embodiment of the present application, the first audience terminal 40 further includes: a second receiving module, wherein:
第二接收模块,被配置为接收云游服务器的主控GS通过点对点P2P实时协议推送的视频流和音频流,视频流和音频流是由云游服务器的主控GS对基于操控指令生成的游戏画面和声音数据进行编码得到的。The second receiving module is configured to receive the video stream and audio stream pushed by the main control GS of the cloud game server through the point-to-point P2P real-time protocol. The video stream and audio stream are generated by the main control GS of the cloud game server based on the control instructions. Sound data is encoded.
本申请实施例的一种可能的实现方式,第一观众端40还包括:第三接收模块,其中,In a possible implementation manner of the embodiment of the present application, the first audience terminal 40 further includes: a third receiving module, wherein:
第三接收模块,被配置为接收云端的互动信令服务器发送的收回操控权的通知消息。The third receiving module is configured to receive the notification message of reclaiming the control right sent by the interactive signaling server in the cloud.
其中,通知消息用于通知第一观众端,云游主播端收回针对云游戏的操控权。Among them, the notification message is used to notify the first viewer end that the cloud game anchor end takes back the control right for the cloud game.
本申请实施例的一种可能的实现方式,第一观众端40还包括:第二拉取模块,其中,In a possible implementation manner of the embodiment of the present application, the first audience terminal 40 further includes: a second pull module, wherein:
第二拉取模块,被配置为停止从云端的直播流服务器中拉取游戏画面和声音数据。The second pulling module is configured to stop pulling the game screen and sound data from the live streaming server in the cloud.
本申请实施例提供了一种第一观众端,与现有技术相比,本申请实施例接收云游主播端通过云端的互动信令服务器发送的连接通知,连接通知中携带主控GS的连接信息,连接通知用于通知第一观众端与主控GS建立连接,然后基于主控GS的连接信息与主控GS建立连接,然后从云端的直播流服务器中拉取针对主播的多媒体信息,以及将针对游戏的操控指令推送至云游服务器的主控GS,以使得云游服务器的主控GS基于操控指令生成云游戏画面和声音数据,并推流至云端的直播流服务器。即,在本申请实施例中直播间的获取操控权的观众端从直播流服务器中拉取针 对主播的多媒体信息,并与主控GS连接,操控云游戏并将操控指令推送至主控GS,以使得主控GS将基于操控指令生成的云游戏画面和声音数据推送至直播流服务器,从而实现将操控云游戏和直播进行结合。The embodiment of the application provides a first viewer terminal. Compared with the prior art, the embodiment of the application receives a connection notification sent by the cloud game host through the interactive signaling server in the cloud, and the connection notification carries the connection information of the master GS , The connection notification is used to notify the first audience to establish a connection with the master GS, and then establish a connection with the master GS based on the connection information of the master GS, and then pull the multimedia information for the anchor from the live streaming server in the cloud, and The control commands for the game are pushed to the main control GS of the cloud game server, so that the main control GS of the cloud game server generates cloud game screen and sound data based on the control instructions, and pushes it to the live streaming server in the cloud. That is, in the embodiment of the present application, the audience terminal that obtains the control right in the live broadcast room pulls multimedia information for the anchor from the live streaming server, and connects with the main control GS, controls the cloud game and pushes the control instructions to the main control GS, In this way, the main control GS pushes the cloud game picture and sound data generated based on the control instruction to the live streaming server, thereby realizing the combination of cloud game control and live broadcast.
上述实施例中从虚拟模块或者虚拟单元的角度介绍了一种云游主播端和第一观众端,下述实施例从实体装置的角度介绍了一种云游主播端和第一观众端,具体详见下述实施例。The above embodiment introduces a cloud game host and first audience terminal from the perspective of a virtual module or a virtual unit. The following embodiment introduces a cloud game host and first audience terminal from the perspective of a physical device. For details, see The following examples.
本申请实施例提供了一种云游主播端,如图5所示,图5所示的云游主播端5000包括:处理器5001和存储器5003。其中,处理器5001和存储器5003相连,如通过总线5002相连。可选地,云游主播端5000还可以包括收发器5004。需要说明的是,实际应用中收发器5004不限于一个,该云游主播端5000的结构并不构成对本申请实施例的限定。The embodiment of the present application provides a cloud game anchor terminal. As shown in FIG. 5, the cloud game anchor terminal 5000 shown in FIG. 5 includes a processor 5001 and a memory 5003. Among them, the processor 5001 and the memory 5003 are connected, for example, through a bus 5002. Optionally, the mobile host 5000 may further include a transceiver 5004. It should be noted that in actual applications, the transceiver 5004 is not limited to one, and the structure of the mobile host 5000 does not constitute a limitation to the embodiment of the present application.
处理器5001可以是CPU,通用处理器,DSP,ASIC,FPGA或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器5001也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等。The processor 5001 may be a CPU, a general-purpose processor, DSP, ASIC, FPGA, or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute various exemplary logical blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor 5001 may also be a combination that implements computing functions, for example, it includes one or more microprocessor combinations, a DSP and a microprocessor combination, and so on.
总线5002可包括一通路,在上述组件之间传送信息。总线5002可以是PCI总线或EISA总线等。总线5002可以分为地址总线、数据总线、控制总线等。为便于表示,图5中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The bus 5002 may include a path for transferring information between the above-mentioned components. The bus 5002 may be a PCI bus, an EISA bus, or the like. The bus 5002 can be divided into an address bus, a data bus, a control bus, and the like. For ease of presentation, only one thick line is used to represent in FIG. 5, but it does not mean that there is only one bus or one type of bus.
存储器5003可以是ROM或可存储静态信息和指令的其他类型的静态存储设备,RAM或者可存储信息和指令的其他类型的动态存储设备,也可以是EEPROM、CD-ROM或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。The memory 5003 can be ROM or other types of static storage devices that can store static information and instructions, RAM or other types of dynamic storage devices that can store information and instructions, or it can be EEPROM, CD-ROM or other optical disk storage, or optical disk storage. (Including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program codes in the form of instructions or data structures and can be used by a computer Any other media accessed, but not limited to this.
存储器5003用于存储执行本申请方案的应用程序代码,并由处理器5001来控制执行。处理器5001用于执行存储器5003中存储的应用程序代码,以实现前述由云游主播端执行的任一方法实施例所示的内容。The memory 5003 is used to store application program codes for executing the solutions of the present application, and is controlled by the processor 5001 to execute. The processor 5001 is configured to execute the application program code stored in the memory 5003 to implement the content shown in any method embodiment executed by the cloud game host.
本申请实施例提供了一种云游主播端,本申请实施例中的云游主播端包括:存储器和处理器;至少一个程序,存储于存储器中,用于被处理器执行时,与现有技术相比可实现:本申请实施例当直播间内的观众端获得云游戏操控权,向第一观众端发送连接通知,连接通知中携带主控GS的连接信息,连接通知用于通知第一观众端与主控GS建立连接,第一观众端为获得云游戏操控权的观众端,然后从直播流服务器中拉取云游戏画面和声音数据,以及向直播流服务器推送针对主播的多媒体信息,以实现云游戏直播,云游戏画面和声音数据为基于第一观众端的游戏操控指令生成的。即在本申请实施例中直播间内的观众端可以操控云游戏,且云游主播端可以从直播流服务器中拉取该观众端针对云游戏的操控画面和声音数据,并将关于主播的多媒体信息推流至直播流服务器,从而可以实现将操控云游戏和直播进行结合。The embodiment of the application provides a cloud game anchor terminal. The cloud game anchor terminal in the embodiment of the application includes: a memory and a processor; at least one program is stored in the memory and used to be executed by the processor, which is similar to the prior art. Realizable: In the embodiment of this application, when the audience terminal in the live broadcast room obtains the control right of the cloud game, a connection notification is sent to the first audience terminal. The connection notification carries the connection information of the master GS, and the connection notification is used to notify the first audience terminal. Establish a connection with the main control GS. The first audience is the one that has the control of the cloud game. Then it pulls the cloud game screen and sound data from the live streaming server, and pushes multimedia information for the anchor to the live streaming server to achieve In the cloud game live broadcast, the cloud game picture and sound data are generated based on the game control instructions of the first audience terminal. That is, in the embodiment of the present application, the viewer in the live broadcast room can control the cloud game, and the cloud game host can pull the viewer’s control screen and sound data for the cloud game from the live streaming server, and provide multimedia information about the host. Push the stream to the live streaming server, which can realize the combination of cloud game control and live broadcasting.
本申请实施例提供了一种第一观众端,如图6所示,图6所示的第一观众端6000包括:处理器6001和存储器6003。其中,处理器6001和存储器6003相连,如通过总线6002相连。可选地,云游主播端6000还可以包括收发器6004。需要说明的是,实际应用中收发器6004不限于一个,该云游主播端6000的结构并不构成对本申请实施例的限定。The embodiment of the present application provides a first audience terminal. As shown in FIG. 6, the first audience terminal 6000 shown in FIG. 6 includes a processor 6001 and a memory 6003. Among them, the processor 6001 and the memory 6003 are connected, for example, through a bus 6002. Optionally, the cloud tour anchor 6000 may further include a transceiver 6004. It should be noted that in actual applications, the transceiver 6004 is not limited to one, and the structure of the mobile host 6000 does not constitute a limitation to the embodiment of the present application.
处理器6001可以是CPU,通用处理器,DSP,ASIC,FPGA或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器6001也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等。The processor 6001 may be a CPU, a general-purpose processor, DSP, ASIC, FPGA, or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute various exemplary logical blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor 6001 may also be a combination that implements computing functions, for example, includes a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and so on.
总线6002可包括一通路,在上述组件之间传送信息。总线6002可以是PCI总线或EISA总线等。总线6002可以分为地址总线、数据总线、控制总线等。为便于表示,图6中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The bus 6002 may include a path for transferring information between the above-mentioned components. The bus 6002 may be a PCI bus or an EISA bus. The bus 6002 can be divided into an address bus, a data bus, a control bus, and so on. For ease of representation, only one thick line is used in FIG. 6, but it does not mean that there is only one bus or one type of bus.
存储器6003可以是ROM或可存储静态信息和指令的其他类型的静态存储设备,RAM或者可存储信息和指令的其他类型的动态存储设备,也可以是EEPROM、CD-ROM或其他光盘存储、光碟存储(包括压缩光 碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。The memory 6003 can be ROM or other types of static storage devices that can store static information and instructions, RAM or other types of dynamic storage devices that can store information and instructions, or it can be EEPROM, CD-ROM or other optical disk storage, or optical disk storage. (Including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program codes in the form of instructions or data structures and can be used by a computer Any other media accessed, but not limited to this.
存储器6003用于存储执行本申请方案的应用程序代码,并由处理器6001来控制执行。处理器6001用于执行存储器6003中存储的应用程序代码,以实现前述由第一观众端执行的任一方法实施例所示的内容。The memory 6003 is used to store application program codes for executing the solutions of the present application, and is controlled by the processor 6001 to execute. The processor 6001 is configured to execute the application program code stored in the memory 6003, so as to realize the content shown in any method embodiment executed by the first viewer terminal.
本申请实施例提供了一种第一观众端,本申请实施例中的云游主播端包括:存储器和处理器;至少一个程序,存储于存储器中,用于被处理器执行时,与现有技术相比可实现:本申请实施例接收云游主播端通过云端的互动信令服务器发送的连接通知,连接通知中携带主控GS的连接信息,连接通知用于通知第一观众端与主控GS建立连接,然后基于主控GS的连接信息与主控GS建立连接,然后从云端的直播流服务器中拉取针对主播的多媒体信息,以及将针对游戏的操控指令推送至云游服务器的主控GS,以使得云游服务器的主控GS基于操控指令生成云游戏画面和声音数据,并推流至云端的直播流服务器。即在本申请实施例中直播间的获取操控权的观众端从直播流服务器中拉取针对主播的多媒体信息,并与主控GS连接,操控云游戏并将操控指令推送至主控GS,以使得主控GS将基于操控指令生成的云游戏画面和声音数据推送至直播流服务器,从而实现将操控云游戏和直播进行结合。The embodiment of the present application provides a first viewer terminal. The cloud game host terminal in the embodiment of the present application includes: a memory and a processor; at least one program is stored in the memory and is used to be executed by the processor in accordance with the prior art. The comparison is achievable: The embodiment of the application receives the connection notification sent by the cloud game host through the interactive signaling server in the cloud, and the connection notification carries the connection information of the master GS, and the connection notification is used to notify the first audience to establish a connection with the master GS Connect, and then establish a connection with the master GS based on the connection information of the master GS, and then pull the multimedia information for the anchor from the live streaming server in the cloud, and push the control commands for the game to the master GS of the cloud game server to The main control GS of the cloud game server generates cloud game screen and sound data based on the control instructions, and pushes it to the live streaming server in the cloud. That is, in the embodiment of the present application, the viewer terminal that obtains the control right in the live broadcast room pulls the multimedia information for the anchor from the live streaming server, and connects with the main control GS, controls the cloud game and pushes the control instructions to the main control GS, to The main control GS pushes the cloud game picture and sound data generated based on the control instruction to the live streaming server, thereby realizing the combination of cloud game control and live broadcast.
本申请实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,当其在计算机上运行时,使得计算机可以执行前述由云游主播端执行的方法实施例中相应内容。与现有技术相比,本申请实施例当直播间内的观众端获得云游戏操控权,向第一观众端发送连接通知,连接通知中携带主控GS的连接信息,连接通知用于通知第一观众端与主控GS建立连接,第一观众端为获得云游戏操控权的观众端,然后从直播流服务器中拉取云游戏画面和声音数据,以及向直播流服务器推送针对主播的多媒体信息,以实现云游戏直播,云游戏画面和声音数据为基于第一观众端的游戏操控指令生成的。即在本申请实施例中直播间内的观众端可以操控云游戏,且云游主播端可以从直播流服务器中拉取该观众端针 对云游戏的操控画面和声音数据,并将关于主播的多媒体信息推流至直播流服务器,从而可以实现将操控云游戏和直播进行结合。The embodiment of the present application provides a computer-readable storage medium with a computer program stored on the computer-readable storage medium, and when it runs on a computer, the computer can execute the corresponding method in the aforementioned embodiment of the method executed by the cloud game host. content. Compared with the prior art, in this embodiment of the application, when the audience terminal in the live broadcast room obtains the control right of the cloud game, a connection notification is sent to the first audience terminal. The connection notification carries the connection information of the master GS, and the connection notification is used to notify the first audience terminal. An audience terminal establishes a connection with the main control GS. The first audience terminal is the audience terminal that has the control right of the cloud game. Then it pulls the cloud game screen and sound data from the live streaming server, and pushes the multimedia information for the host to the live streaming server. , In order to realize the cloud game live broadcast, the cloud game picture and sound data are generated based on the game control instruction of the first audience terminal. That is, in the embodiment of the present application, the viewer in the live broadcast room can control the cloud game, and the cloud game host can pull the viewer’s control screen and sound data for the cloud game from the live streaming server, and provide multimedia information about the host. Push the stream to the live streaming server, which can realize the combination of cloud game control and live broadcasting.
本申请实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,当其在计算机上运行时,使得计算机可以执行前述由第一观众端执行的方法实施例中相应内容。与现有技术相比,本申请实施例接收云游主播端通过云端的互动信令服务器发送的连接通知,连接通知中携带主控GS的连接信息,连接通知用于通知第一观众端与主控GS建立连接,然后基于主控GS的连接信息与主控GS建立连接,然后从云端的直播流服务器中拉取针对主播的多媒体信息,以及将针对游戏的操控指令推送至云游服务器的主控GS,以使得云游服务器的主控GS基于操控指令生成云游戏画面和声音数据,并推流至云端的直播流服务器。即在本申请实施例中直播间的获取操控权的观众端从直播流服务器中拉取针对主播的多媒体信息,并与主控GS连接,操控云游戏并将操控指令推送至主控GS,以使得主控GS将基于操控指令生成的云游戏画面和声音数据推送至直播流服务器,从而实现将操控云游戏和直播进行结合。The embodiment of the present application provides a computer-readable storage medium with a computer program stored on the computer-readable storage medium, and when it runs on a computer, the computer can execute the aforementioned method executed by the first viewer. Corresponding content. Compared with the prior art, this embodiment of the application receives a connection notification sent by a cloud game host through an interactive signaling server in the cloud. The connection notification carries the connection information of the master GS, and the connection notification is used to notify the first viewer and the master. GS establishes a connection, and then establishes a connection with the master GS based on the connection information of the master GS, and then pulls the multimedia information for the anchor from the live streaming server in the cloud, and pushes the control commands for the game to the master GS of the cloud game server , So that the main control GS of the cloud game server generates cloud game screen and sound data based on the control instructions, and pushes it to the live streaming server in the cloud. That is, in the embodiment of the present application, the viewer terminal that obtains the control right in the live broadcast room pulls the multimedia information for the anchor from the live streaming server, and connects with the main control GS, controls the cloud game and pushes the control instructions to the main control GS, to The main control GS pushes the cloud game picture and sound data generated based on the control instruction to the live streaming server, thereby realizing the combination of cloud game control and live broadcast.
应该理解的是,虽然附图的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,其可以以其他的顺序执行。而且,附图的流程图中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,其执行顺序也不必然是依次进行,而是可以与其他步骤或者其他步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various steps in the flowchart of the drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily performed in sequence in the order indicated by the arrows. Unless explicitly stated in this article, the execution of these steps is not strictly limited in order, and they can be executed in other orders. Moreover, at least part of the steps in the flowchart of the drawings may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the order of execution is also It is not necessarily performed sequentially, but may be performed alternately or alternately with at least a part of other steps or sub-steps or stages of other steps.
以上所述仅是本公开的部分实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本公开原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本公开的保护范围。The above are only part of the embodiments of the present disclosure. It should be pointed out that for those of ordinary skill in the art, without departing from the principles of the present disclosure, several improvements and modifications can be made, and these improvements and modifications are also Should be regarded as the protection scope of the present disclosure.

Claims (18)

  1. 一种云游戏直播方法,由云游主播端执行,包括:A cloud game live broadcast method, executed by the cloud game host, includes:
    当直播间内的观众端获得云游戏操控权时,向第一观众端发送连接通知,其中,所述连接通知中携带主控游戏服务器GS的连接信息,所述连接通知用于通知所述第一观众端与所述主控GS建立连接,所述第一观众端为获得云游戏操控权的观众端;以及When the audience terminal in the live broadcast room obtains the control right of the cloud game, a connection notification is sent to the first audience terminal, wherein the connection notification carries the connection information of the master game server GS, and the connection notification is used to notify the first audience terminal. The audience terminal establishes a connection with the main control GS, and the first audience terminal is the audience terminal that obtains the control right of the cloud game; and
    从直播流服务器中拉取云游戏画面和声音数据,并且向所述直播流服务器推送针对主播的多媒体信息,其中,所述云游戏画面和声音数据是基于所述第一观众端的游戏操控指令生成的。Pull cloud game image and sound data from the live streaming server, and push multimedia information for the anchor to the live streaming server, where the cloud game image and sound data are generated based on the game control instructions of the first viewer of.
  2. 根据权利要求1所述的方法,其中,确定直播间内的观众端获得云游戏操控权的方式,包括:The method according to claim 1, wherein determining the manner in which the audience terminal in the live broadcast room obtains the control right of the cloud game comprises:
    通过云端的互动信令服务器向直播间的某一观众端发送第一云游戏操控权转移请求,其中,所述第一云游戏操控权转移请求携带接收该请求的观众端的身份标识,所述第一云游戏操控权转移请求用于邀请直播间内的观众端操控云游戏;以及The first cloud game control right transfer request is sent to a certain audience terminal in the live broadcast room through the cloud interactive signaling server, wherein the first cloud game control right transfer request carries the identity of the audience terminal that receives the request, and the first cloud game control right transfer request carries the identity of the audience terminal receiving the request. A cloud game control right transfer request is used to invite viewers in the live broadcast room to control the cloud game; and
    当接收到针对所述第一云游戏操控权转移请求的确认消息时,确定直播间内的观众端获得云游戏操控权。When receiving the confirmation message for the first cloud game control right transfer request, it is determined that the audience terminal in the live broadcast room obtains the cloud game control right.
  3. 根据权利要求1所述的方法,其中,确定直播间内的观众端获得云游戏操控权的方式,包括:The method according to claim 1, wherein determining the manner in which the audience terminal in the live broadcast room obtains the control right of the cloud game comprises:
    接收任一观众端通过云端的互动信令服务器发送的第二云游戏操控权转移请求,其中,所述第二云游戏操控权转移请求携带发送所述第二云游戏操控权转移请求的观众端的身份信息,所述第二云游戏操控权转移请求用于请求操控云游戏;以及Receive a second cloud game control right transfer request sent by any viewer through the cloud interactive signaling server, where the second cloud game control right transfer request carries the information of the viewer that sent the second cloud game control right transfer request Identity information, the second cloud game control right transfer request is used to request control of the cloud game; and
    通过所述云端的互动信令服务器发送针对第二云游戏操控权转移请求的确认消息,并确定直播间内的观众端获得云游戏操控权。A confirmation message for the second cloud game control right transfer request is sent through the cloud interactive signaling server, and it is determined that the audience terminal in the live broadcast room obtains the cloud game control right.
  4. 根据权利要求1所述的方法,其中,确定直播间内的观众端获得云游戏操控权的方式,包括:The method according to claim 1, wherein determining the manner in which the audience terminal in the live broadcast room obtains the control right of the cloud game comprises:
    通过云端的互动信令服务器向任一观众端发送第三云游戏操控权转移请求,其中,接收到第三云游戏操控权转移请求的观众端是所述云端的互动信令服务器确定的;以及Sending a third cloud game control right transfer request to any viewer terminal through the cloud interactive signaling server, wherein the viewer terminal that receives the third cloud game control right transfer request is determined by the cloud interactive signaling server; and
    当接收到针对所述第三云游戏操控权转移请求的确认消息时,确定直播间内的观众端获得云游戏操控权,其中,所述针对所述第三云游戏操控权转移请求的确认消息携带有确认消息发送方对应的观众端的身份标识。When receiving the confirmation message for the third cloud game control right transfer request, it is determined that the audience terminal in the live broadcast room obtains the cloud game control right, wherein the confirmation message for the third cloud game control right transfer request It carries the identity of the viewer corresponding to the sender of the confirmation message.
  5. 根据权利要求1所述的方法,所述方法还包括:断开与所述主控GS的连接。The method according to claim 1, further comprising: disconnecting the main control GS.
  6. 根据权利要求1所述的方法,其中,所述向所述直播流服务器推送针对主播的多媒体信息,包括:The method according to claim 1, wherein the pushing multimedia information for the host to the live streaming server comprises:
    通过多媒体获取装置获取针对所述云游主播端的多媒体信息,Acquire multimedia information for the cloud game host terminal through a multimedia acquisition device,
    其中,所述多媒体信息包括:视频数据和音频数据;Wherein, the multimedia information includes: video data and audio data;
    通过RTMP流方式向所述直播流服务器推送针对主播的多媒体信息,以使得各个观众端从直播流服务器中拉取针对主播的多媒体信息。The multimedia information for the host is pushed to the live streaming server through RTMP streaming, so that each viewer terminal pulls the multimedia information for the host from the live streaming server.
  7. 根据权利要求1所述的方法,所述方法还包括:The method according to claim 1, further comprising:
    通过云端的互动信令服务器向所述第一观众端发送收回控制权通知,以及Sending a notice of taking back the control right to the first audience terminal through the interactive signaling server in the cloud, and
    通过所述云端的互动信令服务器向与主控GS发送断开连接通知,Send a disconnection notification to the master GS through the interactive signaling server in the cloud,
    其中,所述收回控制权通知用于通知所述第一观众端,所述云游主播端收回云游戏操控权,所述断开通知用于通知所述与主控GS断开与所述第一观众端的连接。Wherein, the notice of taking back the control right is used to notify the first viewer end, the cloud game anchor end has taken back the control right of the cloud game, and the disconnection notice is used to notify the disconnection from the master GS and the first viewer. The audience connection.
  8. 根据权利要求1所述的方法,所述方法还包括:The method according to claim 1, further comprising:
    从云端的即时通讯IM直播服务器中获取直播间内所有观众端分别对应的身份信息。Obtain the identity information corresponding to all the viewers in the live broadcast room from the instant messaging IM live broadcast server in the cloud.
  9. 一种云游戏直播方法,由第一观众端执行,包括:A cloud game live broadcast method, executed by the first audience terminal, includes:
    接收云游主播端通过云端的互动信令服务器发送的连接通知;其中,所述连接通知中携带主控游戏服务器GS的连接信息,所述连接通知用于通知所述第一观众端与所述主控GS建立连接;Receive the connection notification sent by the cloud game host through the interactive signaling server in the cloud; wherein the connection notification carries the connection information of the master game server GS, and the connection notification is used to notify the first audience and the host Control GS to establish a connection;
    基于所述主控GS的连接信息与所述主控GS建立连接;以及Establish a connection with the main control GS based on the connection information of the main control GS; and
    从云端的直播流服务器中拉取针对主播的多媒体信息,并且将所述针对游戏的操控指令推送至云游服务器的主控GS,以使得云游服务器的主控GS基于所述操控指令生成云游戏画面和声音数据,并将所述云游戏画面和声音数据推流至所述云端的直播流服务器。Pull multimedia information for the anchor from the live streaming server in the cloud, and push the game-specific control instructions to the main control GS of the cloud game server, so that the main control GS of the cloud game server generates the cloud game screen based on the control instructions And sound data, and push the cloud game picture and sound data to the live streaming server in the cloud.
  10. 根据权利要求9所述的方法,将所述针对游戏的操控指令推送至云游服务器的主控GS之后,所述方法还包括:According to the method of claim 9, after pushing the control instruction for the game to the master GS of the cloud game server, the method further comprises:
    接收云游服务器的主控GS通过点对点P2P实时协议推送的视频流和音频流,其中,所述视频流和音频流是由云游服务器的主控GS对基于所述操控指令生成的游戏画面和声音数据进行编码得到的。Receive the video stream and audio stream pushed by the master GS of the cloud game server through the point-to-point P2P real-time protocol, where the video stream and audio stream are the game screen and sound data generated by the master GS of the cloud game server based on the control instructions Coded.
  11. 根据权利要求9或10所述的方法,所述方法还包括:The method according to claim 9 or 10, further comprising:
    接收所述云端的互动信令服务器发送的收回操控权的通知,其中,所述通知用于通知所述第一观众端,所述云游主播端收回针对云游戏的操控权。Receiving a notification of regaining the control right sent by the interactive signaling server in the cloud, where the notification is used to notify the first viewer end that the cloud game host end regains the control right for the cloud game.
  12. 根据权利要求9所述的方法,在所述基于所述主控GS的连接信息与所述主控GS建立连接之后,所述方法还包括:The method according to claim 9, after the connection is established with the main control GS based on the connection information of the main control GS, the method further comprises:
    停止从云端的直播流服务器中拉取所述游戏画面和声音数据。Stop pulling the game screen and sound data from the live streaming server in the cloud.
  13. 一种云游主播端,包括:A cloud tour anchor terminal, including:
    第一发送模块,被配置为当直播间内的观众端获得云游戏操控权时,向第一观众端发送连接通知,其中,所述连接通知中携带主控GS的连接信息,所述连接通知用于通知所述第一观众端与所述主控GS建立连接,所述第一观众端为获得云游戏操控权的观众端;以及The first sending module is configured to send a connection notification to the first audience terminal when the audience terminal in the live broadcast room obtains the control right of the cloud game, wherein the connection notification carries the connection information of the master GS, and the connection notification is used for Notifying the first audience terminal to establish a connection with the master GS, and the first audience terminal is the audience terminal that obtains the control right of the cloud game; and
    拉取及推送模块,被配置为从直播流服务器中拉取云游戏画面和声音数据,并且向所述直播流服务器推送针对主播的多媒体信息,其中,所述云游戏画面和声音数据是基于所述第一观众端的游戏操控指令生成的。The pull and push module is configured to pull cloud game images and sound data from the live streaming server, and push multimedia information for the anchor to the live streaming server, wherein the cloud game images and sound data are based on all Said first spectator’s game control instruction is generated.
  14. 一种观众端,包括:A kind of audience, including:
    第一接收模块,被配置为接收云游主播端通过云端的互动信令服务器发送的连接通知,其中,所述连接通知中携带主控GS的连接信息,所述连接通知用于通知第一观众端与所述主控GS建立连接;The first receiving module is configured to receive a connection notification sent by the cloud game host through the interactive signaling server in the cloud, wherein the connection notification carries the connection information of the master GS, and the connection notification is used to notify the first viewer Establish a connection with the main control GS;
    建立连接模块,被配置为基于所述主控GS的连接信息与所述主控GS 建立连接;A connection establishment module configured to establish a connection with the main control GS based on the connection information of the main control GS;
    第一拉取模块,被配置为从云端的直播流服务器中拉取针对主播的多媒体信息;以及The first pull module is configured to pull multimedia information for the anchor from the live streaming server in the cloud; and
    推送模块,被配置为将所述针对游戏的操控指令推送至云游服务器的主控GS,以使得云游服务器的主控GS基于所述操控指令生成云游戏画面和声音数据,并将所述云游戏画面和声音数据推流至所述云端的直播流服务器。The push module is configured to push the control instruction for the game to the main control GS of the cloud game server, so that the main control GS of the cloud game server generates cloud game screen and sound data based on the control instruction, and sends the cloud game The picture and sound data are pushed to the live streaming server in the cloud.
  15. 一种云游主播端,包括:A cloud tour anchor terminal, including:
    一个或多个处理器;One or more processors;
    存储器;以及Memory; and
    一个或多个应用程序,其中所述一个或多个应用程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于:执行根据权利要求1~8任一项所述的云游戏直播方法。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, and the one or more programs are configured to: execute The cloud game live broadcast method according to any one of claims 1-8.
  16. 一种观众端,包括:A kind of audience, including:
    一个或多个处理器;One or more processors;
    存储器;以及Memory; and
    一个或多个应用程序,其中所述一个或多个应用程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于:执行根据权利要求9~12任一项所述的云游戏直播方法。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, and the one or more programs are configured to: execute The cloud game live broadcast method according to any one of claims 9-12.
  17. 一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现权利要求1~8任一项所述的云游戏直播方法。A computer-readable storage medium having a computer program stored thereon, and when the program is executed by a processor, the cloud game live broadcast method according to any one of claims 1 to 8 is realized.
  18. 一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现权利要求9~12任一项所述的云游戏直播方法。A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, realizes the cloud game live broadcast method according to any one of claims 9-12.
PCT/CN2020/115990 2019-12-11 2020-09-17 Cloud game live broadcast method, cloud game anchor end, viewer end and computer-readable storage medium WO2021114795A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911269041.XA CN111818394A (en) 2019-12-11 2019-12-11 Cloud game live broadcast method, client and computer readable storage medium
CN201911269041.X 2019-12-11

Publications (1)

Publication Number Publication Date
WO2021114795A1 true WO2021114795A1 (en) 2021-06-17

Family

ID=72843977

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/115990 WO2021114795A1 (en) 2019-12-11 2020-09-17 Cloud game live broadcast method, cloud game anchor end, viewer end and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN111818394A (en)
WO (1) WO2021114795A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113691828A (en) * 2021-08-30 2021-11-23 北京达佳互联信息技术有限公司 Live broadcasting method and device
CN114173162A (en) * 2021-12-15 2022-03-11 湖南快乐阳光互动娱乐传媒有限公司 Interactive live broadcast system, maintenance method of publish-subscribe relationship and related equipment
CN114339436A (en) * 2021-12-27 2022-04-12 广州市百果园信息技术有限公司 Live broadcast room game interaction method and device, electronic equipment and storage medium
CN114760514A (en) * 2022-04-01 2022-07-15 广州方硅信息技术有限公司 Live broadcast room data transmission method, device, equipment and storage medium
CN115297364A (en) * 2022-07-27 2022-11-04 北京奇艺世纪科技有限公司 Method and system for determining cloud game video transmission time delay and electronic equipment
CN115379253A (en) * 2022-08-26 2022-11-22 广州市百果园信息技术有限公司 Live broadcast content abnormity determining and repairing method, device, equipment and medium
CN116328290A (en) * 2023-05-22 2023-06-27 安徽海马云科技股份有限公司 Method and device for realizing online fight of cloud game, storage medium and electronic equipment
CN116456123A (en) * 2023-06-16 2023-07-18 北京焦点新干线信息技术有限公司 Method, device and equipment for realizing multi-equipment switching live broadcast

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112422998B (en) * 2020-10-26 2023-03-31 网易(杭州)网络有限公司 Live broadcast interaction method and device based on cloud game and electronic equipment
CN112468873A (en) * 2020-11-16 2021-03-09 北京达佳互联信息技术有限公司 Picture display method, device, system, electronic equipment, server and medium
CN112449203A (en) * 2020-11-24 2021-03-05 广州虎牙科技有限公司 Game live broadcast method and device, electronic equipment and storage medium
CN112565802B (en) * 2020-11-30 2023-07-21 Oppo广东移动通信有限公司 Live interaction method, system, server and storage medium
CN113730923A (en) * 2020-12-03 2021-12-03 上海达龙信息科技有限公司 Anchor input operation sharing and displaying method and device based on live game
CN112672179B (en) * 2020-12-22 2022-05-03 北京达佳互联信息技术有限公司 Method, device and equipment for live game
CN112788358B (en) * 2020-12-31 2022-02-18 腾讯科技(深圳)有限公司 Video live broadcast method, video sending method, device and equipment for game match
CN112929716A (en) * 2021-02-10 2021-06-08 江苏视博云信息技术有限公司 Method, device and system for live broadcast interaction of cloud application
CN113115057B (en) * 2021-03-16 2023-04-07 广州点云科技有限公司 Multi-person on-screen interaction method and system for cloud games
CN112870711B (en) * 2021-04-28 2021-07-16 腾讯科技(深圳)有限公司 Cloud game processing method, device, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180227603A1 (en) * 2008-05-29 2018-08-09 Livestream LLC Systems, methods and computer software for live video/audio broadcasting
CN109011574A (en) * 2018-08-06 2018-12-18 广州华多网络科技有限公司 Interface display methods, system, terminal and device based on live streaming
CN109327741A (en) * 2018-11-16 2019-02-12 网易(杭州)网络有限公司 Game live broadcasting method, device and system
CN109562296A (en) * 2016-04-28 2019-04-02 索尼互动娱乐美国有限责任公司 The handover of cloud game equipment
CN109568947A (en) * 2018-11-29 2019-04-05 咪咕互动娱乐有限公司 A kind of cloud game control method, device, equipment and computer storage medium
US20190118086A1 (en) * 2017-10-19 2019-04-25 Daybreak Game Company Llc Management and broadcasting of live multiplayer video game activity
CN110213601A (en) * 2019-04-30 2019-09-06 大鱼互联科技(深圳)有限公司 A kind of live broadcast system and live broadcasting method based on cloud game, living broadcast interactive method

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014055108A1 (en) * 2012-10-03 2014-04-10 Google Inc. Cloud-based gameplay video rendering and encoding
US10525343B2 (en) * 2012-10-05 2020-01-07 Aaa Internet Publishing Inc. Method of using cloud infrastructure and virtualization for bandwidth-efficient remote video streaming of software application operation by executing computer-executable instructions stored on a non-transitory computer-readable medium
CN109743335A (en) * 2014-08-01 2019-05-10 广州华多网络科技有限公司 Interactive system, server, client and exchange method
CN104363471A (en) * 2014-11-21 2015-02-18 广州华多网络科技有限公司 Interaction method based on live video and relevant device and system
CN108939533A (en) * 2018-06-14 2018-12-07 广州市点格网络科技有限公司 Somatic sensation television game interactive approach and system
CN109327709B (en) * 2018-11-23 2021-02-12 网易(杭州)网络有限公司 Prop delivery method and device, computer storage medium and electronic equipment
CN110392047A (en) * 2019-07-02 2019-10-29 华为技术有限公司 Data transmission method, device and equipment
CN110548284A (en) * 2019-08-13 2019-12-10 广州点云科技有限公司 split screen interaction method and device based on cloud game
CN110536146B (en) * 2019-08-19 2021-12-31 广州点云科技有限公司 Live broadcast method and device based on cloud game and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180227603A1 (en) * 2008-05-29 2018-08-09 Livestream LLC Systems, methods and computer software for live video/audio broadcasting
CN109562296A (en) * 2016-04-28 2019-04-02 索尼互动娱乐美国有限责任公司 The handover of cloud game equipment
US20190118086A1 (en) * 2017-10-19 2019-04-25 Daybreak Game Company Llc Management and broadcasting of live multiplayer video game activity
CN109011574A (en) * 2018-08-06 2018-12-18 广州华多网络科技有限公司 Interface display methods, system, terminal and device based on live streaming
CN109327741A (en) * 2018-11-16 2019-02-12 网易(杭州)网络有限公司 Game live broadcasting method, device and system
CN109568947A (en) * 2018-11-29 2019-04-05 咪咕互动娱乐有限公司 A kind of cloud game control method, device, equipment and computer storage medium
CN110213601A (en) * 2019-04-30 2019-09-06 大鱼互联科技(深圳)有限公司 A kind of live broadcast system and live broadcasting method based on cloud game, living broadcast interactive method

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113691828A (en) * 2021-08-30 2021-11-23 北京达佳互联信息技术有限公司 Live broadcasting method and device
CN113691828B (en) * 2021-08-30 2024-03-26 北京达佳互联信息技术有限公司 Live broadcasting method and device
CN114173162A (en) * 2021-12-15 2022-03-11 湖南快乐阳光互动娱乐传媒有限公司 Interactive live broadcast system, maintenance method of publish-subscribe relationship and related equipment
CN114339436B (en) * 2021-12-27 2023-11-17 广州市百果园信息技术有限公司 Live broadcasting room game interaction method and device, electronic equipment and storage medium
CN114339436A (en) * 2021-12-27 2022-04-12 广州市百果园信息技术有限公司 Live broadcast room game interaction method and device, electronic equipment and storage medium
CN114760514A (en) * 2022-04-01 2022-07-15 广州方硅信息技术有限公司 Live broadcast room data transmission method, device, equipment and storage medium
CN115297364A (en) * 2022-07-27 2022-11-04 北京奇艺世纪科技有限公司 Method and system for determining cloud game video transmission time delay and electronic equipment
CN115297364B (en) * 2022-07-27 2024-01-23 北京奇艺世纪科技有限公司 Cloud game video transmission time delay determining method, cloud game video transmission time delay determining system and electronic equipment
CN115379253A (en) * 2022-08-26 2022-11-22 广州市百果园信息技术有限公司 Live broadcast content abnormity determining and repairing method, device, equipment and medium
CN115379253B (en) * 2022-08-26 2023-08-22 广州市百果园信息技术有限公司 Live content anomaly determination and restoration method and device, equipment and medium thereof
CN116328290A (en) * 2023-05-22 2023-06-27 安徽海马云科技股份有限公司 Method and device for realizing online fight of cloud game, storage medium and electronic equipment
CN116456123B (en) * 2023-06-16 2023-09-12 北京焦点新干线信息技术有限公司 Method, device and equipment for realizing multi-equipment switching live broadcast
CN116456123A (en) * 2023-06-16 2023-07-18 北京焦点新干线信息技术有限公司 Method, device and equipment for realizing multi-equipment switching live broadcast

Also Published As

Publication number Publication date
CN111818394A (en) 2020-10-23

Similar Documents

Publication Publication Date Title
WO2021114795A1 (en) Cloud game live broadcast method, cloud game anchor end, viewer end and computer-readable storage medium
CN111818004B (en) Cloud game live broadcast method and system and computer readable storage medium
JP7073526B2 (en) Methods, devices, and systems for interactive cloud gaming
US10299004B2 (en) Method and system for sourcing and editing live video
CN111467793B (en) Cloud streaming with client side asset integration
US9936238B2 (en) Systems and methods for production and delivery of live video
JP6727669B2 (en) Information interaction method, device, and system
WO2016202128A1 (en) Message sharing method, client, and computer storage medium
WO2016050080A1 (en) Multi-user video-watching real-time interaction method and system
WO2016074325A1 (en) Audience grouping association method, apparatus and system
WO2015078199A1 (en) Live interaction method and device, client, server and system
WO2021128981A1 (en) Livestreaming interaction method and apparatus, electronic device, and computer readable storage medium
CN112565802B (en) Live interaction method, system, server and storage medium
WO2019192423A1 (en) Playback control method for realizing multi-person synchronous video viewing, apparatus, and terminal device
CN104998412A (en) Single-player game realization method and apparatus
JP2018113514A (en) Information processing unit and application image distribution method
JP2024006973A (en) Data processing method, system and computer program
WO2014161265A1 (en) Method and device for implementing social service based on video sharing
Panagiotakis et al. Architecture for real time communications over the web
WO2024061243A1 (en) Live stream interactive method, device, apparatus and storage medium
KR102243835B1 (en) Method and Apparatus for Providing Viewer-Participational Cloud Game Broadcasting Service
WO2019107275A1 (en) Information processing device and game image distribution method
TW200803512A (en) Set top box and method for generating callback signal thereof
CN115988280A (en) Live broadcast interaction method and device based on cloud game, computing equipment and storage medium
WO2017197817A1 (en) Data processing method and apparatus, electronic device and server

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20898131

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20898131

Country of ref document: EP

Kind code of ref document: A1