Movatterモバイル変換


[0]ホーム

URL:


CN107580256A - Linear channel replacement film system and method thereof - Google Patents

Linear channel replacement film system and method thereof
Download PDF

Info

Publication number
CN107580256A
CN107580256ACN201710672632.6ACN201710672632ACN107580256ACN 107580256 ACN107580256 ACN 107580256ACN 201710672632 ACN201710672632 ACN 201710672632ACN 107580256 ACN107580256 ACN 107580256A
Authority
CN
China
Prior art keywords
replacement
information
channel
advertisement
video
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710672632.6A
Other languages
Chinese (zh)
Other versions
CN107580256B (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.)
Chunghwa Telecom Co Ltd
Original Assignee
Chunghwa Telecom 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 Chunghwa Telecom Co LtdfiledCriticalChunghwa Telecom Co Ltd
Publication of CN107580256ApublicationCriticalpatent/CN107580256A/en
Application grantedgrantedCritical
Publication of CN107580256BpublicationCriticalpatent/CN107580256B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Landscapes

Abstract

Translated fromChinese

本发明揭露了一种线性频道置换影片的系统与方法,所述系统包括一个线性频道置换影片管理系统、一个置换影片系统、一个置换信息数据库、数个频道CDN(Content delivery network,内容分发网络)档案库和一台(含)以上行动智能终端装置。本发明可在大数据分析每位使用者的喜好的后,针对使用者给予其专属定制化广告,并且也可以在加密频道节目中插入广告。

The present invention discloses a system and method for replacing videos in linear channels, the system comprising a linear channel replacement video management system, a replacement video system, a replacement information database, several channel CDN (Content Delivery Network) archives and one or more mobile smart terminal devices. The present invention can provide exclusive customized advertisements to users after big data analysis of the preferences of each user, and can also insert advertisements in encrypted channel programs.

Description

Translated fromChinese
线性频道置换影片系统及其方法Linear Channel Replacement Video System and Method

技术领域technical field

本发明系关于一种线性频道置换影片系统及其方法,特别是关于一种针对每位使用者给予定制化广告和在加密频道节目中插入广告的线性频道置换影片系统及其方法。The present invention relates to a linear channel replacement video system and its method, in particular to a linear channel replacement video system and its method that provides customized advertisements for each user and inserts advertisements in encrypted channel programs.

背景技术Background technique

目前常见的线性频道插广告方法是采取让每位使用者都给予相同广告观赏的做法。如果想要达到每位使用者可观赏到定制化、针对性的广告影片服务,通过现行直播频道服务采用HLS(HTTP Live Streaming,超文本传输协议流媒体直播)串流,单一个线性频道需要同时提供n个profile的影音档案、且1个profile有3个ts,如有m个使用者,就需要3乘以n乘以m倍的储存空间来存放m个使用者的HLS单一个线性频道节目内容,再加上k个线性频道,那就需要3乘以n乘以m乘以k倍的庞大储存空间来存放k个线性频道的HLS节目内容,这种做法需要持续分析直播频道节目的内容,寻找是否有数字提示音标记,然后抽离原GOP(Group of Picture,画面群)信息置换成广告I-GOP,产生新的直播频道节目档,相当耗费运算资源,且无法在加密频道节目进行插广告。因此无法针对每位使用者给予定制化广告和无法在加密频道节目中插入广告的缺点。The current common method of inserting advertisements in linear channels is to allow each user to watch the same advertisement. If you want to achieve customized and targeted advertising video services for each user, through the current live channel service using HLS (HTTP Live Streaming, hypertext transfer protocol streaming media live broadcast) streaming, a single linear channel needs to be streamed at the same time Provide n profile audio and video files, and 1 profile has 3 ts, if there are m users, it needs 3 times n times m times of storage space to store the HLS single linear channel program of m users content, plus k linear channels, then a huge storage space of 3 times n times m times k times is required to store the HLS program content of k linear channels. This method requires continuous analysis of the content of live channel programs , to find out whether there is a digital prompt tone mark, and then extract the original GOP (Group of Picture) information and replace it with an advertising I-GOP to generate a new live channel program file, which consumes a lot of computing resources and cannot be performed on encrypted channel programs. Insert ads. Therefore, it is impossible to provide customized advertisements for each user and to insert advertisements in encrypted channel programs.

发明内容Contents of the invention

本发明的目的就是在提供线性频道置换影片系统及其方法,以解决现有技术中无法针对每位使用者给予定制化广告和无法在加密频道节目中插入广告的缺点。The purpose of the present invention is to provide a linear channel replacement film system and its method to solve the shortcomings of the prior art that cannot provide customized advertisements for each user and cannot insert advertisements in encrypted channel programs.

本发明的线性频道置换影片系统包括:置换信息数据库、频道档案库、置换影片系统以及至少一个行动终端装置;置换信息数据库储存多个置换信息;频道档案库储存多个广告影片档;置换影片系统连接置换信息数据库及频道档案库,并根据置换信息及影片档进行置换影片;行动终端装置根据置换影片系统所排定的影片播放顺序播放影片及广告影片档。The linear channel replacement movie system of the present invention includes: a replacement information database, a channel archive, a replacement movie system and at least one mobile terminal device; the replacement information database stores a plurality of replacement information; the channel archive stores a plurality of advertising movie files; the replacement movie system Connect the replacement information database and channel archives, and replace the video according to the replacement information and video files; the mobile terminal device plays the video and advertising video files according to the video playback order scheduled by the replacement video system.

本发明的线性频道置换影片方法包括下列步骤:通过置换信息数据库储存多个置换信息;通过频道档案库储存多个广告影片档;通过置换影片系统连接置换信息数据库及频道档案库,并根据置换信息及影片档进行置换影片;以及通过行动终端装置根据置换影片系统所排定的影片播放顺序播放影片及广告影片档。The linear channel replacement film method of the present invention includes the following steps: storing a plurality of replacement information through a replacement information database; storing a plurality of advertisement video files through a channel archive; connecting the replacement information database and a channel archive through a replacement film system, and and video files to replace videos; and play videos and advertising video files through the mobile terminal device according to the order of video playback scheduled by the replacement video system.

综上所述,依本发明的线性频道置换影片系统及其方法,其可具有一或多个下述优点:In summary, according to the linear channel replacement film system and method thereof of the present invention, it may have one or more of the following advantages:

1.本发明利用将广告分段片段置入直播频道节目分段索引m3u8中,可以在观赏频道节目时给予使用者定制化的广告。1. In the present invention, by inserting advertisement segments into the live channel program segment index m3u8, users can be given customized advertisements when viewing channel programs.

2.本发明解决了现行直播频道插广告无法在加密频道节目中插入广告的缺点,可让使用者不论在观赏加密或清流的直播频道节目时给予使用者定制化的广告。2. The present invention solves the disadvantage that existing live channel advertisements cannot be inserted into encrypted channel programs, and allows users to provide customized advertisements to users regardless of whether they are watching encrypted or cleared live channel programs.

3.本技术具有动态预先调节最小分段时间差的机制,用于解决CDN上直播频道m3u8档案的更新频率不是一个固定值以及与线性频道节目的最小分段时间长度也不一定是广告影片最小分段长度时间整数倍,导致使用者端观赏时画面会有停顿、中断的情形。3. This technology has a mechanism for dynamically pre-adjusting the minimum segment time difference, which is used to solve the problem that the update frequency of the m3u8 file of the live channel on the CDN is not a fixed value, and the minimum segment time length of the linear channel program is not necessarily the minimum score of the advertising film. Integer multiples of the segment length, resulting in pauses and interruptions in the screen when viewing on the client side.

附图说明Description of drawings

图1为本发明的线性频道置换影片系统的系统架构示意图;1 is a schematic diagram of the system architecture of the linear channel replacement film system of the present invention;

图2为本发明的线性频道置换影片系统的运作示意图;2 is a schematic diagram of the operation of the linear channel replacement film system of the present invention;

图3为本发明的线性频道置换影片方法的流程图;Fig. 3 is the flow chart of the linear channel replacement film method of the present invention;

图4为本发明的线性频道置换影片方法的第一流程图;Fig. 4 is the first flowchart of the linear channel replacement film method of the present invention;

图5为本发明的线性频道置换影片方法的第二流程图;Fig. 5 is the second flowchart of the linear channel replacement film method of the present invention;

图6为本发明的线性频道置换影片方法的第三流程图;Fig. 6 is the third flowchart of the linear channel replacement film method of the present invention;

图7为本发明的线性频道置换影片系统与方法的实施例示意图。FIG. 7 is a schematic diagram of an embodiment of the linear channel replacement video system and method of the present invention.

具体实施方式detailed description

请参阅图1,图1所示揭露本发明线性频道置换影片系统。此系统包括一个线性频道置换影片管理系统1000、一个置换影片系统2000、一个置换信息数据库3000、数个频道CDN档案库4000和一台(含)以上行动智能终端装置5000。Please refer to FIG. 1 , which discloses the linear channel replacement film system of the present invention. This system includes a linear channel replacement video management system 1000 , a replacement video system 2000 , a replacement information database 3000 , several channel CDN archives 4000 and one or more mobile smart terminal devices 5000 .

线性频道置换影片管理系统1000提供网页界面让管理者编辑置换服务信息和频道置换影片信息。频道置换服务信息,包括频道号码、频道HLS网址、频道置换服务标记,储放在置换服务生效资料表3100,包括使用者ID、广告预计开始时间、广告秒数、广告间隔秒数、广告重复次数和广告HLS网址等,储放在置换信息资料表3200。The linear channel replacement movie management system 1000 provides a web interface for administrators to edit replacement service information and channel replacement movie information. Channel replacement service information, including channel number, channel HLS URL, and channel replacement service mark, stored in the replacement service effective data table 3100, including user ID, expected start time of advertisement, number of seconds of advertisement, number of seconds of advertisement interval, and number of repetitions of advertisement and the advertisement HLS URL etc. are stored in the replacement information data table 3200 .

置换影片系统2000依照置换条件进行线性频道置换影片,置换影片系统2000包括载入置换信息2100、置换影片模块2200、置换影片信息集2300和储存模块2400。载入置换信息2100负责定时取回置换信息数据库3000的置换信息给置换影片系统2000使用。置换影片模块2200有以下子模块,包括下载频道分段m3u8 2210、监控置换条件2220、置换广告处理2230、置换影片输出2240、HLS分段索引信息集2241、置换条件集2250和频道分段队列2260;下载频道分段m3u8 2210负责读取频道各画质的分段索引m3u8档以及更新频道分段索引信息;监控置换条件2220依置换广告状态内容判断执行"非置换"、"置换"、"等待置换完成"等任务,置换广告状态初值为"非置换";置换广告处理2230会依据置换广告状态内容以及上次所产生HLS分段索引信息集2241的内容判断执行不同功能,例如在广告分段个数快置换完毕时,启动动态预先调节最小分段时间差机制,此机制运用频道节目与广告影片的最小分段时间差计算出补偿分段数及剩下的广告分段来进行动态补偿,将最后的广告分段文件名称信息置入到HLS分段索引信息集2241,让回到频道节目时可同步CDN上直播频道m3u8档4100的更新频率,进入或离开广告时播放画面不会有停顿以及中断的情形;置换影片输出2240主要产生目的分段索引m3u8、产生各画质的目的分段索引m3u8、提供查询HLS分段索引信息集2241中是否已经不含广告;HLS分段索引信息集2241储存分段影片路径绝对化的HLS分段索引信息;置换条件集2250是由同一个频道的置换条件组成,其中的信息包括频道号码、广告开始时间、广告结束时间、广告分段影片个数和广告分段索引清单(含广告HLS网址路径)等;频道分段队列2260存放具有时间戳记HLS分段索引信息的历史清单。置换影片信息集2300是由广告影片信息所组成,其中包括广告影片的各画质的广告分段索引清单、广告HLS网址等,提供通过广告HLS网址找出该广告分段索引清单信息。储存模块2400提供建立各频道的档案目录夹、以及储放各频道目的master m3u8档2410以及各置换频道的各画质的目的分段索引m3u8档2420。The video replacement system 2000 performs linear channel video replacement according to the replacement conditions. The video replacement system 2000 includes a loading replacement information 2100 , a video replacement module 2200 , a video replacement information set 2300 and a storage module 2400 . Loading replacement information 2100 is responsible for periodically retrieving the replacement information from the replacement information database 3000 for use by the replacement movie system 2000 . The replacement movie module 2200 has the following submodules, including download channel segment m3u8 2210, monitoring replacement condition 2220, replacement advertisement processing 2230, replacement movie output 2240, HLS segment index information set 2241, replacement condition set 2250 and channel segment queue 2260 ;Download channel segment m3u8 2210 is responsible for reading the segment index m3u8 file of each image quality of the channel and updating channel segment index information; monitoring replacement condition 2220 judges and executes "non-replacement", "replacement" and "waiting" according to the status and content of the replacement advertisement Replacement completed" and other tasks, the initial value of the replacement advertisement status is "non-replacement"; the replacement advertisement processing 2230 will judge and execute different functions according to the content of the replacement advertisement status and the content of the HLS segment index information set 2241 generated last time, for example, in the advertisement segment When the number of segments is almost replaced, the dynamic pre-adjustment minimum segment time difference mechanism is activated. This mechanism uses the minimum segment time difference between the channel program and the advertising film to calculate the number of compensation segments and the remaining advertising segments for dynamic compensation. The last advertisement segment file name information is put into the HLS segment index information set 2241, so that when returning to the channel program, the update frequency of the live channel m3u8 file 4100 on the CDN can be synchronized, and there will be no pause in the playback screen when entering or leaving the advertisement. The situation of interruption; the replacement movie output 2240 mainly produces the target segment index m3u8, generates the target segment index m3u8 of each image quality, and provides the query whether the HLS segment index information set 2241 does not contain advertisements; the HLS segment index information set 2241 Store segmented movie path absolute HLS segmented index information; replacement condition set 2250 is made up of replacement conditions of the same channel, where the information includes channel number, advertisement start time, advertisement end time, number of advertisement segmented movies and Advertisement segment index list (including advertisement HLS URL path), etc.; channel segment queue 2260 stores history list with time stamp HLS segment index information. The replacement video information set 2300 is composed of advertising video information, including the advertising segment index list of each image quality of the advertising video, the advertising HLS URL, etc., providing the information to find the advertising segment index list through the advertising HLS URL. The storage module 2400 provides a file folder for creating each channel, and stores the target master m3u8 file 2410 of each channel and the target segment index m3u8 file 2420 of each picture quality of each replacement channel.

置换信息数据库3000有置换服务生效资料表3100和置换信息资料表3200,提供查询和记录相关信息;置换服务生效资料表3100记录着频道号码、频道HLS网址和频道置换服务标记,其中的频道置换服务标记提供置换影片模块2200判断该模块要继续执行还是暂停;置换信息资料表3200有以下信息,包括有频道号码、使用者ID、广告预计开始时间、广告秒数、广告间隔秒数、广告重复次数和广告的网址等信息。The replacement information database 3000 has a replacement service effective data table 3100 and a replacement information data table 3200, which provide query and record related information; the replacement service effective data table 3100 records the channel number, channel HLS URL and channel replacement service mark, among which the channel replacement service The tag provides the replacement video module 2200 to judge whether the module should continue to execute or pause; the replacement information data table 3200 has the following information, including channel number, user ID, expected start time of advertisement, number of seconds of advertisement, number of seconds between advertisements, and number of repetitions of advertisement and the URL of the ad.

频道CDN档案库4000,其中储存有频道m3u8档4100及频道影片文件4200。行动智能终端装置5000,可以提供给使用者操作观看HLS直播频道节目。The channel CDN archive 4000 stores the channel m3u8 file 4100 and the channel video file 4200 therein. The smart mobile terminal device 5000 can provide users with operations to watch HLS live channel programs.

请参阅图2系统流程图,(1)线性频道置换影片管理系统1000通过网页界面让管理者编辑置换服务信息和频道置换影片信息,将信息分别储存于置换信息数据库3000的置换服务生效资料表3100及置换信息资料表3200中。(2)由载入置换信息2100定时取回置换服务生效资料表3100,先筛选出还未产生置换影片模块2200执行绪的频道号码,自动通过频道号码为ID产生该执行绪(频道ID执行绪),再依每一笔的频道号码和频道置换服务标记内容,分别通知该频道ID执行绪要继续执行还是暂停。(3)以及定时取回置换信息资料表3200中未处理的频道置换影片信息,将这些信息中的广告HLS网址一笔笔向置换影片信息集2300查询是否已存在,如果不存在先通过该广告HLS网址分别取回广告分段索引清单,建立新的清单于置换影片信息集2300中。Please refer to the system flow chart in Figure 2, (1) The linear channel replacement video management system 1000 allows managers to edit the replacement service information and channel replacement movie information through the web interface, and store the information in the replacement service effective data table 3100 of the replacement information database 3000 And in the replacement information table 3200. (2) Retrieve the replacement service effective data table 3100 regularly by loading the replacement information 2100, first filter out the channel numbers that have not yet produced the replacement movie module 2200 execution thread, and automatically generate the execution thread through the channel number as the ID (channel ID execution thread ), and then according to the channel number and channel replacement service tag content of each transaction, notify the channel ID thread whether to continue or suspend. (3) Retrieve the unprocessed channel replacement movie information in the replacement information data table 3200 regularly, and check whether the advertisement HLS URL in the information has already existed in the replacement movie information set 2300, if not, pass the advertisement first The HLS URL retrieves the advertisement segment index list respectively, and creates a new list in the replacement video information set 2300 .

再利用该笔信息的广告重复次数自动计算产生置换条件信息储存于置换条件集2250中。(4)当频道ID执行绪收到启动命令时,会通知下载频道分段m3u8 2210执行程序;当频道ID执行绪收到暂停命令时,会通知下载频道分段m3u8 2210暂停程序。(5)下载频道分段m3u8 2210经由频道HLS网址读取各画质的分段索引档,向频道分段队列2260查询是否有新的分段信息产生且不重复,如果有的话,将新的分段信息转换成具有时间戳记的分段信息储存在频道分段队列2260中,通知监控置换条件2220进行置换条件判断。不论是否有新的分段信息产生与否,皆跳到步骤(4)继续执行处理。The replacement condition information is generated and stored in the replacement condition set 2250 by using the automatic calculation of the advertisement repetition times of the information. (4) When the channel ID thread receives the start command, it will notify the download channel segment m3u8 2210 to execute the program; when the channel ID thread receives the pause command, it will notify the download channel segment m3u8 2210 to suspend the program. (5) Download the channel segment m3u8 2210 to read the segment index file of each image quality via the channel HLS website, and query the channel segment queue 2260 whether there is new segment information generated and not repeated, and if so, add the new The segmented information is converted into segmented information with a time stamp and stored in the channel segment queue 2260, and the monitoring replacement condition 2220 is notified to judge the replacement condition. Regardless of whether new segment information is generated or not, skip to step (4) and continue processing.

监控置换条件2220,参阅图3,步骤如下:Monitoring replacement condition 2220, referring to Fig. 3, the steps are as follows:

S300:执行监控置换条件;S300: Execute monitoring replacement conditions;

S301:执行状态是否为启动;S301: Whether the execution state is started;

S302:置换广告标记是否为「非置换」;S302: Whether the replacement advertisement flag is "non-replacement";

S303:取出最新一笔时间戳记HLS分段信息向置换条件集查询;S303: Take out the latest time stamp HLS segment information and query the replacement condition set;

S304:是否符合广告开始及结束的时间条件;S304: Whether it meets the time conditions for the start and end of the advertisement;

S305:将广告标记设为「置换」,取出目前置换影片信息;S305: Set the advertisement flag as "replacement", and retrieve the current replacement video information;

S306:通知置换广告处理模块处理;以及S306: notify the replacement advertisement processing module to process; and

S307:执行状态设为暂停。S307: The execution state is set to pause.

其中,当置换广告状态为"非置换"时,从频道分段队列2260取出最新具有时间戳记HLS分段信息,向置换条件集2250查询判断是否符合广告的条件,若符合广告的条件,将置换广告状态为"置换",再从置换影片信息集2300取出current置换影片信息。接着不论是否符合广告的条件,通知置换广告处理2230处理。Wherein, when the replacement advertisement status is "non-replacement", the latest HLS segment information with a time stamp is taken out from the channel segment queue 2260, and the replacement condition set 2250 is queried to determine whether the advertisement meets the conditions of the advertisement. If the advertisement meets the conditions, the replacement The advertisement status is "replacement", and then the current replacement movie information is fetched from the replacement movie information set 2300 . Next, regardless of whether the conditions of the advertisement are met, the replacement advertisement processing 2230 is notified.

广告处理2230会依据置换广告状态内容以及上次所产生HLS分段索引信息集2241的内容判断执行不同功能:(1)当置换广告状态为"非换置"时,移除标记设为true,请参阅图4,步骤如下:Advertisement processing 2230 will judge and perform different functions according to the content of the replacement advertisement status and the content of the HLS segment index information set 2241 generated last time: (1) when the replacement advertisement status is "non-replacement", the removal flag is set to true, Please refer to Figure 4, the steps are as follows:

S400:置换广告处理开始;S400: the replacement advertisement process starts;

S401:执行状态是否为启动;S401: whether the execution state is started;

S402:置换广告标记是否为「非置换」;S402: Whether the replacement advertisement mark is "non-replacement";

S403:取出最新时间戳记HLS分段信息;S403: Take out the latest timestamp HLS segment information;

S404:呼叫置换影片输出模块产生目的分段索引m3u8档;S404: Call the replacement video output module to generate the target segment index m3u8 file;

S405:移除频道分段队列第一笔频道HLS分段信息;以及S405: Remove the first piece of channel HLS segment information from the channel segment queue; and

S406:执行状态设为暂停。S406: The execution state is set to pause.

其中,从频道分段队列2260取出最新的一笔频道HLS分段信息,传给置换影片输出2240更新HLS分段索引信息集2241内容,产生目的分段索引m3u8档(不含广告)后,移除频道分段队列2260中第一笔频道HLS分段信息,等待下一个指令。(2)当置换广告状态为"置换"时(步骤S500),请参阅图5,先计算补偿分段数(步骤S501),将移除标记设为true,呼叫置换影片输出2240,依照移除标记移除第一笔影片分段信息和新增一个广告分段档名信息到HLS分段索引信息集22410并将广告分段计数递加1,以及设定COUNT为补偿分段数减1(步骤S502),是否执行动态预先调节最小分段时间差机制的插入广告处理,判断三个条件是否同时成立:①广告分段计数小于广告分段个数;②剩余广告分段个数小于(3乘以补偿分段数);③以及COUNT不等于零(步骤S503);若这三个条件其中有不成立的,跳到步骤S506继续执行;若这三个条件同时成立,启动动态预先调节最小分段时间差的机制的插入广告处理,将移除标记设为false,呼叫置换影片输出模块新增一个广告分段信息到HLS分段索引信息集2241,在依内容产生目的分段索引m3u8档并将COUNT递减1以及广告分段计数递加1,等待广告分段影片的秒数时间后,跳到步骤S503继续执行(步骤S504)。呼叫置换影片输出2240依HLS分段索引信息集2241内容,产生目的分段索引m3u8档(步骤S505),判断广告是否置换完成,当广告分段计数小于广告分段影片个数(步骤S506),当条件不成立时,等待HLS分段索引信息集2241的第一笔分段影片的秒数时间后,跳到步骤S502继续执行(步骤S507);当条件成立时,同步化频道分段队列2260及更新HLS分段索引信息集2241,并将置换广告状态改为"等待置换完成",跳到步骤S600继续执行(步骤S508)。Wherein, take out the latest channel HLS segment information from the channel segment queue 2260, pass it to the replacement movie output 2240 to update the content of the HLS segment index information set 2241, generate the target segment index m3u8 file (excluding advertisements), and move Remove the first piece of channel HLS segment information in the channel segment queue 2260, and wait for the next instruction. (2) When the status of the replacement advertisement is "replacement" (step S500), please refer to Figure 5, first calculate the number of compensation segments (step S501), set the removal flag to true, call the replacement video output 2240, and follow the removal Mark to remove the first video segment information and add an advertisement segment file name information to the HLS segment index information set 22410 and increment the advertisement segment count by 1, and set COUNT as the compensation segment number minus 1 ( Step S502), whether to perform the insertion advertisement processing of the dynamic pre-regulation minimum segment time difference mechanism, and judge whether three conditions are established simultaneously: 1. the advertisement segment count is less than the advertisement segment number; 2. the remaining advertisement segment number is less than (3 times ③ and COUNT is not equal to zero (step S503); if these three conditions are not established, jump to step S506 and continue to execute; if these three conditions are established simultaneously, start the dynamic pre-adjustment minimum segment time difference The insertion advertisement processing of the mechanism, set the removal flag to false, call the replacement video output module to add an advertisement segment information to the HLS segment index information set 2241, generate the target segment index m3u8 file according to the content and decrement the COUNT 1 and the advertisement segment count is incremented by 1, after waiting for the number of seconds of the advertisement segment movie, jump to step S503 and continue to execute (step S504). Call replacement movie output 2240 according to the content of HLS segment index information set 2241, generate target segment index m3u8 file (step S505), judge whether the replacement of advertisement is completed, when the advertisement segment count is less than the number of advertisement segment films (step S506), When the condition is not established, after waiting for the second time of the first segment movie of the HLS segment index information set 2241, jump to step S502 and continue to execute (step S507); when the condition is established, the synchronous channel segmentation queue 2260 and Update the HLS segment index information set 2241, and change the replacement advertisement status to "waiting for completion of replacement", skip to step S600 and continue to execute (step S508).

同步化频道分段队列2260,是将频道分段队列2260的最后一笔信息的时间戳记改为现在的时间戳记;以及修正倒数第二笔信息的时间戳记,将该队列删除到只剩最后两笔信息。Synchronizing the channel segmentation queue 2260 is to change the timestamp of the last message in the channel segmentation queue 2260 to the current timestamp; pen information.

(3)当置换广告状态为"等待置换完成"时,请参阅图6,先判断置换广告标记是否为"等待置换完成"(步骤S600),等待HLS分段索引信息集2241的第一笔分段影片的时间秒数,以及将COUNT设为补偿分段数减1(步骤S601),将移除标记设为true,呼叫置换影片输出2240移除HLS分段索引信息集2241的第一笔分段影片信息,并从频道分段队列2260取出第一笔的HLS分段信息加入HLS分段索引信息集2241中,在每次置换广告状态刚切换到"等待置换完成"时,需加入EXT-X-DISCONTINUITY TAG),产生目地分段索引m3u8档(步骤S602),判断是否执行动态预先调节最小分段时间差机制的移除广告处理,向置换影片输出2240查询HLS分段索引信息集的第一笔是否为广告信息以及COUNT是否为零,如果条件成立,启动动态预先调节最小分段时间差的机制的移除广告处理,如果条件不成立,跳到S605执行(步骤S603),执行动态预先调节最小分段时间差的机制的移除广告处理,呼叫置换影片输出2240仅移出HLS分段索引信息集2241的第一笔分段信息,产生目地分段索引m3u8档,COUNT递减1,判断移除后的第一笔信息是否为广告且COUNT不是零,如果条件成立,等待该信息的时间秒数,跳到S603继续执行,如果条件不成立,跳到S605执行(S604),判断HLS分段索引信息集2241的第一笔信息是否为广告,如果是广告,跳到S601继续执行,如果不是广告,跳到S606执行(S605),将置换广告状态改为"非置换"和移除该笔置换条件,等待监控置换条件2220的通知执行(步骤S606)。置换影片输出2240会依置换广告状态及移除标记来更新HLS分段索引信息集2241的记录,再由记录内容中的频道分段影片前加入频道HLS网址(分段影片路径绝对化),放入HLS分段索引信息集2241中,再产生该画质的目的分段索引m3u8。(A)当置换广告状态为"非置换"时,有两种情形:(1)初始化(HLS分段索引信息集2241是空的),该模块将从频道分段队列2260取出前3笔信息,分段影片路径绝对化后储存到HLS分段索引信息集2241,并产生该频道的目的master m3u8档2410及该画质的目的分段索引m3u8档2420。(2)更新(HLS分段索引信息集2241有内容),该模块会先从频道分段队列2260取出最新的一笔信息,分段影片路径绝对化后储存到HLS分段索引信息集2241及移除第一笔信息,依产生该画质的目的分段索引m3u8档。(B)当置换广告状态为"置换"时,依输入参数可选择移除HLS分段索引信息集2241的第一笔信息或加入从频道分段队列2260取出第一笔信息。并通过广告分段计数为index从current置换影片清单取得广告分段影片的信息,放入HLS分段索引信息集2241中产生该画质的目的分段索引m3u8档后,将广告分段计数值递加1,并回传该分段索引第一笔分段影片秒数。(C)当置换广告状态为"等待置换完成"时,依输入参数可选择移除HLS分段索引信息集2241的第一笔信息或加入从频道分段队列2260取出第一笔信息等。(3) When the replacement advertisement status is "waiting for replacement completion", please refer to Fig. 6, first judge whether the replacement advertisement flag is "waiting for replacement completion" (step S600), and wait for the first segment of HLS segment index information set 2241 The time seconds of the section film, and COUNT is set as the number of compensation segments minus 1 (step S601), the removal flag is set to true, and the call replacement film output 2240 removes the first score of the HLS segment index information set 2241 segment movie information, and take out the first HLS segment information from the channel segment queue 2260 and add it to the HLS segment index information set 2241. When the replacement advertisement status is just switched to "waiting for replacement completion", you need to add EXT- X-DISCONTINUITY TAG), generate the destination segmentation index m3u8 file (step S602), determine whether to perform the removal advertisement processing of the dynamic pre-adjustment minimum segmentation time difference mechanism, and query the first one of the HLS segmentation index information set to the replacement movie output 2240 Whether the pen is advertisement information and whether COUNT is zero, if the condition is established, start the removal advertisement processing of the mechanism of dynamic pre-adjustment minimum segment time difference, if the condition is not established, jump to S605 execution (step S603), execute the dynamic pre-adjustment minimum score Advertisement removal process based on time difference mechanism, call replacement movie output 2240 to remove only the first segment information of HLS segment index information set 2241, generate destination segment index m3u8 file, COUNT decrements by 1, and judge the first segment information after removal Whether a piece of information is an advertisement and COUNT is not zero, if the condition is established, wait for the number of seconds for the information, skip to S603 to continue execution, if the condition is not established, skip to S605 to execute (S604), and judge the HLS segment index information set 2241 Whether the first piece of information is an advertisement, if it is an advertisement, skip to S601 to continue execution, if it is not an advertisement, skip to S606 to execute (S605), change the replacement advertisement status to "non-replacement" and remove the replacement condition, and wait for monitoring Notification of the replacement condition 2220 is performed (step S606). The replacement movie output 2240 will update the record of the HLS segment index information set 2241 according to the status of the replacement advertisement and remove the mark, and then add the channel HLS URL before the channel segment video in the recorded content (the path of the segment video is absolute), and put into the HLS segment index information set 2241, and then generate the target segment index m3u8 of the image quality. (A) When the replacement advertisement status is "non-replacement", there are two situations: (1) initialization (the HLS segment index information set 2241 is empty), this module will take out the first 3 pieces of information from the channel segment queue 2260 , the segmented video path is absolutized and stored in the HLS segment index information set 2241, and the target master m3u8 file 2410 of the channel and the target segment index m3u8 file 2420 of the image quality are generated. (2) update (the HLS segment index information set 2241 has content), this module will first take out the latest information from the channel segment queue 2260, and store the segmented movie path into the HLS segment index information set 2241 and Remove the first piece of information, and index m3u8 files according to the purpose of generating the image quality. (B) When the replacement advertisement status is "replacement", according to the input parameters, you can choose to remove the first piece of information from the HLS segment index information set 2241 or add the first piece of information from the channel segment queue 2260. And use the advertisement segment count as index to obtain the advertisement segment movie information from the current replacement movie list, put it into the HLS segment index information set 2241 to generate the target segment index m3u8 file of the image quality, and count the advertisement segment count value Increment by 1, and return the first segment video seconds of the segment index. (C) When the replacement advertisement status is "Waiting for replacement", according to the input parameters, you can choose to remove the first information of the HLS segment index information set 2241 or add the first information from the channel segment queue 2260, etc.

〈实施例〉<Example>

请参考图2的线性频道置换影片系统流程图,假设已从线性频道置换影片管理系统1000将那些频道可提供置换影片服务和置换影片信息的内容,分别输入到置换信息数据库3000的置换服务生效资料表3100及置换信息资料表3200中。Please refer to the flow chart of the linear channel replacement film system in FIG. 2 , assuming that those channels that can provide the replacement movie service and the content of the replacement movie information have been input from the linear channel replacement movie management system 1000 into the replacement service effective data of the replacement information database 3000 Table 3100 and replacement information table 3200.

置换服务生效资料表3100的内容如下:The contents of the replacement service effective data form 3100 are as follows:

一、针对单一使用者给予定制化广告,其中的置换信息资料表3200内容如下:1. Provide customized advertisements for a single user, and the content of the replacement information table 3200 is as follows:

1.产生及启动置换影片模块2200执行绪;定时取出置换服务生效资料表3100内容以及利用chNo查询是否有相对应的置换影片模块2200执行绪,如果没有产生通过chNo为ID的置换影片模块2200执行绪。以此例有两个ID分别是:ID15与ID16置换影片模块的执行绪产生,只有ID15的置换服务标记是启动。1. Generate and start the execution thread of the replacement movie module 2200; periodically take out the content of the replacement service effective data table 3100 and use chNo to query whether there is a corresponding replacement movie module 2200 execution thread, if there is no replacement movie module 2200 with chNo as the ID to execute thread. In this example, there are two IDs: ID15 and ID16 replace the execution thread of the movie module, and only the replacement service flag of ID15 is activated.

2.新增置换影片信息及新增置换条件:定时取出置换信息资料表3200的新增置换信息后,2. New replacement movie information and new replacement conditions: after regularly taking out the new replacement information from the replacement information table 3200,

2-1.先将adLink的值经由置换影片信息集2300查询判断是否有重覆的置换信息,如果没重覆则通过adLink记录的置换影片的网址取回置换影片分段索引清单(adList)、分析该清单一个分段片长(duration)以及将adLink、adList、adDuration等信息,储放到置换影片信息集2300,如下:2-1. First query the value of adLink through the replacement movie information set 2300 to determine whether there is any repeated replacement information. If there is no repetition, retrieve the replacement movie segment index list (adList) through the URL of the replacement movie recorded by adLink, Analyze the length of a subsection (duration) of the list and store information such as adLink, adList, adDuration in the replacement movie information set 2300, as follows:

2-2.以adLink为ID向置换影片信息集2300取回置换影片分段索引清单adID,并依载入置换信息repeatTimes为3,在置换条件集2250产生3笔频道置换影片信息,其中第二笔的adStartTime是由第一笔adTime、adDuration和intervalDuration计算出来的,2015-12-16 20:00:00+14Sec+300Sec=2015-12-1620:05:14,依此类推第三笔的adStartTime,以及给予user1的广告如下:2-2. Use adLink as the ID to retrieve the replacement movie segment index list adID from the replacement movie information set 2300, and according to the loaded replacement information repeatTimes is 3, generate 3 pieces of channel replacement movie information in the replacement condition set 2250, of which the second The adStartTime of the pen is calculated by the first adTime, adDuration and intervalDuration, 2015-12-16 20:00:00+14Sec+300Sec=2015-12-16 20:05:14, and so on for the third adStartTime , and the ad given to user1 is as follows:

利用置换服务信息中的频道HLS网址,读取各画质的分段索引档,当有新的频道HLS分段信息时,将其通过具有时间戳记HLS分段信息转换后,储存频道分段队列中通知监控置换条件模块进行置换条件判断。除非收到暂停置换影片服务时进入等待,否则重覆此步骤。置换广告状态初值为"非置换"。假设频道分段队列2260已有信息,如下Use the channel HLS URL in the replacement service information to read the segment index files of each image quality. When there is new channel HLS segment information, convert it through the HLS segment information with a time stamp, and store the channel segment queue Notify the monitoring replacement condition module to judge the replacement condition. Repeat this step unless you enter a hold when receiving a replacement video service suspension. The initial value of the replacement ad status is "non-replacement". Assume that the channel segmentation queue 2260 has information, as follows

假设该频道其中一个画质分段索引有新的分段信息产生,内容如下:Assume that one of the image quality segment indexes of the channel has new segment information, and the content is as follows:

以及置换影片输出2240内的HLS分段索引信息集2241和目的分段索引m3u8档,如下:And the HLS segment index information set 2241 and the target segment index m3u8 file in the replacement movie output 2240, as follows:

3.ID15执行绪的下载频道分段m3u8 2210,通过频道HLS网址辗转读取频道各画质的分段清单,并向ID15执行绪的频道分段队列2260查询判断各画质是否有新的分段信息产生且没有重复,3. The download channel segment m3u8 2210 of the ID15 thread reads the segment list of each image quality of the channel through the channel HLS URL, and queries the channel segment queue 2260 of the ID15 thread to determine whether there is a new segment for each image quality. Segment information is generated without duplication,

3-1.参考图7转换成带具有时间戳记HLS分段信息后,更新一笔信息到频道分段队列2260,如下3-1. Referring to Figure 7, after converting the HLS segment information with a time stamp, update a piece of information to the channel segment queue 2260, as follows

3-2.取出这笔更新的信息,通知监控置换条件模块2220进行置换条件判断。3-2. Take out the updated information, and notify the monitoring replacement condition module 2220 to judge the replacement condition.

4.监控置换条件模块2220,会依置换广告状态的内容进行底下程序,当其内容为"非置换"时,从频道分段队列2260中取出最新的一笔具有时间戳记HLS分段信息,向置换条件集2250查询判断是否符合广告的条件,若符合广告的条件,将置换广告状态为"置换"和将广告分段指标计数初值为零。接着不论是否符合广告的条件,通知置换广告处理2230处理。4. The monitoring replacement condition module 2220 will carry out the following procedures according to the content of the replacement advertisement state. When the content is "non-replacement", it will take out the latest HLS segment information with a time stamp from the channel segment queue 2260, and send it to Replacement condition set 2250 inquires and judges whether the condition of the advertisement is met, and if the condition of the advertisement is met, the status of the advertisement is changed to "replacement" and the initial value of the advertisement segmentation index count is zero. Next, regardless of whether the conditions of the advertisement are met, the replacement advertisement processing 2230 is notified.

置换广告处理2230会依据置换广告状态内容以及上次所产生的HLS分段索引信息集2241内容判断执行不同功能:The replacement advertisement processing 2230 will judge and perform different functions according to the content of the replacement advertisement status and the content of the HLS segment index information set 2241 generated last time:

请参阅图3,将取得的更新信息的sTimeStamp值为stime4、eTimeStamp值为etime4与置换条件集2250的adStartTime比对。Referring to FIG. 3 , compare the sTimeStamp value stime4 and eTimeStamp value etime4 of the obtained update information with the adStartTime of the replacement condition set 2250 .

4-1.假设置换条件未成立,代表adStartTime不在该笔信息stime4、etime4之间,将置换广告状态设为"非置换"(A)置换广告处理2230进行"非置换"处理,请参阅图4,呼叫置换影片输出2240依照HLS分段索引信息集2241的内容,产生含user1名称的目的分段索引m3u8;例:user1index.m3u8),回传现在m3u8输出的第一笔分段影片秒数为4.11秒(片段秒数取整数为4秒),如下:4-1. Assuming that the replacement condition is not satisfied, it means that the adStartTime is not between the information stime4 and etime4, and the replacement advertisement status is set to "non-replacement" (A) replacement advertisement processing 2230 for "non-replacement" processing, please refer to Figure 4 , call the replacement video output 2240 according to the content of the HLS segment index information set 2241, generate the target segment index m3u8 containing the name of user1; example: user1index.m3u8), return the first segment video second output of m3u8 now as 4.11 seconds (the number of fragment seconds rounded up to 4 seconds), as follows:

等待4秒后,当下载频道分段m3u8 2210又有新的分段信息产生后,移除频道分段队列2260第一笔资料及更新HLS分段索引信息集2241内容:After waiting for 4 seconds, when the downloaded channel segment m3u8 2210 has new segment information, remove the first data in the channel segment queue 2260 and update the content of the HLS segment index information set 2241:

4-2.假设置换条件成立,代表adStartTime在该笔信息stime4、etime4之间,将置换广告状态设为"置换",设定广告分段计数值为0。4-2. Assuming that the replacement condition is met, it means that the adStartTime is between stime4 and etime4 of the information, the status of the replacement advertisement is set to "replacement", and the count value of the advertisement segment is set to 0.

(B)置换广告处理2230进行"换置"处理,请参阅图5,获得计算补偿分段数为2,呼叫置换影片输出2240,产生目的分段索引m3u8档,在该档中加入EXT-X-DISCONTINUITYtag,让行动智能终端装置5000可正常从频道节目播放广告影片,以及回传第一笔分段影片秒数为4.11秒(片段秒数取整数为4秒),如下:(B) Replacement Advertisement Processing 2230 carries out "replacement" processing, please refer to Fig. 5, obtain calculation compensation segment number to be 2, call replacement video output 2240, produce target segmentation index m3u8 file, add EXT-X in this file -DISCONTINUITYtag, so that the mobile smart terminal device 5000 can normally play the advertising video from the channel program, and return the first segmented video with a second of 4.11 seconds (the segment second is rounded up to 4 seconds), as follows:

此例"adList"内共有7个广告分段影片,判断发现广告还没置换完成,在等待片段秒数4秒后,In this example "adList" there are 7 segmented advertisement videos. It is judged that the replacement of the advertisement has not been completed. After waiting for 4 seconds for the segments,

请参阅图5,经S502~S504后,此次启动了动态预先调节最小分段时间差的机制,经该机制处理后,影片输出2240共插入两个广告分段档名到HLS分段索引信息集2241以及产生目的分段索引m3u8档后,广告分段计数为3,剩余广告分段影片个数为4,如下:Please refer to Fig. 5, after S502~S504, the mechanism of dynamically pre-adjusting the minimum segment time difference is started this time. After the mechanism is processed, the video output 2240 inserts two advertisement segment file names into the HLS segment index information set. 2241 and after generating the target segment index m3u8 file, the advertisement segment count is 3, and the number of remaining advertisement segment videos is 4, as follows:

在S506判断广告分段计数为3还是小于广告分段影片个数7,发现广告还没置换完成,经S502~S504后,产生目的分段索引m3u8档后,广告分段计数为5,剩余广告分段影片个数为2,如下:In S506, it is judged whether the advertisement segment count is 3 or less than the advertisement segment film number 7, and it is found that the replacement of the advertisement has not been completed. After S502~S504, after the target segment index m3u8 file is generated, the advertisement segment count is 5, and the remaining advertisement The number of segmented videos is 2, as follows:

再等待2秒后,判断广告分段计数为5还是小于广告分段影片个数7,执行S502~S504,广告分段计数为7,剩余广告分段影片个数为零,如下:After waiting for 2 seconds, judge that the segmented advertisement count is 5 or less than the segmented film number 7, execute S502~S504, the segmented segmented count is 7, and the remaining segmented segmented film number is zero, as follows:

依S506判断广告分段计数7等于广告分段影片个数7,同步化频道分段队列2260,将频道分段队列2260的最后一笔信息的时间戳记改为现在的时间戳记;以及修正倒数第二笔信息的时间戳记,将该队列删除到只剩最后两笔信息并更新HLS分段索引信息集2241及置换广告状态改为"等待置换完成",跳到置换广告处理2230继续执行,如下Judging by S506 that the advertisement segment count 7 is equal to the advertisement segment film number 7, synchronizing the channel segment queue 2260, changing the time stamp of the last message of the channel segment queue 2260 to the current time stamp; and correcting the penultimate The time stamp of the second message, delete the queue until only the last two messages are left, update the HLS segment index information set 2241 and change the status of the replacement advertisement to "waiting for replacement completion", skip to the replacement advertisement processing 2230 and continue execution, as follows

(C).当置换广告状态为"等待置换完成"时,请参阅图6,等待2秒后,将COUNT设为补偿分段数减1,呼叫置换影片输出2240移除HLS分段索引信息集2241的第一笔分段ad2.ts影片并加入从频道分段队列2260取出第一笔的HLS分段信息N-1.ts,产生目地分段索引m3u8档,如下:(C). When the status of the replacement advertisement is "Waiting for the replacement to complete", please refer to Figure 6. After waiting for 2 seconds, set COUNT as the number of compensation segments minus 1, and call the replacement video output 2240 to remove the HLS segment index information set 2241's first segmented ad2.ts movie is added to the channel segmented queue 2260 to take out the first HLS segmented information N-1.ts to generate the destination segmented index m3u8 file, as follows:

判断是否执行动态预先调节分段时间差机制的移除广告处理?因为HLS分段索引信息集的第一笔为广告信息以及COUNT为1,判断成立,启动动态预先调节最小分段时间差机制的移除广告处理,Determine whether to implement the removal of advertisement processing of the dynamic pre-adjustment segment time difference mechanism? Because the first entry in the HLS segment index information set is advertisement information and COUNT is 1, the judgment is established, and the removal of advertisement processing of the dynamic pre-adjustment minimum segment time difference mechanism is started.

动态预先调节最小分段时间差机制的移除广告处理:移出HLS分段索引信息集2241第一笔分段信息ad3.ts、COUNT递减1,产生目地分段索引m3u8档,如下:The removal advertisement processing of the dynamic pre-adjustment minimum segment time difference mechanism: remove the first segment information ad3.ts of the HLS segment index information set 2241, COUNT is decremented by 1, and the destination segment index m3u8 file is generated, as follows:

查询判断HLS分段索引信息集2241的第一笔信息是否为广告,第一笔信息为ad4.ts广告信息但COUNT为零,所以离开动态预先调节最小分段时间差机制的移除广告处理。Query to determine whether the first piece of information in the HLS segment index information set 2241 is an advertisement. The first piece of information is ad4.ts advertisement information but the COUNT is zero, so leave the process of removing advertisements that dynamically pre-adjusts the minimum segment time difference mechanism.

跳到S605查询频道置换影片分段m3u8中是否已经不含广告,因为HLS分段索引信息集的第一笔为ad4.ts广告信息,回到S601等待2秒后,将COUNT设为补偿分段数减1,移除HLS分段索引信息集2241的第一笔分段ad4.ts影片并加入从频道分段队列2260取出第一笔的HLS分段信息N.ts,产生目地分段索引m3u8档,如下,Skip to S605 to check whether the channel replacement movie segment m3u8 does not contain advertisements, because the first entry in the HLS segment index information set is ad4.ts advertisement information, return to S601 and wait for 2 seconds, then set COUNT as the compensation segment Subtract 1 from the number, remove the first segment ad4.ts movie from the HLS segment index information set 2241 and add the first HLS segment information N.ts taken out from the channel segment queue 2260 to generate the destination segment index m3u8 files, as follows,

在经过动态预先调节最小分段时间差机制的移除广告处理后,目地分段索引m3u8档的结果,如下:After the removal of advertisements through the dynamic pre-adjustment of the minimum segment time difference mechanism, the result of the destination segment index m3u8 file is as follows:

经再次跳到S605以及动态预先调节最小分段时间差机制的移除广告处理后,目地分段索引m3u8档的结果,如下:After jumping to S605 again and dynamically pre-adjusting the minimum segment time difference mechanism to remove the advertisement, the result of the destination segment index m3u8 file is as follows:

跳到S605并查询频道置换影片分段m3u8中是否已经不含广告(S605),发现HLS分段索引信息集的第一笔为N-1.ts不是广告信息。Skip to S605 and inquire whether there is no advertisement in the segment m3u8 of the channel replacement movie (S605), and find that the first item of the HLS segment index information set is N-1.ts, which is not advertisement information.

将置换条件集2250的该笔置换条件移除,并将置换广告状态改为"非置换",跳到执行监控置换条件2220开始。Remove the replacement condition from the replacement condition set 2250, change the status of the replacement advertisement to "non-replacement", and jump to the execution monitoring replacement condition 2220 to start.

二、对多位使用者给予定制化广告,置换信息资料表3200的内容如下:2. Provide customized advertisements to multiple users, and replace the contents of the information table 3200 as follows:

置换信息资料表3200的内容如下:The contents of the replacement information table 3200 are as follows:

如同(一)单一使用者给予定制化广告的步骤所述,其中不同的部份,如下:As described in (1) Steps of Giving Customized Advertisement to a Single User, the different parts are as follows:

1.置换条件集2250的新增内容(users中的空字符串代表未在users描述的使用者):1. The new content of the replacement condition set 2250 (the empty string in users represents a user not described in users):

2.分别产生含users信息的目的master.m3u8和目的index.m3u8,如此例:目的master.m3u8(包括有master.m3u8、user1master.m3u8和user2master.m3u8)以及目的index.m3u8(包括有index.m3u8、user1index.m3u8和user2index.m3u8)。2. Generate target master.m3u8 and target index.m3u8 containing users information respectively, for example: target master.m3u8 (including master.m3u8, user1master.m3u8 and user2master.m3u8) and target index.m3u8 (including index. m3u8, user1index.m3u8, and user2index.m3u8).

3.如同单一使用者给予定制化广告的步骤,依照adID信息分别进行广告置换,提供给多位使用者定制化广告。3. Similar to the steps of giving customized advertisements to a single user, the advertisements are replaced according to the adID information, and customized advertisements are provided to multiple users.

以上所述仅为举例性,而非为限制性者。其它任何未脱离本发明的精神与范畴,而对其进行的等效修改或变更,均应该包括于权利要求中。The above descriptions are illustrative only, not restrictive. Any other equivalent modifications or changes that do not depart from the spirit and scope of the present invention should be included in the claims.

Claims (10)

Translated fromChinese
1.一种线性频道置换影片系统,其特征在于,包括:1. A linear channel replacement film system, characterized in that, comprising:置换信息数据库,用于储存多个置换信息;a replacement information database for storing multiple replacement information;频道档案库,用于储存多个广告影片档;Channel archives for storing multiple ad video files;置换影片系统,用于连接所述置换信息数据库及所述频道档案库,并根据所述多个置换信息及所述多个广告影片档对多个影片进行置换;以及,A replacement video system, used to connect the replacement information database and the channel archive, and replace a plurality of videos according to the plurality of replacement information and the plurality of advertising video files; and,至少一个行动终端装置,用于根据所述置换影片系统所排定的影片播放顺序播放所述多个影片及所述多个广告影片档。At least one mobile terminal device is used to play the plurality of videos and the plurality of advertisement video files according to the video playback sequence arranged by the replacement video system.2.如权利要求1所述的线性频道置换影片系统,其特征在于,所述线性频道置换影片系统还包括:2. The linear channel replacement film system as claimed in claim 1, wherein the linear channel replacement film system further comprises:线性频道置换影片管理系统,用于提供界面以进行编辑所述多个置换信息及所述多个广告影片档的信息。The linear channel replacement video management system is used to provide an interface for editing the plurality of replacement information and the information of the plurality of advertisement video files.3.如权利要求2所述的线性频道置换影片系统,其特征在于,所述线性频道置换影片管理系统储存频道置换生效资料表以及置换信息资料表。3. The linear channel replacement video system according to claim 2, wherein the linear channel replacement video management system stores a channel replacement effective data table and a replacement information data table.4.如权利要求1所述的线性频道置换影片系统,其特征在于,所述置换影片系统还包括:4. The linear channel replacement film system as claimed in claim 1, wherein the replacement film system further comprises:置换信息载入模块,用于定时取得所述多个置换信息;A replacement information loading module, configured to regularly obtain the plurality of replacement information;置换影片信息集,用于储存所述多个广告影片档的信息;a replacement video information set for storing information of the plurality of advertising video files;储存模块,用于储存所述多个影片的信息;以及,a storage module, configured to store information of the multiple videos; and,置换影片模块,用于根据所述多个置换信息、所述多个广告影片档的信息以及所述多个影片的信息决定所述多个影片及广告影片档的播放顺序。The substituting video module is used for determining the play order of the plurality of videos and the advertising video files according to the plurality of replacement information, the information of the plurality of advertising video files, and the information of the plurality of videos.5.如权利要求4所述的线性频道置换影片系统,其特征在于,所述置换影片模块还包括:5. linear channel replacement film system as claimed in claim 4, is characterized in that, described replacement film module also comprises:监控置换条件模块,用于根据所述多个广告影片档的状态判断是否要将所述多个影片置换为所述多个广告影片档。The replacement condition monitoring module is used for judging whether to replace the plurality of videos with the plurality of advertisement video files according to the status of the plurality of advertisement video files.6.一种线性频道置换影片方法,其特征在于,包括:6. A linear channel replacement film method, characterized in that, comprising:通过置换信息数据库储存多个置换信息;storing a plurality of replacement information through a replacement information database;通过频道档案库储存多个广告影片档;Store multiple ad video files through the channel archive;通过置换影片系统连接所述置换信息数据库及所述频道档案库,并根据所述多个置换信息及所述多个广告影片档对多个影片进行置换;以及Connecting the replacement information database and the channel archive through the replacement video system, and replacing a plurality of videos according to the plurality of replacement information and the plurality of advertising video files; and通过至少一个行动终端装置根据所述置换影片系统所排定的影片播放顺序播放所述多个影片及所述多个广告影片档。The plurality of videos and the plurality of advertisement video files are played by at least one mobile terminal device according to the video playback sequence arranged by the replacement video system.7.如权利要求6所述的方法,其特征在于,还包括下列步骤:7. The method of claim 6, further comprising the steps of:通过线性频道置换影片管理系统提供界面以进行编辑所述多个置换信息及所述多个广告影片档的信息。The linear channel replacement video management system provides an interface for editing the plurality of replacement information and the information of the plurality of advertising video files.8.如权利要求7所述的方法,其特征在于,还包括下列步骤:8. The method of claim 7, further comprising the steps of:通过所述线性频道置换影片管理系统系储存频道置换生效资料表以及置换信息资料表。The linear channel replacement video management system stores a channel replacement effective data table and a replacement information data table.9.如权利要求6所述的方法,其特征在于,所述置换影片系统还包括:置换信息载入模块、置换影片信息集、储存模块以及置换影片模块,且所述方法还包括下列步骤:9. The method according to claim 6, wherein the replacement film system further comprises: a replacement information loading module, a replacement film information set, a storage module, and a replacement film module, and the method further comprises the following steps:通过所述置换信息载入模块定时取得所述多个置换信息;Obtaining the plurality of replacement information regularly through the replacement information loading module;通过所述置换影片信息集储存所述多个广告影片档的信息;storing the information of the plurality of advertising video files through the replacement video information set;通过所述储存模块储存所述多个影片的信息;以及storing information of the plurality of videos through the storage module; and通过所述置换影片模块根据所述多个置换信息、所述多个广告影片档的信息以及所述多个影片的信息决定所述多个影片及广告影片档的播放顺序。The playing sequence of the plurality of videos and the advertisement video files is determined by the replacement video module according to the plurality of replacement information, the information of the plurality of advertisement video files, and the information of the plurality of videos.10.如权利要求9所述的方法,其特征在于,其中所述置换影片模块还包括监控置换条件模块,且方法还包括下列步骤:10. The method according to claim 9, wherein the replacement film module also includes a monitoring replacement condition module, and the method further comprises the following steps:通过所述监控置换条件模块根据所述多个广告影片档的状态判断是否要进行将所述多个影片置换为所述多个广告影片档。Whether to replace the plurality of videos with the plurality of advertisement video files is judged by the monitoring replacement condition module according to the status of the plurality of advertisement video files.
CN201710672632.6A2017-06-052017-08-08Linear channel replacement film system and method thereofExpired - Fee RelatedCN107580256B (en)

Applications Claiming Priority (2)

Application NumberPriority DateFiling DateTitle
TW106118487ATWI647955B (en)2017-06-052017-06-05 Linear channel replacement film system and method thereof
TW1061184872017-06-05

Publications (2)

Publication NumberPublication Date
CN107580256Atrue CN107580256A (en)2018-01-12
CN107580256B CN107580256B (en)2020-09-08

Family

ID=61035852

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201710672632.6AExpired - Fee RelatedCN107580256B (en)2017-06-052017-08-08Linear channel replacement film system and method thereof

Country Status (2)

CountryLink
CN (1)CN107580256B (en)
TW (1)TWI647955B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110267117A (en)*2019-06-112019-09-20网宿科技股份有限公司 Method for processing streaming media data and streaming media processing server

Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1437804A (en)*2000-04-282003-08-20英特尔公司 Provide content interruption
CN1605205A (en)*2001-06-112005-04-06卡纳尔技术公司 Improvements in the field of program delivery
US20060218617A1 (en)*2005-03-222006-09-28Microsoft CorporationExtensible content identification and indexing
CN101272449A (en)*2008-03-282008-09-24山东泰信电子有限公司Television advertisement cut-broadcasting method based on digital TV set-top box
US20160345074A1 (en)*2015-05-212016-11-24Viviso Inc.Apparatus and Method for Replacing Conventional Commercials with Targeted Advertisements in Online Live Streams
US20170133057A1 (en)*2009-12-122017-05-11AT&T Intellectual Property l, LPSystem, Method and Computer Program Product for Updating Advertising Data for Recorded Video Data
CN106792007A (en)*2017-01-192017-05-31深圳市奥拓电子股份有限公司A kind of video transmission method and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US8832723B2 (en)*2012-02-072014-09-09Turner Broadcasting System, Inc.Method and system for a synchronous event manager for automatic content recognition
JP2015527795A (en)*2012-06-282015-09-17アズキ システムズ, インク. Method and system for inserting advertisements in live media delivery delivered via the Internet
CN104320679B (en)*2014-10-112019-02-15中兴通讯股份有限公司A kind of user information acquiring method and server based on HLS protocol

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1437804A (en)*2000-04-282003-08-20英特尔公司 Provide content interruption
CN1605205A (en)*2001-06-112005-04-06卡纳尔技术公司 Improvements in the field of program delivery
US20060218617A1 (en)*2005-03-222006-09-28Microsoft CorporationExtensible content identification and indexing
CN101272449A (en)*2008-03-282008-09-24山东泰信电子有限公司Television advertisement cut-broadcasting method based on digital TV set-top box
US20170133057A1 (en)*2009-12-122017-05-11AT&T Intellectual Property l, LPSystem, Method and Computer Program Product for Updating Advertising Data for Recorded Video Data
US20160345074A1 (en)*2015-05-212016-11-24Viviso Inc.Apparatus and Method for Replacing Conventional Commercials with Targeted Advertisements in Online Live Streams
CN106792007A (en)*2017-01-192017-05-31深圳市奥拓电子股份有限公司A kind of video transmission method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110267117A (en)*2019-06-112019-09-20网宿科技股份有限公司 Method for processing streaming media data and streaming media processing server
US11223856B2 (en)2019-06-112022-01-11Wangsu Science & Technology Co., Ltd.Method for processing streaming media data and server for processing streaming media

Also Published As

Publication numberPublication date
TWI647955B (en)2019-01-11
CN107580256B (en)2020-09-08
TW201904302A (en)2019-01-16

Similar Documents

PublicationPublication DateTitle
US20230319229A1 (en)System and method for modifying media streams using metadata
US11190567B2 (en)Low-latency HTTP live streaming
US10452250B2 (en)Method for associating media files with additional content
US9271021B2 (en)Delivery of streaming media content
JP6084537B2 (en) Method for in-video bookmarking and non-transitory computer readable recording medium
CN110024413B (en)System and method for splicing advertisements in streaming content
EP1959684A2 (en)Dynamic advertising control
CN105704568A (en) A method and device for realizing live broadcast time shift
US20240107087A1 (en)Server, terminal and non-transitory computer-readable medium
US20230021164A1 (en)Advertisement preparation systems
CN107580256B (en)Linear channel replacement film system and method thereof
JP2016213709A (en)Moving image reproduction system, client device, server device, and program
CN111837401B (en) Information processing equipment, information processing method
US11418826B2 (en)Content-modification system with supplemental content stitching feature
CN115039413A (en) Techniques for providing content streams based on delivered content streams
JP6456327B2 (en) Video delivery management system
JP4055776B2 (en) Content distribution system, and peer and peer program used therefor
US12075108B2 (en)Content-modification system with unscheduling feature
US20130232531A1 (en)Video and/or audio data processing system
CN120455742A (en)Video clip notification processing method and device, storage medium and electronic equipment

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
CF01Termination of patent right due to non-payment of annual fee
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20200908


[8]ページ先頭

©2009-2025 Movatter.jp