CN111586471A - Advertisement playing control method and device - Google Patents
Advertisement playing control method and device Download PDFInfo
- Publication number
- CN111586471A CN111586471A CN201910122724.6A CN201910122724A CN111586471A CN 111586471 A CN111586471 A CN 111586471A CN 201910122724 A CN201910122724 A CN 201910122724A CN 111586471 A CN111586471 A CN 111586471A
- Authority
- CN
- China
- Prior art keywords
- video advertisement
- network
- advertisement
- playing
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 75
- 238000012544 monitoring process Methods 0.000 claims abstract description 40
- 230000008569 process Effects 0.000 claims abstract description 29
- 238000001514 detection method Methods 0.000 claims description 7
- 238000004590 computer program Methods 0.000 claims description 6
- 238000001824 photoionisation detection Methods 0.000 description 10
- 230000009191 jumping Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 3
- 238000001914 filtration Methods 0.000 description 3
- 230000006399 behavior Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4782—Web browsing, e.g. WebTV
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/81—Monomedia components thereof
- H04N21/812—Monomedia components thereof involving advertisement data
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Marketing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Databases & Information Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention provides an advertisement control method, which detects whether a pre-cached I-frame video advertisement exists in a terminal device when the terminal device is started to enter an initialization stage; wherein, in the initialization stage, the terminal equipment is connected with the network and the network broadcasts the video advertisement; if the I-frame video advertisement exists in the terminal equipment, playing the I-frame video advertisement through the video output equipment; monitoring whether a complete video advertisement starts to be broadcast in a network or not in the process of playing the I-frame video advertisement; and if the network starts to broadcast the complete video advertisement, switching the I-frame video advertisement played by the video output equipment into the video advertisement broadcasted in the network. By the method, the problem that the video advertisement updating efficiency is low in the prior art is solved.
Description
Technical Field
The present invention relates to the field of data communication technologies, and in particular, to a method and an apparatus for controlling advertisement playing.
Background
The development of communication services has led to a number of industries, such as the advertising industry. There are many embodiments of advertising such as video, pictures or others. With the development of communication technology, video advertisements become the mainstream advertisement form. In the process of starting up terminal equipment such as a set-top box and the like, the starting up process comprises a terminal equipment initialization stage, and in order to solve the boring waiting of a user in the terminal equipment initialization stage, an operator inserts a video advertisement.
At present, a method for controlling video advertisements in a booting process is to store the video advertisements in a local terminal device in advance, circularly play the cached video advertisements when the terminal device is booted and enters a system initialization stage, monitor a system initialization state in real time, and stop playing the video advertisements if the system initialization is completed, and enter a system working interface.
However, the method caches the video advertisement in the terminal device in advance, and has the problem of slow video advertisement updating efficiency, which results in poor viewing experience of the user.
Disclosure of Invention
In view of this, the present invention provides a method for controlling advertisement playing, so as to control advertisement playing. In addition, the invention also provides a control device for advertisement playing, which is used for ensuring the application and realization of the method in practice.
In order to achieve the above purpose, the embodiments of the present invention provide the following technical solutions:
in a first aspect, the present invention provides a method for controlling advertisement playing, including:
when a terminal device is started and enters an initialization stage, detecting whether a pre-cached I-frame video advertisement exists in the terminal device; in the initialization stage, the terminal equipment is connected with a network, and video advertisements are broadcasted in the network;
if the I-frame video advertisement exists in the terminal equipment, the I-frame video advertisement is played on video output equipment;
monitoring whether a complete video advertisement starts to be broadcast in the network or not in the process of playing the I-frame video advertisement;
and if the network starts to broadcast the complete video advertisement, switching the I-frame video advertisement played by the video output equipment into the video advertisement broadcasted in the network.
In a second aspect, the present invention further provides a device for controlling advertisement playing, including:
the system comprises an I-frame video detection module, a frame selection module and a frame selection module, wherein the I-frame video detection module is used for detecting whether a pre-cached I-frame video advertisement exists in the terminal equipment when the terminal equipment is started to enter an initialization stage; in the initialization stage, the terminal equipment is connected with a network, and video advertisements are broadcasted in the network; the I-frame video playing module is used for playing the I-frame video advertisement through video output equipment if the I-frame video advertisement exists in the terminal equipment;
the monitoring broadcast video advertisement module is used for monitoring whether the complete video advertisement is broadcasted in the network or not in the process of playing the I-frame video advertisement;
and the advertisement switching module is used for switching the I-frame video advertisement played by the video output equipment into the video advertisement broadcasted in the network if the complete video advertisement starts to be broadcasted in the network.
In a third aspect, the present invention further provides a terminal device, including: the processor executes the software program stored in the memory and calls the data stored in the memory to at least execute the control method for playing the advertisement.
In a fourth aspect, the present invention further provides a storage medium having a computer program stored thereon, wherein the computer program is executed by a processor to implement the above-mentioned method for controlling advertisement playing.
Based on the above technical method, it can be seen that the embodiment of the present invention provides a method for controlling advertisement playing, which detects whether there is a pre-cached I-frame video advertisement when a terminal device is in an initialization stage, plays the I-frame video advertisement if there is the I-frame video advertisement, monitors the video advertisement broadcasted in a network in real time, and switches the I-frame video advertisement broadcasted in a video output device to the video advertisement broadcasted in the network when the video advertisement broadcasted in the network is about to start playing a complete video advertisement. By the method, the problem that the video advertisement updating efficiency is low in the prior art is solved. In addition, the invention can monitor whether the video advertisement in the network is complete, and the video advertisement in the network is played only under the complete condition, thereby playing the real-time and complete video advertisement in the network for the user, and having better watching experience for the user.
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, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic flow chart of a control method for playing an advertisement according to the present invention;
FIG. 2 is a flowchart illustrating another method for controlling advertisement playing according to the present invention;
fig. 3 is a block diagram of a control device for playing an advertisement according to the present invention;
fig. 4 is a block diagram of another control device for advertisement playing provided by the present invention.
Detailed Description
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 only a part of the embodiments of the present invention, and not all of the embodiments. 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.
In the present invention, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Referring to fig. 1, an embodiment of the present invention provides a method for controlling advertisement playing, where the method is applied to a terminal device, where the terminal device may be a mobile phone, a set-top box, a television set integrating functions of the set-top box, and the like, and a starting process of the terminal device includes an initialization stage, where the initialization stage consumes a certain time.
As shown in fig. 1, the method for controlling advertisement playing may specifically include steps S101 to S104.
S101: when a terminal device is started and enters an initialization stage, detecting whether a pre-cached I-frame video advertisement exists in the terminal device; wherein the terminal device is connected to the network during an initialization phase and the network has a video advertisement broadcast.
Specifically, the terminal device is started up, and the device immediately enters an initialization phase. Wherein the stage comprises: the starting time of the terminal operating system, the network connection time and the advertisement playing time. The starting time of the terminal operating system comprises the step that the operating system loads advertisement information, and specifically, the terminal operating system detects whether a pre-cached I-frame video advertisement exists in a storage unit of the terminal equipment.
In addition, the start time of the terminal operating system also includes initialization of the operating system, and in the production process of the terminal device, the backup of the operating system is stored in the storage unit, so as to prevent the operating system from running failure and other situations caused by file loss or accidental update of the operating system, when the operating system is started each time, the operating system in the terminal device needs to be initialized, thereby ensuring normal running of the system. The network connection time is the time when the terminal device establishes connection with the network, and includes synchronization between the terminal device time and the network, reception of EPG (Electronic Program Guide) information, and the like.
It should be noted that the network to which the terminal device is connected may be a multicast network, the internet, or other network.
The decoder and output device are initialized prior to the advertisement being played. The initialized decoder and output device can re-establish the connection to output the advertisement.
S102: and if the I-frame video advertisement exists in the terminal equipment, playing the I-frame video advertisement on the video output equipment.
Specifically, when the terminal device detects that the storage unit stores the I-frame video advertisement, the decoder and the output device are started, the decoder and the output device are connected, and an I-frame advertisement playing success flag is generated. And reading the I frame video advertisement stored in the storage unit, decoding the I frame video advertisement, and playing the I frame video advertisement to a user through an output device for watching.
It should be noted that, the connection between the decoder and the output device is established through the connection between the video decoder and the video output device, the connection between the audio decoder and the audio output device is established, if there is no audio in the I-frame video advertisement, the audio decoder and the audio output device are not started, and if there is audio in the I-frame video advertisement, the audio is output to the audio output device through the audio decoder, and the audio file is played in a circulating manner. The audio file of the I-frame video advertisement belongs to streaming data, and is decoded by an audio decoder all the time and output by audio output equipment, and the video of the I-frame video advertisement is transmitted to the output equipment, so that the video is continuously played by the output equipment without being decoded.
The I-frame video advertisement is a transition advertisement and is used for connecting a complete video advertisement broadcasted in a network.
S103: in the process of playing the I-frame video advertisement, whether the complete video advertisement is broadcasted in the network is monitored.
Specifically, the network to which the terminal device is connected includes an advertisement delivered by an advertisement operator, and the advertisement may be a plurality of different video advertisements or may be one video advertisement but played in a loop. The video advertisement broadcasted in the network is dynamically carried out, the terminal device accesses the network at a certain time point, and the video advertisement broadcasted in the network can be the middle part of a certain video advertisement. It should be noted that the "middle" is not limited to a half of the playing position of the video advertisement, as long as the video advertisement is included in the "middle" during the playing process.
If the video advertisement played in the network is output at this time, the user watches the incomplete video advertisement, and the user experience is not good, so that in the playing process of the I-frame video advertisement, it is necessary to continuously monitor whether the complete video advertisement is played in the network connected to the terminal device.
The method includes the steps of monitoring that the complete video advertisement starts to be broadcast in the network, specifically monitoring relevant information of the video advertisement broadcast in the network, wherein the relevant information includes a unique identification of the video, a display time tag (which may also be called a display time stamp) and the like, and determining whether the complete video advertisement starts to be broadcast in the network according to the relevant information.
More specifically, if the monitored related information is a unique identifier, it may be determined whether the identifier of the video advertisement played in the network has changed, and if the identifier of the video advertisement played in the network has changed, it is determined that the video advertisement played in the network is switched from one video advertisement to another video advertisement, that is, another video advertisement that is complete begins to be played.
If the monitored related information is a display time label, the specific monitoring process is as follows:
obtaining a display time tag related to video advertisements broadcasted in a network, wherein the display time tag is used for recording the real-time playing duration of each video advertisement broadcasted in the network; and monitoring whether the value of the display time label changes more than a preset value.
Specifically, during the playing of the I-frame video advertisement, the monitor is set in the decoder. For example, a monitor has two Time tags of PTS (Presentation Time Stamp) and DTS (Decoding Time Stamp), and is used for monitoring the Decoding Time and the display Time of a video advertisement broadcasted in a network. The PTS is a tag for presentation time, which indicates that a video is presented to a user at a certain time, and the DTS is a tag for decoding time, which indicates that a video is decoded at a certain time. The decoder receives the video advertisement broadcasted in the network, decodes the video advertisement, records the decoding time through DTS, plays the decoded video advertisement to a user through an output device for watching, and records the playing time of the video advertisement through PTS. Thereby realizing the monitoring of the video advertisement broadcast in the network.
The display time stamp PTS in the monitor records the real-time playing time of each video advertisement broadcasted in the network, and the monitor can monitor whether the PTS changes more than or equal to the preset value. It should be noted that the variation of the PTS may be larger or smaller, but the variation needs to be greater than or equal to a preset value, and the application does not limit the specific size of the preset value, but the preset value needs to be greater than the difference value of two adjacent video frames PTS. Such a change of the PTS greater than the preset value may be referred to as a jump, and if the jump occurs, it indicates that the video advertisement broadcasted in the network is being switched. And if the difference value of the PTS value at the moment is larger than or equal to the preset value, the playing of the current video advertisement is finished, and a next video advertisement is ready to be played. The PTS value is a certain moment value of video advertisement playing, a new PTS is always generated in the video advertisement playing process, the new PTS represents the next frame of video, and when the advertisement is switched, the new PTS represents the first frame of video of the video advertisement.
S104: and if the network starts to broadcast the complete video advertisement, switching the I-frame video advertisement played by the video output equipment into the video advertisement broadcasted in the network.
Specifically, the play status of a video advertisement currently broadcasted in the network can be known according to the PTS of the monitor; and if the playing state of the video advertisement broadcasted in the current network is the next advertisement switched, stopping the playing of the I-frame video advertisement, connecting the decoder and the output equipment to the video advertisement broadcasted in the network, decoding the video advertisement broadcasted in the network, and playing the video advertisement broadcasted in the network to the user through the output equipment for watching.
In one example, whenever it is monitored that a complete video advertisement starts to be broadcast in the network, it may also be determined whether the initialization phase is completed; if the initialization stage is completed, the playing of the video advertisement broadcasted in the network is finished, and the terminal equipment is controlled to enter the operation stage.
Specifically, each time the PTS in the monitor jumps, the monitor acquires the jumping state of the PTS, and enters judgment according to the jumping state, if the jumping state generates an instruction, the instruction judges whether the initialization stage of the terminal equipment is completed; if the initialization stage is completed, the video decoder, the audio decoder, the video channel and the audio channel are all closed, the operating system of the terminal equipment enters the operation stage, the operating system enters a system working interface in the operation stage, and if the initialization stage is not completed, the video advertisement broadcasted in the next network is continuously played.
The inventor of the present invention finds, through research, that the I-frame video advertisement may also be cached in a storage unit of the terminal device in advance, when the terminal device is started up and enters a system initialization stage, the cached I-frame video advertisement is played, and after the I-frame video advertisement is played, the video advertisement broadcasted in the network is played until the terminal device is initialized, the video advertisement broadcasted in the network is stopped to play, and a system working interface is entered. However, according to the method, after the I-frame video advertisement is played, the video advertisement broadcasted in the network is continuously played, and if half of the video advertisement broadcasted in the network is already played, the video advertisement broadcasted in the network, which is continuously played by the terminal device, lacks the first half, so that the played video advertisement is incomplete. The invention solves the problem of incomplete advertisement playing by monitoring the complete state of the video advertisement in the network.
The embodiment of the invention provides a control method for advertisement playing, which is characterized in that when a terminal device is in an initialization stage, whether a pre-cached I frame video advertisement exists is detected, if the I frame video advertisement exists, the I frame video advertisement is played, the video advertisement broadcasted in a network is monitored in real time, and when the video advertisement broadcasted in the network is about to start to play a complete video advertisement, the I frame video advertisement broadcasted in a video output device is switched to the video advertisement broadcasted in the network. The invention can play the video advertisement existing in the network in real time, thereby solving the problem of slow video advertisement updating efficiency in the prior art, and in addition, the invention can monitor whether the video advertisement in the network is complete, and only plays the video advertisement in the network under the complete condition, thereby playing the video advertisement existing in the network in real time and complete for the user, and having better user watching experience.
In addition, in the prior art, an advertisement manager is used for controlling the playing of the I-frame video advertisement, the advertisement manager can obtain a control table of the I-frame video advertisement, relevant information of the I-frame video advertisement, such as playing time length, is recorded in the control table, the advertisement manager finishes the playing of the I-frame video advertisement after the playing time length is reached, the method may cause a black screen in the starting process of the terminal equipment, and the advertisement playing control method provided by the application can also effectively solve the problem of the black screen caused by the control method.
In practical application, an embodiment of the present invention provides a method for controlling advertisement playing, which may further include the following steps:
monitoring information broadcast by each frequency point in the network in real time; and if the information broadcasted at each frequency point in the network has the update of the I-frame video advertisement, replacing the I-frame video advertisement cached in advance with the updated I-frame video advertisement.
Specifically, an advertisement operator provides an advertisement entry frequency point for the terminal device, the terminal device obtains a plurality of frequency point information through the advertisement entry frequency point, and each frequency point can broadcast updated I-frame video advertisements in addition to broadcasting television programs.
The user behavior triggers the frequency point switching. For example: a user watches videos on the central 5 sets of program channels, and the user is switched to the Hunan satellite station at the moment, because the central 5 sets of program channels are broadcast on the frequency point A and the Hunan satellite station is broadcast on the frequency point B, when the user triggers frequency point switching in the process of switching the program channels, whether the switched frequency point B is updated with an I frame video advertisement or not is monitored in real time in the frequency point, and if the I frame video advertisement is updated, the I frame video advertisement which is cached in advance is replaced by the updated I frame video advertisement. In addition, the method also comprises the condition that other user behaviors trigger frequency point switching, and the switching of the frequency points can occur in the starting process of the terminal equipment and also can occur in the running process of the terminal equipment.
After the frequency point is switched through the steps, the frequency of the frequency point is locked through a frequency locker in the terminal equipment, and the data of the frequency point is continuously received. If the I frame video advertisement exists in the frequency point, updating the I frame video advertisement; the method comprises the steps of setting a data channel of a preset PID in a demux module of the terminal equipment, filtering out a data packet of an I-frame video advertisement, splicing the filtered data packet into a complete I-frame video advertisement in order according to a related protocol, wherein the I-frame video advertisement is an updated I-frame video advertisement, replacing the pre-cached I-frame video advertisement with the updated I-frame video advertisement, and storing the updated I-frame video advertisement in a storage unit if the pre-cached I-frame video advertisement does not exist in the terminal equipment.
It should be noted that the demux module filters different PIDs through the channel to obtain different data, such as a PID of 0x80 when filtering the video of the I-frame video, and a PID of 0x81 when filtering the audio of the I-frame video advertisement, and assembles the data packets of the same channel, such as a PID of 0x80 assembled into the video of the I-frame video advertisement, a PID of 0x81 assembled into the audio of the I-frame video advertisement, and the assembled file is stored in the storage unit, and stores the version information of the I-frame video advertisement updated/downloaded this time, closes the channel, and exits the updating/downloading process. The PID is preset, the setting range of the PID is 0x 80-0 xFE, and different PIDs of the current network cannot conflict.
If the information of the I frame video advertisement is not updated on the switched frequency point, the updating operation is not needed.
In addition, an embodiment of the present invention further provides a method for controlling advertisement playing, as shown in fig. 2, the method may further include, on the basis of steps S101 to S104 shown in fig. 1, the following steps S105 to S107:
s101: when a terminal device is started and enters an initialization stage, detecting whether a pre-cached I-frame video advertisement exists in the terminal device; if the terminal equipment has the I-frame video advertisement, executing the step S102; if the terminal device does not have the I-frame video advertisement cached in advance, step S105 is executed.
Wherein, the terminal equipment is connected with the network in the initialization stage, and the video advertisement is broadcasted in the network.
S102: and playing the I-frame video advertisement through the video output equipment.
S103: monitoring whether a complete video advertisement starts to be broadcast in a network or not in the process of playing the I-frame video advertisement; if the network starts broadcasting the complete video advertisement, executing step S104; and if the network starts to broadcast the complete video advertisement, continuously monitoring whether the network starts to broadcast the complete video advertisement.
S104: and switching the I-frame video advertisement played by the video output equipment into the video advertisement broadcasted in the network.
S105: and playing the video advertisement broadcasted in the network through the video output equipment.
Specifically, if the terminal device does not have the I-frame video advertisement cached in advance, the video advertisement broadcasted in the network is played through the video output device, and a mark indicating that the I-frame video advertisement is failed to be played is generated. Firstly, initializing a demux module, a decoder and output equipment, and if a monitor detects that a mark of I-frame video advertisement playing failure exists, connecting the decoder with the output equipment to play the decoded video advertisement broadcasted in the network, setting the monitor in the decoder and monitoring the time value of the video advertisement played broadcasted in the network.
And starting the demux module, locking the frequency point of the video advertisement broadcasted in the network by the frequency locker according to the relevant information of the frequency point of the video advertisement broadcasted in the network, and continuously receiving the video advertisement of the frequency point. The related information of the frequency point where the video advertisement broadcasted in the network is located includes frequency, symbol rate, modulation mode and other parameter information. After the frequency locking is successful, the analog signal is converted into a digital signal and is transmitted to the demux module through the TS stream. The demux establishes a channel in the demux module through a preset PID, filters out video advertisements broadcasted in a network in the TS stream through the channel, completes decoding by a decoder, and plays by an output device.
S106: and (5) judging whether the initialization stage is finished or not when monitoring that the complete video advertisement starts to be broadcast in the network, and executing the step S107 if the initialization stage is finished.
It should be noted that the initialization duration of the terminal device corresponds to the playing duration of the video advertisement, so that a certain video advertisement may be played at an intermediate position when the initialization is completed, and at this time, if the terminal device is directly switched to the working interface at the operation stage of the terminal device, a user may experience a poor abrupt feeling.
In the process of playing the video advertisement broadcasted in the network, the PTS in the monitor is started, and the time recorded by the PTS is judged. Specifically, the PTS value is a value at a certain time of video advertisement playing, a new PTS is always generated in the video advertisement playing process, the new PTS represents a next frame of video, and when an advertisement is switched, the new PTS represents a first frame of video of the video advertisement. Detecting whether the PTS in the monitor has jump. If the jump occurs, it indicates that the video advertisement broadcasted in the network is switching. And when the broadcast video advertisement in each network is finished, judging the initialization state of the system.
S107: if the initialization stage is completed, the playing of the video advertisement broadcasted in the network is finished, and the terminal equipment is controlled to enter the operation stage.
Specifically, each time the PTS in the monitor jumps, the monitor acquires the jumping state of the PTS, and enters judgment according to the jumping state, if the jumping state generates an instruction, the instruction judges whether the initialization stage of the terminal equipment is completed; if the initialization stage is completed, the decoder and the output device are closed, the operating system of the terminal device enters a normal working interface, and if the initialization stage is not completed, the video advertisement broadcasted in the next network is continuously played.
An embodiment of the present invention further provides a device for controlling advertisement playing, as shown in fig. 3, the device includes: an I-frame video detection module 301, an I-frame video playing module 302, a monitoring broadcast video advertisement module 303, and an advertisement switching module 304.
An I-frame video detection module 301, configured to detect whether a pre-cached I-frame video advertisement exists in a terminal device when the terminal device is powered on and enters an initialization stage; wherein the terminal device is connected to the network during an initialization phase and the network has a video advertisement broadcast.
An I-frame video playing module 302, configured to play an I-frame video advertisement through a video output device if the I-frame video advertisement exists in the terminal device.
And a monitoring broadcast video advertisement module 303, configured to monitor whether a complete video advertisement starts to be broadcast in the network in the process of playing the I-frame video advertisement.
The advertisement switching module 304 is configured to switch the I-frame video advertisement played by the video output device to a video advertisement broadcasted in the network if the network starts to broadcast a complete video advertisement.
More specifically, if the monitored related information is a unique identifier, it may be determined whether the identifier of the video advertisement played in the network has changed, and if the identifier of the video advertisement played in the network has changed, it is determined that the video advertisement played in the network is switched from one video advertisement to another video advertisement, that is, another video advertisement that is complete begins to be played.
In one example, the monitoring broadcast video advertisement module specifically includes: a time tag obtaining submodule and a monitoring time tag submodule.
And the time tag obtaining submodule is used for obtaining a display time tag related to the video advertisements broadcasted in the network in the process of playing the I-frame video advertisements, and the display time tag is used for recording the real-time playing time length of each video advertisement broadcasted in the network.
And the monitoring time tag submodule is used for monitoring whether the value of the display time tag changes more than a preset value or not.
In an example, an embodiment of the present invention provides a control apparatus for advertisement playing, where the control apparatus further includes, on the basis of the apparatus structure shown in fig. 3: the system comprises a frequency point monitoring module and an I-frame video advertisement updating module.
And the frequency point monitoring module is used for monitoring the information broadcast by each frequency point in the network in real time.
And the I frame video advertisement updating module is used for replacing the pre-cached I frame video advertisement with the updated I frame video advertisement if the updating of the I frame video advertisement exists in the information broadcasted by each frequency point in the network.
In an example, the present invention further provides a control device for advertisement playing, which may further include, on the basis of the device structure shown in fig. 3:
a first judging module, configured to, after monitoring whether to start broadcasting a complete video advertisement in the network in the process of playing the I-frame video advertisement, judge whether an initialization stage is completed whenever it is monitored that the complete video advertisement starts broadcasting in the network.
And the video advertisement ending module is used for ending the playing of the video advertisement broadcasted in the network and controlling the terminal equipment to enter the running stage if the initialization stage is finished.
In an example, an embodiment of the present invention further provides a control apparatus for advertisement playing, as shown in fig. 4, the control apparatus includes: an I-frame video detection module 301, an I-frame video playing module 302, a monitoring broadcast video advertisement module 303, an advertisement switching module 304, a broadcast video advertisement playing module 305, a second judgment module 306, and an end video advertisement module 307. The description of the modules 301 and 304 refers to the description of the apparatus shown in FIG. 3.
The broadcast video advertisement playing module 305 is configured to play a video advertisement broadcasted in a network through a video output device if the terminal device does not have an I-frame video advertisement cached in advance.
The second determining module 306 is configured to determine whether the initialization stage is completed every time it is monitored that a complete video advertisement starts to be broadcast in the network.
A video advertisement ending module 307, configured to end playing the video advertisement broadcasted in the network and control the terminal device to enter an operation phase if the initialization phase is completed.
The embodiment of the invention provides a control device for advertisement playing, which detects whether a pre-cached I frame video advertisement exists when a terminal device is in an initialization stage, plays the I frame video advertisement if the I frame video advertisement exists, monitors the video advertisement broadcasted in a network in real time, and switches the I frame video advertisement broadcasted in a video output device into the video advertisement broadcasted in the network when the video advertisement broadcasted in the network is about to start to play a complete video advertisement. The invention can play the video advertisement existing in the network in real time, thereby solving the problem of slow video advertisement updating efficiency in the prior art, and in addition, the invention can monitor whether the video advertisement in the network is complete, and only plays the video advertisement in the network under the complete condition, thereby playing the video advertisement existing in the network in real time and complete for the user, and having better user watching experience.
In addition, the application also provides a terminal device which can be a mobile phone, a set-top box, a television integrated with the function of the set-top box and other devices. The terminal device includes: the processor executes the control method for playing the advertisement provided by any one of the above embodiments by running the software program stored in the memory and calling the data stored in the memory.
In addition, a storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method for controlling advertisement playing provided in any of the above embodiments.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the system or system embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described system and system embodiments are merely illustrative, wherein units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (12)
1. A method for controlling advertisement playing is characterized by comprising the following steps:
when a terminal device is started and enters an initialization stage, detecting whether a pre-cached I-frame video advertisement exists in the terminal device; in the initialization stage, the terminal equipment is connected with a network, and video advertisements are broadcasted in the network;
if the I-frame video advertisement exists in the terminal equipment, playing the I-frame video advertisement through video output equipment;
monitoring whether a complete video advertisement starts to be broadcast in the network or not in the process of playing the I-frame video advertisement;
and if the network starts to broadcast the complete video advertisement, switching the I-frame video advertisement played by the video output equipment into the video advertisement broadcasted in the network.
2. The method for controlling advertisement broadcasting according to claim 1, wherein the monitoring whether to start broadcasting the complete video advertisement in the network comprises:
obtaining a display time tag related to the video advertisements broadcasted in the network, wherein the display time tag is used for recording the real-time playing time length of each video advertisement broadcasted in the network;
and monitoring whether the value of the display time tag changes more than a preset value or not.
3. The method for controlling the playing of an advertisement according to claim 1, further comprising:
monitoring information broadcast by each frequency point in the network in real time;
and if the information broadcasted at each frequency point in the network has the update of the I-frame video advertisement, replacing the pre-cached I-frame video advertisement with the updated I-frame video advertisement.
4. The method for controlling advertisement playing according to claim 1, wherein after monitoring whether to start broadcasting a complete video advertisement in the network during the playing of the I-frame video advertisement, the method further comprises:
judging whether the initialization stage is finished or not when the fact that the complete video advertisement starts to be broadcast in the network is monitored;
and if the initialization stage is completed, ending the playing of the video advertisement broadcasted in the network, and controlling the terminal equipment to enter the operation stage.
5. The method of claim 1, further comprising:
if the terminal equipment does not have the I-frame video advertisement cached in advance, playing the video advertisement broadcasted in the network through the video output equipment;
judging whether the initialization stage is finished or not when the situation that the complete video advertisement starts to be broadcast in the network is monitored;
and if the initialization stage is completed, ending the playing of the video advertisement broadcasted in the network, and controlling the terminal equipment to enter the operation stage.
6. An apparatus for controlling advertisement playing, comprising:
the system comprises an I-frame video detection module, a frame selection module and a frame selection module, wherein the I-frame video detection module is used for detecting whether a pre-cached I-frame video advertisement exists in the terminal equipment when the terminal equipment is started to enter an initialization stage; in the initialization stage, the terminal equipment is connected with a network, and video advertisements are broadcasted in the network;
the I-frame video playing module is used for playing the I-frame video advertisement through video output equipment if the I-frame video advertisement exists in the terminal equipment;
the monitoring broadcast video advertisement module is used for monitoring whether the complete video advertisement is broadcasted in the network or not in the process of playing the I-frame video advertisement;
and the advertisement switching module is used for switching the I-frame video advertisement played by the video output equipment into the video advertisement broadcasted in the network if the complete video advertisement starts to be broadcasted in the network.
7. The apparatus for controlling advertisement playing of claim 6, wherein the module for monitoring broadcast video advertisements comprises:
the time tag obtaining sub-module is used for obtaining a display time tag related to the video advertisement broadcasted in the network in the process of playing the I-frame video advertisement, and the display time tag is used for recording the real-time playing duration of each video advertisement broadcasted in the network;
and the monitoring time tag submodule is used for monitoring whether the value of the display time tag changes more than a preset value or not.
8. The apparatus for controlling playing of an advertisement according to claim 6, further comprising:
the frequency point monitoring module is used for monitoring the information broadcast by each frequency point in the network in real time;
and the I frame video advertisement updating module is used for replacing the pre-cached I frame video advertisement with the updated I frame video advertisement if the updating of the I frame video advertisement exists in the information broadcasted by each frequency point in the network.
9. The apparatus for controlling playing of an advertisement according to claim 6, further comprising:
a first judging module, configured to, after monitoring whether to start broadcasting a complete video advertisement in the network in the process of playing the I-frame video advertisement, judge whether the initialization stage is completed every time it is monitored that the complete video advertisement starts broadcasting in the network;
and the video advertisement ending module is used for ending the playing of the video advertisement broadcasted in the network and controlling the terminal equipment to enter the operation stage if the initialization stage is finished.
10. The apparatus for controlling playing of an advertisement according to claim 6, further comprising:
the broadcast video advertisement playing module is used for playing the video advertisement broadcasted in the network through the video output equipment if the terminal equipment does not have the I-frame video advertisement cached in advance;
a second judging module, configured to judge whether the initialization stage is completed every time it is monitored that a complete video advertisement starts to be broadcast in the network;
and the video advertisement ending module is used for ending the playing of the video advertisement broadcasted in the network and controlling the terminal equipment to enter the operation stage if the initialization stage is finished.
11. A terminal device, comprising: a processor and a memory, wherein the processor executes the software program stored in the memory and calls the data stored in the memory to at least execute the control method of advertisement playing of any one of claims 1 to 5.
12. A storage medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements a method of controlling the playing of an advertisement according to any one of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910122724.6A CN111586471A (en) | 2019-02-19 | 2019-02-19 | Advertisement playing control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910122724.6A CN111586471A (en) | 2019-02-19 | 2019-02-19 | Advertisement playing control method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111586471A true CN111586471A (en) | 2020-08-25 |
Family
ID=72111047
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910122724.6A Pending CN111586471A (en) | 2019-02-19 | 2019-02-19 | Advertisement playing control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111586471A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113207020A (en) * | 2021-04-29 | 2021-08-03 | 青岛海信宽带多媒体技术有限公司 | Intelligent set top box and boot animation playing optimization method |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1937754A (en) * | 2006-08-23 | 2007-03-28 | 深圳创维-Rgb电子有限公司 | Digital media terminal advertising-playing method |
WO2008081595A1 (en) * | 2006-12-27 | 2008-07-10 | Dentsu Inc. | Network advertisement transmission device and method |
CN101980522A (en) * | 2010-10-13 | 2011-02-23 | 福建新大陆通信科技股份有限公司 | Method for realizing video advertisement based on digital set top box boot |
CN102387411A (en) * | 2010-09-06 | 2012-03-21 | 康佳集团股份有限公司 | Set-top box and method for set-top box to play advertisement |
CN102413363A (en) * | 2011-12-02 | 2012-04-11 | 深圳市同洲视讯传媒有限公司 | Method, device and system for broadcasting one-way video advertisement |
WO2013102440A1 (en) * | 2012-01-07 | 2013-07-11 | Gu Jinrong | Cell phone advertisement playing method and interaction system |
CN103269452A (en) * | 2013-05-27 | 2013-08-28 | 河南有线电视网络集团有限公司 | Advertisement content renewing method and device |
CN103581708A (en) * | 2012-07-31 | 2014-02-12 | 中兴通讯股份有限公司 | Method and system for playing boot advertisements of set top box |
CN103607634A (en) * | 2013-11-19 | 2014-02-26 | 四川长虹电器股份有限公司 | Method for reducing network video ordering terminal user waiting time |
CN104936005A (en) * | 2015-06-18 | 2015-09-23 | 深圳市茁壮网络股份有限公司 | Commercial video playback method, device and system of set top box |
CN105791948A (en) * | 2016-05-30 | 2016-07-20 | Tcl集团股份有限公司 | Method and system for realizing starting video of smart television |
-
2019
- 2019-02-19 CN CN201910122724.6A patent/CN111586471A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1937754A (en) * | 2006-08-23 | 2007-03-28 | 深圳创维-Rgb电子有限公司 | Digital media terminal advertising-playing method |
WO2008081595A1 (en) * | 2006-12-27 | 2008-07-10 | Dentsu Inc. | Network advertisement transmission device and method |
CN102387411A (en) * | 2010-09-06 | 2012-03-21 | 康佳集团股份有限公司 | Set-top box and method for set-top box to play advertisement |
CN101980522A (en) * | 2010-10-13 | 2011-02-23 | 福建新大陆通信科技股份有限公司 | Method for realizing video advertisement based on digital set top box boot |
CN102413363A (en) * | 2011-12-02 | 2012-04-11 | 深圳市同洲视讯传媒有限公司 | Method, device and system for broadcasting one-way video advertisement |
WO2013102440A1 (en) * | 2012-01-07 | 2013-07-11 | Gu Jinrong | Cell phone advertisement playing method and interaction system |
CN103581708A (en) * | 2012-07-31 | 2014-02-12 | 中兴通讯股份有限公司 | Method and system for playing boot advertisements of set top box |
CN103269452A (en) * | 2013-05-27 | 2013-08-28 | 河南有线电视网络集团有限公司 | Advertisement content renewing method and device |
CN103607634A (en) * | 2013-11-19 | 2014-02-26 | 四川长虹电器股份有限公司 | Method for reducing network video ordering terminal user waiting time |
CN104936005A (en) * | 2015-06-18 | 2015-09-23 | 深圳市茁壮网络股份有限公司 | Commercial video playback method, device and system of set top box |
CN105791948A (en) * | 2016-05-30 | 2016-07-20 | Tcl集团股份有限公司 | Method and system for realizing starting video of smart television |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113207020A (en) * | 2021-04-29 | 2021-08-03 | 青岛海信宽带多媒体技术有限公司 | Intelligent set top box and boot animation playing optimization method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11956490B2 (en) | Systems and methods for client-based addressable advertising | |
US10924813B2 (en) | Reception apparatus, reception method, transmission apparatus, transmission method, program, and broadcasting system | |
CN103081508B (en) | Receiving equipment, method of reseptance and program | |
US10477263B2 (en) | Use of multiple embedded messages in program signal streams | |
CA2828945C (en) | Transmitting device, transmitting method, receiving device, receiving method, program, and broadcasting system | |
CA2809309C (en) | Receiver, reception method and program | |
CA2806284C (en) | Transmission apparatus, transmission method, reception apparatus, reception method, program, and broadcasting system | |
CA2677024C (en) | System and method for terrestrial broadcast of emergency alerts | |
US20070157235A1 (en) | Method and apparatus for reverting to a preferred program at the end of a commercial interruption | |
KR100768410B1 (en) | Television display device and method of operating a television system | |
US20110200304A1 (en) | Feature activation on occurrence of an event | |
CN102077602A (en) | Interval based ad insertion used for the delivery of video streams | |
US20130303077A1 (en) | Receiving device, broadcasting system, receiving method, and non-transitory computer-readable recording medium | |
CN104244066A (en) | Television program watching method and system | |
KR20150027262A (en) | Provision of a personalized media content | |
CN105142003B (en) | Television program playing method and device | |
CN111586471A (en) | Advertisement playing control method and device | |
EP2560401A2 (en) | Method for providing a widget service streaming through a broadcast network, and apparatus for same | |
US9210476B1 (en) | Methods and apparatus for delivering application data to applications | |
US20100146540A1 (en) | Receiving device, communications system, receiving device control method and program | |
KR100992003B1 (en) | Dvd virtual machine | |
CN109218828A (en) | A kind of method and terminal carrying out streaming media playing | |
KR101442244B1 (en) | Method and apparatus for processing advertisement in digital broadcasting | |
US20080013472A1 (en) | Method of controlling data broadcast and data broadcast receiver | |
CN111435997A (en) | Method and device for playing startup video advertisement and video terminal |
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 |