WO2022117028A1 - Game livestreaming-based anchor input operation sharing and displaying methods and device - Google Patents

Game livestreaming-based anchor input operation sharing and displaying methods and device Download PDF

Info

Publication number
WO2022117028A1
WO2022117028A1 PCT/CN2021/134995 CN2021134995W WO2022117028A1 WO 2022117028 A1 WO2022117028 A1 WO 2022117028A1 CN 2021134995 W CN2021134995 W CN 2021134995W WO 2022117028 A1 WO2022117028 A1 WO 2022117028A1
Authority
WO
WIPO (PCT)
Prior art keywords
anchor
input operation
game
terminal
host
Prior art date
Application number
PCT/CN2021/134995
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 WO2022117028A1 publication Critical patent/WO2022117028A1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/85Providing additional services to players
    • A63F13/86Watching games played by other players
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/236Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
    • H04N21/23614Multiplexing of additional data and video streams
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • H04N21/4348Demultiplexing of additional data and video streams
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/30Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device
    • A63F2300/308Details of the user interface

Definitions

  • the present invention relates to the field of live game broadcasting, and in particular, to a method and device for sharing and displaying an anchor input operation of live game broadcasting (including local computer games and cloud games).
  • the anchor interacts with the audience through screen sharing and voice.
  • the anchor's screen will be directly recorded during the live broadcast.
  • the operation of the virtual buttons in the game will also be recorded, and the audience can see the anchor's operation method and operation skills for the mobile game, so as to learn;
  • the operation of the anchor's keyboard and mouse cannot be directly reflected in the main screen of the live broadcast.
  • the anchor will use another camera to shoot the anchor's hand and open a small window for operations such as keyboard and mouse.
  • the purpose of this behavior is only to indicate that the anchor is operating and has not opened it.
  • the display window of this part is small, it is impossible to The operation speed and operation skills of the anchor are completely displayed on the live broadcast, so it is not friendly to some viewers who want to learn operation skills and abilities from watching the live broadcast of the anchor.
  • the purpose of the present invention is to provide a method and device for sharing and displaying an anchor input operation based on game live broadcast, so as to solve the above deficiencies in the prior art.
  • the present invention provides a method for sharing an input operation of an anchor based on a live game broadcast, which is applied to an anchor terminal; the method includes: capturing the anchor input operation data generated by the anchor operating at least one input device; For local computer game live broadcast, add the time stamp when capturing the input operation data of each anchor, and send it to the streaming server for streaming; for cloud game live broadcast, send the input operation data of each anchor to the remote cloud desktop A server, so that the remote desktop server first adds a timestamp when the operation data is received, and then sends it to the streaming server for streaming.
  • the method further includes: before capturing the anchor input operation data, first detecting whether there is an instruction to share the anchor input operation; when detecting the instruction to share the anchor input operation, identifying the device information of the at least one input device, and send the identification information of the at least one input device to the central control server; wherein, the address of the streaming server is provided by the central control server to the host terminal.
  • the at least one input device includes: an external physical input device connected to the host terminal in the local computer live broadcast, an external physical input device connected to the host terminal in the cloud game live broadcast, and the host.
  • the present invention provides a method for displaying an input operation of an anchor based on a live game broadcast, which is applied to a viewer terminal; the method includes: submitting a viewing request to a central control server to obtain information from the central control server. The address of the provided streaming server; the anchor input operation data of the game live broadcast is pulled from the streaming server; when decoding and rendering a live broadcast frame, the same timestamp is performed according to the timestamp of the live broadcast frame.
  • the anchor inputs operation data to reproduce the anchor input operation event, so as to restore the anchor input operation on the display interface.
  • a virtual device is displayed on the display interface, and the input operation of the host is restored on the virtual device and displayed with special effects.
  • the method further includes: displaying, on the display interface, startup entries of different virtual devices provided by the central control server and corresponding to the identification information of the input device used by the anchor terminal, so as to start After downloading, display the opened virtual device; or, display the download entry of the virtual device provided by the central control server and corresponding to the identification information of the input device used by the anchor terminal on the display interface, so as to display the downloaded virtual device after downloading. equipment.
  • the present invention provides a method for sharing an input operation of an anchor based on a live game broadcast, which is applied to a central control server; the method includes: obtaining a live broadcast request from the anchor terminal; The live broadcast request is provided, and the stream push address is provided to the anchor terminal, so that the anchor terminal sends the anchor input operation data and the stream push address to the remote cloud desktop server, and the remote desktop server pushes the anchor input operation data to the corresponding obtain the viewing request of the viewer terminal; in response to the viewing request, provide the viewer terminal with the address of the streaming server, so that the viewer terminal can pull the anchor input operation from the streaming server data and reproduce the host input operation event.
  • the method further includes: acquiring a custom virtual device uploaded by the host terminal and saving it; providing the viewer terminal with the same information as the input device used by the host terminal.
  • the present invention provides a computer-readable storage medium, wherein a computer program is stored, and when the computer program is loaded and executed by a processor, the described method for sharing an anchor input operation based on a live game broadcast is realized. , or the method for displaying an input operation of an anchor based on a live game broadcast.
  • the present invention provides an electronic device, comprising: a processor and a memory; wherein, the memory is used to store a computer program; the processor is used to load and execute the computer program, so that all The electronic device executes the method for sharing the host input operation based on the game live broadcast, or the method for displaying the host input operation based on the game live broadcast.
  • the host only needs to install the cloud game application (the cloud game here refers to computer games, not cloud mobile games), and then Sharing of input operations during live streaming of client games through smartphones, tablets, laptops, desktops, etc.
  • the input operations here do not include voice input and video input, but refer to peripheral mouse, peripheral keyboard, Input operations such as peripheral controllers and virtual keyboard and mouse controllers).
  • Operating live is an auxiliary function of live video. The viewer client can restore the real situation of the live broadcast by executing the input event with the same timestamp when decoding and rendering the video stream.
  • the audience can intuitively watch which buttons the anchor has operated, and study the anchor's operating skills and operating speed, which is highly practical for learning audiences.
  • the present invention is not limited to the live broadcast of cloud games, but can also be applied to the sharing of the anchor's input operation in the live broadcast of ordinary computer games.
  • FIG. 1A is a schematic diagram of an application scenario of a local computer game live broadcast according to an embodiment of the present invention.
  • FIG. 1B is a schematic diagram of an application scenario of cloud game live broadcasting in another embodiment of the present invention.
  • FIG. 2 shows a flowchart of a method for sharing an input operation of an anchor based on a live game broadcast performed by an anchor terminal according to an embodiment of the present invention.
  • FIG. 3 is a flowchart showing a method for displaying an input operation of a host based on a live game broadcast performed by a viewer terminal in an embodiment of the present invention.
  • FIG. 4 is a flowchart of a method for sharing an input operation of an anchor based on a live game broadcast performed by a central control server according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • the present application provides an anchor input operation sharing and display method and device based on game live broadcast.
  • the anchor plays a computer game
  • a peripheral device such as a mouse, Keyboard, handle
  • virtual devices such as virtual keyboard and mouse, etc.
  • the anchor operation data is captured, processed, and transmitted through the anchor terminal.
  • the audience downloads and displays the virtual keyboard through the audience terminal when watching the live broadcast, and the anchor input operation will be It is reproduced in the virtual keyboard on the screen of the audience terminal and displayed with special effects.
  • the audience can intuitively watch which buttons the anchor has operated, and study the anchor's operating skills, operating hand speed, etc., which is highly practical for learning audiences.
  • FIG. 1A it is a schematic diagram of an application scenario of live broadcasting a local computer game in an embodiment of the present invention, and the CDN server is not shown.
  • the anchor terminal such as smart phone, tablet computer, laptop, desktop, etc.
  • the central control server communicates with several audience terminals (such as smart phones, tablet computers, notebook computers, desktop computers, etc.).
  • Push and pull streaming servers provide live broadcast services for broadcaster terminals and viewer terminals.
  • the host terminal in Figure 1 implements the following method for sharing the host input operation of the computer game live broadcast:
  • S21 Capture the host input operation data generated by the host operating at least one input device
  • the input device is generally a physical input device
  • the anchor input operation data only includes the operation data input by the physical input device, including: mouse pointer type, event, coordinates, as well as keyboard operation events, handle operation events Wait.
  • the central control server Before capturing the input operation data of the anchor, first detect whether there is an instruction to share the anchor input operation; when detecting the instruction to share the anchor input operation, identify the device information of the at least one input device, and The identification information of the at least one input device is sent to the central control server.
  • the host selects the sharing input operation in the host terminal, the host terminal determines the type of the input device used, and sends the input device ID to the central control server.
  • the central control verifies the validity of the host information after Return the push stream address to it.
  • the anchor terminal captures the anchor input operation data, including: 01 mouse operation data (press and lift event, moving relative coordinates, absolute coordinate data, etc.), 03 peripheral keyboard, peripheral handle operation data (keyboard input event (virtual key code value, press and lift event), handle input event (press virtual key code value, press and lift event, joystick operation offset value)), and timestamp each operation data when it is captured. Subsequently, the anchor terminal pushes the captured anchor input operation data according to the streaming address returned by the central control server.
  • 01 mouse operation data press and lift event, moving relative coordinates, absolute coordinate data, etc.
  • peripheral handle operation data keyboard input event (virtual key code value, press and lift event), handle input event (press virtual key code value, press and lift event, joystick operation offset value)
  • timestamp each operation data when it is captured.
  • the anchor terminal pushes the captured anchor input operation data according to the streaming address returned by the central control server.
  • FIG. 1B it is a schematic diagram of an application scenario of live streaming cloud games in another embodiment of the present invention.
  • a remote desktop server is also communicatively connected between the host terminal and the streaming server, the game runs on the remote server, and the remote server provides game running data to the host terminal for display.
  • the host input operation data may be peripheral device operation data or virtual keyboard operation data.
  • step S21 captures the data generated by the host operating the physical input device and the virtual device (which is activated by the host terminal, such as virtual keyboard, virtual mouse, virtual handle, etc.).
  • the anchor inputs operation data, such as: cursor push data, 02 virtual device operation events (virtual key code value, press-up event, etc.).
  • step S22 is changed to: the anchor terminal sends the operation data input by each anchor to the remote cloud desktop server, and the remote desktop server first adds a timestamp when the operation data is received, and then sends it to the remote desktop server.
  • the streaming server described above is used for streaming.
  • the host terminal needs to determine whether the virtual device is a virtual device downloaded from the central control server and uploaded by other terminal devices; If not, save the customized virtual device and upload it to the central control server.
  • the virtual keyboard of the host terminal for live broadcast, if the virtual keyboard is downloaded from the central control server and uploaded by others, there is no need to save the virtual keyboard and upload it to the central control server. If the virtual keyboard is customized in the host terminal, the virtual keyboard needs to be saved and uploaded to the central control server.
  • the viewer terminal in FIGS. 1A and 1B executes the following method for displaying the anchor input operation based on the game live broadcast:
  • the viewer terminal submits a viewing request to the central control server (including whether it is necessary to open the virtual keyboard to watch the host using 02 and 03 devices to input and operate the live broadcast), and the central control server verifies the legitimacy of the viewer information, and then sends a request to the viewer terminal. Returns the address of the pull stream server.
  • the viewer terminal pulls the streamer input operation data from the streaming server during the live broadcast of the game.
  • the viewer terminal when receiving the mouse input operation data from the host, the viewer terminal draws the corresponding mouse and executes corresponding mouse operation events, such as moving, clicking, etc., when decoding and rendering live video frames of the same time stamp.
  • the viewer terminal adds a click special effect to the drawn mouse click, so that the viewer can clearly see that the anchor is performing a click operation.
  • the viewer terminal when the viewer terminal receives the host's peripheral keyboard, peripheral handle operation, and input operation data of the virtual keyboard, it executes the execution on the virtual keyboard in its own display interface when decoding and rendering the live video frame of the same time stamp. Corresponding operation events, such as virtual button click, joystick movement, etc.
  • the viewer terminal applies special operation effects when performing the corresponding operation of the drawing, so that the viewer can clearly see what operation the anchor is performing.
  • the viewer terminal displays, on the display interface, start-up portals of different virtual devices provided by the viewer terminal and corresponding to the identification information of the input device used by the host terminal, To display the opened virtual device after startup; or, display on the display interface the download entry of the virtual device provided by the central control server and corresponding to the identification information of the input device used by the anchor terminal, to display after downloading Downloaded virtual device.
  • the central control server will pop up the download entry/open window corresponding to the virtual keyboard according to the received input device ID of the host terminal after receiving the viewer terminal to watch the host using 02 and 03 equipment to input the operation requirements for live broadcast (if the host uses a virtual keyboard) Operation, the viewer terminal will pop up the download portal of the virtual keyboard for the viewer to download. If the host uses a peripheral keyboard or peripheral controller, the viewer terminal will pop up the corresponding virtual keyboard as required, such as a virtual controller and a 61-key virtual keyboard. , 87-key virtual keyboard, 104-key virtual keyboard and simplified keyboard for specific games, etc. are open for audience to use).
  • the viewer terminal when receiving the operation data input by the anchor, synchronizes the timestamp of the operation data input by the anchor with the timestamp of the live game video stream pulled from another streaming server by the CDN server. Handles restores that perform streamer input operations.
  • the remote desktop server running the current game pushes the live video stream of the game to the other streaming server, and the viewer terminal accesses the CDN node through the streaming address provided by the central control server, and then sends the video stream to the other streaming server.
  • a pull-stream server pulls the stream.
  • the central control server in FIGS. 1A and 1B executes the following method for sharing the host input operation based on the game live broadcast:
  • S42 For the local computer game live broadcast, in response to the live broadcast request, provide the stream push address to the host terminal, so that the host terminal can push the host input operation data to the corresponding stream push server; for the cloud game live broadcast, respond to all the The live broadcast request is provided, and the stream push address is provided to the anchor terminal, so that the anchor terminal sends the anchor input operation data and the stream push address to the remote cloud desktop server, and the remote desktop server pushes the anchor input operation data to the corresponding the push server;
  • the central control server is further configured to acquire and save the custom virtual device uploaded by the host terminal; and provide the viewer terminal with the input used by the host terminal The startup entry of the virtual device corresponding to the device or the download entry of the virtual device.
  • the present invention also provides a computer program product comprising one or more computer instructions.
  • the computer instructions may be stored in a computer-readable storage medium.
  • the computer-readable storage medium may be any available medium that can be stored by a computer, or a data storage device such as a server, data center, etc., which includes one or more available media integrated.
  • the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a Solid State Disk (SSD)), and the like.
  • SSD Solid State Disk
  • this embodiment provides an electronic device, and the electronic device may be a desktop computer, a portable computer, a tablet computer, a smart phone, or the like.
  • the electronic device includes at least a memory and a processor connected through a bus, wherein the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so as to execute all or part of the steps performed by the aforementioned host terminal, or Perform all or part of the steps performed by the aforementioned viewer terminal, or perform all or part of the steps performed by the aforementioned central control server.
  • the system bus mentioned above may be a Peripheral Pomponent Interconnect (PCI for short) bus or an Extended Industry Standard Architecture (Extended Industry Standard Architecture, EISA for short) bus or the like.
  • PCI Peripheral Pomponent Interconnect
  • EISA Extended Industry Standard Architecture
  • the system bus can be divided into address bus, data bus, control bus and so on. For ease of presentation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
  • the communication interface is used to realize the communication between the database access device and other devices (eg client, read-write library and read-only library).
  • the memory may include random access memory (Random Access Memory, RAM for short), and may also include non-volatile memory (non-volatile memory), such as at least one disk storage.
  • the above-mentioned processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, referred to as CPU), a network processor (Network Processor, referred to as NP), etc.; may also be a digital signal processor (Digital Signal Processing, referred to as DSP) , Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
  • CPU Central Processing Unit
  • NP Network Processor
  • DSP Digital Signal Processing
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • the method and device for sharing and displaying the host's input operation based on the game live broadcast of the present invention enable the host to share his input operation during the live broadcast of the terminal game, so that the audience can intuitively see the specific operation of the host and study the operation of the host. Skill and hand speed effectively overcome various shortcomings in the existing technology and have high industrial application value.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

A game livestreaming-based anchor input operation sharing and displaying methods and a device. The game livestreaming-based anchor input operation sharing method comprises the steps: capturing anchor input operation data generated when an anchor operates at least one input device; for local computer livestreaming, respectively adding a timestamp when capturing for each anchor input operation data, and sending the data to a stream pushing server for stream pushing; and for cloud game livestreaming, sending each anchor input operation data to a remote cloud desktop server so that the remote desktop server firstly separately adds timestamps when the operation data is received and then sends the data to the stream pushing server for stream pushing. According to the method, the anchor can share the input operation thereof during livestreaming of a client game, and audiences can visually see the specific operation of the anchor and study the operation skill and the hand speed of the anchor.

Description

基于游戏直播的主播输入操作分享与显示方法、及设备An anchor input operation sharing and display method and device based on game live broadcast 技术领域technical field
本发明涉及游戏直播领域,特别是涉及游戏直播(包含本地电脑游戏、云游戏)的主播输入操作分享与显示方法、及设备。The present invention relates to the field of live game broadcasting, and in particular, to a method and device for sharing and displaying an anchor input operation of live game broadcasting (including local computer games and cloud games).
背景技术Background technique
当前,游戏直播行业火爆异常,主播通过屏幕分享以及语音与观众进行互动,然而针对主播操作,对于手游来说,由于手游的特殊性,主播在直播时屏幕会直接被录屏直播,屏幕中的虚拟按键的操作也会被录屏,观众可以看到主播对于手游的操作方式、操作技巧,以便学习;而对于端游,主播键鼠的操作并不能直接反应在直播的主屏幕中,主播会采用另外架设一个摄像头用于拍摄主播手部对于键鼠等操作打开小窗口,此行为的目的只是为了表示是主播在操作,并未开挂,但由于显示该部分显示窗口小,无法完全将主播的操作手速,操作技巧等进行直播显示,故对于一些想要从观看主播直播来学习操作技巧、能力的观众来说并不友好。At present, the game live broadcast industry is very hot, and the anchor interacts with the audience through screen sharing and voice. However, for the operation of the anchor, for mobile games, due to the particularity of mobile games, the anchor's screen will be directly recorded during the live broadcast. The operation of the virtual buttons in the game will also be recorded, and the audience can see the anchor's operation method and operation skills for the mobile game, so as to learn; for the terminal game, the operation of the anchor's keyboard and mouse cannot be directly reflected in the main screen of the live broadcast. , the anchor will use another camera to shoot the anchor's hand and open a small window for operations such as keyboard and mouse. The purpose of this behavior is only to indicate that the anchor is operating and has not opened it. However, because the display window of this part is small, it is impossible to The operation speed and operation skills of the anchor are completely displayed on the live broadcast, so it is not friendly to some viewers who want to learn operation skills and abilities from watching the live broadcast of the anchor.
发明内容SUMMARY OF THE INVENTION
鉴于以上所述现有技术的缺点,本发明的目的在于提供基于游戏直播的主播输入操作分享与显示方法、及设备,用于解决现有技术中的以上不足。In view of the above-mentioned shortcomings of the prior art, the purpose of the present invention is to provide a method and device for sharing and displaying an anchor input operation based on game live broadcast, so as to solve the above deficiencies in the prior art.
为实现上述目的及其他相关目的,本发明提供一种基于游戏直播的主播输入操作分享方法,应用于主播终端;所述方法包括:捕获主播操作至少一个输入设备而产生的主播输入操作数据;对于本地电脑游戏直播,为各所述主播输入操作数据分别添加捕获时的时间戳,并发送至推流服务器以进行推流;对于云游戏直播,将各所述主播输入操作数据发送至远程云桌面服务器,以供所述远程桌面服务器先分别添加接收操作数据时的时间戳再发送至所述推流服务器以进行推流。In order to achieve the above purpose and other related purposes, the present invention provides a method for sharing an input operation of an anchor based on a live game broadcast, which is applied to an anchor terminal; the method includes: capturing the anchor input operation data generated by the anchor operating at least one input device; For local computer game live broadcast, add the time stamp when capturing the input operation data of each anchor, and send it to the streaming server for streaming; for cloud game live broadcast, send the input operation data of each anchor to the remote cloud desktop A server, so that the remote desktop server first adds a timestamp when the operation data is received, and then sends it to the streaming server for streaming.
于本发明一实施例中,所述方法还包括:在捕获所述主播输入操作数据之前,先检测是否有分享主播输入操作的指令;在检测到所述分享主播输入操作的指令时,识别所述至少一个输入设备的设备信息,并向中控服务器发送所述至少一个输入设备的标识信息;其中,所述推流服务器的地址是由所述中控服务器向所述主播终端提供。In an embodiment of the present invention, the method further includes: before capturing the anchor input operation data, first detecting whether there is an instruction to share the anchor input operation; when detecting the instruction to share the anchor input operation, identifying the device information of the at least one input device, and send the identification information of the at least one input device to the central control server; wherein, the address of the streaming server is provided by the central control server to the host terminal.
于本发明一实施例中,所述至少一个输入设备包括:本地电脑直播中所述主播终端连接的外部物理输入设备,对于云游戏直播中所述主播终端连接的外部物理输入设备以及所述主 播终端启动的虚拟设备;对于所述主播终端启动的虚拟设备,所述方法还包括:判断所述虚拟设备是否为下载自所述中控服务器的由其它终端设备上传的虚拟设备;若否,则将自定义的虚拟设备进行保存,并上传至所述中控服务器。In an embodiment of the present invention, the at least one input device includes: an external physical input device connected to the host terminal in the local computer live broadcast, an external physical input device connected to the host terminal in the cloud game live broadcast, and the host. The virtual device started by the terminal; for the virtual device started by the host terminal, the method further includes: judging whether the virtual device is a virtual device downloaded from the central control server and uploaded by other terminal devices; if not, then Save the customized virtual device and upload it to the central control server.
为实现上述目的及其他相关目的,本发明提供一种基于游戏直播的主播输入操作显示方法,应用于观众终端;所述方法包括:向中控服务器提交观看请求,以获取由所述中控服务器提供的拉流服务器的地址;从所述拉流服务器中拉取所述游戏直播的主播输入操作数据;在解码渲染一直播画面帧时,根据所述直播画面帧的时间戳执行相同时间戳的主播输入操作数据来复现主播输入操作事件,以在显示界面上还原出主播输入操作。In order to achieve the above purpose and other related purposes, the present invention provides a method for displaying an input operation of an anchor based on a live game broadcast, which is applied to a viewer terminal; the method includes: submitting a viewing request to a central control server to obtain information from the central control server. The address of the provided streaming server; the anchor input operation data of the game live broadcast is pulled from the streaming server; when decoding and rendering a live broadcast frame, the same timestamp is performed according to the timestamp of the live broadcast frame. The anchor inputs operation data to reproduce the anchor input operation event, so as to restore the anchor input operation on the display interface.
于本发明一实施例中,所述显示界面显示有虚拟设备,所述主播输入操作还原于所述虚拟设备上,并加以特效显示。In an embodiment of the present invention, a virtual device is displayed on the display interface, and the input operation of the host is restored on the virtual device and displayed with special effects.
于本发明一实施例中,所述方法还包括:在所述显示界面上显示由所述中控服务器提供的与主播终端使用的输入设备的标识信息对应不同虚拟设备的启动入口,以在启动后显示打开的虚拟设备;或者,在所述显示界面上显示由所述中控服务器提供的与主播终端使用的输入设备的标识信息对应的虚拟设备的下载入口,以在下载后显示下载的虚拟设备。In an embodiment of the present invention, the method further includes: displaying, on the display interface, startup entries of different virtual devices provided by the central control server and corresponding to the identification information of the input device used by the anchor terminal, so as to start After downloading, display the opened virtual device; or, display the download entry of the virtual device provided by the central control server and corresponding to the identification information of the input device used by the anchor terminal on the display interface, so as to display the downloaded virtual device after downloading. equipment.
为实现上述目的及其他相关目的,本发明提供一种基于游戏直播的主播输入操作分享方法,应用于中控服务器;所述方法包括:获取主播终端的直播请求;对于本地电脑游戏直播,响应所述直播请求,向所述主播终端提供推流地址,以供所述主播终端将主播输入操作数据和推流地址发送至远程云桌面服务器,由所述远程桌面服务器将主播输入操作数据推送到对应的推流服务器;获取观众终端的观看请求;响应所述观看请求,向所述观众终端提供拉流服务器的地址,以供所述观众终端从所述拉流服务器中拉取所述主播输入操作数据并复现出主播输入操作事件。In order to achieve the above purpose and other related purposes, the present invention provides a method for sharing an input operation of an anchor based on a live game broadcast, which is applied to a central control server; the method includes: obtaining a live broadcast request from the anchor terminal; The live broadcast request is provided, and the stream push address is provided to the anchor terminal, so that the anchor terminal sends the anchor input operation data and the stream push address to the remote cloud desktop server, and the remote desktop server pushes the anchor input operation data to the corresponding obtain the viewing request of the viewer terminal; in response to the viewing request, provide the viewer terminal with the address of the streaming server, so that the viewer terminal can pull the anchor input operation from the streaming server data and reproduce the host input operation event.
于本发明一实施例中,对于云游戏直播,所述方法还包括:获取所述主播终端上传的自定义虚拟设备,并保存;向所述观众终端提供与所述主播终端使用的输入设备所对应的虚拟设备的启动入口或该虚拟设备的下载入口。In an embodiment of the present invention, for cloud game live broadcast, the method further includes: acquiring a custom virtual device uploaded by the host terminal and saving it; providing the viewer terminal with the same information as the input device used by the host terminal. The startup entry of the corresponding virtual device or the download entry of the virtual device.
为实现上述目的及其他相关目的,本发明提供一种计算机可读存储介质,其中存储有计算机程序,所述计算机程序被处理器加载执行时,实现所述的基于游戏直播的主播输入操作分享方法,或所述的基于游戏直播的主播输入操作显示方法。In order to achieve the above purpose and other related purposes, the present invention provides a computer-readable storage medium, wherein a computer program is stored, and when the computer program is loaded and executed by a processor, the described method for sharing an anchor input operation based on a live game broadcast is realized. , or the method for displaying an input operation of an anchor based on a live game broadcast.
为实现上述目的及其他相关目的,本发明提供一种电子设备,包括:处理器及存储器;其中,所述存储器用于存储计算机程序;所述处理器用于加载执行所述计算机程序,以使所述电子设备执行所述的基于游戏直播的主播输入操作分享方法,或所述的基于游戏直播的主 播输入操作显示方法。In order to achieve the above object and other related objects, the present invention provides an electronic device, comprising: a processor and a memory; wherein, the memory is used to store a computer program; the processor is used to load and execute the computer program, so that all The electronic device executes the method for sharing the host input operation based on the game live broadcast, or the method for displaying the host input operation based on the game live broadcast.
如上所述,本发明的基于游戏直播的主播输入操作分享与显示方法、及设备,主播只需安装云游戏应用程序(此处的云游戏指的是电脑游戏,非云手游),便可通过智能手机、平板电脑、笔记本电脑、台式机等进行端游直播时输入操作的分享(注:此处的输入操作并不包含语音输入、视频输入,而是指外设鼠标、外设键盘、外设手柄以及虚拟键鼠手柄等输入操作)。操作直播是视频直播的辅助功能,观众客户端通过在解码渲染视频流时执行同一时间戳的输入事件,以此还原出主播直播时的真实情况。观众可以通过该方法,直观地观看到主播操作了哪些按键,研究主播的操作技巧、操作手速等,对于学习型观众来说实用性较高。另外,本发明不仅限于云游戏的直播,也可以适用于普通电脑游戏直播中主播输入操作的分享。As mentioned above, in the present invention's method and device for sharing and displaying the host's input operation based on live game broadcast, the host only needs to install the cloud game application (the cloud game here refers to computer games, not cloud mobile games), and then Sharing of input operations during live streaming of client games through smartphones, tablets, laptops, desktops, etc. (Note: The input operations here do not include voice input and video input, but refer to peripheral mouse, peripheral keyboard, Input operations such as peripheral controllers and virtual keyboard and mouse controllers). Operating live is an auxiliary function of live video. The viewer client can restore the real situation of the live broadcast by executing the input event with the same timestamp when decoding and rendering the video stream. Through this method, the audience can intuitively watch which buttons the anchor has operated, and study the anchor's operating skills and operating speed, which is highly practical for learning audiences. In addition, the present invention is not limited to the live broadcast of cloud games, but can also be applied to the sharing of the anchor's input operation in the live broadcast of ordinary computer games.
附图说明Description of drawings
图1A显示为本发明一实施例中本地电脑游戏直播的应用场景示意图。FIG. 1A is a schematic diagram of an application scenario of a local computer game live broadcast according to an embodiment of the present invention.
图1B显示为本发明另一实施例中云游戏直播的应用场景示意图。FIG. 1B is a schematic diagram of an application scenario of cloud game live broadcasting in another embodiment of the present invention.
图2显示为本发明一实施例中主播终端执行的基于游戏直播的主播输入操作分享方法流程图。FIG. 2 shows a flowchart of a method for sharing an input operation of an anchor based on a live game broadcast performed by an anchor terminal according to an embodiment of the present invention.
图3显示为本发明一实施例中观众终端执行的基于游戏直播的主播输入操作显示方法流程图。FIG. 3 is a flowchart showing a method for displaying an input operation of a host based on a live game broadcast performed by a viewer terminal in an embodiment of the present invention.
图4显示为本发明一实施例中中控服务器执行的基于游戏直播的主播输入操作分享方法流程图。FIG. 4 is a flowchart of a method for sharing an input operation of an anchor based on a live game broadcast performed by a central control server according to an embodiment of the present invention.
图5显示为本发明一实施例中电子设备的结构示意图。FIG. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
具体实施方式Detailed ways
以下通过特定的具体实例说明本发明的实施方式,本领域技术人员可由本说明书所揭露的内容轻易地了解本发明的其他优点与功效。本发明还可以通过另外不同的具体实施方式加以实施或应用,本说明书中的各项细节也可以基于不同观点与应用,在没有背离本发明的精神下进行各种修饰或改变。需说明的是,在不冲突的情况下,以下实施例及实施例中的特征可以相互组合。The embodiments of the present invention are described below through specific specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments may be combined with each other under the condition of no conflict.
需要说明的是,以下实施例中所提供的图示仅以示意方式说明本发明的基本构想,遂图示中仅显示与本发明中有关的组件而非按照实际实施时的组件数目、形状及尺寸绘制,其实际实施时各组件的型态、数量及比例可为一种随意的改变,且其组件布局型态也可能更为复 杂。It should be noted that the diagrams provided in the following embodiments are only used to illustrate the basic concept of the present invention in a schematic way, so the diagrams only show the components related to the present invention rather than the number, shape and For dimension drawing, the type, quantity and proportion of each component can be changed at will in actual implementation, and the component layout may also be more complicated.
鉴于现有技术中的不足,本申请提供基于游戏直播的主播输入操作分享与显示方法、及设备,主播在玩电脑游戏时,无需另外安装摄像头直播手部操作,主播使用外设(例如鼠标、键盘、手柄)、虚拟设备(例如虚拟键鼠等操作时),通过主播终端对主播操作数据进行捕获、处理、传输,观众在观看直播时利用观众终端下载并显示虚拟键盘,主播输入操作就会在观众终端屏幕上的虚拟键盘中复现,并加以特效显示。观众可以通过本申请的技术方案,直观地观看到主播操作了哪些按键,研究主播的操作技巧、操作手速等,对于学习型观众来说实用性较高。In view of the deficiencies in the prior art, the present application provides an anchor input operation sharing and display method and device based on game live broadcast. When the anchor plays a computer game, there is no need to install a camera to live broadcast the hand operation, and the anchor uses a peripheral device (such as a mouse, Keyboard, handle), virtual devices (such as virtual keyboard and mouse, etc.), the anchor operation data is captured, processed, and transmitted through the anchor terminal. The audience downloads and displays the virtual keyboard through the audience terminal when watching the live broadcast, and the anchor input operation will be It is reproduced in the virtual keyboard on the screen of the audience terminal and displayed with special effects. Through the technical solution of the present application, the audience can intuitively watch which buttons the anchor has operated, and study the anchor's operating skills, operating hand speed, etc., which is highly practical for learning audiences.
如图1A所示,显示为本发明一实施例中直播本地电脑游戏的应用场景示意图,其中CDN服务器未示出。主播终端(如智能手机、平板电脑、笔记本电脑、台式机等)与中控服务器通信,主播终端采用的输入设备包括外设键鼠、外设手柄等。中控服务器与若干观众终端通信(如智能手机、平板电脑、笔记本电脑、台式机等)。推、拉流服务器为主播终端和观众终端提供直播服务。As shown in FIG. 1A , it is a schematic diagram of an application scenario of live broadcasting a local computer game in an embodiment of the present invention, and the CDN server is not shown. The anchor terminal (such as smart phone, tablet computer, laptop, desktop, etc.) communicates with the central control server, and the input devices used by the anchor terminal include peripheral keyboard and mouse, peripheral handle, etc. The central control server communicates with several audience terminals (such as smart phones, tablet computers, notebook computers, desktop computers, etc.). Push and pull streaming servers provide live broadcast services for broadcaster terminals and viewer terminals.
如图2所示,图1中的主播终端执行如下电脑游戏直播的主播输入操作分享方法:As shown in Figure 2, the host terminal in Figure 1 implements the following method for sharing the host input operation of the computer game live broadcast:
S21:捕获主播操作至少一个输入设备而产生的主播输入操作数据;S21: Capture the host input operation data generated by the host operating at least one input device;
其中,该游戏在本地运行,所述输入设备一般为物理输入设备,主播输入操作数据只包含物理输入设备输入的操作数据,包括:鼠标指针类型、事件、坐标,以及键盘操作事件、手柄操作事件等。Among them, the game runs locally, the input device is generally a physical input device, and the anchor input operation data only includes the operation data input by the physical input device, including: mouse pointer type, event, coordinates, as well as keyboard operation events, handle operation events Wait.
较佳的,在捕获所述主播输入操作数据之前,先检测是否有分享主播输入操作的指令;在检测到所述分享主播输入操作的指令时,识别所述至少一个输入设备的设备信息,并向中控服务器发送所述至少一个输入设备的标识信息。Preferably, before capturing the input operation data of the anchor, first detect whether there is an instruction to share the anchor input operation; when detecting the instruction to share the anchor input operation, identify the device information of the at least one input device, and The identification information of the at least one input device is sent to the central control server.
例如,主播在主播终端中选择分享输入操作,主播终端判断使用的输入设备的类型,并将输入设备ID发送至中控服务器,中控在接收主播的直播请求时,验证主播信息的合法性后向其返回推流地址。For example, the host selects the sharing input operation in the host terminal, the host terminal determines the type of the input device used, and sends the input device ID to the central control server. When receiving the live broadcast request from the host, the central control verifies the validity of the host information after Return the push stream address to it.
S22:为各所述主播输入操作数据分别添加捕获时的时间戳,并发送至推流服务器以进行推流。S22: Add a time stamp at the time of capturing to each of the anchor input operation data, and send it to the streaming server for streaming.
具体地,所述主播终端捕获主播输入操作数据,包括:01鼠标操作数据(按下抬起事件、移动相对坐标、绝对坐标数据等)、03外设键盘、外设手柄操作数据(键盘输入事件(虚拟键码值、按下抬起事件)、手柄输入事件(按键虚拟键码值、按下抬起事件、摇杆操作偏移值)),并对各操作数据在捕获时加以时间戳。随之,所述主播终端根据中控服务器返回 的推流地址将捕获的这些主播输入操作数据进行推流。Specifically, the anchor terminal captures the anchor input operation data, including: 01 mouse operation data (press and lift event, moving relative coordinates, absolute coordinate data, etc.), 03 peripheral keyboard, peripheral handle operation data (keyboard input event (virtual key code value, press and lift event), handle input event (press virtual key code value, press and lift event, joystick operation offset value)), and timestamp each operation data when it is captured. Subsequently, the anchor terminal pushes the captured anchor input operation data according to the streaming address returned by the central control server.
如图1B所示,显示为本发明另一实施例中直播云游戏的应用场景示意图。与图1A不同的是,本实施例中,主播终端与推流服务器之间还通信连接有远程桌面服务器,游戏在该远程服务器运行,该远程服务器向主播终端提供游戏运行数据供其显示。如此,所述主播输入操作数据可以是外设操作数据,也可以是虚拟键盘操作数据。As shown in FIG. 1B , it is a schematic diagram of an application scenario of live streaming cloud games in another embodiment of the present invention. Different from FIG. 1A , in this embodiment, a remote desktop server is also communicatively connected between the host terminal and the streaming server, the game runs on the remote server, and the remote server provides game running data to the host terminal for display. In this way, the host input operation data may be peripheral device operation data or virtual keyboard operation data.
在本实施例中,与上述方法实施例不同的是,步骤S21捕获的是主播操作物理输入设备和虚拟设备(其由该主播终端启动,如虚拟键盘、虚拟鼠标、虚拟手柄等)而产生的主播输入操作数据,例如:光标推送数据、02虚拟设备操作事件(虚拟键码值、按下抬起事件等)。并且,步骤S22改为:由主播终端将各所述主播输入操作数据发送至远程云桌面服务器,由所述远程桌面服务器先分别为其添加接收操作数据时的时间戳,再将其发送至所述推流服务器以进行推流。In this embodiment, different from the above method embodiments, step S21 captures the data generated by the host operating the physical input device and the virtual device (which is activated by the host terminal, such as virtual keyboard, virtual mouse, virtual handle, etc.). The anchor inputs operation data, such as: cursor push data, 02 virtual device operation events (virtual key code value, press-up event, etc.). In addition, step S22 is changed to: the anchor terminal sends the operation data input by each anchor to the remote cloud desktop server, and the remote desktop server first adds a timestamp when the operation data is received, and then sends it to the remote desktop server. The streaming server described above is used for streaming.
在一实施例中,若所述输入设备为所述主播终端启动的虚拟设备,所述主播终端需判断所述虚拟设备是否为下载自所述中控服务器的由其它终端设备上传的虚拟设备;若否,则将自定义的虚拟设备进行保存,并上传至所述中控服务器。In one embodiment, if the input device is a virtual device started by the host terminal, the host terminal needs to determine whether the virtual device is a virtual device downloaded from the central control server and uploaded by other terminal devices; If not, save the customized virtual device and upload it to the central control server.
例如,主播使用所述主播终端的虚拟键盘进行直播前,该虚拟键盘若是从中控服务器下载的他人上传的虚拟键盘,则无需对该虚拟键盘进行保存并上传至中控服务器,若主播使用的是自己在所述主播终端中自定义的虚拟键盘,则需将该虚拟键盘保存并上传至中控服务器。For example, before the host uses the virtual keyboard of the host terminal for live broadcast, if the virtual keyboard is downloaded from the central control server and uploaded by others, there is no need to save the virtual keyboard and upload it to the central control server. If the virtual keyboard is customized in the host terminal, the virtual keyboard needs to be saved and uploaded to the central control server.
如图3所示,图1A、1B中的观众终端执行如下基于游戏直播的主播输入操作显示方法:As shown in FIG. 3 , the viewer terminal in FIGS. 1A and 1B executes the following method for displaying the anchor input operation based on the game live broadcast:
S31:向中控服务器提交观看请求,以获取由所述中控服务器提供的拉流服务器的地址;S31: Submit a viewing request to the central control server to obtain the address of the streaming server provided by the central control server;
具体的,所述观众终端向中控服务器提交观看请求(包含是否需要打开虚拟键盘观看主播使用02及03设备输入操作直播),中控服务器验证该观众信息的合法性后,向所述观众终端返回拉流服务器的地址。Specifically, the viewer terminal submits a viewing request to the central control server (including whether it is necessary to open the virtual keyboard to watch the host using 02 and 03 devices to input and operate the live broadcast), and the central control server verifies the legitimacy of the viewer information, and then sends a request to the viewer terminal. Returns the address of the pull stream server.
S32:从所述拉流服务器中拉取所述主播输入操作数据;S32: Pulling the anchor input operation data from the streaming server;
具体的,所述观众终端在接收到所述中控服务器返回的拉流地址后,向拉流服务器拉取游戏直播时的主播输入操作数据。Specifically, after receiving the streaming address returned by the central control server, the viewer terminal pulls the streamer input operation data from the streaming server during the live broadcast of the game.
S33:在解码渲染一直播画面帧时,根据所述直播画面帧的时间戳执行相同时间戳的主播输入操作数据来复现主播输入操作事件,以在显示界面上还原出主播输入操作。S33: When decoding and rendering a live image frame, execute the anchor input operation data with the same timestamp according to the timestamp of the live image frame to reproduce the anchor input operation event, so as to restore the anchor input operation on the display interface.
例如,所述观众终端在接收到主播的鼠标输入操作数据时,在解码渲染同一时间戳的直播画面帧时绘制对应的鼠标并执行相应的鼠标操作事件,例如移动、点击等。较佳的,观众 终端在为绘制的鼠标点击加以点击特效,以便观众能明显地看到主播在进行点击操作。For example, when receiving the mouse input operation data from the host, the viewer terminal draws the corresponding mouse and executes corresponding mouse operation events, such as moving, clicking, etc., when decoding and rendering live video frames of the same time stamp. Preferably, the viewer terminal adds a click special effect to the drawn mouse click, so that the viewer can clearly see that the anchor is performing a click operation.
又例如,所述观众终端在接收到主播的外设键盘、外设手柄操作以及虚拟键盘的输入操作数据时,在解码渲染同一时间戳的直播画面帧时在自身显示界面中的虚拟键盘上执行相应的操作事件,例如虚拟按键点击、摇杆移动等。较佳的,观众终端在执行绘制的对应操作时加以操作特效,以便观众能明显地看到主播在进行何种操作。For another example, when the viewer terminal receives the host's peripheral keyboard, peripheral handle operation, and input operation data of the virtual keyboard, it executes the execution on the virtual keyboard in its own display interface when decoding and rendering the live video frame of the same time stamp. Corresponding operation events, such as virtual button click, joystick movement, etc. Preferably, the viewer terminal applies special operation effects when performing the corresponding operation of the drawing, so that the viewer can clearly see what operation the anchor is performing.
在一实施例中,在还原主播输入操作之前,所述观众终端在所述显示界面上显示由所述观众终端提供的与主播终端使用的输入设备的标识信息对应的不同虚拟设备的启动入口,以在启动后显示打开的虚拟设备;或者,在所述显示界面上显示由所述中控服务器提供的与主播终端使用的输入设备的标识信息对应的虚拟设备的下载入口,以在下载后显示下载的虚拟设备。In one embodiment, before restoring the host input operation, the viewer terminal displays, on the display interface, start-up portals of different virtual devices provided by the viewer terminal and corresponding to the identification information of the input device used by the host terminal, To display the opened virtual device after startup; or, display on the display interface the download entry of the virtual device provided by the central control server and corresponding to the identification information of the input device used by the anchor terminal, to display after downloading Downloaded virtual device.
例如,中控服务器接收到观众终端观看主播使用02及03设备输入操作直播需求后根据接收到的主播终端的输入设备ID,弹出对应虚拟键盘的下载入口/打开窗口(若主播使用的是虚拟键盘进行操作,观众终端则弹出该虚拟键盘的下载入口供观众下载,若主播使用的为外设键盘、外设手柄,观众终端则根据需求弹出对应的虚拟键盘,例如虚拟手柄、61键位虚拟键盘、87键位虚拟键盘、104键位虚拟键盘以及特定游戏精简键盘等供观众打开使用)。For example, the central control server will pop up the download entry/open window corresponding to the virtual keyboard according to the received input device ID of the host terminal after receiving the viewer terminal to watch the host using 02 and 03 equipment to input the operation requirements for live broadcast (if the host uses a virtual keyboard) Operation, the viewer terminal will pop up the download portal of the virtual keyboard for the viewer to download. If the host uses a peripheral keyboard or peripheral controller, the viewer terminal will pop up the corresponding virtual keyboard as required, such as a virtual controller and a 61-key virtual keyboard. , 87-key virtual keyboard, 104-key virtual keyboard and simplified keyboard for specific games, etc. are open for audience to use).
在一实施例中,观众终端在接收到主播输入操作数据时,将主播输入操作数据的时间戳与根据CDN服务器从另一拉流服务器中拉取到的游戏直播的视频流的时间戳加以同步处理执行主播输入操作的还原。需要说明的是,运行当前游戏的远程桌面服务器将游戏直播的视频流推流至所述的另一拉流服务器,观众终端通过中控服务器提供的拉流地址访问CDN节点进而向所述的另一拉流服务器拉流。In one embodiment, when receiving the operation data input by the anchor, the viewer terminal synchronizes the timestamp of the operation data input by the anchor with the timestamp of the live game video stream pulled from another streaming server by the CDN server. Handles restores that perform streamer input operations. It should be noted that the remote desktop server running the current game pushes the live video stream of the game to the other streaming server, and the viewer terminal accesses the CDN node through the streaming address provided by the central control server, and then sends the video stream to the other streaming server. A pull-stream server pulls the stream.
如图4所示,图1A、1B中的中控服务器执行如下基于游戏直播的主播输入操作分享方法:As shown in FIG. 4 , the central control server in FIGS. 1A and 1B executes the following method for sharing the host input operation based on the game live broadcast:
S41:获取主播终端的直播请求;S41: Obtain the live broadcast request of the host terminal;
S42:对于本地电脑游戏直播,响应所述直播请求,向所述主播终端提供推流地址,以供所述主播终端将主播输入操作数据推送到对应的推流服务器;对于云游戏直播,响应所述直播请求,向所述主播终端提供推流地址,以供所述主播终端将主播输入操作数据和推流地址发送至远程云桌面服务器,由所述远程桌面服务器将主播输入操作数据推送到对应的推流服务器;S42: For the local computer game live broadcast, in response to the live broadcast request, provide the stream push address to the host terminal, so that the host terminal can push the host input operation data to the corresponding stream push server; for the cloud game live broadcast, respond to all the The live broadcast request is provided, and the stream push address is provided to the anchor terminal, so that the anchor terminal sends the anchor input operation data and the stream push address to the remote cloud desktop server, and the remote desktop server pushes the anchor input operation data to the corresponding the push server;
S43:获取观众终端的观看请求;S43: Obtain the viewing request of the viewer terminal;
S44:响应所述观看请求,向所述观众终端提供拉流服务器的地址,以供所述观众终端 从所述拉流服务器中拉取所述主播输入操作数据并复现出主播输入操作事件。S44: In response to the viewing request, provide the viewer terminal with the address of the streaming server, so that the viewer terminal can pull the anchor input operation data from the streaming server and reproduce the anchor input operation event.
在如图1B所示的云游戏直播实施例中,中控服务器还用于获取所述主播终端上传的自定义虚拟设备,并保存;以及向所述观众终端提供与所述主播终端使用的输入设备所对应的虚拟设备的启动入口或该虚拟设备的下载入口。In the embodiment of the cloud game live broadcast shown in FIG. 1B , the central control server is further configured to acquire and save the custom virtual device uploaded by the host terminal; and provide the viewer terminal with the input used by the host terminal The startup entry of the virtual device corresponding to the device or the download entry of the virtual device.
由于本实施例的具体实施方式与前述方法实施例在原理上一致,故于此不再对实施细节做重复赘述。Since the specific implementation of this embodiment is in principle the same as the foregoing method embodiment, the implementation details will not be repeated here.
实现上述各方法实施例的全部或部分步骤可以通过计算机程序相关的硬件来完成。基于这样的理解,本发明还提供一种计算机程序产品,包括一个或多个计算机指令。所述计算机指令可以存储在计算机可读存储介质中。所述计算机可读存储介质可以是计算机能够存储的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(如:软盘、硬盘、磁带)、光介质(如:DVD)、或者半导体介质(如:固态硬盘Solid State Disk(SSD))等。All or part of the steps for implementing the above method embodiments may be completed by hardware related to computer programs. Based on this understanding, the present invention also provides a computer program product comprising one or more computer instructions. The computer instructions may be stored in a computer-readable storage medium. The computer-readable storage medium may be any available medium that can be stored by a computer, or a data storage device such as a server, data center, etc., which includes one or more available media integrated. The usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a Solid State Disk (SSD)), and the like.
参阅图5,本实施例提供一种电子设备,电子设备可以是台式机、便携式电脑、平板电脑、智能手机等设备。详细的,电子设备至少包括通过总线连接的:存储器、处理器,其中,存储器用于存储计算机程序,处理器用于执行存储器存储的计算机程序,以执行前述主播终端所执行的全部或部分步骤,或者执行前述观众终端所执行的全部或部分步骤,或者执行前述中控服务器所执行的全部或部分步骤。Referring to FIG. 5 , this embodiment provides an electronic device, and the electronic device may be a desktop computer, a portable computer, a tablet computer, a smart phone, or the like. In detail, the electronic device includes at least a memory and a processor connected through a bus, wherein the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so as to execute all or part of the steps performed by the aforementioned host terminal, or Perform all or part of the steps performed by the aforementioned viewer terminal, or perform all or part of the steps performed by the aforementioned central control server.
上述提到的系统总线可以是外设部件互连标准(Peripheral Pomponent Interconnect,简称PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,简称EISA)总线等。该系统总线可以分为地址总线、数据总线、控制总线等。为便于表示,图中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。通信接口用于实现数据库访问装置与其他设备(例如客户端、读写库和只读库)之间的通信。存储器可能包含随机存取存储器(Random Access Memory,简称RAM),也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。The system bus mentioned above may be a Peripheral Pomponent Interconnect (PCI for short) bus or an Extended Industry Standard Architecture (Extended Industry Standard Architecture, EISA for short) bus or the like. The system bus can be divided into address bus, data bus, control bus and so on. For ease of presentation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. The communication interface is used to realize the communication between the database access device and other devices (eg client, read-write library and read-only library). The memory may include random access memory (Random Access Memory, RAM for short), and may also include non-volatile memory (non-volatile memory), such as at least one disk storage.
上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,简称CPU)、网络处理器(Network Processor,简称NP)等;还可以是数字信号处理器(Digital Signal Processing,简称DSP)、专用集成电路(Application Specific Integrated Circuit,简称ASIC)、现场可编程门阵列(Field-Programmable Gate Array,简称FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。The above-mentioned processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, referred to as CPU), a network processor (Network Processor, referred to as NP), etc.; may also be a digital signal processor (Digital Signal Processing, referred to as DSP) , Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
综上,本发明的基于游戏直播的主播输入操作分享与显示方法、及设备,使得主播可在 端游直播时分享其输入操作,使得观众可直观地看到主播的具体操作,研究主播的操作技巧和手速,有效克服了现有技术中的种种缺点而具高度产业利用价值。To sum up, the method and device for sharing and displaying the host's input operation based on the game live broadcast of the present invention enable the host to share his input operation during the live broadcast of the terminal game, so that the audience can intuitively see the specific operation of the host and study the operation of the host. Skill and hand speed effectively overcome various shortcomings in the existing technology and have high industrial application value.
上述实施例仅例示性说明本发明的原理及其功效,而非用于限制本发明。任何熟悉此技术的人士皆可在不违背本发明的精神及范畴下,对上述实施例进行修饰或改变。因此,举凡所属技术领域中具有通常知识者在未脱离本发明所揭示的精神与技术思想下所完成的一切等效修饰或改变,仍应由本发明的权利要求所涵盖。The above-mentioned embodiments merely illustrate the principles and effects of the present invention, but are not intended to limit the present invention. Anyone skilled in the art can modify or change the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or changes made by those with ordinary knowledge in the technical field without departing from the spirit and technical idea disclosed in the present invention should still be covered by the claims of the present invention.

Claims (10)

  1. 一种基于游戏直播的主播输入操作分享方法,其特征在于,应用于主播终端;所述方法包括:A method for sharing an anchor input operation based on a live game broadcast, characterized in that it is applied to an anchor terminal; the method includes:
    捕获主播操作至少一个输入设备而产生的主播输入操作数据;Capture the host input operation data generated by the host operating at least one input device;
    对于本地电脑游戏直播,为各所述主播输入操作数据分别添加捕获时的时间戳,并发送至推流服务器以进行推流;对于云游戏直播,将各所述主播输入操作数据发送至远程云桌面服务器,以供所述远程桌面服务器先分别添加接收操作数据时的时间戳再发送至所述推流服务器以进行推流。For the local computer game live broadcast, add the time stamp when capturing the input operation data of each anchor, and send it to the streaming server for streaming; for the cloud game live broadcast, send the input operation data of each anchor to the remote cloud A desktop server, so that the remote desktop server first adds a timestamp when the operation data is received and then sends it to the streaming server for streaming.
  2. 根据权利要求1所述的方法,其特征在于,还包括:The method of claim 1, further comprising:
    在捕获所述主播输入操作数据之前,先检测是否有分享主播输入操作的指令;Before capturing the anchor input operation data, firstly detect whether there is an instruction to share the anchor input operation;
    在检测到所述分享主播输入操作的指令时,识别所述至少一个输入设备的设备信息,并向中控服务器发送所述至少一个输入设备的标识信息;When detecting the instruction of the input operation of the sharing host, identify the device information of the at least one input device, and send the identification information of the at least one input device to the central control server;
    其中,所述推流服务器的地址是由所述中控服务器向所述主播终端提供。The address of the streaming server is provided by the central control server to the host terminal.
  3. 根据权利要求2所述的方法,其特征在于,所述至少一个输入设备包括:本地电脑直播中所述主播终端连接的外部物理输入设备,对于云游戏直播中所述主播终端连接的外部物理输入设备以及所述主播终端启动的虚拟设备;对于所述主播终端启动的虚拟设备,所述方法还包括:The method according to claim 2, wherein the at least one input device comprises: an external physical input device connected to the host terminal in the local computer live broadcast, and for the external physical input device connected to the host terminal in the cloud game live broadcast device and a virtual device started by the host terminal; for the virtual device started by the host terminal, the method further includes:
    判断所述虚拟设备是否为下载自所述中控服务器的由其它终端设备上传的虚拟设备;Determine whether the virtual device is a virtual device downloaded from the central control server and uploaded by other terminal devices;
    若否,则将自定义的虚拟设备进行保存,并上传至所述中控服务器。If not, save the customized virtual device and upload it to the central control server.
  4. 一种基于游戏直播的主播输入操作显示方法,其特征在于,应用于观众终端;所述方法包括:A method for displaying an input operation of an anchor based on a live game broadcast, characterized in that it is applied to a viewer terminal; the method comprises:
    向中控服务器提交观看请求,以获取由所述中控服务器提供的拉流服务器的地址;Submit a viewing request to the central control server to obtain the address of the streaming server provided by the central control server;
    从所述拉流服务器中拉取所述游戏直播的主播输入操作数据;Pulling the host input operation data of the game live broadcast from the streaming server;
    在解码渲染一直播画面帧时,根据所述直播画面帧的时间戳执行相同时间戳的主播输入操作数据来复现主播输入操作事件,以在显示界面上还原出主播输入操作。When decoding and rendering a live image frame, the anchor input operation data with the same timestamp is executed according to the timestamp of the live image frame to reproduce the anchor input operation event, so as to restore the anchor input operation on the display interface.
  5. 根据权利要求4所述的方法,其特征在于,所述显示界面显示有虚拟设备,所述主播输入操作还原于所述虚拟设备上,并加以特效显示。The method according to claim 4, wherein a virtual device is displayed on the display interface, the host input operation is restored on the virtual device, and special effects are displayed.
  6. 根据权利要求5所述的方法,其特征在于,还包括:The method of claim 5, further comprising:
    在所述显示界面上显示由所述观众终端提供的与主播终端使用的输入设备的标识信息对应的不同虚拟设备的启动入口,以在启动后显示打开的虚拟设备;或者,displaying, on the display interface, startup entries of different virtual devices provided by the viewer terminal and corresponding to the identification information of the input device used by the host terminal, so as to display the opened virtual devices after startup; or,
    在所述显示界面上显示由所述中控服务器提供的与主播终端使用的输入设备的标识信息对应的虚拟设备的下载入口,以在下载后显示下载的虚拟设备。The download entry of the virtual device provided by the central control server and corresponding to the identification information of the input device used by the host terminal is displayed on the display interface, so as to display the downloaded virtual device after downloading.
  7. 一种基于游戏直播的主播输入操作分享方法,其特征在于,应用于中控服务器;所述方法包括:A method for sharing an input operation of an anchor based on a live game broadcast, characterized in that it is applied to a central control server; the method comprises:
    获取主播终端的直播请求;Get the live broadcast request of the host terminal;
    对于本地电脑游戏直播,响应所述直播请求,向所述主播终端提供推流地址,以供所述主播终端将主播输入操作数据推送到对应的推流服务器;对于云游戏直播,响应所述直播请求,向所述主播终端提供推流地址,以供所述主播终端将主播输入操作数据和推流地址发送至远程云桌面服务器,由所述远程桌面服务器将主播输入操作数据推送到对应的推流服务器;For local computer game live broadcast, in response to the live broadcast request, provide the host terminal with a streaming address, so that the host terminal can push the anchor input operation data to the corresponding streaming server; for cloud game live broadcast, respond to the live broadcast Request, provide the stream push address to the anchor terminal, so that the anchor terminal can send the anchor input operation data and the stream push address to the remote cloud desktop server, and the remote desktop server will push the anchor input operation data to the corresponding pusher. streaming server;
    获取观众终端的观看请求;Obtain the viewing request of the viewer terminal;
    响应所述观看请求,向所述观众终端提供拉流服务器的地址,以供所述观众终端从所述拉流服务器中拉取所述主播输入操作数据并复现出主播输入操作事件。In response to the viewing request, the viewer terminal is provided with the address of the streaming server, so that the viewer terminal can pull the host input operation data from the streaming server and reproduce the host input operation event.
  8. 根据权利要求7所述的方法,其特征在于,对于云游戏直播,所述方法还包括:The method according to claim 7, wherein, for cloud game live broadcast, the method further comprises:
    获取所述主播终端上传的自定义虚拟设备,并保存;Obtain the custom virtual device uploaded by the host terminal, and save it;
    向所述观众终端提供与所述主播终端使用的输入设备所对应的虚拟设备的启动入口或该虚拟设备的下载入口。The viewer terminal is provided with a startup entry of a virtual device or a download entry of the virtual device corresponding to the input device used by the host terminal.
  9. 一种计算机可读存储介质,其中存储有计算机程序,其特征在于,所述计算机程序被处理器加载执行时,实现如权利要求1至3中任一所述的基于游戏直播的主播输入操作分享方法,或如权利要求4至6中任一所述的基于游戏直播的主播输入操作显示方法,或如权利要求7或8所述的基于游戏直播的主播输入操作分享方法。A computer-readable storage medium, wherein a computer program is stored, wherein, when the computer program is loaded and executed by a processor, it realizes the sharing of the anchor input operation based on the game live broadcast according to any one of claims 1 to 3 method, or the method for displaying an input operation of an anchor based on a live game as claimed in any one of claims 4 to 6, or the method for sharing an input operation of an anchor based on a live game of the game as claimed in claim 7 or 8.
  10. 一种电子设备,其特征在于,包括:处理器及存储器;其中,An electronic device, comprising: a processor and a memory; wherein,
    所述存储器用于存储计算机程序;the memory is used to store computer programs;
    所述处理器用于加载执行所述计算机程序,以使所述电子设备执行如权利要求1至3中任一所述的基于游戏直播的主播输入操作分享方法,或如权利要求4至6中任一所述的基于游戏直播的主播输入操作显示方法,或如权利要求7或8所述的基于游戏直播的主播输入操作分享方法。The processor is configured to load and execute the computer program, so that the electronic device executes the method for sharing an anchor input operation based on a live game broadcast according to any one of claims 1 to 3, or any one of claims 4 to 6. 1. The method for displaying an input operation of an anchor based on a live game of a game, or the method for sharing an input operation of an anchor based on a live game of the game as claimed in claim 7 or 8.
PCT/CN2021/134995 2020-12-03 2021-12-02 Game livestreaming-based anchor input operation sharing and displaying methods and device WO2022117028A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011411628.2A CN113730923A (en) 2020-12-03 2020-12-03 Anchor input operation sharing and displaying method and device based on live game
CN202011411628.2 2020-12-03

Publications (1)

Publication Number Publication Date
WO2022117028A1 true WO2022117028A1 (en) 2022-06-09

Family

ID=78728186

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/134995 WO2022117028A1 (en) 2020-12-03 2021-12-02 Game livestreaming-based anchor input operation sharing and displaying methods and device

Country Status (2)

Country Link
CN (1) CN113730923A (en)
WO (1) WO2022117028A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114584798A (en) * 2022-03-02 2022-06-03 深圳禾苗通信科技有限公司 Private customized live broadcast method and device, computer equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140187334A1 (en) * 2012-12-28 2014-07-03 Cbs Interactive Inc. Synchronized presentation of facets of a game event
CN108052261A (en) * 2017-12-07 2018-05-18 广东欧珀移动通信有限公司 Record screen method, apparatus and terminal
CN108874268A (en) * 2017-05-09 2018-11-23 腾讯科技(深圳)有限公司 The acquisition method and device of user behavior data
US20190272185A1 (en) * 2018-03-05 2019-09-05 Disney Enterprises, Inc. Enhanced virtual desktop infrastructures
CN111818394A (en) * 2019-12-11 2020-10-23 厦门雅基软件有限公司 Cloud game live broadcast method, client and computer readable storage medium
CN111818004A (en) * 2019-12-11 2020-10-23 厦门雅基软件有限公司 Cloud game live broadcasting method, cloud game server and computer readable storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10536418B2 (en) * 2016-11-30 2020-01-14 Facebook, Inc. Systems and methods for providing content
US10898809B2 (en) * 2018-10-04 2021-01-26 GumGum, Inc. Overlaying content within live streaming video
CN110856001B (en) * 2019-09-04 2021-12-28 广州方硅信息技术有限公司 Game interaction method, live broadcast system, electronic equipment and storage device
CN110602529B (en) * 2019-09-12 2021-12-10 广州虎牙科技有限公司 Live broadcast monitoring method and device, electronic equipment and machine-readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140187334A1 (en) * 2012-12-28 2014-07-03 Cbs Interactive Inc. Synchronized presentation of facets of a game event
CN108874268A (en) * 2017-05-09 2018-11-23 腾讯科技(深圳)有限公司 The acquisition method and device of user behavior data
CN108052261A (en) * 2017-12-07 2018-05-18 广东欧珀移动通信有限公司 Record screen method, apparatus and terminal
US20190272185A1 (en) * 2018-03-05 2019-09-05 Disney Enterprises, Inc. Enhanced virtual desktop infrastructures
CN111818394A (en) * 2019-12-11 2020-10-23 厦门雅基软件有限公司 Cloud game live broadcast method, client and computer readable storage medium
CN111818004A (en) * 2019-12-11 2020-10-23 厦门雅基软件有限公司 Cloud game live broadcasting method, cloud game server and computer readable storage medium

Also Published As

Publication number Publication date
CN113730923A (en) 2021-12-03

Similar Documents

Publication Publication Date Title
US11943486B2 (en) Live video broadcast method, live broadcast device and storage medium
US11112942B2 (en) Providing content via multiple display devices
US11470127B2 (en) Method, system, and non-transitory computer-readable record medium for displaying reaction during VoIP-based call
WO2020233142A1 (en) Multimedia file playback method and apparatus, electronic device, and storage medium
WO2020010819A1 (en) Live broadcast room-based data interaction method and device, terminal, and storage medium
CN106657257B (en) Method and apparatus for generating audio and video for interactive multimedia application
US9665965B2 (en) Video-associated objects
WO2022166927A1 (en) Cursor display method and apparatus based on remote desktop, medium, and electronic device
US20210248371A1 (en) Systems and methods for augmented reality application for annotations and adding interfaces to control panels and screens
US20160373502A1 (en) Low latency application streaming using temporal frame transformation
CN109446025B (en) Operation behavior playback method and device, electronic equipment and readable medium
WO2020220773A1 (en) Method and apparatus for displaying picture preview information, electronic device and computer-readable storage medium
CN111901695B (en) Video content interception method, device and equipment and computer storage medium
WO2017113855A1 (en) Application program interaction method and terminal
WO2023082591A1 (en) Video display method and apparatus, video pushing method and apparatus, electronic device, and storage medium
CN112911320A (en) Live broadcast method and device, computer equipment and storage medium
WO2022117028A1 (en) Game livestreaming-based anchor input operation sharing and displaying methods and device
CN109462777B (en) Video heat updating method, device, terminal and storage medium
US20240184434A1 (en) Display method and apparatus
CN114374853A (en) Content display method and device, computer equipment and storage medium
CN114095793A (en) Video playing method and device, computer equipment and storage medium
WO2019096307A1 (en) Video playback method, apparatus, computing device, and storage medium
CN110673886A (en) Method and device for generating thermodynamic diagram
US20160283070A1 (en) Using reactive behaviors during remote sessions
CN114095791A (en) Live broadcast playback method and device, electronic equipment and storage medium

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: 21900054

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: 21900054

Country of ref document: EP

Kind code of ref document: A1