CN108989883B - Live broadcast advertisement method, device, equipment and medium - Google Patents

Live broadcast advertisement method, device, equipment and medium Download PDF

Info

Publication number
CN108989883B
CN108989883B CN201810739832.3A CN201810739832A CN108989883B CN 108989883 B CN108989883 B CN 108989883B CN 201810739832 A CN201810739832 A CN 201810739832A CN 108989883 B CN108989883 B CN 108989883B
Authority
CN
China
Prior art keywords
video
key content
frame
live
content video
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201810739832.3A
Other languages
Chinese (zh)
Other versions
CN108989883A (en
Inventor
郑伟
陈少杰
张文明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shaanxi Zerun Digital Media Co.,Ltd.
Original Assignee
Wuhan Douyu Network Technology Co Ltd
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 Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201810739832.3A priority Critical patent/CN108989883B/en
Publication of CN108989883A publication Critical patent/CN108989883A/en
Application granted granted Critical
Publication of CN108989883B publication Critical patent/CN108989883B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0277Online advertisement
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26208Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
    • H04N21/26241Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints involving the time of distribution, e.g. the best time of the day for inserting an advertisement or airing a children program
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4781Games
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/812Monomedia components thereof involving advertisement data

Abstract

The invention discloses a live broadcast advertisement method, a device, equipment and a medium, wherein the method comprises the following steps: detecting a start frame and an end frame of a key content video of a live video stream; starting frame representation to start live broadcasting of the key content video, and ending frame representation to end live broadcasting of the key content video; if the start frame is detected, sending start prompt information to a viewer end; if the end frame is detected, sending end prompt information to a viewer end; and sending the advertisement video to the audience so that the audience identifies the received non-key content video of the live broadcast video stream according to the start prompt information and the end prompt information, and playing the advertisement video in a preset time period for playing the non-key content video. The method and the device provided by the application can solve the technical problem that a live broadcast advertisement insertion method in the prior art interferes a user to watch live broadcast video. The technical effect of ensuring that the user knows the integrity and the continuity of the live content is achieved.

Description

Live broadcast advertisement method, device, equipment and medium
Technical Field
The invention relates to the technical field of computers, in particular to a live broadcast advertisement method, a live broadcast advertisement device, live broadcast advertisement equipment and a live broadcast advertisement medium.
Background
Currently, with the progress of network communication technology and the speed increase of broadband networks, live webcasts are increasingly developed and applied. In order to ensure the operation income of the live broadcast platform and increase the income of the anchor broadcast, advertisements are often inserted in the live broadcast process.
However, the insertion of the live broadcast advertisement is not like the insertion of a recorded video advertisement, and cannot be preset in a proper advertisement insertion time interval, so that the insertion of the live broadcast advertisement is often poor in controllability and is easily found in a live broadcast key content, a user is influenced to obtain the key content, and the live broadcast watching experience is reduced.
Therefore, the live broadcast advertisement insertion method in the prior art has the technical problem of interfering a user to watch live broadcast video.
Disclosure of Invention
The invention provides a live broadcast advertisement method, a live broadcast advertisement device, live broadcast advertisement equipment and a live broadcast advertisement medium, which are used for solving the technical problem that a live broadcast advertisement insertion method in the prior art interferes a user to watch live broadcast video.
In a first aspect, the present invention provides a live broadcast advertisement method, where the method is applied to a server, and includes:
detecting a start frame and an end frame of a key content video of a live video stream in the process of receiving the live video stream sent by a main broadcasting end by a pull stream and forwarding the live video stream to a spectator end; the starting frame represents that the key content video starts to be live broadcast, and the ending frame represents that the key content video ends to be live broadcast;
if the starting frame is detected, sending a starting prompt message to a viewer end; if the end frame is detected, end prompt information is sent to a viewer end;
sending an advertisement video to the audience so that the audience identifies a non-key content video of the received live broadcast video stream according to the start prompt information and the end prompt information, and playing the advertisement video in a preset time period for playing the non-key content video; and the non-key content video is the rest videos except the key content video in the live video stream.
Optionally, the live video stream is a game live video stream, and the key content video is a video during game entry.
Optionally, the detecting a start frame and an end frame of a key content video of the live video stream includes: presetting a starting characteristic image and an ending characteristic image of a key content video; and performing image matching on each frame of the live video stream, wherein the frame matched with the starting characteristic image is taken as a starting frame, and the frame matched with the ending characteristic image is taken as an ending frame.
Optionally, the detecting a start frame and an end frame of a key content video of the live video stream includes: receiving a start identification signal and an end identification signal of a key content video; and confirming that a frame with the same time stamp as the time of receiving the start identification signal is used as a start frame, and a frame with the same time stamp as the time of receiving the end identification signal is used as an end frame.
In a second aspect, a live advertisement method is provided, which is applied to a viewer side and includes:
in the process of receiving a live video stream sent by a server, receiving start prompt information and end prompt information sent by the server, wherein the start prompt information and the end prompt information are respectively prompt information sent by the server after detecting a start frame and an end frame of a key content video of the live video; the starting frame represents that the key content video starts to be live broadcast, and the ending frame represents that the key content video ends to be live broadcast;
identifying a non-key content video of the received live broadcast video stream according to the start prompt message and the end prompt message, and playing the advertisement video in a preset time period for playing the non-key content video; and the non-key content video is the rest videos except the key content video in the live video stream.
Optionally, the playing the advertisement video in a time period preset for playing the non-key content video includes: replacing the non-key content video with the advertisement video, and playing the replaced video in a preset time period for playing the non-key content video; or synthesizing the advertisement video and the non-key content video, and playing the synthesized video in a preset time period for playing the non-key content video.
In a third aspect, a live advertisement device is provided, where the device is a server, and the device includes:
the detection module is used for detecting a start frame and an end frame of a key content video of a live video stream in the process of receiving the live video stream sent by a main broadcasting end through pull streaming and forwarding the live video stream to a spectator end; the starting frame represents that the key content video starts to be live broadcast, and the ending frame represents that the key content video ends to be live broadcast;
a sending module, configured to send a start prompt message to a viewer if the start frame is detected; if the end frame is detected, end prompt information is sent to a viewer end;
the inter-cut module is used for sending an advertisement video to the audience so that the audience identifies a non-key content video of the received live broadcast video stream according to the start prompt information and the end prompt information, and plays the advertisement video in a preset time period for playing the non-key content video; and the non-key content video is the rest videos except the key content video in the live video stream.
Optionally, the detection module is further configured to: presetting a starting characteristic image and an ending characteristic image of a key content video; and performing image matching on each frame of the live video stream, wherein the frame matched with the starting characteristic image is taken as a starting frame, and the frame matched with the ending characteristic image is taken as an ending frame.
In a fourth aspect, a live advertising device is provided, the device being a viewer side, comprising:
the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving start prompt information and end prompt information sent by a server in the process of receiving a live video stream sent by the server, and the start prompt information and the end prompt information are respectively prompt information sent by the server after detecting a start frame and an end frame of a key content video of the live video; the starting frame represents that the key content video starts to be live broadcast, and the ending frame represents that the key content video ends to be live broadcast;
the processing module is used for identifying a received non-key content video of the live broadcast video stream according to the start prompt message and the end prompt message, and playing the advertisement video in a preset time period for playing the non-key content video; and the non-key content video is the rest videos except the key content video in the live video stream.
In a fifth aspect, an electronic device is provided, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method of the first or third aspect when executing the program.
A sixth aspect provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of the first or third aspect.
One or more technical solutions provided in the embodiments of the present invention have at least the following technical effects or advantages:
according to the method, the device, the equipment and the medium provided by the embodiment of the application, the server detects the starting frame and the ending frame of the key content video of the live video stream in the process of receiving the live video stream sent by the anchor terminal through the pull stream and forwarding the live video stream to the audience terminal; and correspondingly sending start prompt information and end prompt information to a spectator end, so that the spectator end can identify the received non-key content video of the live broadcast video stream according to the start prompt information and the end prompt information, and play the advertisement video in a time period for playing the non-key content video in advance, thereby avoiding the problem that the advertisement is randomly inserted in the live broadcast key content video time period to interfere the watching of the live broadcast by a user, and effectively ensuring that the user knows the integrity and the continuity of the live broadcast content.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
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 description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a flowchart of a live advertisement method at a server in an embodiment of the present invention;
FIG. 2 is a flow chart of a method for live advertising at a viewer end according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a live broadcast advertising device as a server in an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a live advertising device as a viewer according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of an apparatus according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of a medium according to an embodiment of the present invention.
Detailed Description
The embodiment of the application provides a live broadcast advertisement method, a live broadcast advertisement device and a live broadcast advertisement medium, and aims to solve the technical problem that a live broadcast advertisement insertion method in the prior art interferes a user in watching a live broadcast video. The technical effect of ensuring that the user knows the integrity and the continuity of the live content is achieved.
The technical scheme in the embodiment of the application has the following general idea:
detecting a start frame and an end frame of a key content video of a live video stream in the process of receiving the live video stream sent by a main broadcasting end by a pull stream and forwarding the live video stream to a spectator end; the starting frame represents that the key content video starts to be live broadcast, and the ending frame represents that the key content video ends to be live broadcast;
if the starting frame is detected, sending a starting prompt message to a viewer end; if the end frame is detected, end prompt information is sent to a viewer end;
sending an advertisement video to the audience so that the audience identifies a non-key content video of the received live broadcast video stream according to the start prompt information and the end prompt information, and playing the advertisement video in a preset time period for playing the non-key content video; and the non-key content video is the rest videos except the key content video in the live video stream.
The method comprises the steps that a server receives a live video stream sent by a main broadcasting end in a pull-streaming mode, and detects a starting frame and an ending frame of a key content video of the live video stream in the process of forwarding the live video stream to a spectator end; and correspondingly sending start prompt information and end prompt information to a spectator end, so that the spectator end can identify the received non-key content video of the live broadcast video stream according to the start prompt information and the end prompt information, and play the advertisement video in a time period for playing the non-key content video in advance, thereby avoiding the problem that the advertisement is randomly inserted in the live broadcast key content video time period to interfere the watching of the live broadcast by a user, and effectively ensuring that the user knows the integrity and the continuity of the live broadcast content.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
The embodiment provides a live broadcast advertisement method, as shown in fig. 1, where the method is applied to a server, and includes:
step S101, in the process of receiving a live video stream sent by a main broadcasting end through pull streaming and forwarding the live video stream to a spectator end, detecting a starting frame and an ending frame of a key content video of the live video stream; the starting frame represents that the key content video starts to be live broadcast, and the ending frame represents that the key content video ends to be live broadcast;
step S102, if the start frame is detected, sending start prompt information to a viewer; if the end frame is detected, end prompt information is sent to a viewer end;
step S103, sending an advertisement video to the audience so that the audience can identify a received non-key content video of the live broadcast video stream according to the start prompt message and the end prompt message, and playing the advertisement video in a preset time period for playing the non-key content video; and the non-key content video is the rest videos except the key content video in the live video stream.
It should be noted that the method provided in this embodiment is particularly suitable for real-time advertisement insertion in a live video process. Specifically, the main broadcasting end records a video, and sends a live video stream to the server in real time, and the server performs start frame and end frame detection in real time and sends the detected video stream to the audience end in real time. When the server detects the start frame or the end frame, the server immediately sends the start prompt information and the end prompt information to the audience in a short time so as to enable the audience to process and play the video.
The server may be a single server, a server group, a cloud server, or the like, and is not limited herein. The audience terminal and the anchor terminal may be a smart phone, a desktop computer, a tablet computer, or the like, which is not limited herein.
The following describes in detail the specific implementation steps of the method provided by the present application with reference to fig. 1:
it should be noted that the live advertisement method provided in this embodiment is performed synchronously and continuously in the live video streaming process. The steps S102 and S103 are not limited in sequence, and may be to send the advertisement video to the viewer in advance, or to send the advertisement video to the viewer after sending the prompt message, which is not limited herein. Step S101 and step S103 also have no sequential limitation, and may be to send the advertisement video to the viewer before the server receives the live video stream, or to send the advertisement video to the viewer during the process of receiving the live video stream by the server, which is not limited herein.
Step S101, in the process of receiving a live video stream sent by a main broadcasting end through pull streaming and forwarding the live video stream to a spectator end, detecting a starting frame and an ending frame of a key content video of the live video stream; the start frame represents that the key content video starts to be live broadcast, and the end frame represents that the key content video ends to be live broadcast.
After receiving a live video stream sent by a main broadcast end, a server carries out video decoding on the video stream according to the receiving sequence, and detects each frame of the decoded video stream according to the receiving time sequence so as to detect a starting frame and an ending frame of a key content video of the live video stream.
In this embodiment of the present application, there may be multiple methods for detecting a start frame and an end frame of a key content video of a live video stream, and two examples are listed below:
first, image matching.
Namely, presetting a starting characteristic image and an ending characteristic image of a key content video; and performing image matching on each frame of the live video stream, wherein the frame matched with the starting characteristic image is taken as a starting frame, and the frame matched with the ending characteristic image is taken as an ending frame.
In a specific implementation process, the types of the live video streams are different, and the corresponding preset starting characteristic image and the corresponding preset ending characteristic image are different. For example: the live video stream is a game live video stream, and the key content video is a video entering a game period. The image or character feature on the game entry screen is used as a start feature image (e.g., a progress bar image when the game is loaded, or a character such as "welcome entry"), and the image or character feature on the game exit screen is used as an end feature image (e.g., a character such as "exit", or a saved information pattern when the game exits).
Second, a signal added by the anchor.
Namely, when a main broadcast starts and ends a key content video according to a preset rule, a preset case is clicked or preset information is input so as to send an identification signal to a server, and the server starts and ends frames according to the time for receiving the identification signal and the time stamp of each frame in a video stream. A frame with the same time stamp as the time when the start identification signal is received may be taken as the start frame and a frame with the same time stamp as the time when the end identification signal is received may be taken as the end frame.
In a specific implementation process, the live video stream is a game live video stream, and the key content video is a video entering a game period; the live video stream is a singing live video stream, and the key content video is a video during singing; the live video stream is a spot check live video stream, and the key content video is a video during the lottery drawing, which is not limited herein and is not listed one by one.
Step S102, if the start frame is detected, sending start prompt information to a viewer; and if the ending frame is detected, sending an ending prompt message to a viewer.
In a specific implementation process, in order to facilitate a viewer to accurately confirm a start frame according to start prompt information and accurately confirm an end frame according to end prompt information, the start prompt information may carry a timestamp of the start frame, and the end prompt information may carry a timestamp of the end frame.
For example: the format of the start prompt message is: b-xx is xx; the format of the end prompt message is: and E-nn: nn. Wherein, B represents start prompt information, N represents end prompt information, xx is the time stamp of the start frame, and nn is the time stamp of the end frame.
Of course, the time stamp may not be carried, and the time of receiving the prompt information by the viewer is used as the time stamp information, which is not limited herein.
Step S103, sending an advertisement video to the audience so that the audience can identify a received non-key content video of the live broadcast video stream according to the start prompt message and the end prompt message, and playing the advertisement video in a preset time period for playing the non-key content video; and the non-key content video is the rest videos except the key content video in the live video stream.
In the implementation process, the advertisement video can be sent to the audience in advance or can be sent to the audience in the process of live broadcasting the live video stream.
The method for identifying the received non-key content video of the live video stream by the audience according to the start prompt information and the end prompt information comprises the following steps: and the video stream received in the middle period is the non-key content video from the moment when the audience receives the end prompt message to the moment when the audience receives the start prompt message. More precisely, the ending frame can be determined according to the timestamp information carried by the ending prompt information, the starting frame can be determined according to the timestamp information carried by the starting prompt information, and the video frames from the beginning to the beginning of the ending frame are non-key content videos according to the sequence of receiving the videos.
And after the audience identifies the received non-key content video of the live broadcast video stream, playing the advertisement video in a time period preset for playing the non-key content video. Specifically, the preset time period for playing the non-key content video is: and under the condition of not inserting the advertisement video, according to the sequence of receiving the live video stream by the audience, the time period that the non-key content video should be played.
In this embodiment of the application, there are various ways to play the advertisement video in a time period in which the non-key content video is preset to be played, and two examples are listed below:
first, instead of playing.
Namely, the advertisement video is used for replacing the non-key content video to be played in a preset time period for playing the non-key content video. That is, in the time period, the non-key content video is not played, and the advertisement video is switched to be played.
Second, composite playback.
The advertisement video and the non-key content video are synthesized, and the synthesized video is played in a preset time period for playing the non-key content video.
Specifically, the synthesizing of the advertisement video and the non-key content video may be that each of N frames of the advertisement video and each of N frames of the non-key content video are sequentially synthesized into N frames of synthesized video according to a time sequence, and each of the N frames of synthesized video includes an image of the non-key content video and an image of the advertisement video. Specifically, the image may be synthesized in a picture-in-picture manner, or may be synthesized in a jigsaw manner, which is not limited herein.
In a specific implementation process, the synthesizing of the advertisement video and the non-key content video may be that a frame of the advertisement video in the YUV format and a frame of the decoded non-key content video in the YUV format are subjected to image synthesis to form synthesized video data in the H264 format, and then, after audio-video mixing is performed on the synthesized video data and audio data in the ACC format of the non-key content video (or the synthesized video data and the audio data in the ACC format of the advertisement video), the synthesized video data and the audio data in the ACC format of the non-key content video are played in a preset time period for playing the non-key content video.
Specifically, a server detects a start frame and an end frame of a key content video of a live video stream in the process of receiving the live video stream sent by a main broadcasting end in a pull stream and forwarding the live video stream to a viewer end; and correspondingly sending start prompt information and end prompt information to a spectator end, so that the spectator end can identify the received non-key content video of the live broadcast video stream according to the start prompt information and the end prompt information, and play the advertisement video in a time period for playing the non-key content video in advance, thereby avoiding the problem that the advertisement is randomly inserted in the live broadcast key content video time period to interfere the watching of the live broadcast by a user, and effectively ensuring that the user knows the integrity and the continuity of the live broadcast content.
Based on the same inventive concept, the application also provides a method at the viewer side corresponding to the live broadcasting advertisement method in the first embodiment, which is detailed in the second embodiment.
Example two
The embodiment provides a live advertisement method, as shown in fig. 2, where the method is applied to a viewer side, and includes:
step S201, in the process of receiving a live video stream sent by a server, receiving start prompt information and end prompt information sent by the server, wherein the start prompt information and the end prompt information are respectively prompt information sent by the server after detecting a start frame and an end frame of a key content video of the live video; the starting frame represents that the key content video starts to be live broadcast, and the ending frame represents that the key content video ends to be live broadcast;
step S202, identifying a non-key content video of the received live broadcast video stream according to the start prompt message and the end prompt message, and playing the advertisement video in a preset time period for playing the non-key content video; and the non-key content video is the rest videos except the key content video in the live video stream.
It should be noted that the method provided in this embodiment is particularly suitable for real-time advertisement insertion in a live video process. Specifically, the main broadcasting end records a video, and sends a live video stream to the server in real time, and the server performs start frame and end frame detection in real time and sends the detected video stream to the audience end in real time. When the server detects the start frame or the end frame, the server immediately sends the start prompt information and the end prompt information to the audience in a short time so as to enable the audience to process and play the video.
The server may be a single server, a server group, a cloud server, or the like, and is not limited herein. The audience terminal and the anchor terminal may be a smart phone, a desktop computer, a tablet computer, or the like, which is not limited herein.
In this embodiment of the present application, the playing the advertisement video in a time period in which the non-key content video is preset to be played includes:
replacing the non-key content video with the advertisement video to play in a preset time period for playing the non-key content video; alternatively, the first and second electrodes may be,
and synthesizing the advertisement video and the non-key content video, and playing the synthesized video in a preset time period for playing the non-key content video.
Since the method described in the second embodiment of the present invention is a method implemented at the viewer end by the method described in the first embodiment of the present invention, based on the method described in the first embodiment of the present invention, those skilled in the art can understand the specific steps and variations of the method described in the present embodiment, and thus the detailed description thereof is omitted here.
Based on the same inventive concept, the application also provides a device corresponding to the live broadcast advertisement method in the first embodiment, which is detailed in the third embodiment.
EXAMPLE III
There is provided a live advertising device, the device being a server, as shown in fig. 3, including:
the detection module 301 is configured to detect a start frame and an end frame of a key content video of a live video stream in a process of receiving the live video stream sent by a main broadcast end through a pull stream and forwarding the live video stream to a viewer end; the starting frame represents that the key content video starts to be live broadcast, and the ending frame represents that the key content video ends to be live broadcast;
a sending module 302, configured to send a start prompt message to a viewer if the start frame is detected; if the end frame is detected, end prompt information is sent to a viewer end;
the inter-cut module 303 is configured to send an advertisement video to the viewer, so that the viewer identifies a non-key content video of the received live broadcast video stream according to the start prompt information and the end prompt information, and plays the advertisement video in a preset time period for playing the non-key content video; and the non-key content video is the rest videos except the key content video in the live video stream.
Optionally, the detecting module 301 is further configured to: presetting a starting characteristic image and an ending characteristic image of a key content video; and performing image matching on each frame of the live video stream, wherein the frame matched with the starting characteristic image is taken as a starting frame, and the frame matched with the ending characteristic image is taken as an ending frame.
Since the apparatus described in the third embodiment of the present invention is an apparatus used for implementing the method of the first embodiment of the present invention, based on the method described in the first embodiment of the present invention, a person skilled in the art can understand the specific structure and the deformation of the apparatus, and thus the details are not described herein. All the devices adopted in the method of the first embodiment of the present invention belong to the protection scope of the present invention.
Based on the same inventive concept, the application also provides a device corresponding to the live broadcast advertisement method in the second embodiment, which is detailed in the fourth embodiment.
Example four
There is provided a live advertising device, the device being a viewer side, as shown in fig. 4, comprising:
a receiving module 401, configured to receive start prompt information and end prompt information sent by a server in a process of receiving a live video stream sent by the server, where the start prompt information and the end prompt information are prompt information sent after the server detects a start frame and an end frame of a key content video of the live video respectively; the starting frame represents that the key content video starts to be live broadcast, and the ending frame represents that the key content video ends to be live broadcast;
a processing module 402, configured to identify a non-key content video of the received live video stream according to the start prompt information and the end prompt information, and play the advertisement video in a preset time period for playing the non-key content video; and the non-key content video is the rest videos except the key content video in the live video stream.
Since the apparatus described in the fourth embodiment of the present invention is an apparatus used for implementing the method of the second embodiment of the present invention, a person skilled in the art can understand the specific structure and the deformation of the apparatus based on the method described in the second embodiment of the present invention, and thus the details are not described herein. All the devices adopted by the method of the second embodiment of the invention belong to the protection scope of the invention.
Based on the same inventive concept, the embodiment of the invention also provides an embodiment of electronic equipment corresponding to the method in the first embodiment or the second embodiment, which is shown in the fifth embodiment.
EXAMPLE five
The present embodiment provides an electronic device, as shown in fig. 5, which includes a memory 510, a processor 520, and a computer program 511 stored in the memory 510 and capable of running on the processor 520, and when the processor 520 executes the computer program 511, any one of the first and second embodiments may be implemented.
Since the electronic device described in this embodiment is a device used for implementing the method in the first or second embodiment of the present application, a person skilled in the art can understand the specific implementation manner of the electronic device in this embodiment and various variations thereof based on the method described in the first or second embodiment of the present application, and therefore how to implement the method in the embodiment of the present application by the electronic device is not described in detail herein. The equipment used by those skilled in the art to implement the methods in the embodiments of the present application is within the scope of the present application.
Based on the same inventive concept, the present application provides a storage medium corresponding to embodiment one or two, which is described in detail in embodiment six.
EXAMPLE six
The embodiment provides a computer-readable storage medium 600, as shown in fig. 6, on which a computer program 611 is stored, and when the computer program 611 is executed by a processor, either one of the embodiment or both of the embodiment can be implemented.
The technical scheme provided in the embodiment of the application at least has the following technical effects or advantages:
according to the method, the device, the equipment and the medium provided by the embodiment of the application, the server detects the starting frame and the ending frame of the key content video of the live video stream in the process of receiving the live video stream sent by the anchor terminal through the pull stream and forwarding the live video stream to the audience terminal; and correspondingly sending start prompt information and end prompt information to a spectator end, so that the spectator end can identify the received non-key content video of the live broadcast video stream according to the start prompt information and the end prompt information, and play the advertisement video in a time period for playing the non-key content video in advance, thereby avoiding the problem that the advertisement is randomly inserted in the live broadcast key content video time period to interfere the watching of the live broadcast by a user, and effectively ensuring that the user knows the integrity and the continuity of the live broadcast content.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made in the embodiments of the present invention without departing from the spirit or scope of the embodiments of the invention. Thus, if such modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to encompass such modifications and variations.

Claims (9)

1. A live advertisement method is applied to a server and comprises the following steps:
detecting a start frame and an end frame of a key content video of a live video stream in the process of receiving the live video stream sent by a main broadcasting end by a pull stream and forwarding the live video stream to a spectator end; the starting frame is a game entering picture frame, the key content video is represented to start live broadcasting, the ending frame is a game exiting picture frame, and the key content video is represented to end live broadcasting;
if the starting frame is detected, sending a starting prompt message to a viewer end; if the end frame is detected, end prompt information is sent to a viewer end;
sending an advertisement video to the audience so that the audience identifies a non-key content video of the received live broadcast video stream according to the start prompt information and the end prompt information, and playing the advertisement video in a preset time period for playing the non-key content video; the live video stream is a game live video stream, the key content video is a video entering a game period, and the non-key content video is the rest videos except the key content video in the game live video stream.
2. The method of claim 1, wherein the detecting a start frame and an end frame of a key content video of the live video stream comprises:
presetting a starting characteristic image and an ending characteristic image of a key content video;
and performing image matching on each frame of the live video stream, wherein the frame matched with the starting characteristic image is taken as a starting frame, and the frame matched with the ending characteristic image is taken as an ending frame.
3. The method of claim 1, wherein the detecting a start frame and an end frame of a key content video of the live video stream comprises:
receiving a start identification signal and an end identification signal of a key content video;
and confirming that a frame with the same time stamp as the time of receiving the start identification signal is used as a start frame, and a frame with the same time stamp as the time of receiving the end identification signal is used as an end frame.
4. A live advertising method is applied to a viewer side and comprises the following steps:
in the process of receiving a live video stream sent by a server, receiving start prompt information and end prompt information sent by the server, wherein the start prompt information and the end prompt information are respectively prompt information sent by the server after detecting a start frame and an end frame of a key content video of the live video; the starting frame is a game entering picture frame, the key content video is represented to start live broadcasting, the ending frame is a game exiting picture frame, and the key content video is represented to end live broadcasting;
identifying a non-key content video of the received live broadcast video stream according to the start prompt message and the end prompt message, and playing the advertisement video in a preset time period for playing the non-key content video; the live video stream is a game live video stream, the key content video is a video entering a game period, and the non-key content video is the rest videos except the key content video in the game live video stream.
5. The method of claim 4, wherein said playing the advertisement video at a time period in which the non-key content video is preset to be played comprises:
replacing the non-key content video with the advertisement video, and playing the replaced video in a preset time period for playing the non-key content video; alternatively, the first and second electrodes may be,
and synthesizing the advertisement video and the non-key content video, and playing the synthesized video in a preset time period for playing the non-key content video.
6. A live advertising device, the device being a server, comprising:
the detection module is used for detecting a start frame and an end frame of a key content video of a live video stream in the process of receiving the live video stream sent by a main broadcasting end through pull streaming and forwarding the live video stream to a spectator end; the starting frame is a game entering picture frame, the key content video is represented to start live broadcasting, the ending frame is a game exiting picture frame, and the key content video is represented to end live broadcasting;
a sending module, configured to send a start prompt message to a viewer if the start frame is detected; if the end frame is detected, end prompt information is sent to a viewer end;
the inter-cut module is used for sending an advertisement video to the audience so that the audience identifies a non-key content video of the received live broadcast video stream according to the start prompt information and the end prompt information, and plays the advertisement video in a preset time period for playing the non-key content video; the live video stream is a game live video stream, the key content video is a video entering a game period, and the non-key content video is the rest videos except the key content video in the game live video stream.
7. A live advertising device, the device being a viewer side, comprising:
the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving start prompt information and end prompt information sent by a server in the process of receiving a live video stream sent by the server, and the start prompt information and the end prompt information are respectively prompt information sent by the server after detecting a start frame and an end frame of a key content video of the live video; the starting frame is a game entering picture frame, the key content video is represented to start live broadcasting, the ending frame is a game exiting picture frame, and the key content video is represented to end live broadcasting;
the processing module is used for identifying a received non-key content video of the live broadcast video stream according to the start prompt message and the end prompt message, and playing the advertisement video in a preset time period for playing the non-key content video; the live video stream is a game live video stream, the key content video is a video entering a game period, and the non-key content video is the rest videos except the key content video in the game live video stream.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any of claims 1-5 when executing the program.
9. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out the method of any one of claims 1 to 5.
CN201810739832.3A 2018-07-06 2018-07-06 Live broadcast advertisement method, device, equipment and medium Active CN108989883B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810739832.3A CN108989883B (en) 2018-07-06 2018-07-06 Live broadcast advertisement method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810739832.3A CN108989883B (en) 2018-07-06 2018-07-06 Live broadcast advertisement method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN108989883A CN108989883A (en) 2018-12-11
CN108989883B true CN108989883B (en) 2021-05-28

Family

ID=64537275

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810739832.3A Active CN108989883B (en) 2018-07-06 2018-07-06 Live broadcast advertisement method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN108989883B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111669612B (en) * 2019-03-08 2023-02-28 腾讯科技(深圳)有限公司 Live broadcast-based information delivery method and device and computer-readable storage medium
CN110139128B (en) * 2019-03-25 2022-10-21 北京奇艺世纪科技有限公司 Information processing method, interceptor, electronic equipment and storage medium
CN111428660B (en) * 2020-03-27 2023-04-07 腾讯科技(深圳)有限公司 Video editing method and device, storage medium and electronic device
CN111935419A (en) * 2020-08-19 2020-11-13 武汉莘宸科技发展有限公司 Video overlapping method and device adopting same
CN112258241A (en) * 2020-10-30 2021-01-22 北京达佳互联信息技术有限公司 Page display method, device, terminal and storage medium
TWI808456B (en) * 2021-07-30 2023-07-11 端點科技股份有限公司 Advertisement playing method, device and computer readable storage medium
CN114240516A (en) * 2021-12-29 2022-03-25 深圳市橙源科技有限公司 Intelligent advertisement pushing method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621636A (en) * 2008-06-30 2010-01-06 北京大学 Method and system for inserting and transforming advertisement sign based on visual attention module
CN102077227A (en) * 2008-06-30 2011-05-25 维里逊专利及许可公司 System for up-selling content during periods of likely viewer disinterest
CN104811744A (en) * 2015-04-27 2015-07-29 北京视博云科技有限公司 Information putting method and system
CN105900434A (en) * 2013-11-27 2016-08-24 交互数字专利控股公司 Media presentation description
CN105898444A (en) * 2015-12-09 2016-08-24 乐视网信息技术(北京)股份有限公司 Advertisement inter-cut method and device
CN107105316A (en) * 2017-05-25 2017-08-29 华为软件技术有限公司 A kind of advertisement broadcast method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621636A (en) * 2008-06-30 2010-01-06 北京大学 Method and system for inserting and transforming advertisement sign based on visual attention module
CN102077227A (en) * 2008-06-30 2011-05-25 维里逊专利及许可公司 System for up-selling content during periods of likely viewer disinterest
CN105900434A (en) * 2013-11-27 2016-08-24 交互数字专利控股公司 Media presentation description
CN104811744A (en) * 2015-04-27 2015-07-29 北京视博云科技有限公司 Information putting method and system
CN105898444A (en) * 2015-12-09 2016-08-24 乐视网信息技术(北京)股份有限公司 Advertisement inter-cut method and device
CN107105316A (en) * 2017-05-25 2017-08-29 华为软件技术有限公司 A kind of advertisement broadcast method and device

Also Published As

Publication number Publication date
CN108989883A (en) 2018-12-11

Similar Documents

Publication Publication Date Title
CN108989883B (en) Live broadcast advertisement method, device, equipment and medium
CN109089154B (en) Video extraction method, device, equipment and medium
CN107483460B (en) Method and system for multi-platform parallel broadcasting and stream pushing
CN108495152B (en) Video live broadcast method and device, electronic equipment and medium
CN109089127B (en) Video splicing method, device, equipment and medium
US9584844B2 (en) Method and apparatus for matching of corresponding frames in multimedia streams
CN104363483B (en) A kind of advertisement sending method and device based on video pictures
CN109714622B (en) Video data processing method and device and electronic equipment
US20080124052A1 (en) Systems and methods to modify playout or playback
CN111277854A (en) Display method and device of virtual live broadcast room, electronic equipment and storage medium
EP2033443A2 (en) Fingerprint, apparatus, method for identifying and synchronizing video
CN109089128A (en) A kind of method for processing video frequency, device, equipment and medium
WO2019114330A1 (en) Video playback method and apparatus, and terminal device
KR20180083132A (en) Electronic apparatus, and operating method for the same
CN104735552A (en) Live video label inserting method and system
CN108881938B (en) Live broadcast video intelligent cutting method and device
CN110996157A (en) Video playing method and device, electronic equipment and machine-readable storage medium
CN111131874B (en) Method, equipment and computer storage medium for solving problem of playing jam of H.265 code stream random access point
CN110636321A (en) Data processing method, device, system, mobile terminal and storage medium
CN106162259A (en) A kind of video ads method for pushing and system
CN105872854A (en) Watermark showing method and device
KR20130138213A (en) Methods for processing multimedia flows and corresponding devices
CN103747326A (en) Continuous playing method and device for multimedia file
CN108989855A (en) A kind of advertisement cut-in method, device, equipment and medium
CN106331763A (en) Method of playing slicing media files seamlessly and device of realizing the method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240402

Address after: 710000, 6th floor, Building A, Shaanxi Tourism Haubuska, No.1 Hangchuang Road, National Civil Aerospace Industry Base, Xi'an City, Shaanxi Province

Patentee after: Shaanxi Zerun Digital Media Co.,Ltd.

Country or region after: China

Address before: 430000 East Lake Development Zone, Wuhan City, Hubei Province, No. 1 Software Park East Road 4.1 Phase B1 Building 11 Building

Patentee before: WUHAN DOUYU NETWORK TECHNOLOGY Co.,Ltd.

Country or region before: China