WO2017166509A1 - Video playback control method and device - Google Patents

Video playback control method and device Download PDF

Info

Publication number
WO2017166509A1
WO2017166509A1 PCT/CN2016/089227 CN2016089227W WO2017166509A1 WO 2017166509 A1 WO2017166509 A1 WO 2017166509A1 CN 2016089227 W CN2016089227 W CN 2016089227W WO 2017166509 A1 WO2017166509 A1 WO 2017166509A1
Authority
WO
WIPO (PCT)
Prior art keywords
barrage
video
playback
preset
determining
Prior art date
Application number
PCT/CN2016/089227
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 WO2017166509A1 publication Critical patent/WO2017166509A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/475End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/475End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
    • H04N21/4756End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data for rating content, e.g. scoring a recommended movie

Definitions

  • the present invention relates to the field of video technologies, and in particular, to a video review control method and apparatus.
  • a video review control method and apparatus are provided to solve the problem that the live picture in the live broadcast cannot be re-viewed in time.
  • the embodiment of the invention provides a video review control method, including:
  • the determining whether the barrage information meets a preset playback condition comprises:
  • the number of the barrage contents including the preset words in the preset time interval is counted according to the barrage release time
  • the determining whether the content of the barrage in the barrage information includes preset words includes:
  • the barrage content includes a preset word.
  • the determining a target playback video corresponding to the barrage information comprises:
  • determining a target playback video corresponding to the barrage information comprises:
  • the determining a target playback video corresponding to the barrage information comprises:
  • a video between the playback start time and the playback cutoff time is determined as the target playback video.
  • the sending the target playback video to the at least one client comprises:
  • the embodiment of the invention provides a video review control device, including:
  • the barrage information obtaining module is configured to obtain the barrage information sent by at least one client during the live broadcast process, where the barrage information includes: a barrage content and a barrage release time;
  • a playback judging module configured to determine whether the barrage information meets a preset playback condition
  • a playback video determining module configured to determine a target playback video corresponding to the barrage information when the barrage information satisfies a preset playback condition
  • a video sending module configured to send the target playback video to the at least one client, so that the client displays a screen of the target playback video.
  • the playback determination module includes:
  • a word judging sub-module configured to determine whether the barrage content in the barrage information includes a preset word
  • a statistical sub-module configured to: when the barrage content includes a preset term, count the number of barrage contents including the preset words in the preset time interval according to the barrage release time;
  • a threshold determining sub-module configured to determine whether the number of the statistics obtained exceeds a preset threshold
  • the playback determination sub-module is configured to determine that the barrage information meets a preset playback condition when the number of the statistics obtained exceeds a preset number of thresholds.
  • the word determination module includes:
  • a content identification sub-module configured to identify the content of the barrage in the barrage information, and obtain a recognition result
  • a matching judgment sub-module configured to determine whether there is a word matching the predicted word in the recognition result
  • a word determining sub-module configured to: when there is a word matching the predicted word in the recognition result, determining that the barrage content includes a preset word.
  • a first extraction sub-module configured to extract, according to a chronological order, the first barrage information from all the statistics of the preset number of thresholds
  • a start time determining submodule configured to determine a barrage release time corresponding to the first barrage information as a playback start time
  • a first determining submodule configured to determine, in the first preset time period after the playback start time, the video as the target playback video.
  • the target playback video determining module includes:
  • a second extraction sub-module configured to extract, according to a chronological order, the last barrage information from all the statistics of the preset number of thresholds
  • a deadline determining sub-module configured to determine a barrage release time corresponding to the last barr information as a playback cut-off time
  • a second determining submodule determining, in the second preset time period before the playback cutoff time, the video as the target playback video.
  • the target playback video determining module includes:
  • a third extraction sub-module configured to extract, according to a chronological order, the first barr information and the last barrage information from all the statistics of the preset number of thresholds;
  • a start time determining submodule configured to determine a barrage release time corresponding to the first barrage information as a playback start time
  • a deadline determining sub-module configured to determine a barrage release time corresponding to the last barr information as a playback cut-off time
  • a third determining submodule configured to determine a video between the playback start time and the playback cutoff time as the target playback video.
  • the video sending module includes:
  • An overlay sub-module configured to superimpose a picture of the target playback video into a picture of the live video in a picture-in-picture manner, where the first video sending sub-module is configured to send the superimposed video to the at least one The client plays;
  • a second video sending submodule configured to send the picture of the target playback video and the picture of the live video to the at least one client independently for playing.
  • a memory for storing processor executable instructions
  • processor is configured to:
  • the barrage information sent by at least one client during the live broadcast includes: Screen content and barrage release time;
  • the video review control method obtained by the embodiment of the present invention obtains the barrage information sent by at least one client in the live broadcast process, and then analyzes the barrage information to determine whether the barrage information satisfies the preset playback condition.
  • the information satisfies the preset playback condition, determines the target playback video that needs to be played, and sends the target playback video to the client for display, so that the user can simultaneously watch the playback video while watching the live video on the client.
  • FIG. 1 is a schematic diagram of a scenario according to an embodiment of the present disclosure
  • FIG. 2 is a schematic flowchart of a video loopback control method according to an embodiment of the present invention
  • step S102 in FIG. 1 is a schematic flow chart of step S102 in FIG. 1;
  • step S103 in FIG. 1 is a schematic flow chart of step S103 in FIG. 1;
  • FIG. 5 is another schematic flowchart of step S103 in FIG. 1;
  • FIG. 6 is a schematic flow chart of still another step S103 of FIG. 1;
  • FIG. 7 is a schematic structural diagram of a video loopback control apparatus according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a playback judging module in FIG. 7;
  • FIG. 9 is a schematic structural diagram of a playback video determining module in FIG. 7;
  • FIG. 10 is another schematic structural diagram of the playback video determining module of FIG. 7; FIG.
  • FIG. 11 is still another schematic structural diagram of the playback video determining module of FIG. 7.
  • FIG. 1 is a schematic diagram of a scenario according to an embodiment of the present invention.
  • FIG. 1 includes: a server 21 and a plurality of clients, such as a client 11 and a client 12.
  • the client may be a common electronic device with a display, such as : a desktop computer, a notebook computer, a smart TV or a tablet computer, etc., each client is connected to the server 21 via the network 31, and the client and the server 21 can transmit data through the network, and the network 31 can be a wired network, for example : Optical network, etc., can also be a wireless network, such as Wifi.
  • the server 21 may send live video data to the client, and the client may play the live video locally.
  • the client can also collect the barrage information input by the user, and send the barrage information to the server 21 through the network, and then the server 21 sends the barrage information to each client, so that all When the client plays the video, it can display the information of the barrage collected in different clients.
  • FIG. 2 is a schematic flowchart diagram of a video review control method according to an embodiment of the present invention.
  • the method can be applied to the server 21 in FIG. 1.
  • the video review control method can include the following steps.
  • the barrage information may include: a barrage content and a barrage release time, wherein the barrage content may be information input by the user in the client for commenting on the currently played video, and the barrage The content may include one or more of characters, pictures, and voices.
  • the time when the barrage is published refers to the time when the user releases the barrage, which may be the system time, for example, the time in the client or the server, or may be played for the video.
  • the barrage release time is selected as the time of the video play.
  • the preset playback condition may be used for statistics on specific words, symbols, or pictures in the content of the barrage, for example, statistics may be counted by counting the number of times of "looking back" appearing in the content of the barrage. When there are more than 50 in 1 minute, then it can be considered that the preset playback condition is satisfied.
  • the preset playback conditions may be set according to the background controller, or may be set according to the content selected by the user.
  • step S102 When it is determined in step S102 that the barrage information satisfies the preset playback condition, only the condition indicating the playback is triggered, but the specific playback of the video and how to play back need to be separately set.
  • the server 21 may directly send the target playback video to the client, so that the client displays the screen of the target playback video.
  • step S104 may adopt the following manner:
  • the playback video is also displayed in the form of picture-in-picture.
  • step S104 the screen of the target playback video and the screen of the live video may be sent to the at least one client independently for playing, so that when the client receives two independent video images
  • the client can choose to split the two video screens by screen, and also click on a certain playback video screen to zoom in and watch the playback video separately.
  • step S104 is merely illustrative and should not be construed as limiting the invention.
  • the target playback video when the target playback video is sent, it can be sent to all clients watching the live broadcast, that is, globally. In addition, some conditions can be added, for example, it can be sent only to a specific smart TV, or only to users with member rights.
  • the video review control method provided by the embodiment of the present invention obtains at least one of the live broadcast processes
  • the barrage information sent by the client and then analyzes the barrage information to determine whether the barrage information satisfies the preset playback condition.
  • the target playback video to be played is determined, and the target playback video is played.
  • the method can automatically match the preset playback conditions according to the barrage information input by the user during the live broadcast of the video. Once the barrage information is determined to meet the preset playback conditions, the target playback video can be automatically determined and presented to the client.
  • the live playback video transmits the target playback video to the client at the same time, and the playback process of the entire playback video does not require the user to perform separate playback control, and does not require any playback control of the background operator.
  • the use of the barrage content to control the playback can also improve the playback accuracy of the highlight moment.
  • users understand the function they will be more willing to participate in the barrage interaction, and can also improve the user's enthusiasm for using the barrage to communicate.
  • step S102 shown in FIG. 1 may include the following steps.
  • S201 Determine whether the content of the barrage in the barrage information includes a preset word
  • the content of the barrage is text, it is identified by means of text recognition, etc., and when the content of the barrage is a picture, it can be identified by means of image recognition or the like.
  • the matching may refer to whether it is completely the same, that is, the matching degree is 100%; when there are multiple preset words, the matching may also mean that the number of recognized result words exceeds the preset quantity, that is, the matching degree Can be less than 100%, for example: 80% or more, etc.;
  • step S202 is performed; otherwise, the process is ended.
  • the preset number of thresholds can be set according to the samples collected in the actual application.
  • step S204 is performed; otherwise, the process ends.
  • any one minute of video playback it is judged whether there is more than 50 comments of "like" word. If it appears, it means that the user thinks that the video within three minutes is very exciting, and then it is determined that the three-minute video may need to be played back. a bit.
  • the method provided by the embodiment of the present invention can accurately determine whether video playback is required by analyzing the words appearing in the content of the barrage in the barrage information and the density of the content of the barrage content.
  • the accuracy of video playback can be improved, so that the user can quickly and timely enjoy the playback video after evaluating the wonderful story.
  • step S103 in FIG. 2 may include the following steps.
  • Each barrage information has a corresponding barrage release time. By comparing the barrage release time, the first barrage information can be found.
  • the comment of the word "Like” exceeds 50 times in one minute of video playback, it is considered that the preset playback condition is satisfied, that is, the one minute.
  • the video is more exciting, then in the embodiment of the present invention, the first content of the barrage containing the word "Like” can be extracted, and the first release time of the barrage corresponding to the content of the "Lan” word barrage can be determined. For the playback start time.
  • the playback video will not be a long video. Therefore, after determining the playback start time, the video in the first preset time period after the playback start time can be uniformly determined as the video to be played back.
  • a preset time period can be 1 minute, 2 minutes, and the like.
  • the method provided by the embodiment of the present invention uses the first barr information in the barrage information that satisfies the preset playback condition as the playback start time of the playback video, and uses the video of the content of the first preset time period after the time as The target playback video, although the setting of the first preset time period may exceed the wonderful lens, since the starting time is accurate, the integrity of the playback video can be maximized, and the problem that the user still misses the wonderful lens by looking back can be avoided.
  • step S103 in FIG. 2 may include the following steps.
  • Each barrage information has a corresponding barrage release time. By comparing the barrage release time, the last barrage information can be found.
  • S402 Determine a barrage release time corresponding to the last barr information as a playback cutoff time
  • S403 Determine a video in the second preset time period before the playback cutoff time as the target playback video.
  • the playback video will not be a long video. Therefore, after determining the playback cut-off time, the video in the second preset time period after the playback cut-off time can be uniformly determined as the video to be played back.
  • the time period can be 1 minute, 2 minutes, and the like.
  • the last barr information in the barrage information that satisfies the preset playback condition is used as the playback cutoff time of the playback video, and the video of the content of the second preset time period before the time is used as the target playback.
  • Video although the setting of the second preset time period may exceed the wonderful shot, since the deadline is accurate, the integrity of the playback video can be maximized, and the problem that the user still misses the wonderful shot by looking back can be avoided.
  • step S103 in FIG. 2 may include the following steps.
  • S501 Extract, according to a chronological order, the first barr information and the last barrage information from all the statistics of the preset number of thresholds;
  • the method provided by the embodiment of the invention determines the video between the first barrage information and the last barrage information as the target playback video, so that the playback video is completely matched with the barrage information, thereby improving the accuracy of the playback.
  • FIG. 7 is a schematic structural diagram of a video loopback control apparatus according to an embodiment of the present invention. As shown in Figure 7, the apparatus can include:
  • the barrage information obtaining module 71 is configured to obtain the barrage information sent by at least one client during the live broadcast process, where the barrage information includes: a barrage content and a barrage release time;
  • the playback determining module 72 is configured to determine whether the barrage information meets a preset playback condition
  • the playback video determining module 73 is configured to determine a target playback video corresponding to the barrage information when the barrage information satisfies a preset playback condition;
  • the video sending module 74 is configured to send the target playback video to the at least one client.
  • the video sending module 74 includes:
  • An overlay sub-module configured to superimpose a picture of the target playback video into a picture of the live video in a picture-in-picture manner
  • a first video sending submodule configured to send the superimposed video to the at least one client for playing
  • the video sending module 74 includes:
  • a second video sending submodule configured to send the picture of the target playback video and the picture of the live video to the at least one client independently for playing.
  • the video review control device obtaineds the barrage information sent by at least one client in the live broadcast process, and then analyzes the barrage information to determine whether the barrage information satisfies the preset playback condition, and The information satisfies the preset playback conditions, and determines the target playback video that needs to be played. And the target playback video is sent to the client for display, so that when the user watches the live video on the client, the playback video can also be viewed at the same time.
  • the device can automatically match the preset playback conditions according to the barrage information input by the user. Once the barrage information is determined to meet the preset playback conditions, the target playback video can be automatically determined and presented to the client.
  • the live playback video transmits the target playback video to the client at the same time, and the playback process of the entire playback video does not require the user to perform separate playback control, and does not require any playback control of the background operator.
  • the use of the barrage content to control the playback can also improve the playback accuracy of the highlight moment.
  • users understand the function they will be more willing to participate in the barrage interaction, and can also improve the user's enthusiasm for using the barrage to communicate.
  • FIG. 8 is a schematic structural diagram of the playback judging module of FIG. 7.
  • the playback judging module 72 includes:
  • the word judging sub-module 81 is configured to determine whether the barrage content in the barrage information includes a preset word
  • the word determining module 81 includes:
  • a content identification sub-module configured to identify the content of the barrage in the barrage information, and obtain a recognition result
  • a matching judgment sub-module configured to determine whether there is a word matching the predicted word in the recognition result
  • a word determining sub-module configured to: when there is a word matching the predicted word in the recognition result, determining that the barrage content includes a preset word.
  • the statistics sub-module 82 is configured to: when the preset content words are included in the content of the barrage, count the number of the barrage contents including the preset words in the preset time interval according to the barrage release time;
  • the threshold judging sub-module 83 is configured to determine whether the number of the statistics obtained exceeds a preset threshold
  • the playback determination sub-module 84 is configured to determine that the barrage information meets a preset playback condition when the number of the statistics obtained exceeds a preset number of thresholds.
  • FIG. 9 is a schematic structural diagram of the playback video determining module of FIG. 7.
  • the playback video determining module 73 includes:
  • the first extraction sub-module 91 is configured to extract, according to a chronological order, the first barrage information from all the statistics of the preset number of thresholds;
  • a start time determining sub-module 92 configured to release a time of the first barrage information corresponding to the barrage Determined as the playback start time
  • the first determining sub-module 93 is configured to determine a video in the first preset time period after the playback start time as the target playback video.
  • FIG. 10 is a schematic structural diagram of the playback video determining module of FIG. 7.
  • the playback video determining module 73 includes:
  • the second extraction sub-module 101 is configured to extract, according to a chronological order, the last barr information from all the statistics of the preset number of thresholds;
  • a deadline determining sub-module 102 configured to determine a barrage publishing time corresponding to the last barr information as a playback cut-off time
  • the second determining sub-module 103 determines the video in the second preset time period before the playback cut-off time as the target playback video.
  • the third extraction sub-module 111 is configured to extract, according to a chronological order, the first barr information and the last barrage information from all the statistics of the preset number of thresholds;
  • the deadline determining sub-module 113 is configured to determine a barrage publishing time corresponding to the last barr information as a playback cut-off time;
  • the third determining sub-module 114 is configured to determine a video between the playback start time and the playback cut-off time as the target playback video.
  • the embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium can store a program, and when the program is executed, the part of each implementation manner of the video review control method provided by the embodiment of the present invention can be implemented. Or all steps.
  • the embodiment of the invention further provides a video review control device, including:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • the barrage information includes: a barrage content and a barrage release time;

Abstract

A video playback control method and device. The method comprises: obtaining barrage information sent by at least one client during a live broadcast process; determining whether the barrage information meets a preset playback condition; determining a target playback video corresponding to the barrage information when the barrage information meets the preset playback condition; and sending the target playback video to the at least one client. According to the method, during a live broadcast process of a video, barrage information input by users can be automatically matched with a preset playback condition. Once it is determined that the barrage information meets the preset playback condition, a target playback video can be automatically determined, and the target playback video can be sent to a client during live broadcast of the video to the client. In the whole playing process of the playback video, the users do not need to perform playback control individually, and a background operator likewise does not need to perform any playback control.

Description

视频回看控制方法及装置Video review control method and device
本申请要求于2016年3月28日提交中国专利局、申请号为2016101838246、发明名称为“视频回看控制方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 2016101838246, the entire disclosure of which is hereby incorporated by reference in its entirety in its entirety in .
技术领域Technical field
本发明涉及视频技术领域,尤其涉及一种视频回看控制方法及装置。The present invention relates to the field of video technologies, and in particular, to a video review control method and apparatus.
背景技术Background technique
目前用户在观看直播时,所有人看到都是后台操控人员所播出的画面,也即是直播平台播放什么内容,就只能看什么内容。At present, when watching a live broadcast, everyone sees the screen broadcast by the background controller, that is, what content is played on the live broadcast platform, and only what content can be viewed.
在直播时,当看到精彩瞬间时,用户可以通过弹幕来交流一下刚刚记忆中的精彩瞬间,往往此时用户更想看到的是当时的精彩瞬间回放。另一方面,对于错过精彩瞬间的用户而言,只能看到弹幕交流内容而无法参与其中,这些用户也有迫切的愿望想知道刚才错过的精彩瞬间的内容。During the live broadcast, when you see the wonderful moment, the user can exchange the wonderful moments just remembered by the barrage. Often, the user wants to see the wonderful momentary playback at that time. On the other hand, for users who miss the moment, they can only see the content of the barrage and can't participate. These users also have an urgent desire to know the content of the wonderful moment just missed.
发明内容Summary of the invention
本发明实施例中提供了一种视频回看控制方法及装置,以解决直播中的精彩画面播放之后无法及时重新观看的问题。In the embodiment of the present invention, a video review control method and apparatus are provided to solve the problem that the live picture in the live broadcast cannot be re-viewed in time.
为了解决上述技术问题,本发明实施例公开了如下技术方案:In order to solve the above technical problem, the embodiment of the present invention discloses the following technical solutions:
本发明实施例提供了一种视频回看控制方法,包括:The embodiment of the invention provides a video review control method, including:
获取直播过程中至少一个客户端发送的弹幕信息,所述弹幕信息包括:弹幕内容和弹幕发布时间;Obtaining the barrage information sent by at least one client during the live broadcast process, where the barrage information includes: a barrage content and a barrage release time;
判断所述弹幕信息是否满足预设回放条件;Determining whether the barrage information satisfies a preset playback condition;
当所述弹幕信息满足预设回放条件时,确定与所述弹幕信息对应的目标回放视频;Determining a target playback video corresponding to the barrage information when the barrage information satisfies a preset playback condition;
将所述目标回放视频发送给所述至少一个客户端,以使所述客户端显示目标回放视频的画面。Sending the target playback video to the at least one client to cause the client to display a screen of the target playback video.
优选地,所述判断所述弹幕信息是否满足预设回放条件,包括:Preferably, the determining whether the barrage information meets a preset playback condition comprises:
判断所述弹幕信息中的弹幕内容是否包含有预设词语; Determining whether the content of the barrage in the barrage information contains a preset word;
当所述弹幕内容中包含有预设词语时,根据所述弹幕发布时间统计预设时间间隔内所有包含预设词语的弹幕内容的条数;When the preset content is included in the content of the barrage, the number of the barrage contents including the preset words in the preset time interval is counted according to the barrage release time;
判断所述统计得到的条数是否超过预设条数阈值;Determining whether the number of the obtained statistics exceeds a preset threshold;
当所述统计得到的条数超过预设条数阈值时,确定所述弹幕信息满足预设回放条件。When the number of the statistics obtained exceeds the preset number of thresholds, it is determined that the barrage information satisfies a preset playback condition.
优选地,所述判断所述弹幕信息中的弹幕内容是否包含有预设词语,包括:Preferably, the determining whether the content of the barrage in the barrage information includes preset words includes:
对所述弹幕信息中的弹幕内容进行识别,得到识别结果;Identifying the content of the barrage in the barrage information to obtain a recognition result;
判读所述识别结果中是否存在和所述预测词语相匹配的词语;Determining, in the recognition result, whether there is a word matching the predicted word;
当所述识别结果中存在和所述预测词语相匹配的词语,确定所述弹幕内容中包含有预设词语。When there is a word matching the predicted word in the recognition result, it is determined that the barrage content includes a preset word.
优选地,所述确定与所述弹幕信息对应的目标回放视频,包括:Preferably, the determining a target playback video corresponding to the barrage information comprises:
按照时间顺序,从超过预设条数阈值的所有统计条数中提取第一条弹幕信息;Extracting the first barrage information from all the statistics of the preset number of thresholds in chronological order;
将所述第一条弹幕信息对应的弹幕发布时间确定为回放起始时刻;Determining, according to the first barrage information, a barrage release time as a playback start time;
将所述回放起始时刻之后的第一预设时间段内的视频确定为所述目标回放视频。Determining the video within the first preset time period after the playback start time as the target playback video.
优选地,确定与所述弹幕信息对应的目标回放视频,包括:Preferably, determining a target playback video corresponding to the barrage information comprises:
按照时间顺序,从超过预设条数阈值的所有统计条数中提取最后一条弹幕信息;Extracting the last barrage information from all the statistics of the preset number of thresholds in chronological order;
将所述最后一条弹幕信息对应的弹幕发布时间确定为回放截止时刻;Determining the barrage release time corresponding to the last barr information as a playback cutoff time;
将所述回放截止时刻之前的第二预设时间段内的视频确定为所述目标回放视频。Determining the video in the second preset time period before the playback cutoff time as the target playback video.
优选地,所述确定与所述弹幕信息对应的目标回放视频,包括:Preferably, the determining a target playback video corresponding to the barrage information comprises:
按照时间顺序,从超过预设条数阈值的所有统计条数中提取第一条弹幕信息和最后一条弹幕信息;Extracting the first barr information and the last barrage information from all the statistics of the preset number of thresholds in chronological order;
将所述第一条弹幕信息对应的弹幕发布时间确定为回放起始时刻;Determining, according to the first barrage information, a barrage release time as a playback start time;
将所述最后一条弹幕信息对应的弹幕发布时间确定为回放截止时刻;Determining the barrage release time corresponding to the last barr information as a playback cutoff time;
将所述回放起始时刻和回放截止时刻之间的视频确定为所述目标回放视频。A video between the playback start time and the playback cutoff time is determined as the target playback video.
优选地,所述将所述目标回放视频发送给所述至少一个客户端,包括:Preferably, the sending the target playback video to the at least one client comprises:
将所述目标回放视频的画面以画中画的方式叠加到所述直播视频的画面中,将叠加后的视频发送给所述至少一个客户端进行播放;And superimposing the screen of the target playback video into the picture of the live video in a picture-in-picture manner, and transmitting the superimposed video to the at least one client for playing;
或者, Or,
将所述目标回放视频的画面和所述直播视频的画面相互独立地发送给所述至少一个客户端进行播放。And transmitting the picture of the target playback video and the picture of the live video to the at least one client independently for playing.
本发明实施例提供了一种视频回看控制装置,包括:The embodiment of the invention provides a video review control device, including:
弹幕信息获取模块,用于获取直播过程中至少一个客户端发送的弹幕信息,所述弹幕信息包括:弹幕内容和弹幕发布时间;The barrage information obtaining module is configured to obtain the barrage information sent by at least one client during the live broadcast process, where the barrage information includes: a barrage content and a barrage release time;
回放判断模块,用于判断所述弹幕信息是否满足预设回放条件;a playback judging module, configured to determine whether the barrage information meets a preset playback condition;
回放视频确定模块,用于当所述弹幕信息满足预设回放条件时,确定与所述弹幕信息对应的目标回放视频;a playback video determining module, configured to determine a target playback video corresponding to the barrage information when the barrage information satisfies a preset playback condition;
视频发送模块,用于将所述目标回放视频发送给所述至少一个客户端,以使所述客户端显示目标回放视频的画面。And a video sending module, configured to send the target playback video to the at least one client, so that the client displays a screen of the target playback video.
优选地,所述回放判断模块,包括:Preferably, the playback determination module includes:
词语判断子模块,用于判断所述弹幕信息中的弹幕内容是否包含有预设词语;a word judging sub-module, configured to determine whether the barrage content in the barrage information includes a preset word;
统计子模块,用于当所述弹幕内容中包含有预设词语时,根据所述弹幕发布时间统计预设时间间隔内所有包含预设词语的弹幕内容的条数;a statistical sub-module, configured to: when the barrage content includes a preset term, count the number of barrage contents including the preset words in the preset time interval according to the barrage release time;
阈值判断子模块,用于判断所述统计得到的条数是否超过预设条数阈值;a threshold determining sub-module, configured to determine whether the number of the statistics obtained exceeds a preset threshold;
回放确定子模块,用于当所述统计得到的条数超过预设条数阈值时,确定所述弹幕信息满足预设回放条件。The playback determination sub-module is configured to determine that the barrage information meets a preset playback condition when the number of the statistics obtained exceeds a preset number of thresholds.
优选地,所述词语判断模块,包括:Preferably, the word determination module includes:
内容识别子模块,用于对所述弹幕信息中的弹幕内容进行识别,得到识别结果;a content identification sub-module, configured to identify the content of the barrage in the barrage information, and obtain a recognition result;
匹配判断子模块,用于判读所述识别结果中是否存在和所述预测词语相匹配的词语;a matching judgment sub-module, configured to determine whether there is a word matching the predicted word in the recognition result;
词语确定子模块,用于当所述识别结果中存在和所述预测词语相匹配的词语,确定所述弹幕内容中包含有预设词语。a word determining sub-module, configured to: when there is a word matching the predicted word in the recognition result, determining that the barrage content includes a preset word.
优选地,所述回放视频确定模块,包括:Preferably, the playback video determining module includes:
第一提取子模块,用于按照时间顺序,从超过预设条数阈值的所有统计条数中提取第一条弹幕信息;a first extraction sub-module, configured to extract, according to a chronological order, the first barrage information from all the statistics of the preset number of thresholds;
起始时刻确定子模块,用于将所述第一条弹幕信息对应的弹幕发布时间确定为回放起始时刻;a start time determining submodule, configured to determine a barrage release time corresponding to the first barrage information as a playback start time;
第一确定子模块,用于将所述回放起始时刻之后的第一预设时间段内的视频确定为所述目标回放视频。 And a first determining submodule, configured to determine, in the first preset time period after the playback start time, the video as the target playback video.
优选地,所述目标回放视频确定模块,包括:Preferably, the target playback video determining module includes:
第二提取子模块,用于按照时间顺序,从超过预设条数阈值的所有统计条数中提取最后一条弹幕信息;a second extraction sub-module, configured to extract, according to a chronological order, the last barrage information from all the statistics of the preset number of thresholds;
截止时刻确定子模块,用于将所述最后一条弹幕信息对应的弹幕发布时间确定为回放截止时刻;a deadline determining sub-module, configured to determine a barrage release time corresponding to the last barr information as a playback cut-off time;
第二确定子模块,将所述回放截止时刻之前的第二预设时间段内的视频确定为所述目标回放视频。And a second determining submodule, determining, in the second preset time period before the playback cutoff time, the video as the target playback video.
优选地,所述目标回放视频确定模块,包括:Preferably, the target playback video determining module includes:
第三提取子模块,用于按照时间顺序,从超过预设条数阈值的所有统计条数中提取第一条弹幕信息和最后一条弹幕信息;a third extraction sub-module, configured to extract, according to a chronological order, the first barr information and the last barrage information from all the statistics of the preset number of thresholds;
起始时刻确定子模块,用于将所述第一条弹幕信息对应的弹幕发布时间确定为回放起始时刻;a start time determining submodule, configured to determine a barrage release time corresponding to the first barrage information as a playback start time;
截止时刻确定子模块,用于将所述最后一条弹幕信息对应的弹幕发布时间确定为回放截止时刻;a deadline determining sub-module, configured to determine a barrage release time corresponding to the last barr information as a playback cut-off time;
第三确定子模块,用于将所述回放起始时刻和回放截止时刻之间的视频确定为所述目标回放视频。And a third determining submodule configured to determine a video between the playback start time and the playback cutoff time as the target playback video.
优选地,所述视频发送模块,包括:Preferably, the video sending module includes:
叠加子模块,用于将所述目标回放视频的画面以画中画的方式叠加到所述直播视频的画面中,第一视频发送子模块,用于将叠加后的视频发送给所述至少一个客户端进行播放;An overlay sub-module, configured to superimpose a picture of the target playback video into a picture of the live video in a picture-in-picture manner, where the first video sending sub-module is configured to send the superimposed video to the at least one The client plays;
或者,or,
第二视频发送子模块,用于将所述目标回放视频的画面和所述直播视频的画面相互独立地发送给所述至少一个客户端进行播放。And a second video sending submodule, configured to send the picture of the target playback video and the picture of the live video to the at least one client independently for playing.
本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时可实现本发明实施例提供的一种视频回看控制方法的各实现方式中的部分或全部步骤。The embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium may store a program, and when the program is executed, the part of each implementation manner of the video review control method provided by the embodiment of the present invention may be implemented or All steps.
本发明实施例还提供一种视频回看控制装置,包括:The embodiment of the invention further provides a video review control device, including:
处理器;processor;
用于存储处理器可执行指令的存储器;a memory for storing processor executable instructions;
其中,所述处理器被配置为:Wherein the processor is configured to:
获取直播过程中至少一个客户端发送的弹幕信息,所述弹幕信息包括:弹 幕内容和弹幕发布时间;Obtaining the barrage information sent by at least one client during the live broadcast, the barrage information includes: Screen content and barrage release time;
判断所述弹幕信息是否满足预设回放条件;Determining whether the barrage information satisfies a preset playback condition;
当所述弹幕信息满足预设回放条件时,确定与所述弹幕信息对应的目标回放视频;Determining a target playback video corresponding to the barrage information when the barrage information satisfies a preset playback condition;
将所述目标回放视频发送给所述至少一个客户端,以使所述客户端显示目标回放视频的画面。Sending the target playback video to the at least one client to cause the client to display a screen of the target playback video.
本发明的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present invention may include the following beneficial effects:
本发明实施例提供的该视频回看控制方法,通过获取直播过程中至少一个客户端发送的弹幕信息,然后对弹幕信息进行分析,判断弹幕信息是否满足预设回放条件,当弹幕信息满足预设回放条件,确定需要播放的目标回放视频,并且将目标回放视频发送给客户端进行显示,这样用户在客户端上观看直播视频的同时,还可以同时观看到回放视频。The video review control method provided by the embodiment of the present invention obtains the barrage information sent by at least one client in the live broadcast process, and then analyzes the barrage information to determine whether the barrage information satisfies the preset playback condition. The information satisfies the preset playback condition, determines the target playback video that needs to be played, and sends the target playback video to the client for display, so that the user can simultaneously watch the playback video while watching the live video on the client.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本发明。The above general description and the following detailed description are intended to be illustrative and not restrictive.
附图说明DRAWINGS
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。The accompanying drawings, which are incorporated in the specification of FIG
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below, and it will be apparent to those skilled in the art that In other words, other drawings can be obtained based on these drawings without paying for creative labor.
图1为本发明实施例提供的一种场景示意图;FIG. 1 is a schematic diagram of a scenario according to an embodiment of the present disclosure;
图2为本发明实施例提供一种视频回看控制方法的流程示意图;2 is a schematic flowchart of a video loopback control method according to an embodiment of the present invention;
图3为图1中步骤S102的一种流程示意图;3 is a schematic flow chart of step S102 in FIG. 1;
图4为图1中步骤S103的一种流程示意图;4 is a schematic flow chart of step S103 in FIG. 1;
图5为图1中步骤S103的另一种流程示意图;FIG. 5 is another schematic flowchart of step S103 in FIG. 1;
图6为图1中步骤S103的又一种流程示意图;6 is a schematic flow chart of still another step S103 of FIG. 1;
图7为本发明实施例提供的一种视频回看控制装置的结构示意图;FIG. 7 is a schematic structural diagram of a video loopback control apparatus according to an embodiment of the present invention;
图8为图7中回放判断模块的结构示意图;8 is a schematic structural diagram of a playback judging module in FIG. 7;
图9为图7中回放视频确定模块的一种结构示意图;9 is a schematic structural diagram of a playback video determining module in FIG. 7;
图10为图7中回放视频确定模块的另一种结构示意图; FIG. 10 is another schematic structural diagram of the playback video determining module of FIG. 7; FIG.
图11为图7中回放视频确定模块的又一种结构示意图。FIG. 11 is still another schematic structural diagram of the playback video determining module of FIG. 7.
具体实施方式detailed description
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. The following description refers to the same or similar elements in the different figures unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with aspects of the invention as detailed in the appended claims.
图1为本发明实施例提供的一种场景示意图,图1包括:服务器21和多个客户端,例如:客户端11和客户端12,客户端可以为带有显示屏的常见电子设备,例如:台式机、笔记本电脑、智能电视或平板电脑等,每个客户端均通过网络31与服务器21相连接,并且客户端和服务器21之间可以通过网络传输数据,网络31可以为有线网络,例如:光纤网络等,也可以为无线网络,例如:Wifi等。FIG. 1 is a schematic diagram of a scenario according to an embodiment of the present invention. FIG. 1 includes: a server 21 and a plurality of clients, such as a client 11 and a client 12. The client may be a common electronic device with a display, such as : a desktop computer, a notebook computer, a smart TV or a tablet computer, etc., each client is connected to the server 21 via the network 31, and the client and the server 21 can transmit data through the network, and the network 31 can be a wired network, for example : Optical network, etc., can also be a wireless network, such as Wifi.
当服务器21为视频直播服务器时,服务器21可以向客户端发送直播的视频数据,客户端可以在本地播放直播的视频。另外,为了提高用户的参与度,客户端还可以采集用户输入的弹幕信息,并且将弹幕信息通过网络发送给服务器21,然后服务器21将弹幕信息发送给每个客户端,以使得所有客户端播放视频时均可以显示不同客户端中采集到的弹幕信息。When the server 21 is a video live server, the server 21 may send live video data to the client, and the client may play the live video locally. In addition, in order to increase the user's participation, the client can also collect the barrage information input by the user, and send the barrage information to the server 21 through the network, and then the server 21 sends the barrage information to each client, so that all When the client plays the video, it can display the information of the barrage collected in different clients.
图2为本发明实施例提供一种视频回看控制方法的流程示意图。FIG. 2 is a schematic flowchart diagram of a video review control method according to an embodiment of the present invention.
在本发明实施例中,该方法可以应用于图1中服务器21中,如图2所示,该视频回看控制方法可以包括以下步骤。In the embodiment of the present invention, the method can be applied to the server 21 in FIG. 1. As shown in FIG. 2, the video review control method can include the following steps.
S101,获取直播过程中至少一个客户端发送的弹幕信息。S101. Obtain a barrage information sent by at least one client during a live broadcast.
在本发明实施例中,弹幕信息可以包括:弹幕内容和弹幕发布时间,其中,弹幕内容可以为用户在客户端中输入的用于对当前播放的视频进行评论的信息,弹幕内容可以包括:字符、图片和语音中的一种或多种,弹幕发布时间是指用户发布弹幕的时间,可以为系统时间,例如:客户端或服务器中的时间,也可以为视频播放时的时间,在本发明实施例中,为了使得弹幕内容和视频情节相匹配,弹幕发布时间选择为视频播放的时间。In the embodiment of the present invention, the barrage information may include: a barrage content and a barrage release time, wherein the barrage content may be information input by the user in the client for commenting on the currently played video, and the barrage The content may include one or more of characters, pictures, and voices. The time when the barrage is published refers to the time when the user releases the barrage, which may be the system time, for example, the time in the client or the server, or may be played for the video. In the embodiment of the present invention, in order to match the content of the barrage and the video plot, the barrage release time is selected as the time of the video play.
S102,判断所述弹幕信息是否满足预设回放条件。S102. Determine whether the barrage information meets a preset playback condition.
由于弹幕信息中的弹幕内容通常为用户对视频情节评论的内容,所以,当用户错过某一个镜头或者对某个镜头感兴趣时,往往会通过弹幕内容来抒发情绪,例如:对刚才播放过的镜头进行评论或感慨等,所以,可以通过对弹幕内 容进行分析来判断用户是否希望回看播放过的镜头。Since the content of the barrage in the barrage information is usually the content of the user's comment on the video plot, when the user misses a certain lens or is interested in a certain lens, the content of the barrage is often used to express emotions, for example: The played footage is commented or sentimental, etc., so it can be passed through the barrage The analysis is performed to determine if the user wishes to look back at the played shot.
在本发明实施例中,预设回放条件可以对弹幕内容中的特定词语、符号或图片等信息的统计,例如:可以通过统计弹幕内容中出现的“回看”二字的次数进行统计,当1分钟内超过50个,那么就可以认为满足预设回放条件。在具体应用中,预设回放条件,可以根据后台操控人员来进行设定,也可以根据用户选择的内容来设定。In the embodiment of the present invention, the preset playback condition may be used for statistics on specific words, symbols, or pictures in the content of the barrage, for example, statistics may be counted by counting the number of times of "looking back" appearing in the content of the barrage. When there are more than 50 in 1 minute, then it can be considered that the preset playback condition is satisfied. In a specific application, the preset playback conditions may be set according to the background controller, or may be set according to the content selected by the user.
当所述弹幕信息满足预设回放条件时,执行步骤S103;否则,返回步骤S101持续获取弹幕信息。When the barrage information satisfies the preset playback condition, step S103 is performed; otherwise, the process returns to step S101 to continuously acquire the barrage information.
S103,确定与所述弹幕信息对应的目标回放视频。S103. Determine a target playback video corresponding to the barrage information.
当在步骤S102中判断弹幕信息满足预设回放条件时,仅仅表示回放的条件被触发,但具体回放哪段视频,如何回放,均需要另行设定。When it is determined in step S102 that the barrage information satisfies the preset playback condition, only the condition indicating the playback is triggered, but the specific playback of the video and how to play back need to be separately set.
在本发明实施例中,可以通过对弹幕信息进行分析,进而来确定需要回放的目标回放视频,同样以步骤S102中的例子进行说明,在满足预设回放条件的弹幕信息中,可以找到第一条包含有“回放”二字的弹幕内容,然后将这第一条包含有“回放”二字的弹幕内容对应的弹幕发布时间作为回放起始时刻,然后将此回放时刻之后5分钟作为回放截止时刻,也即将这5分钟视频作为目标回放视频。In the embodiment of the present invention, the target playback video that needs to be played back can be determined by analyzing the information of the barrage, and is also described by the example in step S102. In the information of the barrage that meets the preset playback condition, the information can be found. The first one contains the content of the barrage with the word "playback", and then the first bar is the playback start time corresponding to the barrage content containing the word "playback", and then the playback time is followed. 5 minutes as the playback cut-off time, and also the 5 minute video as the target playback video.
S104,将所述目标回放视频发送给所述至少一个客户端。S104. Send the target playback video to the at least one client.
当确定出目标回放视频后,服务器21可以直接将该目标回放视频发送给客户端,以使所述客户端显示目标回放视频的画面。After determining the target playback video, the server 21 may directly send the target playback video to the client, so that the client displays the screen of the target playback video.
在本发明实施例中,步骤S104可以采用以下方式:In the embodiment of the present invention, step S104 may adopt the following manner:
将所述目标回放视频的画面以画中画的方式叠加到所述直播视频的画面中,将叠加后的视频发送给所述至少一个客户端进行播放。And uploading the superimposed video to the at least one client for playing.
这样客户端在播放时,也是将回放视频以画中画的形式进行展示。In this way, when the client is playing, the playback video is also displayed in the form of picture-in-picture.
此外,步骤S104中,还可以将所述目标回放视频的画面和所述直播视频的画面相互独立地发送给所述至少一个客户端进行播放,这样,当客户端收到独立的两个视频画面时,客户端可以选择将两个视频画面分屏显示,并且还可以点击某回放视频画面进行放大,单独观看回放视频。In addition, in step S104, the screen of the target playback video and the screen of the live video may be sent to the at least one client independently for playing, so that when the client receives two independent video images When the client can choose to split the two video screens by screen, and also click on a certain playback video screen to zoom in and watch the playback video separately.
上述对步骤S104的举例,仅仅是起到说明作用,不应对本发明构成限制。The above-described example of step S104 is merely illustrative and should not be construed as limiting the invention.
在具体应用中,在发送目标回放视频时,可以向观看直播的所有客户端进行发送,即全局发送。另外,还可以增加一些条件,例如:可以只向特定智能电视进行发送,或者,只向具有会员权限的用户进行发送。In a specific application, when the target playback video is sent, it can be sent to all clients watching the live broadcast, that is, globally. In addition, some conditions can be added, for example, it can be sent only to a specific smart TV, or only to users with member rights.
本发明实施例提供的该视频回看控制方法,通过获取直播过程中至少一个 客户端发送的弹幕信息,然后对弹幕信息进行分析,判断弹幕信息是否满足预设回放条件,当弹幕信息满足预设回放条件,确定需要播放的目标回放视频,并且将目标回放视频发送给客户端进行显示,这样用户在客户端上观看直播视频的同时,还可以同时观看到回放视频。The video review control method provided by the embodiment of the present invention obtains at least one of the live broadcast processes The barrage information sent by the client, and then analyzes the barrage information to determine whether the barrage information satisfies the preset playback condition. When the barrage information satisfies the preset playback condition, the target playback video to be played is determined, and the target playback video is played. Send it to the client for display, so that the user can watch the live video at the same time while watching the live video on the client.
该方法在视频直播的过程中,可以根据用户输入的弹幕信息,自动和预设回放条件进行匹配,一旦确定弹幕信息满足预设回放条件,就可以自动确定目标回放视频,并且在向客户端直播视频的同时向客户端发送目标回放视频,整个回放视频的播放过程,无需用户的单独进行回放控制,也无需后台操作人员的任何回放控制。The method can automatically match the preset playback conditions according to the barrage information input by the user during the live broadcast of the video. Once the barrage information is determined to meet the preset playback conditions, the target playback video can be automatically determined and presented to the client. The live playback video transmits the target playback video to the client at the same time, and the playback process of the entire playback video does not require the user to perform separate playback control, and does not require any playback control of the background operator.
另外,由于用户输入的弹幕内容是用户对直播视频情节的评论,所以利用弹幕内容来控制回放,还可以使得对精彩瞬间的回放准确性提高。此外,当用户了解该功能后,会更加愿意参与到弹幕互动中,还可以提高用户使用弹幕进行交流的积极性。In addition, since the user-entered barrage content is a user's comment on the live video episode, the use of the barrage content to control the playback can also improve the playback accuracy of the highlight moment. In addition, when users understand the function, they will be more willing to participate in the barrage interaction, and can also improve the user's enthusiasm for using the barrage to communicate.
在本发明另一实施例中,如图3所示,图1中所示的步骤S102可以包括以下步骤。In another embodiment of the present invention, as shown in FIG. 3, step S102 shown in FIG. 1 may include the following steps.
S201,判断所述弹幕信息中的弹幕内容是否包含有预设词语;S201: Determine whether the content of the barrage in the barrage information includes a preset word;
当用户错过精彩瞬间时,往往会输入“太赞了”,“太精彩了”,或者,“很可惜,还想再仔细看下”等评论,所以,在本发明实施例中,预设词语可以为特定的文字,例如:可以“回看”、“回播”、“精彩”、“可惜”、“赞”中的一种或多种组合,当然,在其它实施例中,预设词语还可以根据用户观看视频时的习惯进行分析得到,以使得预设词语的选择更加精确。When the user misses the exciting moment, he or she often enters "too good", "too wonderful", or "pity, but also wants to look at it again" and other comments, so in the embodiment of the present invention, the preset words It can be a specific text, for example, one or more combinations of "review", "replay", "exciting", "pity", "like", of course, in other embodiments, preset words It can also be analyzed according to the habits of the user when watching the video, so that the selection of the preset words is more accurate.
在本发明实施例中,S201可以包括如下步骤:In the embodiment of the present invention, S201 may include the following steps:
S1:对所述弹幕信息中的弹幕内容进行识别,得到识别结果;S1: Identifying the content of the barrage in the barrage information to obtain a recognition result;
当弹幕内容为文本时,利用对文本识别等方式进行识别,当弹幕内容为图片时,可以利用对图像识别等方式进行识别。When the content of the barrage is text, it is identified by means of text recognition, etc., and when the content of the barrage is a picture, it can be identified by means of image recognition or the like.
S2:判断所述识别结果中是否存在和所述预测词语相匹配的词语;S2: determining whether there is a word matching the predicted word in the recognition result;
当预设词语只有一个时,相匹配可以指是否完全相同,即匹配度为100%;当预设词语有多个时,相匹配还可以是指识别结果词语数量超过预设数量,即匹配度可以小于100%,例如:80%以上等;When there is only one preset word, the matching may refer to whether it is completely the same, that is, the matching degree is 100%; when there are multiple preset words, the matching may also mean that the number of recognized result words exceeds the preset quantity, that is, the matching degree Can be less than 100%, for example: 80% or more, etc.;
S3:当所述识别结果中存在和所述预测词语相匹配的词语,确定所述弹幕内容中包含有预设词语。S3: When there is a word matching the predicted word in the recognition result, determining that the barrage content includes a preset word.
当所述弹幕内容中包含有预设词语时,执行步骤S202;否则,结束流程。 When the preset content is included in the content of the barrage, step S202 is performed; otherwise, the process is ended.
S202,根据所述弹幕发布时间统计预设时间间隔内所有包含预设词语的弹幕内容的条数。S202. Count the number of the contents of the barrage content including the preset words in the preset time interval according to the barrage release time.
通常情况下,不会针对某一个用户的一个评论而进行全局回放或向某一部分用户进行回放,而且根据多个用户的反馈来决定是否进行回放。而反应是否需要回放,一个很重要的条件,就是短时间内多个用户同时具有该需求,即需求密度,因此,在该步骤中,可以统计预设时间间隔内容所有包含预设词语的弹幕内容的条数,作为一个判断的依据。Normally, global playback or playback to a certain part of the user is not performed for one user's comments, and whether or not playback is performed based on feedback from multiple users. Whether the reaction needs to be played back or not, a very important condition is that a plurality of users have the demand at the same time in a short time, that is, the demand density. Therefore, in this step, all the preset time intervals can be counted as the barrage containing the preset words. The number of contents is used as a basis for judgment.
S203,判断所述统计得到的条数是否超过预设条数阈值。S203. Determine whether the number of the statistics obtained exceeds a preset threshold.
预设条数阈值可以根据实际应用中采集的样本来自由设定。The preset number of thresholds can be set according to the samples collected in the actual application.
当所述统计得到的条数超过预设条数阈值时,执行步骤S204;否则,结束流程。When the number of the statistics obtained exceeds the preset number threshold, step S204 is performed; otherwise, the process ends.
S204,确定所述弹幕信息满足预设回放条件。S204. Determine that the barrage information meets a preset playback condition.
例如:在视频播放的任意1分钟内,判断是否出现“赞”字的评论超过50次,如果出现,表示用户认为这三分钟内的视频非常精彩,进而确定这三分钟的视频有可能需要回放一下。For example, in any one minute of video playback, it is judged whether there is more than 50 comments of "like" word. If it appears, it means that the user thinks that the video within three minutes is very exciting, and then it is determined that the three-minute video may need to be played back. a bit.
本发明实施例提供的该方法,通过对弹幕信息中的弹幕内容中出现的词语以及弹幕内容出现的密度等进行分析,进而可以准确确定出是否需要进行视频回放,利用这种方式,可以提高视频回放的精度,使得用户在对精彩情节进行评价后,可以快速及时欣赏到回放视频。The method provided by the embodiment of the present invention can accurately determine whether video playback is required by analyzing the words appearing in the content of the barrage in the barrage information and the density of the content of the barrage content. The accuracy of video playback can be improved, so that the user can quickly and timely enjoy the playback video after evaluating the wonderful story.
在本发明另一实施例中,如图4所示,前述图2中的步骤S103可以包括以下步骤。In another embodiment of the present invention, as shown in FIG. 4, the foregoing step S103 in FIG. 2 may include the following steps.
S301,按照时间顺序,从超过预设条数阈值的所有统计条数中提取第一条弹幕信息。S301. Extract the first barrage information from all the statistics of the preset number of thresholds in chronological order.
每个弹幕信息都有对应的弹幕发布时间,通过对弹幕发布时间的比较,就可以找到第一条弹幕信息。Each barrage information has a corresponding barrage release time. By comparing the barrage release time, the first barrage information can be found.
S302,将所述第一条弹幕信息对应的弹幕发布时间确定为回放起始时刻。S302. Determine a barrage release time corresponding to the first barrage information as a playback start time.
同样以图3中所示实施例中提及的案例为例,当视频播放的1分钟中,“赞”字的评论超过50次时,就认为满足预设回放条件,也就是说这1分钟视频比较精彩,那么在本发明实施例中,可以将第一个包含“赞”字的弹幕内容提取出来,并且将这第一个包含“赞”字弹幕内容对应的弹幕发布时间确定为回放起始时刻。Taking the case mentioned in the embodiment shown in FIG. 3 as an example, when the comment of the word "Like" exceeds 50 times in one minute of video playback, it is considered that the preset playback condition is satisfied, that is, the one minute. The video is more exciting, then in the embodiment of the present invention, the first content of the barrage containing the word "Like" can be extracted, and the first release time of the barrage corresponding to the content of the "Lan" word barrage can be determined. For the playback start time.
S303,将所述回放起始时刻之后的第一预设时间段内的视频确定为所述目 标回放视频。S303. Determine, in the first preset time period after the playback start time, the video as the target. Standard playback video.
通常情况下回放视频不会是很长的视频,所以,在确定出回放起始时刻后,还可以统一将回放起始时刻后第一预设时间段内的视频确定为要回放的视频,第一预设时间段可以为1分钟、2分钟等。Normally, the playback video will not be a long video. Therefore, after determining the playback start time, the video in the first preset time period after the playback start time can be uniformly determined as the video to be played back. A preset time period can be 1 minute, 2 minutes, and the like.
本发明实施例提供的该方法,将满足预设回放条件的弹幕信息中第一条弹幕信息作为回放视频的回放起始时刻,并且以该时刻之后第一预设时间段内容的视频作为目标回放视频,虽然第一预设时间段的设置可能超过精彩镜头,但由于起始时刻准确,所以可以最大化保证回放视频的完整性,避免用户通过回看仍然错过精彩镜头的问题。The method provided by the embodiment of the present invention uses the first barr information in the barrage information that satisfies the preset playback condition as the playback start time of the playback video, and uses the video of the content of the first preset time period after the time as The target playback video, although the setting of the first preset time period may exceed the wonderful lens, since the starting time is accurate, the integrity of the playback video can be maximized, and the problem that the user still misses the wonderful lens by looking back can be avoided.
在本发明另一实施例中,如图5所示,前述图2中的步骤S103可以包括以下步骤。In another embodiment of the present invention, as shown in FIG. 5, the foregoing step S103 in FIG. 2 may include the following steps.
S401,按照时间顺序,从超过预设条数阈值的所有统计条数中提取最后一条弹幕信息。S401. Extract the last barrage information from all the statistics of the preset number of thresholds in chronological order.
每个弹幕信息都有对应的弹幕发布时间,通过对弹幕发布时间的比较,就可以找到最后一条弹幕信息。Each barrage information has a corresponding barrage release time. By comparing the barrage release time, the last barrage information can be found.
S402:将所述最后一条弹幕信息对应的弹幕发布时间确定为回放截止时刻;S402: Determine a barrage release time corresponding to the last barr information as a playback cutoff time;
同样以图3中所示实施例中提及的案例为例,当视频播放的1分钟中,“赞”字的评论超过50次时,就认为满足预设回放条件,也就是说这1分钟视频比较精彩,那么在本发明实施例中,可以将最后一个包含“赞”字的弹幕内容提取出来,并且将这最后一个包含“赞”字弹幕内容对应的弹幕发布时间确定为回放截止时刻。Taking the case mentioned in the embodiment shown in FIG. 3 as an example, when the comment of the word "Like" exceeds 50 times in one minute of video playback, it is considered that the preset playback condition is satisfied, that is, the one minute. The video is more exciting, then in the embodiment of the present invention, the last content of the barrage containing the word "Like" can be extracted, and the last release time of the barrage corresponding to the content of the "Lan" word barrage is determined as playback. Deadline.
S403:将所述回放截止时刻之前的第二预设时间段内的视频确定为所述目标回放视频。S403: Determine a video in the second preset time period before the playback cutoff time as the target playback video.
通常情况下回放视频不会是很长的视频,所以,在确定出回放截止时刻后,还可以统一将回放截止时刻后第二预设时间段内的视频确定为要回放的视频,第二预设时间段可以为1分钟、2分钟等。Normally, the playback video will not be a long video. Therefore, after determining the playback cut-off time, the video in the second preset time period after the playback cut-off time can be uniformly determined as the video to be played back. The time period can be 1 minute, 2 minutes, and the like.
本发明实施例提供的该方法,将满足预设回放条件的弹幕信息中最后一条弹幕信息作为回放视频的回放截止时刻,并且以该时刻之前第二预设时间段内容的视频作为目标回放视频,虽然第二预设时间段的设置可能超过精彩镜头,但由于截止时刻准确,所以可以最大化保证回放视频的完整性,避免用户通过回看仍然错过精彩镜头的问题。 According to the method provided by the embodiment of the present invention, the last barr information in the barrage information that satisfies the preset playback condition is used as the playback cutoff time of the playback video, and the video of the content of the second preset time period before the time is used as the target playback. Video, although the setting of the second preset time period may exceed the wonderful shot, since the deadline is accurate, the integrity of the playback video can be maximized, and the problem that the user still misses the wonderful shot by looking back can be avoided.
在本发明另一实施例中,如图6所示,前述图2中的步骤S103可以包括以下步骤。In another embodiment of the present invention, as shown in FIG. 6, the foregoing step S103 in FIG. 2 may include the following steps.
S501,按照时间顺序,从超过预设条数阈值的所有统计条数中提取第一条弹幕信息和最后一条弹幕信息;S501: Extract, according to a chronological order, the first barr information and the last barrage information from all the statistics of the preset number of thresholds;
S502,将所述第一条弹幕信息对应的弹幕发布时间确定为回放起始时刻;S502, determining a barrage release time corresponding to the first barrage information as a playback start time;
S503,将所述最后一条弹幕信息对应的弹幕发布时间确定为回放截止时刻;S503, determining a barrage release time corresponding to the last barr information as a playback cutoff time;
S504,将所述回放起始时刻和回放截止时刻之间的视频确定为所述目标回放视频。S504. Determine a video between the playback start time and the playback cutoff time as the target playback video.
本发明实施例提供的该方法,将第一条弹幕信息和最后一条弹幕信息之间的视频确定为目标回放视频,使得回放视频完全和弹幕信息进行吻合,提高了回放的准确性。The method provided by the embodiment of the invention determines the video between the first barrage information and the last barrage information as the target playback video, so that the playback video is completely matched with the barrage information, thereby improving the accuracy of the playback.
图7为本发明实施例提供的一种视频回看控制装置的结构示意图。如图7所示,该装置可以包括:FIG. 7 is a schematic structural diagram of a video loopback control apparatus according to an embodiment of the present invention. As shown in Figure 7, the apparatus can include:
弹幕信息获取模块71,用于获取直播过程中至少一个客户端发送的弹幕信息,所述弹幕信息包括:弹幕内容和弹幕发布时间;The barrage information obtaining module 71 is configured to obtain the barrage information sent by at least one client during the live broadcast process, where the barrage information includes: a barrage content and a barrage release time;
回放判断模块72,用于判断所述弹幕信息是否满足预设回放条件;The playback determining module 72 is configured to determine whether the barrage information meets a preset playback condition;
回放视频确定模块73,用于当所述弹幕信息满足预设回放条件时,确定与所述弹幕信息对应的目标回放视频;The playback video determining module 73 is configured to determine a target playback video corresponding to the barrage information when the barrage information satisfies a preset playback condition;
视频发送模块74,用于将所述目标回放视频发送给所述至少一个客户端。The video sending module 74 is configured to send the target playback video to the at least one client.
在本发明一实施例中,视频发送模块74,包括:In an embodiment of the invention, the video sending module 74 includes:
叠加子模块,用于将所述目标回放视频的画面以画中画的方式叠加到所述直播视频的画面中;An overlay sub-module, configured to superimpose a picture of the target playback video into a picture of the live video in a picture-in-picture manner;
第一视频发送子模块,用于将叠加后的视频发送给所述至少一个客户端进行播放;a first video sending submodule, configured to send the superimposed video to the at least one client for playing;
在本发明另一实施例中,视频发送模块74,包括:In another embodiment of the present invention, the video sending module 74 includes:
第二视频发送子模块,用于将所述目标回放视频的画面和所述直播视频的画面相互独立地发送给所述至少一个客户端进行播放。And a second video sending submodule, configured to send the picture of the target playback video and the picture of the live video to the at least one client independently for playing.
本发明实施例提供的该视频回看控制装置,通过获取直播过程中至少一个客户端发送的弹幕信息,然后对弹幕信息进行分析,判断弹幕信息是否满足预设回放条件,当弹幕信息满足预设回放条件,确定需要播放的目标回放视频, 并且将目标回放视频发送给客户端进行显示,这样用户在客户端上观看直播视频的同时,还可以同时观看到回放视频。The video review control device provided by the embodiment of the present invention obtains the barrage information sent by at least one client in the live broadcast process, and then analyzes the barrage information to determine whether the barrage information satisfies the preset playback condition, and The information satisfies the preset playback conditions, and determines the target playback video that needs to be played. And the target playback video is sent to the client for display, so that when the user watches the live video on the client, the playback video can also be viewed at the same time.
该装置在视频直播的过程中,可以根据用户输入的弹幕信息,自动和预设回放条件进行匹配,一旦确定弹幕信息满足预设回放条件,就可以自动确定目标回放视频,并且在向客户端直播视频的同时向客户端发送目标回放视频,整个回放视频的播放过程,无需用户的单独进行回放控制,也无需后台操作人员的任何回放控制。During the live broadcast of the video, the device can automatically match the preset playback conditions according to the barrage information input by the user. Once the barrage information is determined to meet the preset playback conditions, the target playback video can be automatically determined and presented to the client. The live playback video transmits the target playback video to the client at the same time, and the playback process of the entire playback video does not require the user to perform separate playback control, and does not require any playback control of the background operator.
另外,由于用户输入的弹幕内容是用户对直播视频情节的评论,所以利用弹幕内容来控制回放,还可以使得对精彩瞬间的回放准确性提高。此外,当用户了解该功能后,会更加愿意参与到弹幕互动中,还可以提高用户使用弹幕进行交流的积极性。In addition, since the user-entered barrage content is a user's comment on the live video episode, the use of the barrage content to control the playback can also improve the playback accuracy of the highlight moment. In addition, when users understand the function, they will be more willing to participate in the barrage interaction, and can also improve the user's enthusiasm for using the barrage to communicate.
图8为图7中回放判断模块的结构示意图,在本发明一实施例中,如图8所示,回放判断模块72,包括:FIG. 8 is a schematic structural diagram of the playback judging module of FIG. 7. In an embodiment of the present invention, as shown in FIG. 8, the playback judging module 72 includes:
词语判断子模块81,用于判断所述弹幕信息中的弹幕内容是否包含有预设词语;The word judging sub-module 81 is configured to determine whether the barrage content in the barrage information includes a preset word;
在本发明实施例中,词语判断模块81,包括:In the embodiment of the present invention, the word determining module 81 includes:
内容识别子模块,用于对所述弹幕信息中的弹幕内容进行识别,得到识别结果;a content identification sub-module, configured to identify the content of the barrage in the barrage information, and obtain a recognition result;
匹配判断子模块,用于判读所述识别结果中是否存在和所述预测词语相匹配的词语;a matching judgment sub-module, configured to determine whether there is a word matching the predicted word in the recognition result;
词语确定子模块,用于当所述识别结果中存在和所述预测词语相匹配的词语,确定所述弹幕内容中包含有预设词语。a word determining sub-module, configured to: when there is a word matching the predicted word in the recognition result, determining that the barrage content includes a preset word.
统计子模块82,用于当所述弹幕内容中包含有预设词语时,根据所述弹幕发布时间统计预设时间间隔内所有包含预设词语的弹幕内容的条数;The statistics sub-module 82 is configured to: when the preset content words are included in the content of the barrage, count the number of the barrage contents including the preset words in the preset time interval according to the barrage release time;
阈值判断子模块83,用于判断所述统计得到的条数是否超过预设条数阈值;The threshold judging sub-module 83 is configured to determine whether the number of the statistics obtained exceeds a preset threshold;
回放确定子模块84,用于当所述统计得到的条数超过预设条数阈值时,确定所述弹幕信息满足预设回放条件。The playback determination sub-module 84 is configured to determine that the barrage information meets a preset playback condition when the number of the statistics obtained exceeds a preset number of thresholds.
图9为图7中回放视频确定模块的结构示意图,在本发明一实施例中,如图9所示,回放视频确定模块73,包括:FIG. 9 is a schematic structural diagram of the playback video determining module of FIG. 7. In an embodiment of the present invention, as shown in FIG. 9, the playback video determining module 73 includes:
第一提取子模块91,用于按照时间顺序,从超过预设条数阈值的所有统计条数中提取第一条弹幕信息;The first extraction sub-module 91 is configured to extract, according to a chronological order, the first barrage information from all the statistics of the preset number of thresholds;
起始时刻确定子模块92,用于将所述第一条弹幕信息对应的弹幕发布时间 确定为回放起始时刻;a start time determining sub-module 92, configured to release a time of the first barrage information corresponding to the barrage Determined as the playback start time;
第一确定子模块93,用于将所述回放起始时刻之后的第一预设时间段内的视频确定为所述目标回放视频。The first determining sub-module 93 is configured to determine a video in the first preset time period after the playback start time as the target playback video.
图10为图7中回放视频确定模块的结构示意图,在本发明一实施例中,如图10所示,回放视频确定模块73,包括:FIG. 10 is a schematic structural diagram of the playback video determining module of FIG. 7. In an embodiment of the present invention, as shown in FIG. 10, the playback video determining module 73 includes:
第二提取子模块101,用于按照时间顺序,从超过预设条数阈值的所有统计条数中提取最后一条弹幕信息;The second extraction sub-module 101 is configured to extract, according to a chronological order, the last barr information from all the statistics of the preset number of thresholds;
截止时刻确定子模块102,用于将所述最后一条弹幕信息对应的弹幕发布时间确定为回放截止时刻;a deadline determining sub-module 102, configured to determine a barrage publishing time corresponding to the last barr information as a playback cut-off time;
第二确定子模块103,将所述回放截止时刻之前的第二预设时间段内的视频确定为所述目标回放视频。The second determining sub-module 103 determines the video in the second preset time period before the playback cut-off time as the target playback video.
图11为图7中回放视频确定模块的结构示意图,在本发明一实施例中,如图11所示,回放视频确定模块73,包括:FIG. 11 is a schematic structural diagram of the playback video determining module of FIG. 7. In an embodiment of the present invention, as shown in FIG. 11, the playback video determining module 73 includes:
第三提取子模块111,用于按照时间顺序,从超过预设条数阈值的所有统计条数中提取第一条弹幕信息和最后一条弹幕信息;The third extraction sub-module 111 is configured to extract, according to a chronological order, the first barr information and the last barrage information from all the statistics of the preset number of thresholds;
起始时刻确定子模块112,用于将所述第一条弹幕信息对应的弹幕发布时间确定为回放起始时刻;a start time determining sub-module 112, configured to determine a barrage publishing time corresponding to the first barrage information as a playback start time;
截止时刻确定子模块113,用于将所述最后一条弹幕信息对应的弹幕发布时间确定为回放截止时刻;The deadline determining sub-module 113 is configured to determine a barrage publishing time corresponding to the last barr information as a playback cut-off time;
第三确定子模块114,用于将所述回放起始时刻和回放截止时刻之间的视频确定为所述目标回放视频。The third determining sub-module 114 is configured to determine a video between the playback start time and the playback cut-off time as the target playback video.
本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时可实现本发明实施例所提供的一种视频回看控制方法的各实现方式中的部分或全部步骤。The embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium can store a program, and when the program is executed, the part of each implementation manner of the video review control method provided by the embodiment of the present invention can be implemented. Or all steps.
本发明实施例还提供一种视频回看控制装置,包括:The embodiment of the invention further provides a video review control device, including:
处理器;processor;
用于存储处理器可执行指令的存储器;a memory for storing processor executable instructions;
其中,所述处理器被配置为:Wherein the processor is configured to:
获取直播过程中至少一个客户端发送的弹幕信息,所述弹幕信息包括:弹幕内容和弹幕发布时间;Obtaining the barrage information sent by at least one client during the live broadcast process, where the barrage information includes: a barrage content and a barrage release time;
判断所述弹幕信息是否满足预设回放条件; Determining whether the barrage information satisfies a preset playback condition;
当所述弹幕信息满足预设回放条件时,确定与所述弹幕信息对应的目标回放视频;Determining a target playback video corresponding to the barrage information when the barrage information satisfies a preset playback condition;
将所述目标回放视频发送给所述至少一个客户端,以使所述客户端显示目标回放视频的画面。Sending the target playback video to the at least one client to cause the client to display a screen of the target playback video.
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this context, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these There is any such actual relationship or order between entities or operations. Furthermore, the term "comprises" or "comprises" or "comprises" or any other variations thereof is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device that comprises a plurality of elements includes not only those elements but also Other elements, or elements that are inherent to such a process, method, item, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
以上所述仅是本发明的具体实施方式,使本领域技术人员能够理解或实现本发明。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。 The above is only the specific embodiments of the present invention, and those skilled in the art can understand or implement the present invention. Various modifications to these embodiments are obvious to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention is not to be limited to the embodiments shown herein, but the scope of the invention is to be accorded

Claims (14)

  1. 一种视频回看控制方法,其特征在于,包括:A video review control method, comprising:
    获取直播过程中至少一个客户端发送的弹幕信息,所述弹幕信息包括:弹幕内容和弹幕发布时间;Obtaining the barrage information sent by at least one client during the live broadcast process, where the barrage information includes: a barrage content and a barrage release time;
    判断所述弹幕信息是否满足预设回放条件;Determining whether the barrage information satisfies a preset playback condition;
    当所述弹幕信息满足预设回放条件时,确定与所述弹幕信息对应的目标回放视频;Determining a target playback video corresponding to the barrage information when the barrage information satisfies a preset playback condition;
    将所述目标回放视频发送给所述至少一个客户端,以使所述客户端显示目标回放视频的画面。Sending the target playback video to the at least one client to cause the client to display a screen of the target playback video.
  2. 根据权利要求1所述的方法,其特征在于,所述判断所述弹幕信息是否满足预设回放条件,包括:The method according to claim 1, wherein the determining whether the barrage information satisfies a preset playback condition comprises:
    判断所述弹幕信息中的弹幕内容是否包含有预设词语;Determining whether the content of the barrage in the barrage information contains a preset word;
    当所述弹幕内容中包含有预设词语时,根据所述弹幕发布时间统计预设时间间隔内所有包含预设词语的弹幕内容的条数;When the preset content is included in the content of the barrage, the number of the barrage contents including the preset words in the preset time interval is counted according to the barrage release time;
    判断所述统计得到的条数是否超过预设条数阈值;Determining whether the number of the obtained statistics exceeds a preset threshold;
    当所述统计得到的条数超过预设条数阈值时,确定所述弹幕信息满足预设回放条件。When the number of the statistics obtained exceeds the preset number of thresholds, it is determined that the barrage information satisfies a preset playback condition.
  3. 根据权利要求2所述的方法,其特征在于,所述判断所述弹幕信息中的弹幕内容是否包含有预设词语,包括:The method according to claim 2, wherein the determining whether the barrage content in the barrage information contains preset words comprises:
    对所述弹幕信息中的弹幕内容进行识别,得到识别结果;Identifying the content of the barrage in the barrage information to obtain a recognition result;
    判读所述识别结果中是否存在和所述预测词语相匹配的词语;Determining, in the recognition result, whether there is a word matching the predicted word;
    当所述识别结果中存在和所述预测词语相匹配的词语,确定所述弹幕内容中包含有预设词语。When there is a word matching the predicted word in the recognition result, it is determined that the barrage content includes a preset word.
  4. 根据权利要求1所述的方法,其特征在于,所述确定与所述弹幕信息对应的目标回放视频,包括:The method according to claim 1, wherein the determining a target playback video corresponding to the barrage information comprises:
    按照时间顺序,从超过预设条数阈值的所有统计条数中提取第一条弹幕信息;Extracting the first barrage information from all the statistics of the preset number of thresholds in chronological order;
    将所述第一条弹幕信息对应的弹幕发布时间确定为回放起始时刻;Determining, according to the first barrage information, a barrage release time as a playback start time;
    将所述回放起始时刻之后的第一预设时间段内的视频确定为所述目标回放视频。Determining the video within the first preset time period after the playback start time as the target playback video.
  5. 根据权利要求1所述的方法,其特征在于,确定与所述弹幕信息对应的目标回放视频,包括: The method according to claim 1, wherein determining a target playback video corresponding to the barrage information comprises:
    按照时间顺序,从超过预设条数阈值的所有统计条数中提取最后一条弹幕信息;Extracting the last barrage information from all the statistics of the preset number of thresholds in chronological order;
    将所述最后一条弹幕信息对应的弹幕发布时间确定为回放截止时刻;Determining the barrage release time corresponding to the last barr information as a playback cutoff time;
    将所述回放截止时刻之前的第二预设时间段内的视频确定为所述目标回放视频。Determining the video in the second preset time period before the playback cutoff time as the target playback video.
  6. 根据权利要求1所述的方法,其特征在于,所述确定与所述弹幕信息对应的目标回放视频,包括:The method according to claim 1, wherein the determining a target playback video corresponding to the barrage information comprises:
    按照时间顺序,从超过预设条数阈值的所有统计条数中提取第一条弹幕信息和最后一条弹幕信息;Extracting the first barr information and the last barrage information from all the statistics of the preset number of thresholds in chronological order;
    将所述第一条弹幕信息对应的弹幕发布时间确定为回放起始时刻;Determining, according to the first barrage information, a barrage release time as a playback start time;
    将所述最后一条弹幕信息对应的弹幕发布时间确定为回放截止时刻;Determining the barrage release time corresponding to the last barr information as a playback cutoff time;
    将所述回放起始时刻和回放截止时刻之间的视频确定为所述目标回放视频。A video between the playback start time and the playback cutoff time is determined as the target playback video.
  7. 根据权利要求1所述的方法,其特征在于,所述将所述目标回放视频发送给所述至少一个客户端,包括:The method of claim 1, wherein the transmitting the target playback video to the at least one client comprises:
    将所述目标回放视频的画面以画中画的方式叠加到所述直播视频的画面中,将叠加后的视频发送给所述至少一个客户端进行播放;And superimposing the screen of the target playback video into the picture of the live video in a picture-in-picture manner, and transmitting the superimposed video to the at least one client for playing;
    或者,or,
    将所述目标回放视频的画面和所述直播视频的画面相互独立地发送给所述至少一个客户端进行播放。And transmitting the picture of the target playback video and the picture of the live video to the at least one client independently for playing.
  8. 一种视频回看控制装置,其特征在于,包括:A video lookback control device, comprising:
    弹幕信息获取模块,用于获取直播过程中至少一个客户端发送的弹幕信息,所述弹幕信息包括:弹幕内容和弹幕发布时间;The barrage information obtaining module is configured to obtain the barrage information sent by at least one client during the live broadcast process, where the barrage information includes: a barrage content and a barrage release time;
    回放判断模块,用于判断所述弹幕信息是否满足预设回放条件;a playback judging module, configured to determine whether the barrage information meets a preset playback condition;
    回放视频确定模块,用于当所述弹幕信息满足预设回放条件时,确定与所述弹幕信息对应的目标回放视频;a playback video determining module, configured to determine a target playback video corresponding to the barrage information when the barrage information satisfies a preset playback condition;
    视频发送模块,用于将所述目标回放视频发送给所述至少一个客户端,以使所述客户端显示目标回放视频的画面。And a video sending module, configured to send the target playback video to the at least one client, so that the client displays a screen of the target playback video.
  9. 根据权利要求8所述的装置,其特征在于,所述回放判断模块,包括:The device according to claim 8, wherein the playback determination module comprises:
    词语判断子模块,用于判断所述弹幕信息中的弹幕内容是否包含有预设词语;a word judging sub-module, configured to determine whether the barrage content in the barrage information includes a preset word;
    统计子模块,用于当所述弹幕内容中包含有预设词语时,根据所述弹幕发 布时间统计预设时间间隔内所有包含预设词语的弹幕内容的条数;a statistical sub-module, configured to send a preset word according to the barrage when the content of the barrage includes a preset word The cloth time counts the number of barrage contents containing preset words in the preset time interval;
    阈值判断子模块,用于判断所述统计得到的条数是否超过预设条数阈值;a threshold determining sub-module, configured to determine whether the number of the statistics obtained exceeds a preset threshold;
    回放确定子模块,用于当所述统计得到的条数超过预设条数阈值时,确定所述弹幕信息满足预设回放条件。The playback determination sub-module is configured to determine that the barrage information meets a preset playback condition when the number of the statistics obtained exceeds a preset number of thresholds.
  10. 根据权利要求9所述的装置,其特征在于,所述词语判断模块,包括:The device according to claim 9, wherein the word determination module comprises:
    内容识别子模块,用于对所述弹幕信息中的弹幕内容进行识别,得到识别结果;a content identification sub-module, configured to identify the content of the barrage in the barrage information, and obtain a recognition result;
    匹配判断子模块,用于判读所述识别结果中是否存在和所述预测词语相匹配的词语;a matching judgment sub-module, configured to determine whether there is a word matching the predicted word in the recognition result;
    词语确定子模块,用于当所述识别结果中存在和所述预测词语相匹配的词语,确定所述弹幕内容中包含有预设词语。a word determining sub-module, configured to: when there is a word matching the predicted word in the recognition result, determining that the barrage content includes a preset word.
  11. 根据权利要求8所述的装置,其特征在于,所述回放视频确定模块,包括:The device according to claim 8, wherein the playback video determining module comprises:
    第一提取子模块,用于按照时间顺序,从超过预设条数阈值的所有统计条数中提取第一条弹幕信息;a first extraction sub-module, configured to extract, according to a chronological order, the first barrage information from all the statistics of the preset number of thresholds;
    起始时刻确定子模块,用于将所述第一条弹幕信息对应的弹幕发布时间确定为回放起始时刻;a start time determining submodule, configured to determine a barrage release time corresponding to the first barrage information as a playback start time;
    第一确定子模块,用于将所述回放起始时刻之后的第一预设时间段内的视频确定为所述目标回放视频。And a first determining submodule, configured to determine, in the first preset time period after the playback start time, the video as the target playback video.
  12. 根据权利要求8所述的装置,其特征在于,所述目标回放视频确定模块,包括:The apparatus according to claim 8, wherein the target playback video determining module comprises:
    第二提取子模块,用于按照时间顺序,从超过预设条数阈值的所有统计条数中提取最后一条弹幕信息;a second extraction sub-module, configured to extract, according to a chronological order, the last barrage information from all the statistics of the preset number of thresholds;
    截止时刻确定子模块,用于将所述最后一条弹幕信息对应的弹幕发布时间确定为回放截止时刻;a deadline determining sub-module, configured to determine a barrage release time corresponding to the last barr information as a playback cut-off time;
    第二确定子模块,将所述回放截止时刻之前的第二预设时间段内的视频确定为所述目标回放视频。And a second determining submodule, determining, in the second preset time period before the playback cutoff time, the video as the target playback video.
  13. 根据权利要求8所述的装置,其特征在于,所述目标回放视频确定模块,包括:The apparatus according to claim 8, wherein the target playback video determining module comprises:
    第三提取子模块,用于按照时间顺序,从超过预设条数阈值的所有统计条数中提取第一条弹幕信息和最后一条弹幕信息;a third extraction sub-module, configured to extract, according to a chronological order, the first barr information and the last barrage information from all the statistics of the preset number of thresholds;
    起始时刻确定子模块,用于将所述第一条弹幕信息对应的弹幕发布时间确定为回放起始时刻; a start time determining submodule, configured to determine a barrage release time corresponding to the first barrage information as a playback start time;
    截止时刻确定子模块,用于将所述最后一条弹幕信息对应的弹幕发布时间确定为回放截止时刻;a deadline determining sub-module, configured to determine a barrage release time corresponding to the last barr information as a playback cut-off time;
    第三确定子模块,用于将所述回放起始时刻和回放截止时刻之间的视频确定为所述目标回放视频。And a third determining submodule configured to determine a video between the playback start time and the playback cutoff time as the target playback video.
  14. 根据权利要求8所述的装置,其特征在于,所述视频发送模块,包括:The device according to claim 8, wherein the video sending module comprises:
    叠加子模块,用于将所述目标回放视频的画面以画中画的方式叠加到所述直播视频的画面中,第一视频发送子模块,用于将叠加后的视频发送给所述至少一个客户端进行播放;An overlay sub-module, configured to superimpose a picture of the target playback video into a picture of the live video in a picture-in-picture manner, where the first video sending sub-module is configured to send the superimposed video to the at least one The client plays;
    或者,or,
    第二视频发送子模块,用于将所述目标回放视频的画面和所述直播视频的画面相互独立地发送给所述至少一个客户端进行播放。 And a second video sending submodule, configured to send the picture of the target playback video and the picture of the live video to the at least one client independently for playing.
PCT/CN2016/089227 2016-03-28 2016-07-07 Video playback control method and device WO2017166509A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610183824.6A CN105848001A (en) 2016-03-28 2016-03-28 Video playback control method and video playback control device
CN201610183824.6 2016-03-28

Publications (1)

Publication Number Publication Date
WO2017166509A1 true WO2017166509A1 (en) 2017-10-05

Family

ID=56584720

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/089227 WO2017166509A1 (en) 2016-03-28 2016-07-07 Video playback control method and device

Country Status (2)

Country Link
CN (1) CN105848001A (en)
WO (1) WO2017166509A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108093306A (en) * 2017-12-11 2018-05-29 维沃移动通信有限公司 A kind of barrage display methods and mobile terminal
CN112001184A (en) * 2020-08-14 2020-11-27 西华大学 User emotion difference region detection method and system for video bullet screen
CN112333463A (en) * 2020-09-27 2021-02-05 深圳Tcl新技术有限公司 Program recommendation method, system, device and readable storage medium
CN112866790A (en) * 2019-11-27 2021-05-28 上海幻电信息科技有限公司 Video playing method and system
CN113591090A (en) * 2020-04-30 2021-11-02 腾讯科技(深圳)有限公司 Method, device and equipment for reporting program bug and storage medium
CN114554271A (en) * 2022-01-26 2022-05-27 北京达佳互联信息技术有限公司 Information pushing and displaying method and device, electronic equipment and storage medium
CN114866849A (en) * 2022-05-06 2022-08-05 咪咕数字传媒有限公司 Video playing method, device, equipment and computer readable storage medium
CN115348479A (en) * 2022-07-22 2022-11-15 北京奇艺世纪科技有限公司 Video playing problem identification method, electronic equipment and storage medium

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106385613B (en) * 2016-09-19 2019-07-09 广州华多网络科技有限公司 Control the method and device that barrage plays
CN106878773B (en) * 2017-03-13 2020-04-28 网易(杭州)网络有限公司 Electronic device, video processing method and apparatus, and storage medium
CN108924526A (en) * 2017-03-27 2018-11-30 华为软件技术有限公司 Video broadcasting method, terminal and system
CN107155113B (en) * 2017-03-31 2021-03-16 武汉斗鱼网络科技有限公司 Method and server for protecting bullet screen information
CN107147957B (en) * 2017-04-19 2019-09-10 北京小米移动软件有限公司 Video broadcasting method and device
CN107608601B (en) * 2017-08-28 2020-06-26 维沃移动通信有限公司 Video playback method, mobile terminal and computer readable storage medium
CN107888989A (en) * 2017-11-23 2018-04-06 山东浪潮商用系统有限公司 A kind of interactive system and method live based on internet
CN108668163B (en) * 2018-05-03 2020-03-20 广州虎牙信息科技有限公司 Live broadcast method and device, computer readable storage medium and computer equipment
CN109561351A (en) * 2018-12-03 2019-04-02 网易(杭州)网络有限公司 Network direct broadcasting back method, device and storage medium
CN111669608B (en) * 2020-05-12 2022-07-12 广东茉莉数字科技集团股份有限公司 Cosmetic display device and method supporting user multimedia feedback
CN111918083A (en) * 2020-07-31 2020-11-10 广州虎牙科技有限公司 Video clip identification method, device, equipment and storage medium
CN115484465B (en) * 2021-05-31 2024-03-15 上海幻电信息科技有限公司 Bullet screen generation method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120150990A1 (en) * 2010-12-09 2012-06-14 Institute For Information Industry System and method for synchronizing with multimedia broadcast program and computer program product thereof
CN102790923A (en) * 2011-05-19 2012-11-21 华为终端有限公司 User comment information sharing method, instant information server and user terminal
CN103607657A (en) * 2013-11-20 2014-02-26 乐视网信息技术(北京)股份有限公司 Method and device for realizing picture-in-picture playing function
CN104469508A (en) * 2013-09-13 2015-03-25 中国电信股份有限公司 Method, server and system for performing video positioning based on bullet screen information content
CN104994425A (en) * 2015-06-30 2015-10-21 北京奇艺世纪科技有限公司 Video labeling method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102780921B (en) * 2011-05-10 2015-04-29 华为终端有限公司 Method, system and device for acquiring review information during watching programs
CN105245960A (en) * 2014-07-07 2016-01-13 乐视网信息技术(北京)股份有限公司 Live comment display method and device for videos

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120150990A1 (en) * 2010-12-09 2012-06-14 Institute For Information Industry System and method for synchronizing with multimedia broadcast program and computer program product thereof
CN102790923A (en) * 2011-05-19 2012-11-21 华为终端有限公司 User comment information sharing method, instant information server and user terminal
CN104469508A (en) * 2013-09-13 2015-03-25 中国电信股份有限公司 Method, server and system for performing video positioning based on bullet screen information content
CN103607657A (en) * 2013-11-20 2014-02-26 乐视网信息技术(北京)股份有限公司 Method and device for realizing picture-in-picture playing function
CN104994425A (en) * 2015-06-30 2015-10-21 北京奇艺世纪科技有限公司 Video labeling method and device

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108093306A (en) * 2017-12-11 2018-05-29 维沃移动通信有限公司 A kind of barrage display methods and mobile terminal
CN112866790A (en) * 2019-11-27 2021-05-28 上海幻电信息科技有限公司 Video playing method and system
US11924485B2 (en) 2019-11-27 2024-03-05 Shanghai Hode Information Technology Co., Ltd. Method and system of displaying a video
CN113591090B (en) * 2020-04-30 2024-01-09 腾讯科技(深圳)有限公司 Program bug reporting method, device, equipment and storage medium
CN113591090A (en) * 2020-04-30 2021-11-02 腾讯科技(深圳)有限公司 Method, device and equipment for reporting program bug and storage medium
CN112001184A (en) * 2020-08-14 2020-11-27 西华大学 User emotion difference region detection method and system for video bullet screen
CN112001184B (en) * 2020-08-14 2022-10-11 西华大学 User emotion difference region detection method and system for video bullet screen
CN112333463A (en) * 2020-09-27 2021-02-05 深圳Tcl新技术有限公司 Program recommendation method, system, device and readable storage medium
CN114554271A (en) * 2022-01-26 2022-05-27 北京达佳互联信息技术有限公司 Information pushing and displaying method and device, electronic equipment and storage medium
CN114554271B (en) * 2022-01-26 2024-01-19 北京达佳互联信息技术有限公司 Information pushing and displaying method and device, electronic equipment and storage medium
CN114866849A (en) * 2022-05-06 2022-08-05 咪咕数字传媒有限公司 Video playing method, device, equipment and computer readable storage medium
CN114866849B (en) * 2022-05-06 2023-08-15 咪咕数字传媒有限公司 Video playing method, device, equipment and computer readable storage medium
CN115348479A (en) * 2022-07-22 2022-11-15 北京奇艺世纪科技有限公司 Video playing problem identification method, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN105848001A (en) 2016-08-10

Similar Documents

Publication Publication Date Title
WO2017166509A1 (en) Video playback control method and device
US10581947B2 (en) Video production system with DVE feature
US11159836B2 (en) Method and system for providing social media content synchronized to media presentation
EP2901631B1 (en) Enriching broadcast media related electronic messaging
WO2017107649A1 (en) Video transmission method and device
US9369768B1 (en) System and method for media presentation with dynamic secondary content
WO2018000648A1 (en) Interaction information display method, device, server, and terminal
EP2925003A1 (en) A system and method for synchronized presentation of video timeline metadata
US10381043B2 (en) Media-production system with social media content interface feature
US9824722B2 (en) Method to mark and exploit at least one sequence record of a video presentation
US10382824B2 (en) Video production system with content extraction feature
CN111698261A (en) Video playing method, device, equipment and storage medium based on streaming media
KR101679199B1 (en) Movie managing server, movie playing apparatus, and method for providing charater information using thereof
KR101686425B1 (en) Movie managing server, movie playing apparatus, and method for providing charater information using thereof
WO2015110005A1 (en) Television program image frame capturing device, television program image frame obtaining device, system and method
EP3306463A1 (en) Method and device for processing multimedia
US10008241B2 (en) Method to mark and exploit at least one sequence record of a video presentation
KR101684273B1 (en) Movie managing server, movie playing apparatus, and method for providing charater information using thereof
KR101689195B1 (en) Movie managing server, movie playing apparatus, and method for providing charater information using thereof
CN115134648A (en) Video playing method, device, equipment and computer readable storage medium
KR20160146630A (en) Movie managing server, movie playing apparatus, and method for providing charater information using thereof

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 16896281

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16896281

Country of ref document: EP

Kind code of ref document: A1