CN113573100A - Advertisement display method, equipment and system - Google Patents

Advertisement display method, equipment and system Download PDF

Info

Publication number
CN113573100A
CN113573100A CN202110769177.8A CN202110769177A CN113573100A CN 113573100 A CN113573100 A CN 113573100A CN 202110769177 A CN202110769177 A CN 202110769177A CN 113573100 A CN113573100 A CN 113573100A
Authority
CN
China
Prior art keywords
advertisement
packet
file
video
server
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.)
Granted
Application number
CN202110769177.8A
Other languages
Chinese (zh)
Other versions
CN113573100B (en
Inventor
张立杰
张世乐
李哲
卢文彦
卢宝丰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oriental Pearl Group Co ltd
Original Assignee
Oriental Pearl Group Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oriental Pearl Group Co ltd filed Critical Oriental Pearl Group Co ltd
Priority to CN202110769177.8A priority Critical patent/CN113573100B/en
Publication of CN113573100A publication Critical patent/CN113573100A/en
Application granted granted Critical
Publication of CN113573100B publication Critical patent/CN113573100B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/23424Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving splicing one content stream with another content stream, e.g. for inserting or substituting an advertisement
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation 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/4316Generation 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/812Monomedia components thereof involving advertisement data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • H04N21/8586Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL

Abstract

The application provides an advertisement display scheme, in the scheme, when a server-side device converts a video file into a TS file, an advertisement TS packet is inserted into an advertisement position in the TS file, the advertisement TS packet is a TS packet with PID set as 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 as the preset value, and the payload at least comprises URL information corresponding to an advertisement; and the terminal equipment receives and analyzes the TS file sent by the server equipment, and when the TS file is analyzed to an advertisement TS packet in the TS file, the terminal equipment reports EVENT information to the browser broadcasting page through an EVENT mechanism so that the browser broadcasting page analyzes URL information carried in the EVENT information and accesses a corresponding advertisement page to realize advertisement display, wherein the 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 encapsulated in a JSON format.

Description

Advertisement display method, equipment and system
Technical Field
The present application relates to the field of information technology, and in particular, to an advertisement display method and apparatus.
Background
Inserting advertisements in video is a common marketing means in IPTV (Interactive personal TV), and the main forms of video advertisements now include: front insertion advertisement, middle insertion advertisement and back insertion advertisement. When a user watches a video, the user needs to watch advertisements irrelevant to the video content at a preset time point. However, the above three types of advertisements can only be inserted at the early stage, the middle stage and the later stage of video playing at preset time points, and are not flexible enough; moreover, the regular insertion of advertisements unrelated to the video content in the video is also likely to cause the conflict of the viewers with the advertisements.
However, as the technology develops, the form of the advertisement changes, and there is now a form of the advertisement related to the video content, which is highly related to the content, such as in the process of watching the video, and the advertisement related to the video content is popped up, such as clothes and clothes which are the same as the video character, or items related to the video scene, such as beverages, tables and chairs, vehicles, items, and so on. However, there is no scheme for inserting and displaying advertisements related to video contents in a video more efficiently.
Disclosure of Invention
An object of the present application is to provide an advertisement display method, device and system.
In order to achieve the above object, the present application provides an advertisement displaying method, where the method includes:
when a video file is converted into a TS file by a server device, inserting an advertisement TS packet into an advertisement position in the TS file, wherein the advertisement position is the position of a related TS packet in the TS file, the related 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 an advertisement;
the terminal device receives and analyzes a TS file sent by a server device, and when the TS file is analyzed to the advertisement TS packet in the TS file, EVENT information is reported to a browser broadcast control page through an EVENT mechanism, so that the browser broadcast control page analyzes URL information carried in the EVENT information, accesses the corresponding advertisement page, and realizes advertisement display, wherein the 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 encapsulated 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 server-side equipment encodes a video file, converts the video file into a TS file, and inserts an advertisement TS packet into an advertisement position in the TS file, wherein the advertisement position is the position of a related TS packet in the TS file, and the related TS packet is the TS packet corresponding to a video frame related to advertisement content in the video file;
and when receiving a video playing request sent by terminal equipment, the server equipment sends the TS file to the terminal equipment, so that the terminal equipment analyzes an advertisement TS packet in the TS file, reads advertisement information in the advertisement TS packet, and displays advertisements 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 includes:
and the server side equipment acquires the advertisement position.
Further, the server device obtaining the advertisement position includes:
the server-side equipment performs image recognition on the video frame of the video file and determines the video frame related to the advertisement content;
and the server side 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 present 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, wherein the TS file is obtained by coding, processing and converting the video file by the server equipment and inserting an advertisement TS packet into 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 the advertisement information in the advertisement TS packet, and displaying advertisements based on the advertisement information.
Further, the receiving and analyzing, by the terminal device, the TS file sent by the server device includes:
the terminal equipment receives a TS file sent by the server equipment and detects a PID value of a TS packet in the TS file;
and if the PID value is detected to be a preset value, the terminal equipment determines the advertisement TS packet analyzed to the TS file, wherein the advertisement TS packet is a TS packet with the PID value being a preset value.
Further, the advertisement information is an advertisement link address;
the terminal device analyzes the advertisement TS packet in the TS file, reads the advertisement information in the advertisement TS packet, and displays the advertisement 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 a page corresponding to the advertisement link address in a browser to display the advertisement.
Further, the terminal device opens a page corresponding to the advertisement link address in a browser to display the advertisement, including:
a video player of the terminal equipment submits triggering event information and an advertisement link address related to the triggering event information to a browser of the terminal equipment, wherein the event type of the triggering event information is a content-associated advertisement type;
the browser of the terminal equipment receives the triggering event information and judges whether the event type of the triggering event information is a content-associated advertisement type;
if so, the browser of the terminal device opens a page corresponding to the advertisement link address to display the advertisement.
The embodiments of the present application also provide a computing device comprising 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 advertisement presentation method.
Embodiments of the present application also provide a computer readable medium, on which computer program instructions are stored, the computer readable instructions being 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 server-side equipment and terminal equipment;
the server side equipment is used for executing the processing steps of the advertisement display method executed by the server side equipment;
the terminal device is used for executing the processing steps of the advertisement display method executed by the terminal device.
Compared with the prior art, in the advertisement display scheme provided by the application, the server-side equipment 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 then wait for receiving the video playing request from the terminal equipment. The terminal device can send a video playing request to the server device, and when the server device receives the video playing request sent by the terminal device, the TS file can be sent to the terminal device, so that the terminal device can parse the advertisement TS packet in the TS file, read the advertisement information in the advertisement TS packet, and display the advertisement based on the advertisement information. According to the scheme, in the coding processing process of converting the video file into the streaming media, the server-side equipment inserts the advertisement TS packet for realizing advertisement display into the TS file to realize advertisement insertion, and the terminal equipment can perform advertisement display according to the content of the advertisement TS packet after detecting the advertisement TS packet, so that the whole process is realized 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 following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
fig. 1 is a flowchart illustrating interaction between a server device and a terminal device when an advertisement display method is implemented in an embodiment of the present application;
FIG. 2 is a schematic structural diagram of a TS file in an embodiment of the present application;
FIG. 3 is a schematic diagram of a structure of a payload of an advertisement TS packet in an embodiment of the present application;
FIG. 4 is a flowchart illustrating a process performed by a terminal device when displaying an advertisement according to an embodiment of the present disclosure;
fig. 5 is a process flow diagram for implementing content-related advertisement insertion and display in an IPTV video-on-demand process by using the solution provided in the embodiment of the present application;
the same or similar reference numbers in the drawings identify the same or similar elements.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative only and should not 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 the context clearly indicates otherwise. 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. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
In the advertisement display method provided by the embodiment of the application, in the encoding process of converting a video file into a streaming media, a server device inserts an advertisement TS packet for realizing advertisement display into a TS (Transport Stream) file to realize advertisement insertion, so that the video file itself does not need to be directly modified, and a terminal device can display advertisements according to the content of the advertisement TS packet after detecting the advertisement TS packet, and the whole process is more flexible.
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 server-side equipment for providing advertisement content and terminal equipment for displaying the advertisement content. The server device includes, but is not limited to, implementations such as a network host, a single network server, multiple network server sets, or a cloud computing-based computer set. Here, the Cloud is made up of a large number of hosts or web servers based on Cloud Computing (Cloud Computing), which is a type of distributed Computing, one virtual computer consisting of a collection of loosely coupled computers. The terminal device may include, but is not limited to, a mobile phone, a tablet computer, a smart watch, a computer, and a user device with a display function, and may process the TS file and display the advertisement.
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, which at least includes the following processing steps:
step S101, the server device encodes the video file, converts the video file into a TS file, and inserts an advertisement TS packet into an advertisement position in the TS file.
In an actual scene, for a network video played in a streaming media format, a server device providing a video playing service generally stores the video in a file in the streaming media format. For example, in an on-demand scenario of IPTV, a video may be stored in a TS file in the server device, so that after receiving a video playing request sent by the terminal device, the TS file corresponding to the requested video content is returned.
The TS file corresponding to the video may be obtained by the server device performing encoding processing conversion on the video file. Taking the IPTV scenario as an example, the server device needs to provide a TS file conforming to the h.264 standard to the user, so that the video file not conforming to the format requirement needs to be encoded, converted into a TS file conforming to the h.264 standard, and stored in the server device for use in on-demand.
In the process of converting the video file into the TS file, the server device performs some additional processing on the TS file, that is, inserts an advertisement TS packet in an advertisement position in the TS file. The advertisement TS packet is different from a normal TS packet obtained by encoding and converting a video file in the embodiment of the present application, the normal 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 adopt an advertisement link address in a form of a URL (Uniform Resource Locator), as advertisement information, so that the terminal device may open a page corresponding to the advertisement link address in a browser to display an advertisement.
Fig. 2 shows a structure of a TS file in an embodiment of the present application, where the TS file includes a plurality of TS packets, each TS packet includes a header (header) and a payload (payload), where the header has a length of 4bytes and the payload has a length of 184 bytes. The packet header specifically includes the following contents:
syn _ byte is a header synchronization byte, the data type is char, and the length is 8 bits;
a transport _ error _ indicator is a transmitted packet error indicator, the data type is char, and the length is 1 bit;
payload _ unit _ start _ indicator is an indicator of payload unit start, the data type is char, and the length is 1 bit;
transport _ priority is the transport priority, the data type is char, and the length is 1 bit;
PID is a packet identifier, the data type is int, and the length is 13 bit;
transport _ scrambling _ control is transport scrambling control, 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;
the continuity _ connector is a continuity counter, the data type is char, and the length is 4 bits.
The PID can be used to indicate the type of data stored in the payload of the TS packet, and the advertisement TS packet can be distinguished from the general TS packet corresponding to the video content by setting different PIDs. For example, the following table shows a usage rule of PID in the packet header of the TS packet:
PID dereferencing PID valueDescription of use
0x0000 Program Association Table (PAT)
0x0001 Conditional Access Table (CAT)
0x0002 Transport stream description table
0x0003~0x000F Retention
0x0000 Empty bag
The PID used in the normal TS packet has a value of 0x0000, 0x0001, or 0x 0002. Any one of the reserved values (i.e., 0x0003 to 0x000F) may be used for the advertisement TS packet according to a predetermined identification rule. For example, the PID used by the advertisement TS packet in the embodiment of the present application is 0x 000E. Thus, the server apparatus inserts a TS packet having a PID of 0x000E as an advertisement TS packet in an 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 device 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 is displayed by opening the URL. Fig. 3 shows a structure of a payload of an advertisement TS packet, which may specifically include the following:
the type is an advertisement type, the data type is char, and the length is 1byte, and in some embodiments of the present application, the advertisement type may be set as follows: 0x 01: ad, 0x 02: interaction, 0x 03: shopping, 0x 04: vote, 0x 05: leader, 0x 06: tail;
len is the length; the data type is char, and the length is 1 byte;
checksum is the checksum, data type char, length 4 bytes;
sequence is a serial number, the data type is char, the length is 4bytes, and the sequence is used for distinguishing advertisement pages;
the URL is the URL information of the advertisement, the data type is char, and the length is 174 bytes.
Since the advertisement TS packet includes advertisement information used when displaying advertisements instead of data related to video content, the parsing of the general TS packet and the playing of the 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 related to a beverage when a video is played to a certain video frame, and the certain video frame exactly contains a picture of the beverage, so that the advertisement can be shown in relation to video content. In the application scene, a section of video frame containing the beverage picture is a video frame related to the advertisement content, and after the video file is coded, the TS packet corresponding to the section of video frame is a related TS packet, so that the position of the related TS packet in the TS file can be determined as the advertisement position where the advertisement TS packet needs to be inserted.
Before the server device inserts the advertisement TS packet into the advertisement position in the TS file, the advertisement position can be obtained in a preset mode to realize the insertion of the advertisement TS packet. In a practical 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 image recognition is carried out, the server-side equipment can adopt an artificial intelligence mode such as machine learning and the like to recognize the contents of articles, characters and scenes in the video frames, and automatically mark the related video frames to determine the advertisement positions of the advertisement TS packets to be inserted. It will be appreciated by those skilled in the art that the above specific manner of obtaining the advertising location is merely exemplary, and other manners now known or later developed may be applied to the present invention, and are included within the scope of the present invention and are herein incorporated by reference.
Step S102, the terminal equipment sends a video playing request to the server equipment.
After the server device prepares to complete the TS file corresponding to the video, the terminal device may send a video playing request to the server device as needed to request to acquire a related TS file for playing in the terminal device. For example, in an application scenario of IPTV, 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 the user requests the video in the terminal device, the terminal device sends a video playing request to the server device according to an operation of the user to obtain a corresponding TS file and complete playing of the video.
Step S103, when the server device receives a video playing request sent by the terminal device, the server device sends the TS file to the terminal device. For example, after a user broadcasts a video1 in an interactive interface of a terminal device, the terminal device sends a video playing request about video1 to a server device, and after receiving the video playing request, the server device calls a TS file corresponding to video1 and sends the TS file to the terminal device. In an actual scene, the TS file is sent in the form of a data stream, and the terminal device continuously receives the sequence of the TS packets and plays the video content corresponding to the TS packets in real time, thereby implementing real-time online playing of the video.
And 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 device, the terminal device may parse the received TS file, and perform preliminary determination on the type of the TS packet in the TS file. In some embodiments of the present application, the terminal device may determine whether the TS packet is a normal TS packet corresponding to a video file or an advertisement TS packet related to advertisement presentation by detecting a PID value in a packet header of the TS packet. Specifically, if it is detected that the PID value is a preset value (e.g., a preset reserved value such as 0x 000E), the terminal device determines that the advertisement TS packet in the TS file is parsed, and then the subsequent step S105 may be executed. Otherwise, if it is detected that the PID value is not the preset value, it may be determined that the currently analyzed TS packet is a normal TS packet, and the normal video playing processing mode is adopted to process the TS packet, so that the corresponding video content may be played.
Step S105, when the terminal device analyzes the advertisement TS packet in the TS file, the terminal device reads the advertisement information in the advertisement TS packet and displays the advertisement based on the advertisement information.
The advertisement display mode can be set according to the requirements of the actual scene, for example, a page corresponding to the advertisement can be opened through a browser, so that a user watching a 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 a browser to display an advertisement.
In an actual scenario, parsing of the TS file and playing of specific video content may be implemented by a video player in a terminal device, and when the video player parses an advertisement TS packet, the video player may perform advertisement display by using a processing flow shown in fig. 4, which may specifically include the following steps:
step S401, the video player of the terminal device submits triggering event information and an advertisement link address related to the triggering event information to the browser of the terminal device, wherein the event type of the triggering event information is a content-associated advertisement type.
Step S402, after receiving the trigger event information, the browser of the terminal equipment judges whether the event type of the trigger event information is a content-associated advertisement type;
and step S403, if so, the browser of the terminal device opens a 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 processing 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 the 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, the mechanism may be utilized, that is, a new Event _ special _ CONTENT is added in addition to the Event type of the existing Event information, that is, the CONTENT-associated advertisement type, so that the Event type corresponding to the Event information may include the following:
Figure BDA0003152022460000101
Figure BDA0003152022460000111
therefore, when the video player of the terminal device parses the advertisement TS packet, an EVENT message with an EVENT type of EVENT _ specific _ CONTENT may be submitted to the browser of the terminal device, for example, an EVENT message in this embodiment may be encapsulated in JSON format, which is as follows:
{“type”:“EVENT_SPEACIAL_CONTENT”,“URL_type”:01,“URL”:http://iptv.com.cn/advertisement-sequencenumber.html}
and when the browser receives the trigger Event information, the browser can judge the Event type of the Event information, and if the Event type is Event _ SPECAIL _ CONTENT, the browser can open an advertisement page by using the URL transmitted by the Event information to display the advertisement page to a user watching a video.
It should be understood by those skilled in the art that the specific manner of displaying the advertisement by the terminal device is merely an example, and other manners that may occur now or later are also applicable to the present invention, and are included in the scope of the present invention and are herein incorporated by reference. For example, the terminal device may also obtain the image-text content of the advertisement through the advertisement information in the background, and then display the image-text content of the advertisement on the video playing interface in a floating window, bullet screen, or other manners to display the advertisement.
Fig. 5 shows a process flow of implementing content-related advertisement insertion and display in the video-on-demand process of IPTV by using the scheme provided in the embodiment of the present application. In this scenario, the server device may include an encoder/transcoder, a media server, and a web server, where the encoder/transcoder is configured to encode a video file, generate a TS file, and insert an advertisement TS packet into the TS file, 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 process, 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 into an advertisement position of the TS file, where the advertisement TS packet is marked with a PID value of 0x 000E. 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 chairman, and an advertisement TS packet needs to be inserted into a position corresponding to a video frame worn by the chairman when the advertisement is played. This special advertisement TS packet needs to put the URL address of the advertisement link in the payload of the TS packet, in addition to the PID being a specific value.
Step S502, adding special advertisement TS package TS file, providing service through media server. After the TS file is added with the advertisement TS packet, normal media storage and service are not affected, and the 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 the advertisement TS packet is analyzed, the video player submits event information to the browser and uploads the URL address of the advertisement link to the browser;
step S504, after the browser receives the event information uploaded by the video player, the event type of the event information is analyzed to be a content-associated advertisement type, and then a corresponding page is requested from the webpage server by using the URL address, so that the advertisement page is opened for displaying.
The embodiment of the application also provides an advertisement display method, which comprises the following steps:
when the server-side equipment converts a video file into a TS file, inserting an advertisement TS packet into an advertisement position in the TS file, wherein the advertisement position is the position of a related TS packet in the TS file, the related 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.
The terminal device receives and analyzes a TS file sent by a server device, and when the TS file is analyzed to the advertisement TS packet in the TS file, EVENT information is reported to a browser broadcast control page through an EVENT mechanism, so that the browser broadcast control page analyzes URL information carried in the EVENT information, accesses the corresponding advertisement page, and realizes advertisement display, wherein the 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 encapsulated in a JSON format.
The embodiments of the present application also provide a computing device for implementing advertisement presentation, the device including a memory for storing computer program instructions and a processor for executing the computer program instructions, wherein when the computer program instructions are executed by the processor, the device is triggered to execute the aforementioned advertisement presentation method.
In addition, the embodiment of the application also provides an advertisement display system, which comprises server-side equipment and terminal equipment. The server side equipment is used for executing the processing steps of the advertisement display method executed by the server side equipment; 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 in the embodiments of the present application may be implemented as computer software programs. 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 illustrated in the flow chart. The computer program, when executed by a processing unit, performs the above-described functions defined in the method of the present application.
It should be noted that the computer readable medium described herein can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination 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 present application, 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 this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. 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 for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like 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 type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made 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 apparatus, 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 that 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, which may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer-readable medium carries one or more computer program instructions that are executable by a processor to implement the methods and/or aspects of the embodiments of the present application as 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, implemented using Application Specific Integrated Circuits (ASICs), general purpose computers or any other similar hardware devices. 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 (including associated data structures) of the present application may be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Additionally, some of the 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 attributes 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 obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.

Claims (12)

1. An advertisement display method, characterized in that the method comprises:
when a video file is converted into a TS file by a server device, inserting an advertisement TS packet into an advertisement position in the TS file, wherein the advertisement position is the position of a related TS packet in the TS file, the related 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 an advertisement;
the terminal device receives and analyzes a TS file sent by a server device, and when the TS file is analyzed to the advertisement TS packet in the TS file, EVENT information is reported to a browser broadcast control page through an EVENT mechanism, so that the browser broadcast control page analyzes URL information carried in the EVENT information, accesses the corresponding advertisement page, and realizes advertisement display, wherein the 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 encapsulated in a JSON format.
2. An advertisement display method, characterized in that the method comprises:
the method comprises the steps that server-side equipment encodes a video file, converts the video file into a TS file, and inserts an advertisement TS packet into an advertisement position in the TS file, wherein the advertisement position is the position of a related TS packet in the TS file, and the related TS packet is the TS packet corresponding to a video frame related to advertisement content in the video file;
and when receiving a video playing request sent by terminal equipment, the server equipment sends the TS file to the terminal equipment, so that the terminal equipment analyzes an advertisement TS packet in the TS file, reads advertisement information in the advertisement TS packet, and displays advertisements based on the advertisement information.
3. The method of claim 2, wherein the server device inserts the advertisement TS packet in the advertisement position in the TS file, and further comprising:
and the server side equipment acquires the advertisement position.
4. The method of claim 3, wherein the server device obtaining the advertisement position comprises:
the server-side equipment performs image recognition on the video frame of the video file and determines the video frame related to the advertisement content;
and the server side 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 1, wherein the advertisement TS packet is a TS packet whose PID value is a preset value.
6. An advertisement display method, characterized in that the method comprises:
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, wherein the TS file is obtained by coding, processing and converting the video file by the server equipment and inserting an advertisement TS packet into 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 the advertisement information in the advertisement TS packet, and displaying advertisements based on the advertisement information.
7. The method according to claim 6, wherein the receiving and parsing, by the terminal device, the TS file sent by the server device includes:
the terminal equipment receives a TS file sent by the server equipment and detects a PID value of a TS packet in the TS file;
and if the PID value is detected to be a preset value, the terminal equipment determines the advertisement TS packet analyzed to the TS file, wherein the advertisement TS packet is a TS packet with the PID value being a preset value.
8. The method of claim 6, wherein the advertisement information is an advertisement link address;
the terminal device analyzes the advertisement TS packet in the TS file, reads the advertisement information in the advertisement TS packet, and displays the advertisement 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 a page corresponding to the advertisement link address in a browser to display the advertisement.
9. The method of claim 8, wherein the terminal device opens a page corresponding to the advertisement link address in a browser for advertisement presentation, and the method comprises:
a video player of the terminal equipment submits triggering event information and an advertisement link address related to the triggering event information to a browser of the terminal equipment, wherein the event type of the triggering event information is a content-associated advertisement type;
the browser of the terminal equipment receives the triggering event information and judges whether the event type of the triggering event information is a content-associated advertisement type;
if so, the browser of the terminal device opens a 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 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 one of claims 1 to 9.
12. The advertisement display system is characterized by comprising server-side equipment and terminal equipment;
the server device configured to perform the method according to any one of claims 1 to 4;
the terminal device configured to perform the method of any one of claims 5 to 8.
CN202110769177.8A 2021-07-07 2021-07-07 Advertisement display method, equipment and system Active CN113573100B (en)

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 true CN113573100A (en) 2021-10-29
CN113573100B 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 (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070067796A1 (en) * 2005-07-19 2007-03-22 Samsung Electronics Co., Ltd. Method and apparatus for providing advertisement in digital broadcasting system
CN1988665A (en) * 2006-09-13 2007-06-27 深圳创维-Rgb电子有限公司 Method and system for playing DVB realtime advertisement
CN101072340A (en) * 2007-06-25 2007-11-14 孟智平 Method and system for adding advertising information in flow media
CN101098445A (en) * 2006-06-30 2008-01-02 株式会社日立制作所 Television program receiving equipment and method for receiving and broadcasting television program
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
CN101505407A (en) * 2009-02-25 2009-08-12 深圳创维数字技术股份有限公司 Playing method, system and digital television receiving terminal for digital television advertisement
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
CN103686255A (en) * 2013-11-22 2014-03-26 乐视致新电子科技(天津)有限公司 Video advertisement putting method and device based on HLS protocol
US8752085B1 (en) * 2012-02-14 2014-06-10 Verizon Patent And Licensing Inc. Advertisement insertion into media content for streaming
CN105872602A (en) * 2015-12-22 2016-08-17 乐视网信息技术(北京)股份有限公司 Advertisement data obtaining method, device and related system
CN105898527A (en) * 2015-11-18 2016-08-24 乐视网信息技术(北京)股份有限公司 Advertisement video splicing method and video server
CN105933725A (en) * 2016-06-28 2016-09-07 北京中传数广技术有限公司 Method and system for delivering precise advertisement and information in live broadcast television
US20160345074A1 (en) * 2015-05-21 2016-11-24 Viviso Inc. Apparatus and Method for Replacing Conventional Commercials with Targeted Advertisements in Online Live Streams
CN106303621A (en) * 2015-06-01 2017-01-04 北京中投视讯文化传媒股份有限公司 The insertion method of a kind of video ads and device
US20170180445A1 (en) * 2015-12-22 2017-06-22 Le Holdings (Beijing) Co., Ltd. Advertisement data acquisition method and electronic equipment
US20180176645A1 (en) * 2016-12-15 2018-06-21 Arris Enterprises Llc Method for providing feedback for television advertisements
CN108668145A (en) * 2017-03-30 2018-10-16 华为软件技术有限公司 A kind of content distribution method and device
US20190124376A1 (en) * 2017-10-25 2019-04-25 Wurl Inc. Graphic Overlay Insertion
CN110691280A (en) * 2019-09-30 2020-01-14 咪咕文化科技有限公司 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

Patent Citations (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070067796A1 (en) * 2005-07-19 2007-03-22 Samsung Electronics Co., Ltd. Method and apparatus for providing advertisement in digital broadcasting system
CN101098445A (en) * 2006-06-30 2008-01-02 株式会社日立制作所 Television program receiving equipment and method for receiving and broadcasting television program
CN1988665A (en) * 2006-09-13 2007-06-27 深圳创维-Rgb电子有限公司 Method and system for playing DVB realtime advertisement
CN101184248A (en) * 2006-12-30 2008-05-21 腾讯科技(深圳)有限公司 Method and device for generating video content with advertisement
CN101072340A (en) * 2007-06-25 2007-11-14 孟智平 Method and system for adding advertising information in flow media
JP2009171271A (en) * 2008-01-17 2009-07-30 Nec Corp Advertisement delivery system and delivery method
CN101505407A (en) * 2009-02-25 2009-08-12 深圳创维数字技术股份有限公司 Playing method, system and digital television receiving terminal for digital television advertisement
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
US8752085B1 (en) * 2012-02-14 2014-06-10 Verizon Patent And Licensing Inc. Advertisement insertion into media content for streaming
CN103686255A (en) * 2013-11-22 2014-03-26 乐视致新电子科技(天津)有限公司 Video advertisement putting method and device based on HLS protocol
US20160345074A1 (en) * 2015-05-21 2016-11-24 Viviso Inc. Apparatus and Method for Replacing Conventional Commercials with Targeted Advertisements in Online Live Streams
CN106303621A (en) * 2015-06-01 2017-01-04 北京中投视讯文化传媒股份有限公司 The insertion method of a kind of video ads and device
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
CN105933725A (en) * 2016-06-28 2016-09-07 北京中传数广技术有限公司 Method and system for delivering precise advertisement and information in live broadcast television
US20180176645A1 (en) * 2016-12-15 2018-06-21 Arris Enterprises Llc Method for providing feedback for television advertisements
CN108668145A (en) * 2017-03-30 2018-10-16 华为软件技术有限公司 A kind of content distribution method and device
US20190124376A1 (en) * 2017-10-25 2019-04-25 Wurl Inc. Graphic Overlay Insertion
CN110691280A (en) * 2019-09-30 2020-01-14 咪咕文化科技有限公司 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

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
李幼林: "电视广告播放分发技术的发展与应用" *
王磊: "数字电视广告前端系统的设计与实现" *
蔡慧霞;苏凯雄;: "数字电视广告终端子系统的设计与实现" *

Also Published As

Publication number Publication date
CN113573100B (en) 2023-05-02

Similar Documents

Publication Publication Date Title
US8056110B2 (en) Service system of thumbnail image and transmitting/receiving method thereof
US10375350B2 (en) Non-closed caption data transport in standard caption service
US20190259124A1 (en) System and Method of Data Transfer In-Band in Video via Optically Encoded Images
US10887645B2 (en) Processing media data using file tracks for web content
JP5512657B2 (en) Terminal user interface device and method for rich media service
CN102685524A (en) Disparity data transport in standard caption service
US10945020B2 (en) Electronic apparatus and method of operating the same
EP2990958A1 (en) Reception device, information processing method in reception device, transmission device, information processing device, and information processing method
CN105959743A (en) Video advertisement playing method and device and server
KR101095296B1 (en) Hybrid broadcasting service system using metadata
CN112616069A (en) Streaming media video playing and generating method and equipment
CN110913278B (en) Video playing method, display terminal and storage medium
CN101764957B (en) Method and device for inserting picture in conference caption
CN113099282B (en) Data processing method, device and equipment
CN102047662B (en) Encoder
CN113573100B (en) Advertisement display method, equipment and system
CN111147887A (en) Live broadcast service control method and device, computer readable medium and electronic equipment
US20100188573A1 (en) Media metadata transportation
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
EP4027649A1 (en) Video playing method and apparatus, terminal and computer-readable storage medium
US20120008693A1 (en) Substituting Embedded Text for Video Text Images
EP3306942A1 (en) Transmission device, transmission method, receiving device, and receiving method
JP4755717B2 (en) Broadcast receiving terminal device
KR20020074818A (en) Method of Data Send/Receive for the Digital Data broadcasting based on the Internet Contents
CN109168063B (en) Video advertisement playing method and 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
GR01 Patent grant
GR01 Patent grant