CN113573100B - Advertisement display method, equipment and system - Google Patents
Advertisement display method, equipment and system Download PDFInfo
- Publication number
- CN113573100B CN113573100B CN202110769177.8A CN202110769177A CN113573100B CN 113573100 B CN113573100 B CN 113573100B CN 202110769177 A CN202110769177 A CN 202110769177A CN 113573100 B CN113573100 B CN 113573100B
- Authority
- CN
- China
- Prior art keywords
- advertisement
- packet
- file
- video
- event
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 66
- 230000007246 mechanism Effects 0.000 claims abstract description 9
- 238000004590 computer program Methods 0.000 claims description 18
- 238000006243 chemical reaction Methods 0.000 claims description 2
- 230000008569 process Effects 0.000 abstract description 18
- 238000003780 insertion Methods 0.000 abstract description 8
- 230000037431 insertion Effects 0.000 abstract description 8
- 238000001824 photoionisation detection Methods 0.000 description 23
- 230000006870 function Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 6
- 230000003993 interaction Effects 0.000 description 5
- 230000002452 interceptive effect Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 235000013361 beverage Nutrition 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000004065 semiconductor Substances 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/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/23424—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving splicing one content stream with another content stream, e.g. for inserting or substituting an advertisement
-
- 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/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
- H04N21/4316—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
-
- 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
-
- 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/85—Assembly of content; Generation of multimedia applications
- H04N21/858—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
- H04N21/8586—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Marketing (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The application provides an advertisement display scheme, in the scheme, when a video file is converted into a TS file, a service side device can insert an advertisement TS packet into an advertisement position in the TS file, wherein the advertisement TS packet is a TS packet with a PID set to a preset value, the structure of the advertisement TS packet comprises a packet header and a payload, the packet header at least comprises the PID set to the preset value, and the payload at least comprises URL information corresponding to an advertisement; and when receiving and analyzing the TS file sent by the server side equipment and analyzing the advertisement TS packet in the TS file, the terminal equipment reports EVENT information to a browser broadcasting control page through an EVENT mechanism, so that the browser broadcasting control page analyzes URL information carried in the EVENT information, accesses a corresponding advertisement page and realizes advertisement display, wherein an EVENT corresponding to the EVENT information in the EVENT mechanism is a newly defined event_SPECAIL_CONTENT EVENT, the event_SPECAIL_CONTENT EVENT is packaged in a JSON format, the whole process is realized more conveniently, and the efficiency of advertisement insertion and display can be improved.
Description
Technical Field
The present application relates to the field of information technologies, and in particular, to an advertisement display method and apparatus.
Background
Inserting advertisements in video is a common marketing tool in IPTV (Interactive Personality TV, personalized interactive television), and the main forms of video advertisements now include: front inserted advertisement, middle inserted advertisement, back inserted advertisement. The user needs to watch advertisements irrelevant to the video content by a preset time point in the process of watching the video. However, the three advertisements can only be inserted in the early, middle and later stages of video playing at preset time points, so that the method is not flexible; also, inserting advertisements in video at regular intervals, which are independent of the video content, is also prone to causing audience interference with the advertisements.
However, as technology has evolved, the form of advertisements has changed, and there is now a form of advertisements related to video content that are highly related to content, such as pop-ups of advertisements related to video content, such as clothing, apparel, or items related to video scenes, such as beverages, tables and chairs, vehicles, items, etc., during viewing of video. However, there is currently no solution that can insert and present advertisements related to video content in video more efficiently.
Disclosure of Invention
An object of the application is to provide an advertisement display method, equipment and system.
In order to achieve the above object, the present application provides an advertisement displaying method, which includes:
when converting a video file into a TS file, a server side device inserts an advertisement TS packet into an advertisement position in the TS file, wherein the advertisement position is a position of an associated TS packet in the TS file, the associated TS packet is a TS packet corresponding to a video frame related to advertisement content in the video file, the advertisement TS packet is a TS packet with a PID set to a preset value, the structure of the advertisement TS packet comprises a packet header and a payload, the packet header at least comprises the PID set to the preset value, and the payload at least comprises URL information corresponding to the advertisement;
when receiving and analyzing a TS file sent by a server side device and analyzing the advertisement TS packet in the TS file, the terminal device reports EVENT information to a browser broadcasting control page through an EVENT mechanism, so that the browser broadcasting control page analyzes URL information carried in the EVENT information, accesses a corresponding advertisement page and achieves advertisement display, wherein an EVENT corresponding to the EVENT information in the EVENT mechanism is a newly defined event_SPECAIL_CONTENT EVENT, and the event_SPECAIL_CONTENT EVENT is packaged in a JSON format.
The embodiment of the application also provides an advertisement display method, which comprises the following steps:
the method comprises the steps that a video file is encoded by a server side device, the video file is converted into a TS file, and advertisement TS packets are inserted into advertisement positions in the TS file, wherein the advertisement positions are positions of associated TS packets in the TS file, and the associated TS packets are TS packets corresponding to video frames related to advertisement content in the video file;
and when receiving a video playing request sent by a terminal device, the server device sends the TS file to the terminal device, so that the terminal device analyzes an advertisement TS packet in the TS file, reads advertisement information in the advertisement TS packet, and performs advertisement display based on the advertisement information.
Further, before the server device inserts the advertisement TS packet in the advertisement position in the TS file, the method further comprises:
and the server equipment acquires the advertisement position.
Further, the server device obtains the advertisement position, including:
the server equipment performs image recognition on the video frames of the video file and determines the video frames related to the advertisement content;
and the server equipment determines the position of the TS packet corresponding to the video frame related to the advertisement content in the TS file as the advertisement position.
Further, the advertisement TS packet is a TS packet with a PID value being a preset value.
Based on another aspect of the application, there is also provided an advertisement display method, including:
the terminal equipment sends a video playing request to the server equipment, so that the server equipment sends the TS file to the terminal equipment when receiving the video playing request sent by the terminal equipment, and the TS file is obtained by the server equipment performing coding processing conversion on the video file and inserting an advertisement TS packet at an advertisement position;
the terminal equipment receives and analyzes the TS file sent by the server equipment;
and when the terminal equipment analyzes the advertisement TS packet in the TS file, reading advertisement information in the advertisement TS packet, and displaying advertisements based on the advertisement information.
Further, the terminal device receives and parses the TS file sent by the server device, including:
the terminal equipment receives a TS file sent by the server equipment and detects the PID value of a TS packet in the TS file;
if the PID value is detected to be a preset value, the terminal equipment determines the advertisement TS packet which is analyzed into the TS file, wherein the advertisement TS packet is a TS packet with the PID value being the preset value.
Further, the advertisement information is an advertisement link address;
the terminal device reads the advertisement information in the advertisement TS packet when analyzing the advertisement TS packet in the TS file, and performs advertisement display based on the advertisement information, and the method comprises the following steps:
when the terminal equipment analyzes the advertisement TS packet in the TS file, reading an advertisement link address in the advertisement TS packet;
and the terminal equipment opens the page corresponding to the advertisement link address in the browser to display the advertisement.
Further, the terminal device performs advertisement display by opening a page corresponding to the advertisement link address in the browser, including:
the video player of the terminal equipment submits trigger event information and an advertisement link address related to the trigger event information to the browser of the terminal equipment, wherein the event type of the trigger event information is a content-associated advertisement type;
when the browser of the terminal equipment receives the trigger event information, judging whether the event type of the trigger event information is a content-associated advertisement type or not;
if yes, the browser of the terminal equipment opens the page corresponding to the advertisement link address to display the advertisement.
The embodiment of the application also provides a computing device, which comprises a memory for storing computer program instructions and a processor for executing the computer program instructions, wherein the computer program instructions, when executed by the processor, trigger the device to execute the advertisement presentation method.
Embodiments of the present application also provide a computer readable medium having stored thereon computer program instructions executable by a processor to implement the advertisement presentation method.
In addition, the embodiment of the application also provides an advertisement display system, which comprises a server device and a terminal device;
the server device is used for executing the processing steps of the advertisement display method executed by the server device;
the terminal equipment is used for executing the processing steps of the advertisement display method executed by the terminal equipment.
Compared with the prior art, in the advertisement display scheme provided by the application, the server device can encode the video file, convert the video file into the TS file, insert the advertisement TS packet into the advertisement position in the TS file, and wait to receive the video playing request from the terminal device. The terminal equipment can send a video playing request to the server equipment, and when the server equipment receives the video playing request sent by the terminal equipment, the TS file can be sent to the terminal equipment, so that the terminal equipment can read advertisement information in the advertisement TS packet when analyzing the advertisement TS packet in the TS file, and advertisement display is carried out based on the advertisement information. According to the scheme, in the encoding processing process of converting the video file into the streaming media by the server side equipment, the advertisement TS packet for realizing advertisement display is inserted into the TS file to realize advertisement insertion, and the terminal equipment can display the advertisement according to the content in the advertisement TS packet after detecting the advertisement TS packet, so that the whole process is realized more conveniently, and the efficiency of advertisement insertion and display can be improved.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the detailed description of non-limiting embodiments, made with reference to the following drawings, in which:
fig. 1 is an interaction flow chart between a server device and a terminal device when implementing an advertisement display method in an embodiment of the present application;
FIG. 2 is a schematic diagram of a TS file according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a payload of an advertisement TS packet according to an illustrative embodiment of the present application;
fig. 4 is a process flow chart of the terminal device in the embodiment of the application when performing advertisement display;
FIG. 5 is a flowchart of a process for implementing content-related advertisement insertion and presentation in a video-on-demand process of an IPTV using a scheme provided by an embodiment of the present application;
the same or similar reference numbers in the drawings refer to the same or similar parts.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative only and are not to be construed as limiting the invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless expressly stated otherwise, as understood by those skilled in the art. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. The term "and/or" as used herein includes all or any element and all combination of one or more of the associated listed items.
According to the advertisement display method provided by the embodiment of the application, in the encoding processing process of converting the video file into the streaming media by the server side equipment, the advertisement TS packet for realizing advertisement display is inserted into the TS (Transport Stream) file to realize advertisement insertion, so that the video file itself does not need to be directly modified, and the terminal equipment can display the advertisement according to the content in the advertisement TS packet after detecting the advertisement TS packet, and the whole process is realized more flexibly.
The advertisement display method provided by the embodiment of the application relates to interaction among a plurality of devices in the implementation process, and comprises a server device for providing advertisement content and a terminal device for displaying the advertisement content. The server device includes, but is not limited to, a network host, a single network server, a plurality of network server sets, or a computer set based on cloud computing. Here, the Cloud is composed of a large number of hosts or web servers based on Cloud Computing (Cloud Computing), which is a kind of distributed Computing, one virtual computer composed of a group of loosely coupled computer sets. The terminal equipment can include, but is not limited to, user equipment with a display function such as a mobile phone, a tablet personal computer, a smart watch and a computer, and can process TS files and display advertisements.
Fig. 1 shows an interaction flow between a server device and a terminal device when implementing an advertisement display method according to an embodiment of the present application, and at least includes the following processing steps:
in step S101, the server device performs encoding processing on the video file, converts the video file into a TS file, and inserts an advertisement TS packet in an advertisement position in the TS file.
In an actual scenario, for a network video played in a streaming media mode, a server device providing a video playing service generally stores the video in a file in the streaming media mode. For example, in an IPTV on-demand scenario, the server device may store video in the form of a TS file, so that after receiving a video play request sent by the terminal device, the TS file corresponding to the requested video content is returned.
The TS file corresponding to the video can be obtained by encoding, processing and converting the video file by the server-side equipment. Taking the IPTV scenario as an example, the server device needs to provide the user with a TS file conforming to the h.264 standard, so that it needs to perform encoding processing on a video file not conforming to the format requirement, convert the video file into a TS file conforming to the h.264 standard, and store the TS file in the server device for use in on-demand.
In the process of converting the video file into the TS file, the server side equipment performs some additional processing on the TS file, namely, inserts advertisement TS packets in advertisement positions in the TS file. The advertisement TS packet is different from a common TS packet obtained by encoding and converting a video file, the common TS packet includes data about video content requested by a terminal device, and the advertisement TS packet includes data about advertisement content that needs to be displayed in a video playing process. For example, the advertisement TS packet may use an advertisement link address in the form of URL (Uniform Resource Locator ) or the like as advertisement information, so that the terminal device may perform advertisement presentation by opening a page corresponding to the advertisement link address in the browser.
Fig. 2 shows the structure of a TS file in an embodiment of the present application, where the TS file includes a plurality of TS packets, and each TS packet includes two parts, a header (header) and a payload (payload), where the length of the header is 4bytes and the length of the payload is 184bytes. The packet header specifically comprises the following contents:
syn_byte is a packet header synchronization byte, the data type is char, and the length is 8 bits;
the transport_error_indicator is a transport packet error indicator, the data type is char, and the length is 1bit;
the payload_unit_start_indicator is a valid payload unit start indicator, the data type is char, and the length is 1bit;
transport_priority is a transmission priority, the data type is char, and the length is 1bit;
PID is packet identification, data type is int, length is 13bit;
transport_scrambling_control is a transport scrambling control, and the data type is char, and the length is 2 bits;
adaptation_field_control is adjustment field control, the data type is char, and the length is 2 bits;
continuity_counter is a continuous counter, and the data type is char and the length is 4 bits.
Wherein, the PID can be used for representing the type of data stored in the payload of the TS packet, and the advertisement TS packet and the common TS packet corresponding to the video content can be distinguished by setting different PIDs. For example, the following table shows a usage rule of PID in header of TS packet:
PID value | PID value usage description |
0x0000 | Program Association Table (PAT) |
0x0001 | Conditional Access Table (CAT) |
0x0002 | Transport stream description table |
0x0003~0x000F | Reservation of |
0x0000 | Empty bag |
Among them, the PID used in the normal TS packet has a value of 0x0000, 0x0001, or 0x0002, or the like. And any one of reserved values (i.e., 0x0003 to 0x 000F) can be used in the advertisement TS packet according to a preset recognition rule. For example, the PID used for the advertisement TS packet in the embodiment of the present application is 0×000e. Thus, the server device inserts a TS packet with PID of 0x000E as an advertisement TS packet in the advertisement position in the TS file converted from the video file.
The advertisement information can be written into the payload of the advertisement TS packet, when the terminal equipment detects that the PID of the TS packet is 0x000E, the advertisement information in the payload of the TS packet, such as the URL of the advertisement, can be read, and the advertisement can be displayed by opening the URL. Fig. 3 shows a structure of a payload of an advertisement TS packet, which may include the following:
type is advertisement type, data type is char, length is 1byte, and in some embodiments of the present application the advertisement type may be set as follows: 0x01: advertisement, 0x02: interaction, 0x03: shopping, 0x04: voting, 0x05: slice header, 0x06: tail of the sheet;
len is the length; the data type is char, and the length is 1byte;
the checksum is a checksum, the data type is char, and the length is 4bytes;
sequence is a serial number, the data type is char, and the length is 4bytes, and is used for distinguishing advertisement pages;
the URL is URL information of an advertisement, the data type is char, and the length is 174bytes.
Since the advertisement TS packet contains advertisement information used for displaying advertisements instead of data related to video content, the parsing of the normal TS packet and the playing of video content are not affected.
In this embodiment of the present application, the advertisement position is a position of an associated TS packet in a TS file, and the associated TS packet is a TS packet corresponding to a video frame related to advertisement content in the video file. For example, the solution of the embodiment of the present application needs to show an advertisement about a beverage when a video is played to a certain video frame, and the video frame just includes a picture of the beverage, so that the advertisement can be shown in association with the video content. In the application scene, a section of video frame of the drink picture is a video frame related to advertisement content, after the video file is encoded, a TS packet corresponding to the section of video frame is an associated TS packet, so that the position of the associated TS packet in the TS file can be determined as an advertisement position in which the advertisement TS packet needs to be inserted.
Before the server side equipment inserts the advertisement TS packet in the advertisement position in the TS file, the advertisement position can be obtained in a preset mode so as to realize the insertion of the advertisement TS packet. In an actual scenario, one way is manual insertion, for example, the server device may provide a graphical user interface for implementing interaction, so that a user can input information about the advertisement position to the server device through the graphical user interface, so that the server device obtains the manually determined advertisement position to be inserted into the advertisement TS packet. Another way may be that the server device performs image recognition on the video frames of the video file to determine the video frames related to the advertisement content. When the image recognition is carried out, the server side equipment can adopt artificial intelligence modes such as machine learning and the like to recognize contents of articles, characters and scenes in the video frames and automatically mark the related video frames so as to determine the advertisement positions to be inserted into the advertisement TS packets. It will be appreciated by those skilled in the art that the above-described specific manner of obtaining the advertisement position is by way of example only, and that other manners, now known or hereafter developed, may be suitable for use with the present invention and are intended to be within the scope of the present invention and are incorporated herein by reference.
Step S102, the terminal equipment sends a video playing request to the server side equipment.
After the server side equipment prepares to complete the TS file corresponding to the video, the terminal equipment can send a video playing request to the server side equipment according to the requirement so as to request to acquire and play the relevant TS file in the terminal equipment. For example, in an IPTV application scenario, after the server device converts the video file into a TS file and inserts an advertisement TS packet, an on-demand service entry of the corresponding video may be displayed in an EPG (Electronic Program Guide ) menu provided to the terminal device, and after a user requests the video in the terminal device, the terminal device sends a video play request to the server device according to the operation of the user, so as to obtain the corresponding TS file to complete playing of the video.
Step S103, when receiving a video playing request sent by a terminal device, the server device sends the TS file to the terminal device. For example, after a user requests video1 in an interactive interface of the terminal device, the terminal device may send a video playing request about the video1 to the server device, and after receiving the video playing request, the server device may call a TS file corresponding to the video1 and send the TS file to the terminal device. In an actual scene, the TS file is sent in a data stream form, and the terminal equipment continuously receives the sequence of TS packets and plays the video content corresponding to the TS packets in real time, so that the real-time online playing of the video is realized.
Step S104, the terminal equipment receives and analyzes the TS file sent by the server equipment.
After receiving the TS file sent by the server side device, the terminal device can analyze the received TS file and preliminarily judge the type of the TS packet in the TS file. In some embodiments of the present application, the terminal device may determine by detecting a PID value in a packet header of a TS packet, where the TS packet is a normal TS packet corresponding to a video file or an advertisement TS packet related to advertisement presentation. Specifically, if the PID value is detected to be a preset value (e.g., a preset reserved value such as 0x 000E), the terminal device determines to parse the advertisement TS packet in the TS file, and at this time, may execute a subsequent step S105. Otherwise, if the PID value is detected not to be the preset value, the current analyzed TS packet can be determined to be a common TS packet, and the normal video playing processing mode is adopted to process the TS packet, so that the corresponding video content can be played.
Step S105, when the terminal device parses the advertisement TS packet in the TS file, reads advertisement information in the advertisement TS packet, and performs advertisement display based on the advertisement information.
The advertisement display mode can be set according to the requirement of an actual scene, for example, a page corresponding to the advertisement can be opened through a browser, so that a user watching the video can browse the advertisement in the browser. In some embodiments of the present application, the advertisement information may be an advertisement link address, and the terminal device may read the advertisement link address in the advertisement TS packet when parsing the advertisement TS packet in the TS file, and then open a page corresponding to the advertisement link address in the browser to perform advertisement display.
In an actual scenario, the parsing of the TS file and the playing of the specific video content may be implemented by a video player in the terminal device, and when the video player parses the advertisement TS packet, the video player may perform advertisement presentation by adopting a processing flow shown in fig. 4, which may specifically include the following steps:
in step S401, the video player of the terminal device submits trigger event information and an advertisement link address related to the trigger event information to the browser of the terminal device, where the event type of the trigger event information is a content-associated advertisement type.
Step S402, when the browser of the terminal equipment receives the trigger event information, judging whether the event type of the trigger event information is a content associated advertisement type;
step S403, if yes, the browser of the terminal equipment opens the page corresponding to the advertisement link address to display the advertisement.
In an actual scenario, a conventional video playing scheme may also have a mechanism for implementing some preset processes by using trigger Event information, for example, in an IPTV scenario, a video player of a terminal device may generate Event information under a specific condition, and report the Event information as trigger Event information to a browser, so that the browser executes a specific process. In the advertisement display scheme provided in the embodiment of the present application, a new special Event type event_specail_content, that is, a CONTENT-associated advertisement type, may be added in addition to the Event type of the existing Event information, so that the Event type corresponding to the Event information may include the following several types:
thus, when the video player of the terminal device parses the advertisement TS packet, an EVENT information with an EVENT type of event_speed_content may be submitted to the browser of the terminal device, for example, an EVENT information in this embodiment may be encapsulated in JSON format, for example, as follows:
{“type”:“EVENT_SPEACIAL_CONTENT”,“URL_type”:01,“URL”:http://iptv.com.cn/advertisement-sequencenumber.html}
when the browser receives the trigger Event information, the Event type of the Event information can be judged, and if the Event type is event_speed_content, the browser can open an advertisement page to display to a user watching the video by using the URL transmitted by the Event information.
It should be understood by those skilled in the art that the specific manner in which the terminal device performs advertisement presentation is merely exemplary, and that other manners that may be apparent to those skilled in the art from now on or later on are applicable to the present invention and are intended to be within the scope of the present invention and are incorporated herein by reference. For example, the terminal device may acquire the content of the advertisement through the advertisement information in the background, and then display the content of the advertisement on the playing interface of the video through floating window, barrage, and other manners, so as to display the advertisement.
Fig. 5 shows a process flow for implementing content-related advertisement insertion and presentation in a video-on-demand process of IPTV using the scheme provided by the embodiments of the present application. In this scenario, the server device may include an encoding/transcoding device, a media server and a web server, where the encoding/transcoding device is configured to encode a video file, generate a TS file and insert an advertisement TS packet into the TS file, and the media server is configured to store the TS file inserted with the advertisement TS packet, and interact with the terminal device to implement a video-on-demand processing procedure, and the web server is configured to respond to a web access request of the terminal device and provide a page corresponding to an advertisement URL address. The interactive processing flow between the server device and the terminal device may include the following steps:
in step S501, the encoder/transcoder converts the video file into a TS file, and inserts a special advertisement TS packet in the advertisement position of the TS file, where the advertisement TS packet is marked with a PID value of 0x000E. The advertisement position mainly refers to a position where an advertisement needs to be introduced, for example, an advertisement is made according to an ornament worn by a video main corner, and an advertisement TS packet needs to be inserted in a position corresponding to a video frame played to the main corner. This special advertisement TS packet requires that the URL address of the advertisement link is put in the payload of the TS packet in addition to the PID being a specific value.
Step S502, adding a special TS file of advertisement TS package, and providing service to the outside through a media server. After the TS file is added into the advertisement TS packet, normal media storage and service are not affected, and video content is not affected.
Step S503, after the browser of the terminal equipment requests video, the video player receives and analyzes the TS file, and after analyzing the TS packet of the advertisement, the video player submits event information to the browser and uploads the URL address of the advertisement link to the browser;
step S504, after receiving event information uploaded by the video player, the browser analyzes the event type of the event information as a content-associated advertisement type, and requests a corresponding page from the web server by using the URL address, thereby opening the advertisement page for display.
The embodiment of the application also provides an advertisement display method, which comprises the following steps:
when converting a video file into a TS file, a server side device inserts an advertisement TS packet into an advertisement position in the TS file, wherein the advertisement position is a position of an associated TS packet in the TS file, the associated TS packet is a TS packet corresponding to a video frame related to advertisement content in the video file, the advertisement TS packet is a TS packet with a PID set to a preset value, the structure of the advertisement TS packet comprises a packet header and a payload, the packet header at least comprises the PID set to the preset value, and the payload at least comprises URL information corresponding to the advertisement.
When receiving and analyzing a TS file sent by a server side device and analyzing the advertisement TS packet in the TS file, the terminal device reports EVENT information to a browser broadcasting control page through an EVENT mechanism, so that the browser broadcasting control page analyzes URL information carried in the EVENT information, accesses a corresponding advertisement page and achieves advertisement display, wherein an EVENT corresponding to the EVENT information in the EVENT mechanism is a newly defined event_SPECAIL_CONTENT EVENT, and the event_SPECAIL_CONTENT EVENT is packaged in a JSON format.
The embodiment of the application also provides a computing device for realizing advertisement presentation, which comprises a memory for storing computer program instructions and a processor for executing the computer program instructions, wherein the computer program instructions, when executed by the processor, trigger the device to execute the advertisement presentation method.
In addition, the embodiment of the application also provides an advertisement display system, which comprises a server device and a terminal device. The server device is used for executing the processing steps of the advertisement display method executed by the server device; the terminal device is used for executing the processing steps of the advertisement display method executed by the terminal device.
In particular, the methods and/or embodiments of the present application may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. The above-described functions defined in the method of the present application are performed when the computer program is executed by a processing unit.
It should be noted that, the computer readable medium described in the present application may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
In the present application, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present application may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowchart or block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of devices, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
As another aspect, the present application also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be present alone without being fitted into the device. The computer readable medium carries one or more computer program instructions executable by a processor to implement the methods and/or aspects of the various embodiments of the present application described above.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, for example, using Application Specific Integrated Circuits (ASIC), a general purpose computer or any other similar hardware device. In some embodiments, the software programs of the present application may be executed by a processor to implement the above steps or functions. Likewise, the software programs of the present application (including associated data structures) may be stored on a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. In addition, some steps or functions of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is evident that the word "comprising" does not exclude other elements or steps, and that the singular does not exclude a plurality. A plurality of units or means recited in the apparatus claims can also be implemented by means of one unit or means in software or hardware. The terms first, second, etc. are used to denote a name, but not any particular order.
Claims (12)
1. A method of advertisement presentation, the method comprising:
when converting a video file into a TS file, a server side device inserts an advertisement TS packet into an advertisement position in the TS file, wherein the advertisement position is a position of an associated TS packet in the TS file, the associated TS packet is a TS packet corresponding to a video frame related to advertisement content in the video file, the advertisement TS packet is a TS packet with a PID set to a preset value, the structure of the advertisement TS packet comprises a packet header and a payload, the packet header at least comprises the PID set to the preset value, and the payload at least comprises URL information corresponding to the advertisement;
when receiving and analyzing a TS file sent by a server side device and analyzing the advertisement TS packet in the TS file, the terminal device reports EVENT information to a browser broadcasting control page through an EVENT mechanism, so that the browser broadcasting control page analyzes URL information carried in the EVENT information, accesses a corresponding advertisement page and achieves advertisement display, wherein an EVENT corresponding to the EVENT information in the EVENT mechanism is a newly defined event_SPECAIL_CONTENT EVENT, and the event_SPECAIL_CONTENT EVENT is packaged in a JSON format.
2. A method of advertisement presentation, the method comprising:
the method comprises the steps that a video file is encoded by a server side device, the video file is converted into a TS file, and advertisement TS packets are inserted into advertisement positions in the TS file, wherein the advertisement positions are positions of associated TS packets in the TS file, and the associated TS packets are TS packets corresponding to video frames related to advertisement content in the video file;
and when receiving a video playing request sent by a terminal device, the server device sends the TS file to the terminal device, so that the terminal device analyzes an advertisement TS packet in the TS file, reads advertisement information in the advertisement TS packet, and performs advertisement display based on the advertisement information.
3. The method of claim 2, wherein the server device inserts the advertisement TS packets at advertisement positions in the TS file, further comprising:
and the server equipment acquires the advertisement position.
4. The method of claim 3, wherein the server device obtaining the advertisement position comprises:
the server equipment performs image recognition on the video frames of the video file and determines the video frames related to the advertisement content;
and the server equipment determines the position of the TS packet corresponding to the video frame related to the advertisement content in the TS file as the advertisement position.
5. The method of claim 2, wherein the advertisement TS packet is a TS packet whose PID value is a preset value.
6. A method of advertisement presentation, the method comprising:
the method comprises the steps that terminal equipment sends a video playing request to service end equipment, so that when the service end equipment receives the video playing request sent by the terminal equipment, TS (transport stream) files are sent to the terminal equipment, the TS files are obtained by the service end equipment through coding processing conversion of the video files and inserting advertisement TS packets at advertisement positions, wherein the advertisement positions are positions of associated TS packets in the TS files, and the associated TS packets are TS packets corresponding to video frames related to advertisement contents in the video files;
the terminal equipment receives and analyzes the TS file sent by the server equipment;
and when the terminal equipment analyzes the advertisement TS packet in the TS file, reading advertisement information in the advertisement TS packet, and displaying advertisements based on the advertisement information.
7. The method of claim 6, wherein the terminal device receives and parses the TS file sent by the server device, including:
the terminal equipment receives a TS file sent by the server equipment and detects the PID value of a TS packet in the TS file;
if the PID value is detected to be a preset value, the terminal equipment determines the advertisement TS packet which is analyzed into the TS file, wherein the advertisement TS packet is a TS packet with the PID value being the preset value.
8. The method of claim 6, wherein the advertisement information is an advertisement link address;
the terminal device reads the advertisement information in the advertisement TS packet when analyzing the advertisement TS packet in the TS file, and performs advertisement display based on the advertisement information, and the method comprises the following steps:
when the terminal equipment analyzes the advertisement TS packet in the TS file, reading an advertisement link address in the advertisement TS packet;
and the terminal equipment opens the page corresponding to the advertisement link address in the browser to display the advertisement.
9. The method of claim 8, wherein the terminal device performs advertisement presentation by opening a page corresponding to the advertisement link address in a browser, including:
the video player of the terminal equipment submits trigger event information and an advertisement link address related to the trigger event information to the browser of the terminal equipment, wherein the event type of the trigger event information is a content-associated advertisement type;
when the browser of the terminal equipment receives the trigger event information, judging whether the event type of the trigger event information is a content-associated advertisement type or not;
if yes, the browser of the terminal equipment opens the page corresponding to the advertisement link address to display the advertisement.
10. A computing device, wherein the device comprises a memory for storing computer program instructions and a processor for executing the computer program instructions, wherein the computer program instructions, when executed by the processor, trigger the device to perform the method of any one of claims 1 to 9.
11. A computer readable medium having stored thereon computer program instructions executable by a processor to implement the method of any of claims 1 to 9.
12. An advertisement display system is characterized by comprising a server device and a terminal device;
the server device configured to perform the method of any one of claims 1 to 5;
the terminal device being adapted to perform the method of any of claims 6 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110769177.8A CN113573100B (en) | 2021-07-07 | 2021-07-07 | Advertisement display method, equipment and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110769177.8A CN113573100B (en) | 2021-07-07 | 2021-07-07 | Advertisement display method, equipment and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113573100A CN113573100A (en) | 2021-10-29 |
CN113573100B true CN113573100B (en) | 2023-05-02 |
Family
ID=78163995
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110769177.8A Active CN113573100B (en) | 2021-07-07 | 2021-07-07 | Advertisement display method, equipment and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113573100B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101184248A (en) * | 2006-12-30 | 2008-05-21 | 腾讯科技(深圳)有限公司 | Method and device for generating video content with advertisement |
JP2009171271A (en) * | 2008-01-17 | 2009-07-30 | Nec Corp | Advertisement delivery system and delivery method |
CN102461194A (en) * | 2009-06-17 | 2012-05-16 | 通用仪表公司 | Insertion of recorded secondary digital video content during playback of primary digital video content |
WO2013081270A1 (en) * | 2011-11-28 | 2013-06-06 | 주식회사 솔박스 | Method for providing advertising images in streaming service and apparatus for streaming service using same |
CN106303621A (en) * | 2015-06-01 | 2017-01-04 | 北京中投视讯文化传媒股份有限公司 | The insertion method of a kind of video ads and device |
Family Cites Families (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20070010653A (en) * | 2005-07-19 | 2007-01-24 | 삼성전자주식회사 | Method and apparatus for providing advertisement in digital broadcasting system |
CN101098445B (en) * | 2006-06-30 | 2010-05-12 | 株式会社日立制作所 | TV program receiving device and method for receiving and playing TV program |
CN1988665A (en) * | 2006-09-13 | 2007-06-27 | 深圳创维-Rgb电子有限公司 | Method and system for playing DVB realtime advertisement |
CN101072340B (en) * | 2007-06-25 | 2012-07-18 | 孟智平 | Method and system for adding advertising information in flow media |
CN101505407B (en) * | 2009-02-25 | 2012-05-23 | 深圳创维数字技术股份有限公司 | Digital television advertisement playing method and system |
US8990849B2 (en) * | 2012-02-14 | 2015-03-24 | Verizon Patent And Licensing Inc. | Advertisement insertion into media content for streaming |
CN103686255B (en) * | 2013-11-22 | 2017-02-08 | 乐视致新电子科技(天津)有限公司 | Video advertisement putting method and device based on HLS protocol |
WO2016187592A1 (en) * | 2015-05-21 | 2016-11-24 | Viviso Inc. | Apparatus and method for replacing conventional commercials with targeted advertisements in online live streams |
CN105898527A (en) * | 2015-11-18 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Advertisement video splicing method and video server |
CN105872602A (en) * | 2015-12-22 | 2016-08-17 | 乐视网信息技术(北京)股份有限公司 | Advertisement data obtaining method, device and related system |
US20170180445A1 (en) * | 2015-12-22 | 2017-06-22 | Le Holdings (Beijing) Co., Ltd. | Advertisement data acquisition method and electronic equipment |
CN105933725B (en) * | 2016-06-28 | 2019-01-04 | 北京中传数广技术有限公司 | The method and system that a kind of live telecast accurate advertisement, information are launched |
US20180176645A1 (en) * | 2016-12-15 | 2018-06-21 | Arris Enterprises Llc | Method for providing feedback for television advertisements |
CN108668145B (en) * | 2017-03-30 | 2021-01-15 | 华为技术有限公司 | Content distribution method and device |
US10609427B2 (en) * | 2017-10-25 | 2020-03-31 | Wurl Inc. | Graphic overlay insertion |
CN110691280B (en) * | 2019-09-30 | 2022-03-22 | 咪咕文化科技有限公司 | Video advertisement processing method, client, video server and readable storage medium |
CN112616069A (en) * | 2020-12-01 | 2021-04-06 | 上海连尚网络科技有限公司 | Streaming media video playing and generating method and equipment |
-
2021
- 2021-07-07 CN CN202110769177.8A patent/CN113573100B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101184248A (en) * | 2006-12-30 | 2008-05-21 | 腾讯科技(深圳)有限公司 | Method and device for generating video content with advertisement |
JP2009171271A (en) * | 2008-01-17 | 2009-07-30 | Nec Corp | Advertisement delivery system and delivery method |
CN102461194A (en) * | 2009-06-17 | 2012-05-16 | 通用仪表公司 | Insertion of recorded secondary digital video content during playback of primary digital video content |
WO2013081270A1 (en) * | 2011-11-28 | 2013-06-06 | 주식회사 솔박스 | Method for providing advertising images in streaming service and apparatus for streaming service using same |
CN106303621A (en) * | 2015-06-01 | 2017-01-04 | 北京中投视讯文化传媒股份有限公司 | The insertion method of a kind of video ads and device |
Also Published As
Publication number | Publication date |
---|---|
CN113573100A (en) | 2021-10-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11557015B2 (en) | System and method of data transfer in-band in video via optically encoded images | |
US11218765B2 (en) | System for distributing metadata embedded in video | |
US10341715B2 (en) | Extensions to trigger parameters table for interactive television | |
US8056110B2 (en) | Service system of thumbnail image and transmitting/receiving method thereof | |
US11070872B2 (en) | Receiving device, transmitting device, and data processing method | |
CN107852516B (en) | Method and apparatus for transmitting broadcast signal | |
US9621963B2 (en) | Enabling delivery and synchronization of auxiliary content associated with multimedia data using essence-and-version identifier | |
AU2018300191A1 (en) | Processing media data using file tracks for web content | |
CN110913278B (en) | Video playing method, display terminal and storage medium | |
KR20170138994A (en) | Broadcast signal transmission apparatus, broadcast signal reception apparatus, broadcast signal transmission method, and broadcast signal reception method | |
CN113099282A (en) | Data processing method, device and equipment | |
KR101095296B1 (en) | Hybrid Broadcasting Service System Using Metadata | |
US20160322080A1 (en) | Unified Processing of Multi-Format Timed Data | |
KR101869053B1 (en) | System of providing speech bubble or score, method of receiving augmented broadcasting contents and apparatus for performing the same, method of providing augmented contents and apparatus for performing the same | |
US20170359605A1 (en) | Location agnostic media control room/broadcast facility | |
CN113573100B (en) | Advertisement display method, equipment and system | |
CN100411431C (en) | A method and system for displaying subtitles in a video program | |
US20120008693A1 (en) | Substituting Embedded Text for Video Text Images | |
US20150067749A1 (en) | Method and apparatus for providing extended tv data | |
CA3071560C (en) | Transmission apparatus, transmission method, reception apparatus, and reception method | |
KR20080064399A (en) | MP4 demultiplexer and its operation method | |
EP3306942A1 (en) | Transmission device, transmission method, receiving device, and receiving method | |
JP4755717B2 (en) | Broadcast receiving terminal device | |
KR102600762B1 (en) | Apparatus and method for transmitting broadcasting content based on atsc 3.0, and apparatus and method for receiving broadcasting content based on atsc 3.0 | |
KR20210052345A (en) | Method and apparatus for inserting content received via heterogeneous network |
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 |