WO2019051938A1 - 一种直播视频留存的方法、装置、服务器、主播端及介质 - Google Patents

一种直播视频留存的方法、装置、服务器、主播端及介质 Download PDF

Info

Publication number
WO2019051938A1
WO2019051938A1 PCT/CN2017/107851 CN2017107851W WO2019051938A1 WO 2019051938 A1 WO2019051938 A1 WO 2019051938A1 CN 2017107851 W CN2017107851 W CN 2017107851W WO 2019051938 A1 WO2019051938 A1 WO 2019051938A1
Authority
WO
WIPO (PCT)
Prior art keywords
live
video
live broadcast
platform server
moment
Prior art date
Application number
PCT/CN2017/107851
Other languages
English (en)
French (fr)
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 WO2019051938A1 publication Critical patent/WO2019051938A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/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
    • 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/232Content retrieval operation locally within server, e.g. reading video streams from disk arrays
    • 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/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/23418Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics
    • 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/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • 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/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2408Monitoring of the upstream path of the transmission network, e.g. client requests
    • 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/44004Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving video buffer management, e.g. video decoder buffer or video display buffer
    • 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44204Monitoring of content usage, e.g. the number of times a movie has been viewed, copied or the amount which has been watched

Definitions

  • the present invention relates to the field of Internet technologies, and in particular, to a method, an apparatus, a server, a host end, and a medium for retaining live video.
  • the live broadcast is to transmit the video screen of the anchor end to the corresponding audience end in real time, it has the problem of occasionality while having real-time presence. Specifically, since most of them are on the spot, it is often difficult to predict which live broadcast video is more exciting during the live broadcast process, and the preview cannot be previewed in advance. Therefore, the highlights in the live broadcast can only be seen by the audience in the live broadcast room. Most of the audience missed the wonderful moments that happened by chance during the live broadcast.
  • the embodiment of the present application solves the live broadcast in the prior art by providing a method, a device, a server, a host end, and a medium for retaining a live video. Because of its on-site nature, the viewer easily misses the exciting moment, and there is a technical problem of poor reproducibility. .
  • the present application provides a method for retaining live video, the method being applied to a live platform server, including:
  • the method further includes: sending the description information of the target video to the anchor end; receiving a replay instruction sent by the anchor end according to the description information; and sending the The target video is to the viewer corresponding to the anchor end.
  • the acquiring and saving the live video played by the target live broadcast comprises: acquiring the video played in the target live broadcast room in real time; and saving the preset duration from the current time to the current time Live video.
  • a second aspect provides a method for retaining a live video, where the method is applied to an anchor, including:
  • the preset duration is a duration that is sent by the anchor end and stored in the live broadcast platform server;
  • the method before the sending the live video of the target live broadcast to the live broadcast platform server, the method further includes: receiving the preset duration input by the user; and sending the preset duration to the live broadcast platform server.
  • a device for retaining live video where the device is a live broadcast platform server, including:
  • a storage module configured to acquire and save a live video played by the target live broadcast room
  • Obtaining a module if the recording instruction sent by the anchor end is received at the first moment, acquiring, from the live video, a preset duration from the first moment to a target video in the first moment, where The preset duration is a duration that is sent by the anchor end and stored in the live platform server;
  • An information sending module configured to send description information of the target video to a viewer end corresponding to the anchor end;
  • An on-demand instruction receiving module configured to receive an on-demand instruction sent by the viewer according to the description information
  • a video sending module configured to send the target video to the viewer terminal based on the on-demand instruction.
  • the fourth aspect provides a device for retaining a live video, where the device is a main broadcast terminal, and includes:
  • a live broadcast sending module configured to send a live video of the target live broadcast of the anchor end to a live broadcast platform server
  • a recording operation receiving module configured to receive a recording operation acting on the anchor end at a first moment
  • a recording instruction sending module configured to send a recording instruction to the live broadcast platform server based on the recording operation
  • An information receiving module configured to receive description information of a target video that is fed back by the live broadcast platform server, where the target video is obtained from the live video, from a preset duration before the first moment to the a video in the first time; the preset duration is a duration that is sent by the anchor end and stored in the live platform server;
  • a replay operation receiving module configured to receive a replay operation acting on the anchor end
  • a replay instruction sending module configured to send a replay instruction to the live broadcast platform server, and send the target video to the audience end corresponding to the anchor end by using the live broadcast platform server.
  • a live broadcast platform server comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, the processor implementing the program to implement the following steps:
  • a host including a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the program to implement the following steps:
  • the preset duration is a duration that is sent by the anchor end and stored in the live broadcast platform server;
  • a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements the following steps:
  • the live video is obtained from the live video.
  • the preset duration from the first moment to the target video in the first moment, wherein the preset duration is a duration that is sent by the anchor end and stored in the live platform server;
  • the method, the device, the server, the anchor end, and the medium provided by the embodiment of the present application obtain and save the live video in advance through the live broadcast platform server.
  • the anchor broadcasts a wonderful moment that wants to remain in the live broadcast process, only a simple recording operation needs to be performed.
  • the live platform server obtains the target video of the previous segment from the live video according to the preset preset duration, and sends the description information of the target video to the viewer, so that the viewer can play the target on the spot.
  • the video realizes the recording and on-demand playback of the wonderful moments in the live broadcast process, so that the live broadcast can have the reproducibility of the wonderful moment while having the on-site nature.
  • FIG. 1 is a flowchart of a method for retaining live video on a server side according to an embodiment of the present application
  • FIG. 2 is a flowchart of a method for retaining live video on the anchor side in the embodiment of the present application
  • FIG. 3 is a schematic structural diagram of a device in Embodiment 3 of the present application.
  • Embodiment 4 is a schematic structural view of a device in Embodiment 4 of the present application.
  • FIG. 5 is a schematic structural diagram of a server in an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a multicast end in an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a computer readable storage medium 700 in an embodiment of the present application.
  • the embodiment of the present application solves the live broadcast in the prior art by providing a method, a device, a server, a host end, and a medium for retaining a live video. Because of its on-site nature, the viewer easily misses the exciting moment, and there is a technical problem of poor reproducibility. In order to make the live broadcast have the on-site nature, it can also have the reproducibility of the wonderful moment.
  • a method for retaining live video including:
  • the live broadcast platform server obtains and saves the live video in advance.
  • the anchor broadcasts a wonderful moment that wants to be saved during the live broadcast
  • only a simple recording operation is required, and the recording instruction is sent to the live platform server, and the live platform server will Obtaining the target video of the previous segment from the live video according to the preset preset duration, and sending the description information of the target video to the viewer, so that the viewer can play the target video on-demand, thereby realizing the recording of the wonderful moment in the live broadcast process.
  • On-demand playback enables live broadcasts to be reproducible with instant moments while being live.
  • this embodiment provides a method for retaining live video, and the method is applied to a live platform server, including:
  • Step S101 Acquire and save a live video played by the target live broadcast
  • Step S102 If the recording instruction sent by the anchor end is received at the first time, the preset video length from the first time to the target video in the first time is obtained from the live video, where The preset duration is a duration that is sent by the anchor end and stored in the live platform server;
  • Step S103 sending description information of the target video to the audience end corresponding to the anchor end;
  • Step S104 Receive an on-demand instruction sent by the viewer according to the description information.
  • Step S105 Send the target video to the audience terminal based on the on-demand instruction.
  • the live broadcast platform server may be a computer device, a cloud, or a computer device group, which is not limited herein.
  • step S101 is executed to acquire and save the live video played by the target live broadcast.
  • the broadcast terminal sends the real-time recorded video to the corresponding audience for live broadcast through the live broadcast platform server, and the corresponding viewer terminal enters the anchor end pair.
  • the audience side of the live room should be.
  • the live broadcast server saves the received live video for subsequent acquisition of the target video.
  • the specific save mode may be various. The following two examples are as follows:
  • the first type saves all live video of the anchor end from entering the target live broadcast room.
  • the live broadcast platform server may start to record and save the video from the anchor terminal to the target live broadcast room until the broadcast end Exit the target live room. After the anchor end exits the target live broadcast room, the previously saved live video may be deleted in order to save storage space.
  • the video played in the target live room is obtained in real time; and the live video from the preset time before the current time to the current time is saved.
  • the preset time length preset according to the anchor end may be set to save the video, that is, in the process of saving while recording, the current duration may be deleted longer than the preset duration. Live video to save storage space. Moreover, after receiving the recording instruction sent by the anchor end, the currently stored live video can be directly used as the target video, which reduces the calculation amount of acquiring the target video in time. Of course, after the anchor end exits the target live broadcast room, the previously saved live video can also be deleted in order to save storage space.
  • video storage methods may be used in the specific implementation process, for example, storing the live video of the anchor end in one day, and the like, which is not limited herein.
  • step S102 is performed, if the recording instruction sent by the anchor end is received at the first moment, the preset duration from the first moment to the target video in the first moment is obtained from the live video,
  • the preset duration is a duration that the anchor end sends and stores in the live broadcast platform server.
  • the recording terminal after the receiving the recording operation, the recording terminal generates the recording instruction based on the recording operation.
  • the virtual button may be pre-displayed on the display page of the target live broadcast room.
  • the anchor can perform the recording operation by clicking the virtual button during the live broadcast; or the default mechanical operation button can be set in advance on the keyboard or the smart phone, and the anchor can press the mechanical operation during the live broadcast.
  • the button is pressed to perform the recording operation, and is not limited herein.
  • the preset duration may be the duration that the anchor inputs in advance on the anchor end, and is sent to the live platform server by the anchor end, or may be popped up after the anchor performs the recording operation.
  • the duration of the input window to be input by the anchor in the to-be-entered window and sent to the live broadcast platform server is not limited herein, and is not enumerated.
  • the window to be input may be a window that needs to input a number, or may be a display
  • the window for the duration of the anchor selection is not limited here.
  • the first type intercepts the live video according to a preset duration.
  • the video segment of the live video in which the length is the preset duration is used as the target video.
  • the live video is stored in time according to time, and the interception time period belongs to the preset time length before the first time to the video in the first time.
  • the live video is divided into small video segments according to the live broadcast time of the video, and the live broadcast time of each small video clip is identified.
  • the small video segment belonging to the preset time period before the first time to the first time is filtered according to the time of the identification, and the target video is composed.
  • the third type is saved according to the preset duration, and the live video is used as the target video.
  • the live video that is longer than the preset duration can be deleted to save storage space.
  • the currently stored live video can be directly used as the target video.
  • step S103 is executed to send the description information of the target video to the audience end corresponding to the anchor end.
  • the description information may include any one or more of the following: a screenshot in the target video, a name of the anchor, a live broadcast time corresponding to the target video, or a target video sent by the anchor to introduce the target video. Information.
  • the audience end corresponding to the anchor end refers to logging in to the live broadcast website, and entering the audience end of the live broadcast room corresponding to the anchor end.
  • step S104 and step S105 are performed to receive the on-demand instruction sent by the viewer according to the description information; and the target video is sent to the viewer based on the on-demand instruction.
  • a virtual window may be displayed according to the description information, and the viewer performs an on-demand operation by clicking the virtual window, and generates an on-demand instruction. And sending, by the live broadcast platform server, the target video to the viewer, so that the viewer can play the target video, and reproduce the wonderful moment of the anchor.
  • the live broadcast platform server may further send the description information of the target video to the anchor after performing the step S102.
  • the live broadcast platform server receives the replay instruction sent by the anchor end according to the description information, and sends the target video to the audience end corresponding to the anchor end according to the replay instruction.
  • the virtual replay window is displayed on the page of the anchor end according to the description information by sending the description information to the anchor end, and the anchor can perform a replay operation by clicking the virtual replay window to generate and Sending a replay instruction to the live platform server.
  • the live broadcast platform server may send the target video to the anchor end corresponding to the anchor end and/or the audience end corresponding to the anchor end to play according to the replay instruction, so that the anchor can control the highlight moment of the target video in the entire target.
  • the live broadcast room performs unified replay and increases the control type of the anchor.
  • the live broadcast platform server obtains and saves the live video in advance.
  • the anchor broadcasts a wonderful moment that wants to be saved during the live broadcast
  • only a simple recording operation is required, and the recording instruction is sent to the live platform server, and the live platform server will Obtaining the target video of the previous segment from the live video according to the preset preset duration, and sending the description information of the target video to the viewer, so that the viewer can play the target video on-demand, thereby realizing the recording of the wonderful moment in the live broadcast process.
  • On-demand playback enables live broadcasts to be reproducible with instant moments while being live.
  • the present application provides a method for retaining live video on the anchor side. For details, see Embodiment 2.
  • this embodiment provides a method for retaining a live video.
  • the method is applied to an anchor end, and includes:
  • Step S201 sending a live video of the target live broadcast of the anchor end to the live broadcast platform server;
  • Step S202 receiving a recording operation acting on the anchor end at a first moment
  • Step S203 sending a recording instruction to the live broadcast platform server based on the recording operation
  • Step S204 Receive description information of the target video that is fed back by the live broadcast platform server, where the target video is obtained from the live video, and the preset duration from the first moment to the first moment The preset duration is the duration that the anchor end sends and stores in the live broadcast platform server;
  • Step S205 receiving a replay operation acting on the anchor end
  • Step S206 based on the replay operation, sending a replay instruction to the live broadcast platform server, and sending the target video to the audience end corresponding to the anchor end by using the live broadcast platform server.
  • the anchor end may be a smart phone, a tablet computer, a desktop computer or a notebook, which is not limited herein, and is not listed one by one.
  • the method before the sending the live video of the target live broadcast of the anchor end to the live broadcast platform server, the method further includes:
  • the method of the present embodiment and the live video retention method described in the first embodiment of the present application are based on the same inventive concept, and the method steps on the anchor side are described in the first embodiment, and thus the application is based on the present application.
  • the method described in the first embodiment those skilled in the art can understand the specific implementation manner of the method of the embodiment and various modifications thereof, and therefore, for the sake of brevity of the description, it will not be described in detail herein.
  • Embodiment 3 provides a device corresponding to the first embodiment. For details, see Embodiment 3.
  • the embodiment provides a device for retaining live video, and the device is a live broadcast server, and includes:
  • the storage module 301 is configured to acquire and save a live video played by the target live broadcast;
  • the obtaining module 302 is configured to: if the recording instruction sent by the anchor end is received at the first time, obtain, from the live video, a preset duration from the first moment to a target video in the first moment, The preset duration is a duration that is sent by the anchor end and stored in the live platform server;
  • the information sending module 303 is configured to send the description information of the target video to the audience end corresponding to the anchor end;
  • the on-demand instruction receiving module 304 is configured to receive an on-demand instruction sent by the viewer according to the description information;
  • the video sending module 305 is configured to send the target video to the audience terminal based on the on-demand instruction.
  • the live broadcast platform server may be a computer device, a cloud, or a computer device group, which is not limited herein.
  • the device introduced in this embodiment is a device used in the method for performing the live video retention in the first embodiment of the present application. Therefore, those skilled in the art can understand the implementation based on the method introduced in the first embodiment of the present application. The specific embodiment of the device of the example and its various modifications, so the method in the embodiment of the present application is not described in detail herein. The devices used by those skilled in the art to implement the methods in the embodiments of the present application are all within the scope of the present application.
  • Embodiment 4 provides a device corresponding to the second embodiment. For details, see Embodiment 4.
  • the embodiment provides a device for retaining a live video.
  • the device is a main broadcast terminal, and includes:
  • the live broadcast sending module 401 is configured to send a live video of the target live broadcast of the anchor end to the live broadcast Platform server
  • the recording operation receiving module 402 is configured to receive a recording operation acting on the anchor end at a first time
  • a recording instruction sending module 403, configured to send a recording instruction to the live broadcast platform server based on the recording operation
  • the information receiving module 404 is configured to receive the description information of the target video that is fed back by the live broadcast platform server, where the target video is obtained from the live video, and the preset duration from the first moment to the location a video in the first moment; the preset duration is a duration that is sent by the anchor end and stored in the live platform server;
  • a replay operation receiving module 405, configured to receive a replay operation applied to the anchor end
  • the replay instruction sending module 406 is configured to send a replay instruction to the live broadcast platform server according to the replay operation, and send the target video to the audience end corresponding to the anchor end by using the live broadcast platform server.
  • the anchor end may be a smart phone, a desktop computer, a tablet computer or a smart watch, and is not limited herein.
  • the device introduced in this embodiment is a device used in the method for performing live video retention in the second embodiment of the present application. Therefore, those skilled in the art can understand the implementation based on the method described in the second embodiment of the present application. The specific embodiment of the device of the example and its various modifications, so the method in the embodiment of the present application is not described in detail herein. The devices used by those skilled in the art to implement the methods in the embodiments of the present application are all within the scope of the present application.
  • the present application provides a live broadcast platform server corresponding to the first embodiment. For details, see Embodiment 5.
  • This embodiment provides a live broadcast platform server, as shown in FIG. 5, including a memory 510, a processor 520, and a computer program 511 stored on the memory 520 and operable on the processor 520.
  • the processor 520 executes the computer program 511, the embodiment Implement the following steps:
  • any one of the first embodiment can be implemented.
  • the live broadcast platform server introduced in this embodiment is a device used in the method for performing live video retention in the first embodiment of the present application. Therefore, those skilled in the art can understand the method according to the method in the first embodiment of the present application. The specific implementation of the live broadcast server in this embodiment and its various changes, so the method in the embodiment of the present application is not described in detail herein. The devices used by those skilled in the art to implement the methods in the embodiments of the present application are all within the scope of the present application.
  • the embodiment provides a host, as shown in FIG. 6, including a memory 610, a processor 620, and a computer program 611 stored on the memory 620 and operable on the processor 620.
  • the processor 620 implements the computer program 611. The following steps:
  • the preset duration is a duration that is sent by the anchor end and stored in the live broadcast platform server;
  • any one of the second embodiment can be implemented.
  • the device used in this embodiment is a device used in the method for performing live video retention in the second embodiment of the present application. Therefore, those skilled in the art can understand the present invention based on the method described in the second embodiment of the present application. The specific implementation of the anchor end of the embodiment and various changes thereof, so the method in the embodiment of the present application is not described in detail herein. The devices used by those skilled in the art to implement the methods in the embodiments of the present application are all within the scope of the present application.
  • Embodiment 7 provides a storage medium corresponding to the first embodiment. For details, see Embodiment 7.
  • the present embodiment provides a computer readable storage medium 700 having stored thereon a computer program 711 that, when executed by a processor, implements the following steps:
  • any one of the first embodiment can be implemented.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Abstract

本发明公开了一种直播视频留存的方法,应用于直播平台服务器,包括:获取并保存目标直播间播放的直播视频;如果在第一时刻接收到主播端发送的录制指令,则从所述直播视频中获取从所述第一时刻前的预设时长至所述第一时刻内的目标视频,其中,所述预设时长为所述主播端发送并存储在所述直播平台服务器的时长;发送所述目标视频的描述信息至所述主播端对应的观众端;接收所述观众端基于所述描述信息发送的点播指令;基于所述点播指令,发送所述目标视频至所述观众端。本发明解决了现有技术中的直播,由于其现场性导致观众易错过精彩瞬间,存在重现性差的技术问题,使直播在具备现场性的同时也能具备精彩瞬间的重现性。

Description

一种直播视频留存的方法、装置、服务器、主播端及介质 技术领域
本发明涉及互联网技术领域,尤其涉及一种直播视频留存的方法、装置、服务器、主播端及介质。
背景技术
由于直播的现场性和强互动性,越来越多的用户选择直播来作为娱乐、培训和交流的平台。
对于直播房间的主播而言,往往希望能吸引更多观众进入直播间,并获得更多观众的响应。然而由于直播是将主播端的视频画面传实时输至对应的观众端,其在具备实时现场性的同时,也存在发挥偶然性的问题。具体来讲,由于大多是临场发挥,主播在直播过程中也往往难以预料到哪一段直播视频比较精彩,不能提前进行预告,故直播中的精彩片段只能供当时在直播房间内的观众看见,大部分观众都错过了直播过程中偶然发生的精彩瞬间。
可见,现有技术中的直播,由于其现场性导致观众易错过精彩瞬间,存在复现性差的技术问题。
发明内容
本申请实施例通过提供一种直播视频留存的方法、装置、服务器、主播端及介质,解决了现有技术中的直播,由于其现场性导致观众易错过精彩瞬间,存在复现性差的技术问题。
第一方面,本申请提供了一种直播视频留存的方法,所述方法应用于直播平台服务器,包括:
获取并保存目标直播间播放的直播视频;
如果在第一时刻接收到主播端发送的录制指令,则从所述直播视频中获取从所述第一时刻前的预设时长至所述第一时刻内的目标视频,其中,所述预设时长为所述主播端发送并存储在所述直播平台服务器的时长;
发送所述目标视频的描述信息至所述主播端对应的观众端;
接收所述观众端基于所述描述信息发送的点播指令;
基于所述点播指令,发送所述目标视频至所述观众端。
可选的,所述方法还包括:发送所述目标视频的所述描述信息至所述主播端;接收所述主播端基于所述描述信息发送的重播指令;基于所述重播指令,发送所述目标视频至所述主播端对应的观众端。
可选的,所述获取并保存目标直播间播放的直播视频,包括:实时获取所述目标直播间内播放的视频;保存从当前时刻前的所述预设时长至所述当前时刻的所述直播视频。
第二方面,提供一种直播视频留存的方法,所述方法应用于主播端,包括:
发送所述主播端的目标直播间的直播视频至直播平台服务器;
在第一时刻接收作用于所述主播端的录制操作;
基于所述录制操作,发送录制指令至所述直播平台服务器;
接收所述直播平台服务器反馈的目标视频的描述信息,其中,所述目标视频为从所述直播视频中获取的,从所述第一时刻前的预设时长至所述第一时刻内的视频;所述预设时长为所述主播端发送并存储在所述直播平台服务器的时长;
接收作用于所述主播端的重播操作;
基于所述重播操作,发送重播指令至所述直播平台服务器,通过所述直播平台服务器发送所述目标视频至所述主播端对应的观众端。
可选的,所述发送所述主播端的目标直播间的直播视频至直播平台服务器之前,还包括:接收用户输入的所述预设时长;发送所述预设时长至所述直播平台服务器。
第三方面,提供一种直播视频留存的装置,所述装置为直播平台服务器,包括:
存储模块,用于获取并保存目标直播间播放的直播视频;
获取模块,用于如果在第一时刻接收到主播端发送的录制指令,则从所述直播视频中获取从所述第一时刻前的预设时长至所述第一时刻内的目标视频,其中,所述预设时长为所述主播端发送并存储在所述直播平台服务器的时长;
信息发送模块,用于发送所述目标视频的描述信息至所述主播端对应的观众端;
点播指令接收模块,用于接收所述观众端基于所述描述信息发送的点播指令;
视频发送模块,用于基于所述点播指令,发送所述目标视频至所述观众端。
第四方面,提供一种直播视频留存的装置,所述装置为主播端,包括:
直播发送模块,用于发送所述主播端的目标直播间的直播视频至直播平台服务器;
录制操作接收模块,用于在第一时刻接收作用于所述主播端的录制操作;
录制指令发送模块,用于基于所述录制操作,发送录制指令至所述直播平台服务器;
信息接收模块,用于接收所述直播平台服务器反馈的目标视频的描述信息,其中,所述目标视频为从所述直播视频中获取的,从所述第一时刻前的预设时长至所述第一时刻内的视频;所述预设时长为所述主播端发送并存储在所述直播平台服务器的时长;
重播操作接收模块,用于接收作用于所述主播端的重播操作;
重播指令发送模块,用于基于所述重播操作,发送重播指令至所述直播平台服务器,通过所述直播平台服务器发送所述目标视频至所述主播端对应的观众端。
第五方面,提供一种直播平台服务器,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现以下步骤:
获取并保存目标直播间播放的直播视频;
如果在第一时刻接收到主播端发送的录制指令,则从所述直播视频中获取从所述第一时刻前的预设时长至所述第一时刻内的目标视频,其中,所述预设时长为所述主播端发送并存储在所述直播平台服务器的时长;
发送所述目标视频的描述信息至所述主播端对应的观众端;
接收所述观众端基于所述描述信息发送的点播指令;
基于所述点播指令,发送所述目标视频至所述观众端。
第六方面,提供一种主播端,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现以下步骤:
发送所述主播端的目标直播间的直播视频至直播平台服务器;
在第一时刻接收作用于所述主播端的录制操作;
基于所述录制操作,发送录制指令至所述直播平台服务器;
接收所述直播平台服务器反馈的目标视频的描述信息,其中,所述目标视频为从所述直播视频中获取的,从所述第一时刻前的预设时长至所述第一时刻内的视频;所述预设时长为所述主播端发送并存储在所述直播平台服务器的时长;
接收作用于所述主播端的重播操作;
基于所述重播操作,发送重播指令至所述直播平台服务器,通过所述直播平台服务器发送所述目标视频至所述主播端对应的观众端。
第七方面,提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现以下步骤:
获取并保存目标直播间播放的直播视频;
如果在第一时刻接收到主播端发送的录制指令,则从所述直播视频中获取 从所述第一时刻前的预设时长至所述第一时刻内的目标视频,其中,所述预设时长为所述主播端预先发送并存储在所述直播平台服务器的时长;
发送所述目标视频的描述信息至所述主播端对应的观众端;
接收所述观众端基于所述描述信息发送的点播指令;
基于所述点播指令,发送所述目标视频至所述观众端。
本申请实施例中提供的一个或多个技术方案,至少具有如下技术效果或优点:
本申请实施例提供的方法、装置、服务器、主播端及介质,通过直播平台服务器预先获取并保存直播视频,当主播在直播过程中发现想留存的精彩瞬间时,只需要执行简单的录制操作,就发送录制指令至直播平台服务器,直播平台服务器会按照存储的预设时长从直播视频中获取之前一段的目标视频,并发送目标视频的描述信息至观众端,以便于观众后续点播播放所述目标视频,从而实现了直播过程中精彩瞬间的录制和点播播放,使直播在具备现场性的同时也能具备精彩瞬间的重现性。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本申请实施例中服务器侧的直播视频留存的方法的流程图;
图2为本申请实施例中主播端侧的直播视频留存的方法的流程图;
图3为本申请实施例三中装置的结构示意图;
图4为本申请实施例四中装置的结构示意图;
图5为本申请实施例中服务器的结构示意图;
图6为本申请实施例中主播端的结构示意图;
图7为本申请实施例中计算机可读存储介质700的结构示意图。
具体实施方式
本申请实施例通过提供一种直播视频留存的方法、装置、服务器、主播端及介质,解决了现有技术中的直播,由于其现场性导致观众易错过精彩瞬间,存在复现性差的技术问题,使直播在具备现场性的同时也能具备精彩瞬间的重现性。
本申请实施例的技术方案为解决上述技术问题,总体思路如下:
一种直播视频留存的方法,所述方法应用于直播平台服务器,包括:
获取并保存目标直播间播放的直播视频;
如果在第一时刻接收到主播端发送的录制指令,则从所述直播视频中获取从所述第一时刻前的预设时长至所述第一时刻内的目标视频,其中,所述预设时长为所述主播端发送并存储在所述直播平台服务器的时长;
发送所述目标视频的描述信息至所述主播端对应的观众端;
接收所述观众端基于所述描述信息发送的点播指令;
基于所述点播指令,发送所述目标视频至所述观众端。
具体来讲,通过直播平台服务器预先获取并保存直播视频,当主播在直播过程中发现想留存的精彩瞬间时,只需要执行简单的录制操作,就发送录制指令至直播平台服务器,直播平台服务器会按照存储的预设时长从直播视频中获取之前一段的目标视频,并发送目标视频的描述信息至观众端,以便于观众后续点播播放所述目标视频,从而实现了直播过程中精彩瞬间的录制和点播播放,使直播在具备现场性的同时也能具备精彩瞬间的重现性。
为了更好的理解上述技术方案,下面将结合说明书附图以及具体的实施方式对上述技术方案进行详细的说明。
实施例一
如图1所示,本实施例提供了一种直播视频留存的方法,所述方法应用于直播平台服务器,包括:
步骤S101,获取并保存目标直播间播放的直播视频;
步骤S102,如果在第一时刻接收到主播端发送的录制指令,则从所述直播视频中获取从所述第一时刻前的预设时长至所述第一时刻内的目标视频,其中,所述预设时长为所述主播端预先发送并存储在所述直播平台服务器的时长;
步骤S103,发送所述目标视频的描述信息至所述主播端对应的观众端;
步骤S104,接收所述观众端基于所述描述信息发送的点播指令;
步骤S105,基于所述点播指令,发送所述目标视频至所述观众端。
在本申请实施例中,所述直播平台服务器可以为计算机设备、云端或计算机设备组,在此不作限制。
下面,结合图1来详细介绍本实施例提供的直播视频留存的方法的具体实施步骤:
首先,执行步骤S101,获取并保存目标直播间播放的直播视频。
在具体实施过程中,所述主播端往往是通过直播平台服务器将实时录制的视频发送至对应的观众端进行直播的,所述对应的观众端为进入所述主播端对 应的直播间的观众端。在本申请实施例中,所述直播平台服务器会保存接收到的直播视频以供后续获取目标视频,具体的保存方式可以有多种,下面列举两种为例:
第一种,保存所述主播端从进入所述目标直播间起的所有直播视频。
具体来讲,为了便于重现主播端当次直播的所有直播视频,可以设置所述直播平台服务器会从所述主播端进入所述目标直播间起,就开始录制并保存视频,直至所主播端退出所述目标直播间。在所述主播端退出所述目标直播间后,为了节省存储空间可以删除之前保存的直播视频。
第二种,仅保存当前至所述预设时长前的直播视频。
即实时获取所述目标直播间内播放的视频;保存从当前时刻前的所述预设时长至所述当前时刻的所述直播视频。
具体来讲,为了节省存储空间,可以设置按照所述主播端预先设置的所述预设时长来进行视频的保存,即在边录制边保存的过程中,可以删除距当前时长超过预设时长的直播视频,以节约存储空间。而且在接收到主播端发送的录制指令后,可以直接以当前存储的直播视频作为所述目标视频,减少了获取所述目标视频的计算量及时长。当然,在所述主播端退出所述目标直播间后,为了节省存储空间也可以删除之前保存的直播视频。
当然,在具体实施过程中还可以采用其他的视频保存方式,例如,存储所述主播端在一天内的直播视频等,在此不作限制。
然后,执行步骤S102,如果在第一时刻接收到主播端发送的录制指令,则从所述直播视频中获取从所述第一时刻前的预设时长至所述第一时刻内的目标视频,其中,所述预设时长为所述主播端发送并存储在所述直播平台服务器的时长。
在具体实施过程中,所述主播端是在接收到录制操作后,基于所述录制操作生成所述录制指令的,具体来讲,可以是在所述目标直播间的显示页面上预先显示虚拟按钮,主播在直播过程中可以通过点击所述虚拟按钮来执行所述录制操作;也可以是预先在键盘或智能手机上设置默认的机械操作按键,主播在直播过程中可以通过压按所述机械操作按键来执行所述录制操作,在此不作限制。
在本申请实施例中,所述预设时长可以是主播预先在主播端输入,并通过所述主播端发送至所述直播平台服务器的时长;也可以是在主播执行所述录制操作后,弹出待输入窗口,再由主播在所述待输入窗口输入并发送至所述直播平台服务器的时长,在此不作限制,也不再一一列举。
进一步,所述待输入窗口可以是需要输入数字的窗口,也可以是显示有多 个时长供主播选择的窗口,在此不作限制。
在具体实施过程中,从所述直播视频中获取从所述第一时刻前的预设时长至所述第一时刻内的目标视频的方法也较多,下面列举三种为例:
第一种,按预设时长对所述直播视频进行截取。
由于所述第一时刻几乎相当于所述当前时刻,故可以截取所述直播视频中,靠后的长度为所述预设时长的视频段作为所述目标视频。
第二种,对直播视频按时间进行标识存储,截取时间段属于所述第一时刻前的预设时长至所述第一时刻内的视频。
具体来讲,在预先保持所述直播视频时,即按照视频的直播时间将直播视频分为小视频片段进行存储,并标识出每个小视频片段的直播时间。在收到录制指令后,按照标识的时间筛选出属于所述第一时刻前的预设时长至所述第一时刻的小视频片段,并组成所述目标视频。
第三种,按照所述预设时长进行保存,以所述直播视频作为所述目标视频。
即如前所述,在服务器边直播边保存的过程中,可以删除距当前时长超过预设时长的直播视频,以节约存储空间。而且在接收到主播端发送的录制指令后,可以直接以当前存储的直播视频作为所述目标视频。
当然,在具体实施过程中还可以采用其他获取目标视频的方法,在此不作限制,也不再一一列举。
接下来,执行步骤S103,发送所述目标视频的描述信息至所述主播端对应的观众端。
在本申请实施例中,所述描述信息可以包括以下任意一种或多种信息:目标视频中的截图、主播的名称、目标视频对应的直播时间或主播端发送的用于介绍所述目标视频的信息。
在本申请实施例中,所述主播端对应的观众端是指,登录直播网站,并进入所述主播端对应的直播间的观众端。
然后,执行步骤S104和步骤S105,接收所述观众端基于所述描述信息发送的点播指令;基于所述点播指令,发送所述目标视频至所述观众端。
具体来讲,所述观众端显示的所述目标直播间页面上,可以根据所述描述信息显示有虚拟窗口,观众通过点击所述虚拟窗口来执行点播操作,并生成点播指令。当所述直播平台服务器接收到所述点播指令时发送所述目标视频至所述观众端,以使所述观众端能播放所述目标视频,重现所述主播留存的精彩瞬间。
在本申请实施例中,为了给主播也提供操作权,还可以在执行所述步骤S102之后,所述直播平台服务器发送所述目标视频的所述描述信息至所述主播 端;所述直播平台服务器接收所述主播端基于所述描述信息发送的重播指令,并基于所述重播指令,发送所述目标视频至所述主播端对应的观众端。
具体来讲,通过发送所述描述信息至所述主播端,使得所述主播端的页面上根据所述描述信息显示有虚拟重播窗口,主播可以通过点击所述虚拟重播窗口执行重播操作,以生成并发送重播指令至所述直播平台服务器。直播平台服务器会基于所述重播指令发送所述目标视频至所述主播端和/或所述主播端对应的观众端进行播放,以实现主播可以控制所述目标视频的精彩瞬间在整个所述目标直播间进行统一重播,增加主播的操控类型。
具体来讲,通过直播平台服务器预先获取并保存直播视频,当主播在直播过程中发现想留存的精彩瞬间时,只需要执行简单的录制操作,就发送录制指令至直播平台服务器,直播平台服务器会按照存储的预设时长从直播视频中获取之前一段的目标视频,并发送目标视频的描述信息至观众端,以便于观众后续点播播放所述目标视频,从而实现了直播过程中精彩瞬间的录制和点播播放,使直播在具备现场性的同时也能具备精彩瞬间的重现性。
基于同一发明构思,本申请提供了主播端侧的直播视频留存的方法,详见实施例二。
实施例二
如图2所示,本实施例提供了一种直播视频留存的方法,所述方法应用于主播端,包括:
步骤S201,发送所述主播端的目标直播间的直播视频至直播平台服务器;
步骤S202,在第一时刻接收作用于所述主播端的录制操作;
步骤S203,基于所述录制操作,发送录制指令至所述直播平台服务器;
步骤S204,接收所述直播平台服务器反馈的目标视频的描述信息,其中,所述目标视频为从所述直播视频中获取的,从所述第一时刻前的预设时长至所述第一时刻内的视频;所述预设时长为所述主播端发送并存储在所述直播平台服务器的时长;
步骤S205,接收作用于所述主播端的重播操作;
步骤S206,基于所述重播操作,发送重播指令至所述直播平台服务器,通过所述直播平台服务器发送所述目标视频至所述主播端对应的观众端。
在本申请实施例中,所述主播端可以是智能手机、平板电脑、台式电脑或笔记本,在此不作限制,也不再一一列举。
在本申请实施例中,所述发送所述主播端的目标直播间的直播视频至直播平台服务器之前,还包括:
接收用户输入的所述预设时长;
发送所述预设时长至所述直播平台服务器。
由于本实施例所介绍的方法与本申请实施例一中介绍的直播视频留存的方法是基于同一发明构思的,且在介绍实施例一时已经对主播端侧的方法步骤进行说明,故而基于本申请实施例一中所介绍的方法,本领域所属技术人员能够了解本实施例的方法的具体实施方式以及其各种变化形式,所以为了说明书的简洁,在此不再详细介绍。
基于同一发明构思,本申请提供了实施例一对应的装置,详见实施例三。
实施例三
如图3所示,本实施例提供一种直播视频留存的装置,所述装置为直播平台服务器,包括:
存储模块301,用于获取并保存目标直播间播放的直播视频;
获取模块302,用于如果在第一时刻接收到主播端发送的录制指令,则从所述直播视频中获取从所述第一时刻前的预设时长至所述第一时刻内的目标视频,其中,所述预设时长为所述主播端发送并存储在所述直播平台服务器的时长;
信息发送模块303,用于发送所述目标视频的描述信息至所述主播端对应的观众端;
点播指令接收模块304,用于接收所述观众端基于所述描述信息发送的点播指令;
视频发送模块305,用于基于所述点播指令,发送所述目标视频至所述观众端。
在本申请实施例中,所述直播平台服务器可以为计算机设备、云端或计算机设备组,在此不作限制。
由于本实施例所介绍的装置为实施本申请实施例一中一种直播视频留存的方法所采用的装置,故而基于本申请实施例一中所介绍的方法,本领域所属技术人员能够了解本实施例的装置的具体实施方式以及其各种变化形式,所以在此对于该装置如何实现本申请实施例中的方法不再详细介绍。只要本领域所属技术人员实施本申请实施例中的方法所采用的设备,都属于本申请所欲保护的范围。
基于同一发明构思,本申请提供了实施例二对应的装置,详见实施例四。
实施例四
如图4所示,本实施例提供一种直播视频留存的装置,所述装置为主播端,包括:
直播发送模块401,用于发送所述主播端的目标直播间的直播视频至直播 平台服务器;
录制操作接收模块402,用于在第一时刻接收作用于所述主播端的录制操作;
录制指令发送模块403,用于基于所述录制操作,发送录制指令至所述直播平台服务器;
信息接收模块404,用于接收所述直播平台服务器反馈的目标视频的描述信息,其中,所述目标视频为从所述直播视频中获取的,从所述第一时刻前的预设时长至所述第一时刻内的视频;所述预设时长为所述主播端发送并存储在所述直播平台服务器的时长;
重播操作接收模块405,用于接收作用于所述主播端的重播操作;
重播指令发送模块406,用于基于所述重播操作,发送重播指令至所述直播平台服务器,通过所述直播平台服务器发送所述目标视频至所述主播端对应的观众端。
在本申请实施例中,所述主播端可以是智能手机、台式电脑、平板电脑或智能手表,在此不作限制。
由于本实施例所介绍的装置为实施本申请实施例二中一种直播视频留存的方法所采用的装置,故而基于本申请实施例二中所介绍的方法,本领域所属技术人员能够了解本实施例的装置的具体实施方式以及其各种变化形式,所以在此对于该装置如何实现本申请实施例中的方法不再详细介绍。只要本领域所属技术人员实施本申请实施例中的方法所采用的设备,都属于本申请所欲保护的范围。
基于同一发明构思,本申请提供了实施例一对应的直播平台服务器,详见实施例五。
实施例五
本实施例提供一种直播平台服务器,如图5所示,包括存储器510、处理器520及存储在存储器520上并可在处理器520上运行的计算机程序511,处理器520执行计算机程序511时实现以下步骤:
获取并保存目标直播间播放的直播视频;
如果在第一时刻接收到主播端发送的录制指令,则从所述直播视频中获取从所述第一时刻前的预设时长至所述第一时刻内的目标视频,其中,所述预设时长为所述主播端发送并存储在所述直播平台服务器的时长;
发送所述目标视频的描述信息至所述主播端对应的观众端;
接收所述观众端基于所述描述信息发送的点播指令;
基于所述点播指令,发送所述目标视频至所述观众端。
在具体实施过程中,处理器520执行计算机程序511时,可以实现实施例一中任一实施方式。
由于本实施例所介绍的直播平台服务器为实施本申请实施例一中一种直播视频留存的方法所采用的设备,故而基于本申请实施例一中所介绍的方法,本领域所属技术人员能够了解本实施例的直播平台服务器的具体实施方式以及其各种变化形式,所以在此对于该服务器如何实现本申请实施例中的方法不再详细介绍。只要本领域所属技术人员实施本申请实施例中的方法所采用的设备,都属于本申请所欲保护的范围。
基于同一发明构思,本申请提供了实施例二对应的主播端,详见实施例六。
实施例六
本实施例提供一种主播端,如图6所示,包括存储器610、处理器620及存储在存储器620上并可在处理器620上运行的计算机程序611,处理器620执行计算机程序611时实现以下步骤:
发送所述主播端的目标直播间的直播视频至直播平台服务器;
在第一时刻接收作用于所述主播端的录制操作;
基于所述录制操作,发送录制指令至所述直播平台服务器;
接收所述直播平台服务器反馈的目标视频的描述信息,其中,所述目标视频为从所述直播视频中获取的,从所述第一时刻前的预设时长至所述第一时刻内的视频;所述预设时长为所述主播端发送并存储在所述直播平台服务器的时长;
接收作用于所述主播端的重播操作;
基于所述重播操作,发送重播指令至所述直播平台服务器,通过所述直播平台服务器发送所述目标视频至所述主播端对应的观众端。
在具体实施过程中,处理器620执行计算机程序611时,可以实现实施例二中任一实施方式。
由于本实施例所介绍的主播端为实施本申请实施例二中一种直播视频留存的方法所采用的设备,故而基于本申请实施例二中所介绍的方法,本领域所属技术人员能够了解本实施例的主播端的具体实施方式以及其各种变化形式,所以在此对于该主播端如何实现本申请实施例中的方法不再详细介绍。只要本领域所属技术人员实施本申请实施例中的方法所采用的设备,都属于本申请所欲保护的范围。
基于同一发明构思,本申请提供了实施例一对应的存储介质,详见实施例七。
实施例七
如图7所示,本实施提供了一种计算机可读存储介质700,其上存储有计算机程序711,该计算机程序711被处理器执行时实现以下步骤:
获取并保存目标直播间播放的直播视频;
如果在第一时刻接收到主播端发送的录制指令,则从所述直播视频中获取从所述第一时刻前的预设时长至所述第一时刻内的目标视频,其中,所述预设时长为所述主播端发送并存储在所述直播平台服务器的时长;
发送所述目标视频的描述信息至所述主播端对应的观众端;
接收所述观众端基于所述描述信息发送的点播指令;
基于所述点播指令,发送所述目标视频至所述观众端。
在具体实施过程中,该计算机程序711被处理器执行时,可以实现实施例一中任一实施方式。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。

Claims (10)

  1. 一种直播视频留存的方法,其特征在于,所述方法应用于直播平台服务器,包括:
    获取并保存目标直播间播放的直播视频;
    如果在第一时刻接收到主播端发送的录制指令,则从所述直播视频中获取从所述第一时刻前的预设时长至所述第一时刻内的目标视频,其中,所述预设时长为所述主播端发送并存储在所述直播平台服务器的时长;
    发送所述目标视频的描述信息至所述主播端对应的观众端;
    接收所述观众端基于所述描述信息发送的点播指令;
    基于所述点播指令,发送所述目标视频至所述观众端。
  2. 如权利要求1所述的方法,其特征在于,还包括:
    发送所述目标视频的所述描述信息至所述主播端;
    接收所述主播端基于所述描述信息发送的重播指令;
    基于所述重播指令,发送所述目标视频至所述主播端对应的观众端。
  3. 如权利要求1所述的方法,其特征在于,所述获取并保存目标直播间播放的直播视频,包括:
    实时获取所述目标直播间内播放的视频;
    保存从当前时刻前的所述预设时长至所述当前时刻的所述直播视频。
  4. 一种直播视频留存的方法,其特征在于,所述方法应用于主播端,包括:
    发送所述主播端的目标直播间的直播视频至直播平台服务器;
    在第一时刻接收作用于所述主播端的录制操作;
    基于所述录制操作,发送录制指令至所述直播平台服务器;
    接收所述直播平台服务器反馈的目标视频的描述信息,其中,所述目标视频为从所述直播视频中获取的,从所述第一时刻前的预设时长至所述第一时刻内的视频;所述预设时长为所述主播端发送并存储在所述直播平台服务器的时长;
    接收作用于所述主播端的重播操作;
    基于所述重播操作,发送重播指令至所述直播平台服务器,通过所述直播平台服务器发送所述目标视频至所述主播端对应的观众端。
  5. 如权利要求1所述的方法,其特征在于,所述发送所述主播端的目标直播间的直播视频至直播平台服务器之前,还包括:
    接收用户输入的所述预设时长;
    发送所述预设时长至所述直播平台服务器。
  6. 一种直播视频留存的装置,其特征在于,所述装置为直播平台服务器,包括:
    存储模块,用于获取并保存目标直播间播放的直播视频;
    获取模块,用于如果在第一时刻接收到主播端发送的录制指令,则从所述直播视频中获取从所述第一时刻前的预设时长至所述第一时刻内的目标视频,其中,所述预设时长为所述主播端发送并存储在所述直播平台服务器的时长;
    信息发送模块,用于发送所述目标视频的描述信息至所述主播端对应的观众端;
    点播指令接收模块,用于接收所述观众端基于所述描述信息发送的点播指令;
    视频发送模块,用于基于所述点播指令,发送所述目标视频至所述观众端。
  7. 一种直播视频留存的装置,其特征在于,所述装置为主播端,包括:
    直播发送模块,用于发送所述主播端的目标直播间的直播视频至直播平台服务器;
    录制操作接收模块,用于在第一时刻接收作用于所述主播端的录制操作;
    录制指令发送模块,用于基于所述录制操作,发送录制指令至所述直播平台服务器;
    信息接收模块,用于接收所述直播平台服务器反馈的目标视频的描述信息,其中,所述目标视频为从所述直播视频中获取的,从所述第一时刻前的预设时长至所述第一时刻内的视频;所述预设时长为所述主播端发送并存储在所述直播平台服务器的时长;
    重播操作接收模块,用于接收作用于所述主播端的重播操作;
    重播指令发送模块,用于基于所述重播操作,发送重播指令至所述直播平台服务器,通过所述直播平台服务器发送所述目标视频至所述主播端对应的观众端。
  8. 一种直播平台服务器,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现以下步骤:
    获取并保存目标直播间播放的直播视频;
    如果在第一时刻接收到主播端发送的录制指令,则从所述直播视频中获取从所述第一时刻前的预设时长至所述第一时刻内的目标视频,其中,所述预设时长为所述主播端发送并存储在所述直播平台服务器的时长;
    发送所述目标视频的描述信息至所述主播端对应的观众端;
    接收所述观众端基于所述描述信息发送的点播指令;
    基于所述点播指令,发送所述目标视频至所述观众端。
  9. 一种主播端,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现以下步骤:
    发送所述主播端的目标直播间的直播视频至直播平台服务器;
    在第一时刻接收作用于所述主播端的录制操作;
    基于所述录制操作,发送录制指令至所述直播平台服务器;
    接收所述直播平台服务器反馈的目标视频的描述信息,其中,所述目标视频为从所述直播视频中获取的,从所述第一时刻前的预设时长至所述第一时刻内的视频;所述预设时长为所述主播端发送并存储在所述直播平台服务器的时长;
    接收作用于所述主播端的重播操作;
    基于所述重播操作,发送重播指令至所述直播平台服务器,通过所述直播平台服务器发送所述目标视频至所述主播端对应的观众端。
  10. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现以下步骤:
    获取并保存目标直播间播放的直播视频;
    如果在第一时刻接收到主播端发送的录制指令,则从所述直播视频中获取从所述第一时刻前的预设时长至所述第一时刻内的目标视频,其中,所述预设时长为所述主播端发送并存储在所述直播平台服务器的时长;
    发送所述目标视频的描述信息至所述主播端对应的观众端;
    接收所述观众端基于所述描述信息发送的点播指令;
    基于所述点播指令,发送所述目标视频至所述观众端。
PCT/CN2017/107851 2017-09-12 2017-10-26 一种直播视频留存的方法、装置、服务器、主播端及介质 WO2019051938A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710817079.0 2017-09-12
CN201710817079.0A CN107659825B (zh) 2017-09-12 2017-09-12 一种直播视频留存的方法、装置、服务器、主播端及介质

Publications (1)

Publication Number Publication Date
WO2019051938A1 true WO2019051938A1 (zh) 2019-03-21

Family

ID=61129608

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/107851 WO2019051938A1 (zh) 2017-09-12 2017-10-26 一种直播视频留存的方法、装置、服务器、主播端及介质

Country Status (2)

Country Link
CN (1) CN107659825B (zh)
WO (1) WO2019051938A1 (zh)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108419138B (zh) * 2018-02-05 2021-06-22 平安科技(深圳)有限公司 直播互动装置、方法及计算机可读存储介质
CN108833934B (zh) * 2018-06-21 2021-07-20 广州酷狗计算机科技有限公司 获取视频数据的方法、服务器和系统
CN109151594A (zh) * 2018-09-27 2019-01-04 广州虎牙信息科技有限公司 直播回放视频播放方法、装置以及电子设备
CN109120951A (zh) * 2018-09-30 2019-01-01 武汉斗鱼网络科技有限公司 直播视频的生成发布方法、存储介质、电子设备及系统
CN109348239B (zh) * 2018-10-18 2020-05-19 北京达佳互联信息技术有限公司 直播片段处理方法、装置、电子设备及存储介质
US11025984B2 (en) 2019-01-30 2021-06-01 Wangsu Science & Technology Co., Ltd. Method, system for processing a live-broadcasting data, and server thereof
CN109618180B (zh) * 2019-01-30 2021-06-22 网宿科技股份有限公司 一种直播数据处理方法、系统及服务器
CN109862387A (zh) * 2019-03-28 2019-06-07 北京达佳互联信息技术有限公司 直播的回看视频生成方法、装置及设备
CN110149528B (zh) * 2019-05-21 2021-11-16 北京字节跳动网络技术有限公司 一种过程录制方法、装置、系统、电子设备、及存储介质
CN110536144B (zh) * 2019-07-31 2021-09-07 腾讯科技(深圳)有限公司 一种直播处理方法、装置及存储介质
CN110798699A (zh) * 2019-11-27 2020-02-14 北京翔云颐康科技发展有限公司 视频直播方法及装置
CN111147878B (zh) * 2019-12-30 2022-02-11 广州酷狗计算机科技有限公司 直播中的推流方法、装置及计算机存储介质
CN111355990A (zh) * 2020-03-17 2020-06-30 网易(杭州)网络有限公司 视频获取方法及装置、计算机可读存储介质、电子设备
CN111919451A (zh) * 2020-06-30 2020-11-10 深圳盈天下视觉科技有限公司 一种直播方法、直播装置及终端
CN112135156B (zh) * 2020-09-16 2022-05-17 广州华多网络科技有限公司 直播方法、教育直播方法、系统、设备及存储介质
CN113132787A (zh) * 2021-03-15 2021-07-16 北京城市网邻信息技术有限公司 一种直播内容展示方法、装置、电子设备及存储介质
CN114339432B (zh) * 2022-01-12 2023-05-12 中国联合网络通信集团有限公司 视频假直播方法、装置、设备及介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120284343A1 (en) * 2011-05-03 2012-11-08 Lee David D Program Guide Based on Sharing Personal Comments about Multimedia Content
CN103096182A (zh) * 2011-11-04 2013-05-08 腾讯科技(深圳)有限公司 一种网络电视节目信息的分享方法和系统
CN103647991A (zh) * 2013-12-23 2014-03-19 乐视致新电子科技(天津)有限公司 智能电视中的视频分享方法及系统
CN105450642A (zh) * 2015-11-17 2016-03-30 广州华多网络科技有限公司 一种基于在线直播的数据处理方法、相关装置及系统
CN105959207A (zh) * 2016-05-17 2016-09-21 广州酷狗计算机科技有限公司 音视频分享方法及装置
US20160294905A1 (en) * 2015-03-30 2016-10-06 Orange Method for rendering a shared content, corresponding method for sharing, computer program products and devices
CN107018427A (zh) * 2017-05-10 2017-08-04 广州华多网络科技有限公司 直播分享内容处理方法及装置

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104469433B (zh) * 2013-09-13 2018-09-07 深圳市腾讯计算机系统有限公司 一种视频直播回看方法及装置
CN103634681B (zh) * 2013-11-29 2017-10-10 腾讯科技(成都)有限公司 直播互动方法、装置、客户端、服务器及系统
CN104168433B (zh) * 2014-08-28 2018-02-09 广州华多网络科技有限公司 一种媒体内容处理方法及系统
CN105120299B (zh) * 2015-08-28 2020-02-14 广州酷狗计算机科技有限公司 视频推送方法和装置
CN105208431A (zh) * 2015-09-25 2015-12-30 晨星半导体股份有限公司 一种节目录制方法及录制装置
CN105915944A (zh) * 2016-05-31 2016-08-31 乐视控股(北京)有限公司 一种视频共享方法及装置
CN106210759A (zh) * 2016-08-19 2016-12-07 百度在线网络技术(北京)有限公司 视频直播方法和装置
CN106488295A (zh) * 2016-09-29 2017-03-08 乐视控股(北京)有限公司 一种信息显示方法及装置
CN106658205B (zh) * 2016-11-22 2020-09-04 广州华多网络科技有限公司 直播间视频流合成控制方法、装置及终端设备

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120284343A1 (en) * 2011-05-03 2012-11-08 Lee David D Program Guide Based on Sharing Personal Comments about Multimedia Content
CN103096182A (zh) * 2011-11-04 2013-05-08 腾讯科技(深圳)有限公司 一种网络电视节目信息的分享方法和系统
CN103647991A (zh) * 2013-12-23 2014-03-19 乐视致新电子科技(天津)有限公司 智能电视中的视频分享方法及系统
US20160294905A1 (en) * 2015-03-30 2016-10-06 Orange Method for rendering a shared content, corresponding method for sharing, computer program products and devices
CN105450642A (zh) * 2015-11-17 2016-03-30 广州华多网络科技有限公司 一种基于在线直播的数据处理方法、相关装置及系统
CN105959207A (zh) * 2016-05-17 2016-09-21 广州酷狗计算机科技有限公司 音视频分享方法及装置
CN107018427A (zh) * 2017-05-10 2017-08-04 广州华多网络科技有限公司 直播分享内容处理方法及装置

Also Published As

Publication number Publication date
CN107659825B (zh) 2019-01-29
CN107659825A (zh) 2018-02-02

Similar Documents

Publication Publication Date Title
WO2019051938A1 (zh) 一种直播视频留存的方法、装置、服务器、主播端及介质
US10796726B2 (en) Video recording method and apparatus for mobile terminal
US10425679B2 (en) Method and device for displaying information on video image
CN109089154B (zh) 一种视频提取方法、装置、设备及介质
CN109547819B (zh) 直播列表展示方法、装置以及电子设备
US10613702B2 (en) Rendering video over multiple windows
WO2015096648A1 (zh) 智能电视中的视频分享方法及系统
US11025967B2 (en) Method for inserting information push into live video streaming, server, and terminal
CN109089127B (zh) 一种视频拼接方法、装置、设备及介质
WO2019214371A1 (zh) 图像的显示方法、生成方法、装置、存储介质及电子装置
WO2015074469A1 (zh) 一种实现画中画播放的方法及画中画播放装置
JP2015517706A5 (zh)
US11323750B2 (en) Video system and video processing method, device and computer readable medium
TW201513644A (zh) 資訊傳送方法和系統
WO2019134293A1 (zh) 一种直播方法、装置、服务器及介质
CN107659831B (zh) 媒体数据处理方法、客户端、及存储介质
WO2017156984A1 (zh) 一种移动终端的视频更新推送方法以及客户端
US20140040737A1 (en) Collaborative media editing system
CN113645481B (zh) 视频录制方法、摄像设备、控制终端及视频录制系统
GB2553912A (en) Methods, systems, and media for synchronizing media content using audio timecodes
WO2022199372A1 (zh) 一种视频剪辑方法、装置、计算机设备以及存储介质
WO2016127886A1 (zh) 一种在用户设备中在线播放多媒体的方法和装置
CN104168505B (zh) 一种客户端播放控制方法及客户端
US20170125062A1 (en) Multiple views recording
WO2015035934A1 (en) Methods and systems for facilitating video preview sessions

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

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

Country of ref document: EP

Kind code of ref document: A1