Embodiments of the present disclosure relate to the field of game technologies, and in particular to a method for controlling live game streaming, a device for controlling live game streaming, a computer-readable storage medium, and an electronic device.
With the development of live streaming technologies, many people watch a streamer play games through live streaming. In the current live streaming technologies, video information of a game application at a streamer side can be obtained, and then the video information can be sent to a viewer side to obtain live video. However, when a viewer is watching the live video, screens the viewer watches usually include game interfaces and operation control screens of the game application at the streamer side, and it is impossible for the viewer to independently choose to watch only the game interfaces or request customized operation controls.
In view of this, there is an urgent need to develop a new method and device for controlling live game streaming in this field.
It should be noted that the information disclosed in the background section above is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to those skilled in the art.
An objective of the present disclosure is to provide a method for controlling live game streaming, a device for controlling live game streaming, a computer-readable storage medium, and an electronic device, thereby improving user's experience.
Other characteristics and advantages of the present disclosure will become apparent through the following detailed description, or can be partly learned through the practice of the present disclosure.
According to an aspect of the present disclosure, there is provided a method for controlling live game streaming, which is implemented at a live streaming server or a cloud gaming server, including: obtaining a game interface corresponding to a live streaming room; receiving a presentation request sent by a viewer, wherein the presentation request is used for indicating the live streaming server or the cloud gaming server to specify control information contained in a live game interface transmitted to the viewer; determining control information to be presented according to the presentation request, and generating the live game interface according to the game interface and the control information to be presented; and transmitting the live game interface to the viewer.
In an exemplary embodiment of the present disclosure, the obtaining the game interface corresponding to the live streaming room includes: receiving an access request for the live streaming room sent by the viewer, wherein the access request includes live streaming room information; and obtaining the game interface according to the live streaming room information.
In an exemplary embodiment of the present disclosure, the determining the control information to be presented according to the presentation request includes: receiving a target option sent by the viewer, and selecting control information corresponding to the target option as the control information to be presented.
In an exemplary embodiment of the present disclosure, the generating the live game interface according to the game interface and the control information to be presented includes: generating the live game interface by rendering the game interface according to the control information to be presented.
In an exemplary embodiment of the present disclosure, upon transmitting the live game interface to the viewer, an access authority for the live streaming room is assigned to the viewer.
In an exemplary embodiment of the present disclosure, the transmitting the live game interface to the viewer includes: transmitting the live game interface to the viewer in a form of an encoded video stream.
In an exemplary embodiment of the present disclosure, the method further includes: determining an initial live game interface according to an identification of a viewer client and the game interface, and transmitting the initial live game interface to the viewer.
In an exemplary embodiment of the present disclosure, the determining the initial live game interface according to the identification of the viewer client and the game interface includes: obtaining preset control information corresponding to the identification of the viewer client; and generating the initial live game interface by performing rendering according to the preset control information and the game interface.
In an exemplary embodiment of the present disclosure, the preset control information is default interface information or control information selected by the viewer when logging in to the viewer client last time.
In an exemplary embodiment of the present disclosure, after the transmitting the live game interface to the viewer, the method further includes: receiving an update request sent by the viewer, and sending a plurality of options to the viewer according to the update request; receiving a target option sent by the viewer, and obtaining an updated live game interface by performing rendering according to target control information corresponding to the target option and the game interface; and replacing the live game interface with the updated live game interface.
In an exemplary embodiment of the present disclosure, before the obtaining the game interface corresponding to the live streaming room, the method further includes: receiving a creation request for the live streaming room sent by a streamer, calling a preset interface, and creating the live streaming room according to the creation request; obtaining a game instruction sent by the streamer in real time, and obtaining the live game interface by performing logical calculation according to the game instruction; and obtaining a streamer live game interface performing rendering according to streamer initial interface information and the live game interface, and transmitting the streamer live game interface to the streamer.
In an exemplary embodiment of the present disclosure, the obtaining the game interface corresponding to the live streaming room includes: determining a streamer client corresponding to the live streaming room according to the live streaming room; and obtaining a game interface in the streamer client, and using a live game interface on the streamer client as the game interface.
According to an aspect of the present disclosure, there is provided a device for controlling live game streaming, which is implemented at a live streaming server or a cloud gaming server, and includes: a screen obtaining module, configured to obtain a game interface corresponding to a live streaming room; a request receiving module, configured to receive a presentation request sent by a viewer, wherein the presentation request is used for indicating the live streaming server or the cloud gaming server to specify control information contained in a live game interface transmitted to the viewer; a screen generating module, configured to determine control information to be presented according to the presentation request, and generate the live game interface according to the game interface and the control information to be presented; and a screen transmitting module, configured to transmit the live game interface to the viewer.
According to an aspect of the present disclosure, there is provided a computer-readable medium having a computer program stored thereon, and the computer program, when executed by a processor, implements the method for controlling live game streaming described in the foregoing embodiments.
According to an aspect of the present disclosure, there is provided an electronic device, including: one or more processors; and a storage device for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the method for controlling live game streaming described in the foregoing embodiments.
It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and should not limit the present disclosure.
The drawings herein are incorporated in and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description serve to explain the principles of the present disclosure. It should be noted that, the drawings in the following description are only some embodiments of the present disclosure. For those of ordinary skill in the art, other drawings may be obtained based on these drawings without departing from the spirit of the present disclosure.
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the embodiments may be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; rather, these embodiments are provided so that the present disclosure will be more complete so as to convey the spirit of the exemplary embodiments to those skilled in this art.
In addition, the features, structures, or characteristics described above may be combined in any suitable manner in one or more embodiments. In the description below, numerous specific details are set forth to provide a thorough understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solution of the present disclosure may be practiced without one or more of the specific details, or other methods, components, devices, materials, steps and the like may be employed. In other instances, well-known methods, devices, implementations or operations are not shown or described in detail to avoid obscuring various aspects of the present disclosure.
Some of the block diagrams shown in the figures are only functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and/or processor devices and/or microcontroller devices.
A flowchart shown in the drawings is only an exemplary illustration, and does not necessarily include all content and operations/steps, nor does it have to be executed in the described order. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so an actual execution order may be changed according to actual conditions.
In the existing live game streaming technologies, a game video collected from a streamer side can be pushed to a live streaming server in a form of a video stream, and then the video stream can be pulled to the local by a viewer side to realize the live video streaming. When a viewer is watching a live game, there is no need for the viewer side to display a graphical user interface of the streamer side, and an immersive game-viewing experience without the graphical user interface or other graphical user interface information may even be needed. However, during the live game streaming, it is not yet possible for the viewer side to control the graphical user interface on its own.
Based on the problems existing in the related art, a method for controlling live game streaming is provided by an embodiment of the present disclosure.
In step S110, a game interface corresponding to a live streaming room is obtained.
In step S120, a presentation request sent by a viewer is received, and the presentation request is used for indicating the live streaming server or the cloud gaming server to specify control information contained in a live game interface transmitted to the viewer.
In step S130, control information to be presented is determined according to the presentation request, and the live game interface is generated according to the game interface and the control information to be presented.
In step S140, the live game interface is transmitted to the viewer.
In the method for controlling live game streaming according to the embodiments of the present disclosure, on the one hand, by responding to the presentation request of the viewer, a self-defined setting of the live game interface by the viewer is realized, which meets various user needs and improves the user experience; on the other hand, when the viewer dynamically sets the live game interface, it does not affect the live game interface of the streamer or other viewers, thereby saving system resources.
It should be noted that the method for controlling live game streaming provided by the embodiments of the present disclosure can be applied to, implemented at or performed by a streaming server. The streaming server can be, for example, a live streaming server or a cloud gaming server.
The live streaming server can be a server in a live streaming system which can also include a live streamer (i.e., an anchor) client that hosts a live streaming and one or more viewer clients that watch the live streaming of the streamer. The live streamer client can send a live streaming interface of the live streaming to the live streaming server, which can send, or process and send the live streaming interface to the viewer clients.
The cloud gaming server can be a server in a cloud gaming system which can also include one or more cloud gaming clients. The cloud gaming server can run a game app, render a game interface of the game, and send the rendered game interface to the cloud gaming client.
The clients as described above can be in a form of an App, a web browser, or the like.
For example,
In addition, the method for controlling live game streaming is generally executed by a processor with a computing function, and the processor may include a terminal device, may also include a server, or a processor having the computing function and formed by a combination of the terminal device and the server, which is limited by the present disclosure.
In order to illustrate the technical solution of the present disclosure clearer, a detailed description of the method for controlling live game streaming in the exemplary embodiment will be given below with an example.
In the step S110, the game interface corresponding to the live streaming room is obtained.
In an exemplary embodiment of the present disclosure, an access request for a live streaming room sent by the viewer is received, and the access request includes live streaming room information where the viewer is located; and the game interface corresponding to the live streaming room is obtained according to the live streaming room information.
In an exemplary embodiment of the present disclosure, a streamer client corresponding to the live streaming room is determined according to the live streaming room; and a game interface in the streamer client is obtained and a live game interface on the streamer client is used as the game interface.
In an exemplary embodiment of the present disclosure, before the obtaining the game interface corresponding to the live streaming room, the live game interface in the streamer client is set.
In step S410, a live streaming room creation request sent by a streamer is received, a preset interface is called and the live streaming room is created according to the creation request.
In an exemplary embodiment of the present disclosure, the live streaming room creation request includes streamer identification information and creation time, and the preset interface includes a live streaming data interface.
In an exemplary embodiment of the present disclosure, on the cloud gaming platform 200, the live streaming data interface is provided on a game interface, an operation of the streamer to trigger the live streaming data interface is received, and the live streaming room is created according to the operation of triggering the live streaming data interface, and live streaming room information corresponding to the live streaming room is sent to the streamer client.
In step S420, a game instruction sent by the streamer is obtained in real time, and logical calculation is performed according to the game instruction to obtain the live game interface.
In an exemplary embodiment of the present disclosure, the game instruction of the streamer are obtained in real time, and the game logic is calculated and rendering is performed according to the streamer identification and the game instruction, so as to obtain the live game interface.
In step S430, rendering is performed according to streamer initial interface information and the live game interface to obtain streamer live game interface, and the streamer live game interface is transmitted to the streamer.
In an exemplary embodiment of the present disclosure, the streamer initial interface information is preset on the streamer client, and the streamer initial interface information may be default settings of the streamer client or self-defined settings by the streamer, which is not specifically limited by the present disclosure. The streamer initial interface information may include various interface information such as a player interface, a viewing interface, an immersive interface and the like.
In an exemplary embodiment of the present disclosure, the streamer live game interface is encoded, and the encoded streamer live game interface is transmitted to the streamer client in the form of a video stream.
In the step S120, the presentation request sent by the viewer is received, and the presentation request is used for indicating the live streaming server or the cloud gaming server 202 to specify the control information contained in the live game interface transmitted to the viewer.
In an exemplary embodiment of the present disclosure, the presentation request may be a request formed by the viewer triggering a control presentation button in the live streaming room, or a request formed by the viewer triggering control information on a live streaming room interface, which is not specifically limited by the present disclosure.
The control information can be contained in a live game interface transmitted by the live streaming server or cloud gaming server 202 to the viewer client, and the live game interface is a live game interface of a streamer client corresponding to the live streaming room. Therefore, the control information in this embodiment may include a game operation control (or, control widget) on the live game interface of the streamer client. The game operation control may include a skill control, direction control, voice control, map display control, virtual resource display control, etc. The game operation controls may include different types and numbers of controls according to different game types, which are not specifically limited in the present disclosure. In addition, if the live streaming room is playing a live game competition, the game operation control may also be a score display control, a player information display control, a perspective selection control, and so on.
In the step S130, the control information to be presented is determined according to the presentation request, and the live game interface is generated according to the game interface and the control information to be presented.
In an exemplary embodiment of the present disclosure, the presentation request may be formed by the viewer triggering the control presentation button in the live streaming room. For example,
In an exemplary embodiment of the present disclosure, a target option sent by the viewer is received, and control information corresponding to the target option is used as the control information to be presented. Specifically, a plurality of options may be sent to the viewer according to the presentation request, so that the viewer may determine the target option according to the plurality of options. For example,
In an exemplary embodiment of the present disclosure, the generating the live game interface according to the game interface and the control information to be presented includes: generating the live game interface by rendering the game interface according to the control information to be presented.
In step S140, the live game interface is transmitted to the viewer.
In an exemplary embodiment of the present disclosure, upon transmitting the live game interface to the viewer, an access authority for the live streaming room is assigned to the viewer. That is, when the viewer triggers an operation to access the live streaming room, the live streaming server or the cloud gaming server 202 transmits the live game interface to the viewer while assigning the access authority for the live streaming room to the viewer in response to the access operation for the live streaming room by the viewer.
In an exemplary embodiment of the present disclosure, the live game interface is transmitted to the viewer in a form of an encoded video stream.
In an exemplary embodiment of the present disclosure, when the viewer accesses the live streaming room, the initial live game interface is sent to the viewer, so that the viewer may watch the live game interface without setting or selecting operations.
In an exemplary embodiment of the present disclosure, after the live game interface or the initial live game interface is transmitted to the viewer, the live game interface or the initial live game interface may be updated according to a trigger operation of the viewer. Specifically,
The following describes device embodiments of the present disclosure, which may be used to execute the above-mentioned method for controlling live game streaming of the present disclosure. For details that are not disclosed in the device embodiments of the present disclosure, please refer to the embodiments of the above method for controlling live game streaming of the present disclosure.
Referring to
The screen obtaining module 901 is configured to obtain a game interface corresponding to a live streaming room.
The request receiving module 902 is configured to receive a presentation request sent by a viewer, and the presentation request is used for indicating the live streaming server or the cloud gaming server 202 to specify control information contained in a live game interface transmitted to the viewer.
The screen generating module 903 is configured to determine control information to be presented according to the presentation request, and generate the live game interface according to the game interface and the control information to be presented.
The screen transmitting module 904 is configured to transmit the live game interface to the viewer.
Specific details regarding the game live control device have been described in detail in the corresponding method for controlling live game streaming, and repeated descriptions are omitted here.
It should be noted that although several modules or units of the devices for execution are described above, such division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above may be embodied in one module or unit. Conversely, the features and functions of a module or unit described above may be embodied in multiple modules or units.
An exemplary embodiment of the present disclosure also provides an electronic device capable of implementing the above methods.
Those skilled in the art can understand that various aspects of the present disclosure may be implemented as a system, method, or program product. Therefore, various aspects of the present disclosure may be embodied in the following forms: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to as “circuit”, “module’, or “system”.
An electronic device 1000 according to an exemplary embodiment of the present disclosure is described below with reference to
As shown in
The storage unit stores program codes, and the program codes may be executed by the processing unit 1010, so that the processing unit 1010 executes various exemplary embodiments according to the present disclosure described in the “exemplary methods” section of the present specification. For example, the processing unit 1010 may perform the steps shown in
The storage unit 1020 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 10201 and/or a cache storage unit 10202, and may further include a read-only storage unit (ROM) 10203.
The storage unit 1020 may further include a program/utility tool 10204 having a set (at least one) of program modules 10205. Such program modules 10205 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment.
The bus 1030 may be one or more of several types of bus structures, including a memory unit bus or a memory unit controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local area bus using any bus structure in a variety of bus structures.
The electronic device 1000 may also communicate with one or more external devices 1200 (such as a keyboard, a pointing device, a Bluetooth device, etc.), and may also communicate with one or more devices that enable a user to interact with the electronic device 1000, and/or may also communicate with any device (such as a router, a modem) that can enable the electronic device 1000 to interact with one or more other computing devices. Such communication may be performed through an input/output (I/O) interface 1050. Moreover, the electronic device 1000 may also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) through the network adapter 1060. As shown in the figure, the network adapter 1060 communicates with other modules of the electronic device 1000 through the bus 1030. It should be understood that although not shown in the figure, other hardware and/or software modules may be used in conjunction with the electronic device 1000, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives and data backup storage systems.
Through the description of the foregoing embodiments, those skilled in the art can easily understand that the example embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solutions according to the embodiments of the present disclosure may be embodied in the form of a software product, and the software product may be stored in a non-volatile storage medium (which may be a CD-ROM, a U disk, a mobile hard disk, etc.) or on a network. The software product may include instructions to cause a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to exemplary embodiments of the present disclosure.
An exemplary embodiment of the present disclosure also provides a computer-readable storage medium having stored thereon a program product capable of implementing the above methods according to embodiments of the present disclosure. In some possible implementations, aspects of the present disclosure may also be implemented in the form of a program product, which includes program codes. When the program product runs on a terminal device, the program codes are used to cause the terminal device to execute the steps according to various exemplary embodiments of the present disclosure described in the “exemplary methods” section of the present specification.
The program product may be any combination of one or more readable mediums. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or a semiconductor system, apparatus, or device, or any combination thereof. More specific examples (non-exhaustive examples) of readable storage media include: electrical connection with one or more wires, portable disk, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
The computer-readable signal medium may include a data signal in baseband or propagated as part of a carrier wave, which carries readable program codes. Such a propagated data signal may have many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. The readable signal medium may also be any readable medium other than a readable storage medium, and the readable medium may send, propagate, or transmit a program that is used by an instruction execution system, apparatus, or device, or that is used in combination with an instruction execution system, apparatus, or device.
The program codes contained on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical fiber, RF, etc., or any suitable combination of the foregoing.
The program codes for performing the operations of the present disclosure may be written in any combination of one or more programming languages, which include object-oriented programming languages, such as Java, C++, and so on. The programming languages also include conventional procedural programming language, such as “C” or a similar programming language. The program codes may be executed entirely on the user computing device, may be executed partly on the user device, may be executed as an independent software package, may be executed partly on the user computing device and partly on a remote computing device, or may be executed entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or the remote computing device may be connected to an external computing device, for example, by the Internet provided by the Internet service providers.
In addition, the drawings are merely schematic descriptions of processes included in the methods according to exemplary embodiments of the present disclosure, and are not for limiting the present disclosure. It is easy to understand that the processes shown in the drawings do not indicate or limit the chronological order of these processes. In addition, it is also easy to understand that these processes may be performed synchronously or asynchronously in multiple modules, for example.
Those skilled in the art will readily contemplate other embodiments of the present disclosure after considering the specification and practicing the disclosure. The present disclosure is intended to cover any variations, uses, or adaptive changes of the present disclosure. These variations, uses, or adaptive changes follow the general principles of the present disclosure and include the common general knowledge or conventional technical means in this art which is not described herein. The specification and examples should be considered as exemplary only, and the true scope and spirit of the disclosure should be defined by the appended claims.
It should be understood that the present disclosure is not limited to the precise structure that has been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope of the present disclosure. The scope of the disclosure is only defined by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
201911422199.6 | Dec 2019 | CN | national |
This application is a continuation application of PCT Application No. PCT/CN2020/102193, entitled “GAMING LIVE STREAM CONTROL METHOD AND DEVICE, COMPUTER STORAGE MEDIUM, AND ELECTRONIC APPARATUS” filed on Jul. 15, 2020, which claims the priority to the Chinese Patent Application NO. 201911422199.6, entitled “GAMING LIVE STREAM CONTROL METHOD AND DEVICE, COMPUTER STORAGE MEDIUM, AND ELECTRONIC APPARATUS”, filed on Dec. 31, 2019, the entire contents of which are hereby incorporated by reference.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2020/102193 | Jul 2020 | US |
Child | 17808112 | US |