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

Linear channel replacement film system and method thereof Download PDF

Info

Publication number
CN107580256B
CN107580256B CN201710672632.6A CN201710672632A CN107580256B CN 107580256 B CN107580256 B CN 107580256B CN 201710672632 A CN201710672632 A CN 201710672632A CN 107580256 B CN107580256 B CN 107580256B
Authority
CN
China
Prior art keywords
replacement
film
information
advertisement
channel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710672632.6A
Other languages
Chinese (zh)
Other versions
CN107580256A (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 Ltd filed Critical Chunghwa Telecom Co Ltd
Publication of CN107580256A publication Critical patent/CN107580256A/en
Application granted granted Critical
Publication of CN107580256B publication Critical patent/CN107580256B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a system and a method for replacing films by linear channels, wherein the system comprises a management system for replacing films by linear channels, a system for replacing films, a replacement information database, a plurality of CDN (Content delivery network) archives of channels and an intelligent terminal device (comprising) with more than one action. The invention can give exclusive customized advertisement to the user after the big data analyzes the favor of each user, and can insert advertisement in the encrypted channel program.

Description

Linear channel replacement film system and method thereof
Technical Field
The present invention relates to a linear channel replacement film system and method thereof, and more particularly, to a linear channel replacement film system and method thereof for providing customized commercials for each user and inserting commercials into encrypted channel programs.
Background
The current common method of linear channel advertising is to allow each user to view the same advertisement. If one wants to achieve that each user can view customized and targeted advertising film services, the current Live channel service adopts HLS (HTTP Live Streaming), a single linear channel needs to provide video and audio files of n profiles at the same time, 1 profile has 3 ts, if m users exist, a storage space of 3 times n times m times is needed to store HLS single linear channel program contents of m users, and k linear channels are added, a huge storage space of 3 times n times m times k times is needed to store HLS program contents of k linear channels, the method needs to continuously analyze the contents of Live channel programs, find whether digital prompt tone marks exist, then extract original GOPs (Group of pictures) and replace the information into advertisement I-files, and generate new Live channel program files, it is very costly and cannot be used for advertising programs on encrypted channels. Therefore, customized advertisements cannot be given to each user and advertisements cannot be inserted in encrypted channel programs.
Disclosure of Invention
The present invention is directed to a linear channel replacement film system and method thereof, so as to solve the problem in the prior art that customized advertisements cannot be provided for each user and advertisements cannot be inserted into encrypted channel programs.
The linear channel replacement film system of the present invention comprises: a replacement information database, a channel file library, a replacement film system and at least one mobile terminal device; the replacement information database stores a plurality of replacement information; the channel file library stores a plurality of advertisement film files; the film replacing system is connected with the film replacing information database and the channel file library and replaces the film according to the replacing information and the film file; the mobile terminal device plays the film and the advertisement film file according to the film playing sequence scheduled by the film replacement system.
The linear channel replacement film method of the present invention comprises the steps of: storing a plurality of replacement information by a replacement information database; storing a plurality of advertisement film files through a channel file library; connecting the replacement information database and the channel file library through a replacement film system, and replacing the film according to the replacement information and the film file; and playing the film and the advertisement film file through the mobile terminal device according to the film playing sequence scheduled by the film replacement system.
In summary, the linear channel replacement film system and method thereof according to the present invention can have one or more of the following advantages:
1. the invention can provide customized advertisement for users when watching the channel program by placing the advertisement segment into the live channel program segment index m3u 8.
2. The invention solves the defect that the advertisement insertion of the existing live channel can not insert the advertisement into the encrypted channel program, and can allow the user to give customized advertisement to the user no matter the user watches the encrypted or clear live channel program.
3. The technology has a mechanism for dynamically pre-adjusting the minimum segment time difference, and is used for solving the problem that the picture pause and interruption occur when a user end watches the video because the update frequency of the file of the CDN live channel m3u8 is not a fixed value and the minimum segment time length of the linear channel program is not necessarily integral multiple of the minimum segment time length of the advertising film.
Drawings
FIG. 1 is a system architecture diagram of a linear channel replacement film system according to the present invention;
FIG. 2 is a schematic diagram of the linear channel replacement film system according to the present invention;
FIG. 3 is a flowchart illustrating a linear channel replacement film method according to the present invention;
FIG. 4 is a first flowchart of a linear channel replacement film method according to the present invention;
FIG. 5 is a second flowchart of the linear channel replacement film method of the present invention;
fig. 6 is a third flowchart of the linear channel replacement film method of the present invention;
fig. 7 is a schematic diagram of an embodiment of a linear channel replacement film system and method according to the present invention.
Detailed Description
Referring to fig. 1, fig. 1 shows a linear channel replacement film system according to the present invention. The system comprises a linear channel replacement film management system 1000, a replacement film system 2000, a replacement information database 3000, a plurality of channel CDN archive libraries 4000 and one or more mobile intelligent terminal devices 5000.
The linear channel replacement film management system 1000 provides a web interface for the manager to edit the replacement service information and the channel replacement film information. The channel replacement service information, including channel number, channel HLS address, and channel replacement service flag, is stored in the replacement service validation table 3100, including user ID, expected start time of advertisement, advertisement seconds, advertisement interval seconds, advertisement repetition times, advertisement HLS address, and the like, and is stored in the replacement information table 3200.
Replacement film system 2000 performs linear channel replacement film according to replacement conditions, and replacement film system 2000 includes a loading replacement information 2100, a replacement film module 2200, a replacement film information set 2300, and a storage module 2400. Loading the replacement information 2100 is responsible for periodically retrieving the replacement information from the replacement information database 3000 for use by the replacement film system 2000. Replacement movie module 2200 has sub-modules that include download channel segment m3u 82210, monitor replacement conditions 2220, replacement commercials processing 2230, replacement movie output 2240, HLS segment index information set 2241, replacement condition set 2250, and channel segment queue 2260; downloading the channel segment m3u 82210 is responsible for reading the segment index m3u8 file of each image quality of the channel and updating the channel segment index information; the monitoring replacement condition 2220 determines to execute tasks such as "non-replacement", "replacement", and "waiting for completion of replacement" according to the content of the replacement advertisement state, and the initial value of the replacement advertisement state is "non-replacement"; the replaced advertisement process 2230 determines and executes different functions according to the content of the replaced advertisement status and the content of the HLS segment index information set 2241 generated last time, for example, when the number of advertisement segments is quickly replaced, a mechanism for dynamically pre-adjusting the minimum segment time difference is started, which uses the minimum segment time difference between the channel program and the advertisement film to calculate the number of compensation segments and the remaining advertisement segments for dynamic compensation, and puts the last advertisement segment file name information into the HLS segment index information set 2241, so that the update frequency of the live broadcast channel m3u CDN 8 4100 can be synchronized when returning to the channel program, and the playing picture will not pause or interrupt when entering or leaving the advertisement; the replacement movie output 2240 mainly generates a destination segment index m3u8, generates a destination segment index m3u8 for each picture quality, and provides a query whether the HLS segment index information set 2241 contains no advertisement; the HLS segment index information set 2241 stores HLS segment index information of segment film path absolute; the replacement condition set 2250 is composed of replacement conditions of the same channel, where the information includes channel number, advertisement start time, advertisement end time, advertisement segment film number, advertisement segment index list (including advertisement HLS website path), and the like; the channel segment queue 2260 stores a history list with time stamped HLS segment index information. The replacement video information set 2300 is composed of advertisement video information, which includes advertisement segment index lists, advertisement HLS addresses, etc. of each picture quality of the advertisement video, and provides information for finding out the advertisement segment index lists through the advertisement HLS addresses. The storage module 2400 provides a file directory folder for creating each channel, a master m3u8 file 2410 for storing each channel, and a segment index m3u8 file 2420 for storing each image quality of each replacement channel.
The replacement information database 3000 has a replacement service validation data table 3100 and a replacement information data table 3200 for providing query and record related information; the replacement service validation data table 3100 records a channel number, a channel HLS address, and a channel replacement service flag, wherein the channel replacement service flag provides a replacement movie module 2200 for determining whether the module is to be executed continuously or paused; the replacement information data table 3200 has information including a channel number, a user ID, an expected start time of an advertisement, advertisement seconds, advertisement interval seconds, advertisement repetition times, a website of the advertisement, and the like.
The channel CDN file 4000 stores therein a channel m3u8 file 4100 and a channel movie file 4200. The mobile intelligent terminal device 5000 may provide the user with operations to view HLS live channel programs.
Referring to the system flowchart of fig. 2, (1) the linear channel replacement film management system 1000 allows the manager to edit the replacement service information and the channel replacement film information through the web interface, and stores the information in the replacement service validation data table 3100 and the replacement information data table 3200 of the replacement information database 3000, respectively. (2) The replacement service validation data table 3100 is retrieved at regular time from the loading replacement information 2100, the channel number that has not generated the thread of the replacement film module 2200 is screened out first, the thread (channel ID thread) is automatically generated by using the channel number as the ID, and the channel ID thread is notified whether to continue or pause according to the channel number and the content of the channel replacement service flag. (3) And retrieving the unprocessed channel replacement film information in the replacement information data table 3200 at regular time, inquiring whether the advertisement HLS website in the information exists in the replacement film information set 2300, if not, retrieving the advertisement segment index list through the advertisement HLS website respectively, and establishing a new list in the replacement film information set 2300.
The advertisement repeat times of the information are used to automatically calculate and generate replacement condition information, which is stored in the replacement condition set 2250. (4) When the channel ID thread receives the start command, it will inform the download channel segment m3u 82210 to execute the program; when the channel ID thread receives the pause command, it notifies the downloaded channel segment m3u 82210 to pause the program. (5) The downloaded channel segment m3u 82210 reads the segment index file of each image quality through the HLS website, queries the channel segment queue 2260 for whether new segment information is generated and is not repeated, converts the new segment information into segment information with a time stamp and stores the segment information in the channel segment queue 2260 if the new segment information is generated and the replacement condition 2220 is notified to perform replacement condition judgment. And (4) jumping to the step (4) to continue the processing whether new segmentation information is generated or not.
Monitoring the replacement condition 2220, see fig. 3, for the following steps:
s300: executing a monitoring replacement condition;
s301: whether the execution state is starting;
s302: whether the replacement advertisement tag is "" non-replacement "";
s303: taking out the latest time stamp HLS subsection information to query the replacement condition set;
s304: whether the time conditions of the start and the end of the advertisement are met;
s305: setting the advertisement mark as "" replacement "", and extracting the current replacement film information;
s306: the notification replacement advertisement processing module processes; and
s307: the execution state is set to pause.
When the replacement advertisement status is "non-replacement", the latest HLS segment information with the timestamp is fetched from the channel segment queue 2260, the replacement condition set 2250 is queried to determine whether the condition of the advertisement is met, if the condition of the advertisement is met, the replacement advertisement status is "replacement", and then current replacement movie information is fetched from the replacement movie information set 2300. The replacement ad process 2230 is then notified whether the ad is eligible or not.
The advertisement process 2230 may perform various functions depending on the contents of the displaced advertisement status and the last generated HLS segment index information set 2241: (1) when the replacement advertisement status is "not replaced", the removal flag is set to true, please refer to fig. 4, and the following steps are performed:
s400: replacement advertisement processing commences;
s401: whether the execution state is starting;
s402: whether the replacement advertisement tag is "" non-replacement "";
s403: taking out the latest time stamp HLS subsection information;
s404: the call replacement film output module generates a destination segment index m3u8 file;
s405: removing HLS segmentation information of a first channel in a channel segmentation queue; and
s406: the execution state is set to pause.
The latest HLS segment information of one channel is fetched from the channel segment queue 2260, and is transmitted to the film replacement output 2240 to update the content of the HLS segment index information set 2241, so as to generate the target segment index m3u8 (without advertisement), remove the HLS segment information of the first channel in the channel segment queue 2260, and wait for the next instruction. (2) When the advertisement replacement status is "replacement" (step S500), please refer to fig. 5, first calculate the number of compensated segments (step S501), set the removal flag to true, call the replacement film output 2240, remove the first piece of film segment information and add an advertisement segment file name information to the HLS segment index information set 22410 according to the removal flag, add 1 to the advertisement segment COUNT, and set COUNT to the number of compensated segments minus 1 (step S502), whether to execute the advertisement insertion process of dynamically pre-adjusting the minimum segment time difference mechanism, and determine whether three conditions are satisfied simultaneously (i) the advertisement segment COUNT is smaller than the number of advertisement segments; the number of the remaining advertisement segments is less than (3 times the number of the compensation segments); ③ and COUNT is not equal to zero (step S503); if the three conditions are not satisfied, jumping to step S506 to continue execution; if the three conditions are satisfied simultaneously, the advertisement insertion process of the mechanism for dynamically pre-adjusting the minimum segment time difference is started, the removal flag is set to false, the call replacement film output module newly adds an advertisement segment message to the HLS segment index message set 2241, generates the destination segment index m3u8 according to the content, decrements COUNT by 1 and increments advertisement segment COUNT by 1, and after waiting for the second time of the advertisement segment film, jumps to step S503 to continue execution (step S504). Calling the replacement film output 2240 to generate a target segment index m3u8 file according to the contents of the HLS segment index information set 2241 (step S505), determining whether the advertisement replacement is completed, when the advertisement segment count is less than the number of advertisement segment films (step S506), and when the condition is not satisfied, after waiting for the second time of the first segment film of the HLS segment index information set 2241, jumping to step S502 to continue execution (step S507); when the conditions are satisfied, the channel segment queue 2260 is synchronized and the HLS segment index information set 2241 is updated, and the replacement advertisement status is changed to "wait for replacement to complete", and the process skips to step S600 to continue (step S508).
The synchronized channel segment queue 2260 is configured to change the timestamp of the last message in the channel segment queue 2260 to the current timestamp; and correcting the time stamp of the penultimate information, and deleting the queue until only the last two information are left.
(3) When the replacement advertisement status is "waiting for replacement completion", referring to fig. 6, it is first determined whether the replacement advertisement flag is "waiting for replacement completion" (step S600), the number of seconds of the first segment movie of HLS segment index information set 2241 is waited for, and COUNT is set to the number of compensated segments minus 1 (step S601), the removal flag is set to true, the call replacement movie output 2240 removes the first segment movie information of HLS segment index information set 2241, and fetches the first segment HLS segment information from channel segment queue 2260 to be added to HLS segment index information set 2241, and each time the replacement advertisement status is just switched to "waiting for replacement completion", an EXT-X-relation TAG is added to generate a destination segment index m3u8 file (step S602), it is determined whether to perform an advertisement removal process of dynamically pre-adjusting the minimum segment time difference mechanism, and it is queried whether the first segment of HLS segment index information set is advertisement information and COUNT is COUNT for the replacement advertisement output 2240 Zero, if the condition is satisfied, starting the advertisement removing process of the mechanism for dynamically pre-adjusting the minimum segment time difference, if the condition is not satisfied, jumping to step S605 to execute (step S603), executing the advertisement removing process of the mechanism for dynamically pre-adjusting the minimum segment time difference, calling the replacement film output 2240 to only move out the first piece of segment information of the HLS segment index information set 2241, generating the destination segment index m3u8, decreasing COUNT by 1, determining whether the removed first piece of information is an advertisement and COUNT is not zero, if the condition is satisfied, waiting for the time of seconds of the information, jumping to step S603 to continue executing, if the condition is not satisfied, jumping to step S605 to execute (S604), determining whether the first piece of information of the HLS segment index information set 2241 is an advertisement, if the first piece is an advertisement, jumping to step S601 to continue executing, if the first piece is not an advertisement, jumping to step S606 to execute (S605), changing the replacement advertisement state to 'non-replacement' and removing the replacement condition, execution of a notification of the monitoring replacement condition 2220 is awaited (step S606). The replacement movie output 2240 updates the record of the HLS segment index information set 2241 according to the advertisement status and the removal flag, adds the HLS address (segment movie path is absolute) to the channel segment movie in the recorded content, puts the HLS address into the HLS segment index information set 2241, and generates the segment index m3u8 for the destination of the image quality. (A) When the replacement advertisement status is "not replaced", there are two cases: (1) initializing (HLS segment index information set 2241 is empty), the module will take the first 3 pieces of information from the channel segment queue 2260, absolute segment movie path and store it in the HLS segment index information set 2241, and generate the destination master m3u8 file 2410 of the channel and the destination segment index m3u8 file 2420 of the image quality. (2) For update (HLS segment index information set 2241 has contents), the module will first extract the latest information from the channel segment queue 2260, after absolute segmentation of the movie path, store it in the HLS segment index information set 2241 and remove the first information, and then generate the target segment index m3u8 file of the image quality. (B) When the replacement advertisement status is "replacement", the first information of the HLS segment index information set 2241 can be selectively removed or added to retrieve the first information from the channel segment queue 2260 according to the input parameters. And the advertisement segment count is an index to obtain the information of the advertisement segment film from the current replacement film list, and after the information is put into an HLS segment index information set 2241 to generate a target segment index m3u8 of the image quality, the advertisement segment count value is added by 1, and the first segment film second number of the segment index is returned. (C) When the advertisement status of the replacement is "waiting for replacement to be completed", the first information of the HLS segment index information set 2241 can be selectively removed or added to the channel segment queue 2260 to retrieve the first information according to the input parameters.
Example (embodiment)
Referring to the flow chart of the linear channel replacement film system in fig. 2, it is assumed that the contents of the replacement film service and the replacement film information provided by those channels are already inputted from the linear channel replacement film management system 1000 into the replacement service validation data table 3100 and the replacement information data table 3200 of the replacement information database 3000, respectively.
The contents of the replacement service validation data table 3100 are as follows:
Figure BDA0001373497340000081
firstly, a customized advertisement is given to a single user, wherein the contents of the replacement information data table 3200 are as follows:
Figure BDA0001373497340000091
1. generate and start the thread of the replace film module 2200; periodically retrieve the contents of replacement service validation table 3100 and query with chNo for the presence of a corresponding thread of replacement movie module 2200, if no thread of replacement movie module 2200 is generated that passes the chNo ID. In this example, there are two IDs: ID15 and ID16 replace movie module threads generated, only the replace service flag of ID15 is enabled.
2. Newly-added replacement film information and newly-added replacement conditions: after the new replacement information in the replacement information data table 3200 is periodically retrieved,
2-1, firstly, inquiring the value of the adLink via the replacement film information set 2300 to judge whether there is repeated replacement information, if not, retrieving a replacement film segment index list (adList) through the website of the replacement film recorded by the adLink, analyzing one segment length (duration) of the list, and storing the information of the adLink, the adList, the adDuration and the like into the replacement film information set 2300, as follows:
Figure BDA0001373497340000092
2-2, retrieving the replacement movie fragment index list adID from the replacement movie information set 2300 with the addlink as ID, and generating 3 pieces of channel replacement movie information in the replacement condition set 2250 according to the replacement information repeat times of 3, wherein the addstarttime of the second piece is calculated from the first addtime, addduration and intervalDuration, 2015-12-1620: 00: 00+14Sec +300Sec 2015-12-1620: 05: 14, and so on for the third pen, and the ad given to user1 as follows:
Figure BDA0001373497340000101
and reading the sectional index file of each picture quality by utilizing the HLS website of the channel in the replacement service information, and storing the HLS sectional information in a channel sectional queue to inform a monitoring replacement condition module to judge replacement conditions after converting the HLS sectional information with the time stamp when new HLS sectional information of the channel exists. This step is repeated unless a wait is entered upon receipt of the pause replacement film service. The replacement advertisement status initial value is "not replaced". Assuming that the channel segmentation queue 2260 has information already, as follows
Figure BDA0001373497340000102
Assuming that a segment index of the image quality of the channel has new segment information generated, the contents are as follows:
Figure BDA0001373497340000103
Figure BDA0001373497340000111
and permuting the HLS segment index information set 2241 and destination segment index m3u8 files within movie output 2240 as follows:
Figure BDA0001373497340000112
3, the downloading channel segment m3u 82210 of ID15 thread, through the channel HLS URL scrolling to read the segment list of each image quality of the channel, and query the channel segment queue 2260 of ID15 thread to determine whether there is new segment information generated and not repeated for each image quality,
3-1. after conversion to HLS segment information with time stamp with reference to FIG. 7, an update is made to channel segment queue 2260 as follows
Figure BDA0001373497340000121
3-2, the updated information is taken out, and the monitoring replacement condition module 2220 is notified to judge the replacement condition.
4. The monitoring replacement condition module 2220 performs the following procedure according to the content of the replaced advertisement status, when the content is "non-replaced", the latest HLS segment information with the time stamp is taken out from the channel segment queue 2260, the replacement condition set 2250 is queried to determine whether the advertisement condition is met, and if the advertisement condition is met, the replaced advertisement status is "replaced" and the initial value of the advertisement segment index count is zero. The replacement ad process 2230 is then notified whether the ad is eligible or not.
The replacement advertisement process 2230 may perform various functions based on the replacement advertisement status and the last generated contents of the HLS segment index information set 2241:
referring to fig. 3, the sttimestamp value of the obtained update information is still 4, the ettimestamp value is etime4, and the addstarttime of the replacement condition set 2250 is compared.
4-1, assuming that the replacement condition is not satisfied, indicating that the adStartTime is not between the information still 4 and etime4, the replacement advertisement status is set to "non-replacement" (A) the replacement advertisement process 2230 performs "non-replacement" process, referring to FIG. 4, the call replacement movie output 2240 generates a destination segment index m3u8 containing the name of user1 according to the contents of the HLS segment index information set 2241; example (c): user1index.m3u8), the second number of the first segmented film which is returned and output by m3u8 is 4.11 seconds (the second number of the segments is 4 seconds), as follows:
Figure BDA0001373497340000122
Figure BDA0001373497340000131
after waiting 4 seconds, when the next channel segment m3u 82210 has new segment information generated, remove the first data in the channel segment queue 2260 and update the contents of the HLS segment index information set 2241:
Figure BDA0001373497340000132
4-2, assuming that the replacement condition is satisfied, representing that the adStartTime is between the pieces of information still 4 and etime4, the replacement advertisement status is set to "replacement", and the advertisement segment count value is set to 0.
(B) The replacement advertisement process 2230 performs a "replacement" process, referring to fig. 5, to obtain that the number of calculated compensated segments is 2, call the replacement movie output 2240, generate a destination segment index m3u8 file, add EXT-X-disarmingtytytateg to the file, so that the mobile intelligent terminal device 5000 can normally play the advertisement movie from the channel program, and return the first segment movie with the second number of 4.11 seconds (the segment second number is an integer of 4 seconds), as follows:
Figure BDA0001373497340000141
there are 7 commercial segment films in the "adList" in this example, and it is judged that the commercial replacement is not completed, and after waiting for 4 seconds of segment seconds,
referring to fig. 5, after S502-S504, the mechanism for dynamically pre-adjusting the minimum segment time difference is activated, and after the mechanism processes the movie output 2240 to insert two advertisement segment filenames into the HLS segment index information set 2241 and the generation destination segment index m3u8, the advertisement segment count is 3, and the number of the remaining advertisement segment movies is 4, as follows:
Figure BDA0001373497340000142
Figure BDA0001373497340000151
judging whether the advertisement segment count is 3 or less than 7 in S506, finding that the advertisement has not been replaced, after S502-S504, generating a target segment index m3u8 file, the advertisement segment count is 5, and the number of the remaining advertisement segment films is 2, as follows:
Figure BDA0001373497340000152
Figure BDA0001373497340000161
after waiting for 2 seconds again, it is determined whether the advertisement segment count is 5 or less than the advertisement segment film number of 7, S502 to S504 are performed, the advertisement segment count is 7, and the number of the remaining advertisement segment films is zero, as follows:
Figure BDA0001373497340000162
judging that the advertisement segment count 7 is equal to the advertisement segment film number 7 according to S506, synchronizing the channel segment queue 2260, and changing the time stamp of the last piece of information in the channel segment queue 2260 to the current time stamp; and correcting the timestamp of the penultimate information, deleting the queue until only the last two pieces of information remain, updating the HLS segment index information set 2241 and replacing the advertisement status to 'wait for replacement complete', jumping to the replacement advertisement process 2230 for continued execution as follows
Figure BDA0001373497340000171
(C) When the replacement advertisement status is "waiting for replacement completion", referring to fig. 6, after waiting for 2 seconds, setting COUNT to be the number of compensated segments minus 1, calling the replacement film output 2240 to remove the first segment ad2.ts film of the HLS segment index information set 2241 and add the first segment HLS segment information N-1.ts taken from the channel segment queue 2260, generating the destination segment index m3u8 file as follows:
Figure BDA0001373497340000172
Figure BDA0001373497340000181
is it determined whether to perform the remove advertisement process of the dynamic pre-adjust segment time difference mechanism? Because the first of the HLS segment index information set is advertisement information and the COUNT is 1, the judgment is true, the advertisement removing process of the mechanism for dynamically pre-adjusting the minimum segment time difference is started,
moving out HLS segment index information set 2241, first segment information ad3.ts, and COUNT decreasing by 1, to generate destination segment index m3u8, as follows:
Figure BDA0001373497340000182
Figure BDA0001373497340000191
the query determines whether the first piece of information in the HLS segment index information set 2241 is an advertisement, and the first piece of information is ad4.ts advertisement information but COUNT is zero, so the advertisement removal process of the mechanism of dynamically pre-adjusting the minimum segment time difference is left.
Jump to S605 to query whether the channel replacement film segment m3u8 has no advertisement, because the first stroke of the HLS segment index information set is ad4.ts advertisement information, go back to S601 to wait for 2 seconds, set COUNT to the number of compensated segments minus 1, remove the first stroke of the ad4.ts film of the HLS segment index information set 2241 and add HLS segment information n.ts of which the first stroke is taken from the channel segment queue 2260, generate the destination segment index m3u8 file, as follows,
Figure BDA0001373497340000192
Figure BDA0001373497340000201
after the removal process of the dynamic pre-adjustment minimum segment time difference mechanism, the result of the destination segment index m3u8 is as follows:
Figure BDA0001373497340000202
after skipping again to S605 and the process of removing advertisements by the mechanism of dynamically pre-adjusting the minimum segment time difference, the result of the destination segment index m3u8 is as follows:
Figure BDA0001373497340000211
jumping to S605 and inquiring whether there is already no commercial in the channel replacement film segment m3u8 (S605), it is found that the first item N-1.ts of the HLS segment index information set is not commercial information.
The replacement condition of replacement condition set 2250 is removed and the replacement advertisement status is changed to "not replaced", jumping to the beginning of executing monitor replacement condition 2220.
Second, a plurality of users are given customized advertisements, and the contents of the replacement information data table 3200 are as follows:
the contents of the replacement information table 3200 are as follows:
Figure BDA0001373497340000212
as described in the step of customizing advertisements for a single user, wherein the different parts are as follows:
1. replace new content of condition set 2250 (empty string in users represents user not described in users):
Figure BDA0001373497340000221
2. the target master.m3u8 and the target index.m3u8 containing the users information are generated respectively, such as the target master.m3u8 (including master.m3u8, user1master.m3u8 and user2master.m3u8) and the target index.m3u8 (including index.m3u8, user1index.m3u8 and user2index.m3u8).
3. And as the step of giving the customized advertisement to the single user, respectively replacing the advertisement according to the ADID information and providing the customized advertisement to a plurality of users.
The foregoing is by way of example only, and not limiting. It is intended that all equivalent modifications or variations be included in the claims without departing from the spirit and scope of the invention.

Claims (8)

1. A linear channel replacement film system, comprising:
a replacement information database for storing a plurality of replacement information, wherein the plurality of replacement information includes advertisement repetition times;
a channel file library for storing a plurality of advertisement film files;
a replacement film system, configured to connect the replacement information database and the channel archive, and replace a plurality of films according to the advertisement repetition times and the advertisement film files, where the replacement film system includes a replacement film module having a monitoring replacement condition module, where the monitoring replacement condition module is configured to determine states of the advertisement film files, and when the states of the advertisement film files are not replaced, the replacement film system replaces the advertisement film files with the films; and the number of the first and second groups,
at least one mobile terminal device for playing the films and the advertisement film files according to the film playing sequence scheduled by the replacement film system.
2. The linear channel replacement film system as recited in claim 1, wherein said linear channel replacement film system further comprises:
and the linear channel replacement film management system is used for providing an interface to edit the plurality of replacement information and the information of the plurality of advertisement film files.
3. The linear channel replacement film system as claimed in claim 2, wherein said linear channel replacement film management system stores a channel replacement effect table and a replacement information table.
4. The linear channel replacement film system as recited in claim 1, wherein said replacement film system further comprises:
a replacement information loading module for obtaining the plurality of replacement information at regular time;
a replacement film information set for storing information of the plurality of commercial film files;
the storage module is used for storing the information of the plurality of films; and the number of the first and second groups,
and the film replacing module is used for determining the playing sequence of the films and the advertisement film files according to the replacement information, the information of the advertisement film files and the information of the films.
5. A method for linear channel replacement filming, comprising:
storing a plurality of replacement information through a replacement information database, wherein the plurality of replacement information comprises advertisement repetition times;
storing a plurality of advertisement film files through a channel file library;
connecting the replacement information database and the channel archive library through a replacement film system, and replacing a plurality of films according to the advertisement repetition times and the advertisement film files, wherein the replacement film system comprises a replacement film module with a monitoring replacement condition module, the monitoring replacement condition module is used for judging the states of the advertisement film files, and when the states of the advertisement film files are not replaced, the replacement film system replaces the advertisement film files with the advertisement film files; and
and playing the plurality of films and the plurality of advertisement film files through at least one mobile terminal device according to the film playing sequence scheduled by the replacement film system.
6. The method of claim 5, further comprising the steps of:
and providing an interface through a linear channel replacement film management system to edit the replacement information and the advertisement film files.
7. The method of claim 6, further comprising the steps of:
the linear channel replacement film management system stores the effective channel replacement data table and the replacement information data table.
8. The method of claim 5, wherein the replacement film system further comprises: a replacement information loading module, a replacement film information set, and a storage module, and the method further comprises the following steps:
obtaining the plurality of replacement information at regular time through the replacement information loading module;
storing information of the plurality of commercial film files by the replacement film information set;
storing information of the plurality of movies by the storage module; and
and determining the playing sequence of the plurality of films and the advertisement film files by the film replacement module according to the plurality of replacement information, the information of the plurality of advertisement film files and the information of the plurality of films.
CN201710672632.6A 2017-06-05 2017-08-08 Linear channel replacement film system and method thereof Active CN107580256B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
TW106118487 2017-06-05
TW106118487A TWI647955B (en) 2017-06-05 2017-06-05 Linear channel replacement film system and method thereof

Publications (2)

Publication Number Publication Date
CN107580256A CN107580256A (en) 2018-01-12
CN107580256B true CN107580256B (en) 2020-09-08

Family

ID=61035852

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710672632.6A Active CN107580256B (en) 2017-06-05 2017-08-08 Linear channel replacement film system and method thereof

Country Status (2)

Country Link
CN (1) CN107580256B (en)
TW (1) TWI647955B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110267117B (en) 2019-06-11 2020-11-27 网宿科技股份有限公司 Streaming media data processing method and streaming media processing server

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1437804A (en) * 2000-04-28 2003-08-20 英特尔公司 System and method for providing content interruptions
CN1605205A (en) * 2001-06-11 2005-04-06 卡纳尔技术公司 Mpeg table structure
CN101272449A (en) * 2008-03-28 2008-09-24 山东泰信电子有限公司 Television advertisement cut-broadcasting method based on digital TV set-top box
CN106792007A (en) * 2017-01-19 2017-05-31 深圳市奥拓电子股份有限公司 A kind of video transmission method and system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060218617A1 (en) * 2005-03-22 2006-09-28 Microsoft Corporation Extensible content identification and indexing
US8798442B2 (en) * 2009-12-12 2014-08-05 At&T Intellectual Property I, Lp System, method and computer program product for updating advertising data for recorded video data
US9210467B2 (en) * 2012-02-07 2015-12-08 Turner Broadcasting System, Inc. Method and system for a universal remote control
WO2014004955A1 (en) * 2012-06-28 2014-01-03 Azuki Systems, Inc. Method and system for ad insertion in over-the-top live media delivery
CN104320679B (en) * 2014-10-11 2019-02-15 中兴通讯股份有限公司 A kind of user information acquiring method and server based on HLS protocol
WO2016187592A1 (en) * 2015-05-21 2016-11-24 Viviso Inc. Apparatus and method for replacing conventional commercials with targeted advertisements in online live streams

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1437804A (en) * 2000-04-28 2003-08-20 英特尔公司 System and method for providing content interruptions
CN1605205A (en) * 2001-06-11 2005-04-06 卡纳尔技术公司 Mpeg table structure
CN101272449A (en) * 2008-03-28 2008-09-24 山东泰信电子有限公司 Television advertisement cut-broadcasting method based on digital TV set-top box
CN106792007A (en) * 2017-01-19 2017-05-31 深圳市奥拓电子股份有限公司 A kind of video transmission method and system

Also Published As

Publication number Publication date
TW201904302A (en) 2019-01-16
TWI647955B (en) 2019-01-11
CN107580256A (en) 2018-01-12

Similar Documents

Publication Publication Date Title
US11778247B2 (en) Dynamic insertion of content within live streaming video
US9578389B2 (en) Method of targeted ad insertion using HTTP live streaming protocol
US20190230313A1 (en) System and method for modifying media streams using metadata
US10616630B2 (en) Method for querying information of a currently broadcasted TV program and smart TV
US11711587B2 (en) Using manifest files to determine events in content items
JP6122998B2 (en) Method for in-video bookmarking and non-transitory computer readable recording medium
US9271021B2 (en) Delivery of streaming media content
CN111885396B (en) System and method for splicing advertisements in streaming content
WO2017189177A1 (en) Multimedia content management system
US11647252B2 (en) Identification of elements in a group for dynamic element replacement
US10951959B2 (en) Video management
CN113329267B (en) Video playing method and device, terminal equipment and storage medium
KR101800098B1 (en) Advertisement insertion
CN107580256B (en) Linear channel replacement film system and method thereof
US10708336B2 (en) System and method for announcing media changes
US9049264B2 (en) Media start position based on inserting a start position indentifier
RU2605002C2 (en) Device and method of controlling a personal channel
CN111654741B (en) Video data acquisition method and device, computer equipment and storage medium
CN116366893A (en) Video playing method, device, system, electronic equipment and storage medium
JP2010268089A (en) Content distribution device

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