[go: up one dir, main page]

TWI808456B - Advertisement playing method, device and computer readable storage medium - Google Patents

Advertisement playing method, device and computer readable storage medium Download PDF

Info

Publication number
TWI808456B
TWI808456B TW110128215A TW110128215A TWI808456B TW I808456 B TWI808456 B TW I808456B TW 110128215 A TW110128215 A TW 110128215A TW 110128215 A TW110128215 A TW 110128215A TW I808456 B TWI808456 B TW I808456B
Authority
TW
Taiwan
Prior art keywords
advertisement
data stream
original data
recognition result
playing
Prior art date
Application number
TW110128215A
Other languages
Chinese (zh)
Other versions
TW202306391A (en
Inventor
陳欣玄
劉榮宗
Original Assignee
端點科技股份有限公司
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 端點科技股份有限公司 filed Critical 端點科技股份有限公司
Priority to TW110128215A priority Critical patent/TWI808456B/en
Publication of TW202306391A publication Critical patent/TW202306391A/en
Application granted granted Critical
Publication of TWI808456B publication Critical patent/TWI808456B/en

Links

Images

Landscapes

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

Abstract

An advertisement playing method, device and computer-readable storage medium, which mainly include continuous recognition based on preset characteristics and instantaneously obtained the original data stream, and obtaining multiple instant recognition results for identifying that the original data stream currently belongs to a non-advertisement play period or an advertisement play period, and if the original data stream currently belongs to the non-advertisement play period, the original data stream is output, and if the original data stream currently belongs to the advertisement play period, the preset replacement data stream is output. In this way, the present application can realize the selective replacement output of the original data stream.

Description

廣告播放方法、裝置及電腦可讀存儲介質Advertising playing method, device and computer-readable storage medium

本發明係涉及一種數據流處理技術,更詳而言之,係指一種可於廣告播放方法、裝置及電腦可讀存儲介質 。The present invention relates to a data stream processing technology, and more specifically, refers to a method, device, and computer-readable storage medium that can be used in advertisement playback.

在頻道商提供的媒體內容中,會在節目與節目間安排廣告播放;通常電視台系統業者在播放該媒體內容時,會將頻道商所安排的廣告更換為自己客戶的廣告,藉此賺取廣告收益。然而,現有廣告播放的更換處理均是人工作業,相當費時費力。In the media content provided by the channel operator, advertisements will be played between programs; usually, when broadcasting the media content, the TV station system operator will replace the advertisement arranged by the channel operator with the advertisement of its own customers, so as to earn advertising revenue. However, the replacement processing of existing advertisement broadcasting is all manual work, which is quite time-consuming and labor-intensive.

有鑑於此,如何提供一種廣告自動切換播放技術,即為本申請待解決的技術課題。In view of this, how to provide a technology for automatically switching and playing advertisements is a technical subject to be solved in this application.

鑒於上述先前技術之缺點,本發明係提供一種廣告播放方法、裝置及電腦可讀存儲介質,可在預設廣告播放時段實現廣告媒體的自動切換播放。In view of the above-mentioned shortcomings of the prior art, the present invention provides an advertisement playing method, device and computer-readable storage medium, which can realize automatic switching and playing of advertisement media during preset advertisement playing periods.

本申請第一方面提供一種廣告播放方法,主要包括基於預設特徵連續識別實時獲取的原始數據流,獲得所述原始數據流的多個即時識別結果,其中,所述即時識別結果包含用於標識所述原始數據流當前屬於非廣告播放時段的非廣告識別結果,或用於標識所述原始數據流當前屬於廣告播放時段的廣告識別結果,以及若所述原始數據流當前的所述即時識別結果為所述非廣告識別結果,即時輸出所述原始數據流,若所述原始數據流當前的所述即時識別結果為所述廣告識別結果,即時輸出預設替換數據流。。The first aspect of the present application provides an advertisement playing method, which mainly includes continuously identifying raw data streams acquired in real time based on preset features, and obtaining multiple instant recognition results of the original data streams, wherein the instant recognition results include non-advertisement recognition results for identifying that the original data stream currently belongs to a non-advertisement playing time period, or an advertisement recognition result for identifying that the original data stream currently belongs to an advertisement playing time period, and if the current instant recognition result of the original data stream is the non-advertisement recognition result, output the original data stream immediately, and if the current instant recognition result of the original data stream is the advertisement recognition result, immediately output The preset replaces the data stream. .

本申請第二方面提供一種電腦可讀存儲介質,所述電腦可讀存儲介質上存儲有電腦指令,所述電腦指令被處理器執行時,使所述處理器執行上述第一方面所述的方法。The second aspect of the present application provides a computer-readable storage medium, where computer instructions are stored on the computer-readable storage medium, and when the computer instructions are executed by a processor, the processor is made to execute the method described in the first aspect above.

本申請第三方面提供一種廣告播放裝置,其包括即時識別模組,用於基於預設特徵連續識別實時獲取的原始數據流,獲得所述原始數據流的多個即時識別結果,其中,所述即時識別結果包含用於標識所述原始數據流當前屬於非廣告播放預設時段的非廣告識別結果,或用於標識所述原始數據流當前屬於廣告播放時段的廣告識別結果;輸出控制模組,用於當所述即時識別模組獲取的所述即時識別結果為所述非廣告識別結果時,輸出所述原始數據流,並當所述即時識別模組獲取的所述即時識別結果為所述廣告識別結果時,輸出預設替換數據流。The third aspect of the present application provides an advertisement playback device, which includes an instant recognition module for continuously identifying raw data streams acquired in real time based on preset features, and obtaining multiple instant recognition results of the original data streams, wherein the instant recognition results include non-advertisement recognition results for identifying that the original data stream currently belongs to a preset period of non-advertisement playback, or an advertisement recognition result for identifying that the original data stream currently belongs to an advertisement playback time period; an output control module is used for outputting the original data stream when the instant recognition result obtained by the instant recognition module is the non-advertisement recognition result, and when the instant recognition module When the instant recognition result obtained by the group is the advertisement recognition result, a preset replacement data stream is output.

綜上所述,本申請的廣告播放方法、裝置及電腦可讀存儲介質,通過即時識別原始數據流當前處於廣告播放時段還是非廣告播放時段,並於判斷原始數據流當前處於廣告播放時段時,即利用預設的替換廣告資源替換原始數據流中的原始廣告資源並輸出,藉以達到廣告資源自動替換播放的技術效果。To sum up, the advertising playing method, device and computer-readable storage medium of the present application can instantly identify whether the original data stream is currently in the advertising playing period or not, and when it is judged that the original data stream is currently in the advertising playing period, replace the original advertising resources in the original data stream with the preset replacement advertising resources and output them, so as to achieve the technical effect of automatically replacing and playing the advertising resources.

以下內容將搭配圖式,藉由特定的具體實施例說明本發明之技術內容,熟悉此技術之人士可由本說明書所揭示之內容輕易地瞭解本發明之其他優點與功效。本發明亦可藉由其他不同的具體實施例加以施行或應用。本說明書中的各項細節亦可基於不同觀點與應用,在不背離本發明之精神下,進行各種修飾與變更。尤其是,於圖式中各個元件的比例關係及相對位置僅具示範性用途,並非代表本發明實施的實際狀況。The following content will be combined with drawings to illustrate the technical content of the present invention through specific embodiments, and those who are familiar with this technology can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments. Various modifications and changes may be made to the details in this specification based on different viewpoints and applications without departing from the spirit of the present invention. In particular, the proportions and relative positions of various elements in the drawings are for exemplary purposes only, and do not represent the actual implementation of the present invention.

第一實施例first embodiment

圖1示出了本申請第一實施例的廣告播放方法的流程示意圖。如圖所示,本實施例的廣告播放方法主要包括以下步驟:Fig. 1 shows a schematic flowchart of an advertisement playing method according to the first embodiment of the present application. As shown in the figure, the advertisement playing method in this embodiment mainly includes the following steps:

步驟S102,基於預設特徵連續識別實時獲取的原始數據流,獲得原始數據流的多個即時識別結果。Step S102, continuously identify the raw data stream acquired in real time based on preset features, and obtain multiple instant recognition results of the raw data stream.

可選地,即時識別結果包含用於標識原始數據流當前屬於非廣告播放時段的非廣告識別結果,或用於標識所述原始數據流當前屬於廣告播放時段的廣告識別結果。Optionally, the instant identification result includes a non-advertisement identification result for identifying that the original data stream currently belongs to a non-advertisement playing period, or an advertisement identification result for identifying that the original data stream currently belongs to an advertisement playback period.

具體而言,原始數據流可為媒體提供者(例如頻道商)提供的多媒體資訊,以供媒體轉播者(例如電視台)判斷原始數據流當前屬於廣告播放時段還是非廣告播放時段。Specifically, the original data stream can be multimedia information provided by a media provider (such as a channel operator), so that a media broadcaster (such as a TV station) can determine whether the original data stream currently belongs to an advertisement broadcast period or a non-advertisement broadcast period.

於本實施例中,非廣告播放時段表示非廣告類媒體的播放時間,廣告播放時段表示廣告類媒體的播放時間。In this embodiment, the non-advertising playing period indicates the playing time of the non-advertising media, and the advertising playing period indicates the playing time of the advertising media.

可選地,非廣告類媒體包括但不限於新聞節目、影視節目、綜藝節目、賽事節目等,此外,非廣告類媒體可通過直播或錄播方式呈現,本申請對此不作限制。Optionally, non-advertising media include but are not limited to news programs, film and television programs, variety shows, competition programs, etc. In addition, non-advertising media can be presented through live broadcast or recorded broadcast, which is not limited in this application.

步驟S104,若原始數據流當前的即時識別結果為非廣告識別結果,即時輸出原始數據流,若原始數據流當前的即時識別結果為廣告識別結果,即時輸出預設替換數據流。Step S104, if the current real-time recognition result of the original data stream is a non-advertisement recognition result, output the original data stream immediately, and if the current real-time recognition result of the original data stream is an advertisement recognition result, immediately output a preset replacement data stream.

於本實施例中,若即時識別結果為非廣告識別結果,代表原始數據流(媒體提供者)當前播放的是非廣告類媒體,則媒體轉播者繼續輸出原始數據流,若即時識別結果為廣告識別結果,代表原始數據流(媒體提供者)當前播放的是廣告類媒體,則媒體轉播者可利用預設替換數據流替換原始數據流並予以輸出,藉以針對原始數據流中的廣告資源進行替換。In this embodiment, if the instant recognition result is a non-advertising recognition result, it means that the original data stream (media provider) is currently playing non-advertising media, and the media relayer continues to output the original data stream; if the instant recognition result is an advertisement recognition result, it means that the original data stream (media provider) is currently playing advertising media, and the media relayer can replace the original data stream with a preset replacement data stream and output it, so as to replace the advertising resources in the original data stream.

第二實施例second embodiment

圖2示出了本申請第二實施例的廣告播放方法的流程示意圖。本實施例示出了上述步驟S102的具體實施方案,如圖所示,本實施例的廣告播放方法主要包括以下步驟:Fig. 2 shows a schematic flowchart of an advertisement playing method according to a second embodiment of the present application. This embodiment shows a specific implementation of the above step S102. As shown in the figure, the advertising playing method of this embodiment mainly includes the following steps:

步驟S202,實施獲取原始數據流並獲取原始數據流的當前播放時間。Step S202, implement obtaining the original data stream and obtain the current playing time of the original data stream.

步驟S204,判斷原始數據流的當前播放時間是否落入非廣告播放預設時段,若是,進行步驟S210,若否,進行步驟S220。Step S204, judging whether the current playing time of the original data stream falls within the non-advertisement playing preset period, if yes, go to step S210, if not, go to step S220.

可選地,預設特徵可包括多個非廣告播放預設時段。Optionally, the preset feature may include a plurality of non-advertising playing preset periods.

具體地,可根據媒體轉播者(例如電視台)預先提供的節目排程表,獲得各非廣告播放預設時段。Specifically, each non-advertisement broadcast preset time period can be obtained according to a program schedule provided in advance by a media broadcaster (such as a TV station).

例如,某一日的節目排成表的部分排程內容如下表1所示: …… …… 9:00~10:00 新聞節目 10:15~10:20 廣告播放預設時段 10:30~11:30 電視劇 12:00~13:00 綜藝節目 …… …… (表1) For example, part of the schedule content of the program schedule table for a certain day is shown in Table 1 below: ... ... 9:00~10:00 news program 10:15~10:20 Ad playback default time period 10:30~11:30 TV drama 12:00~13:00 variety show ... ... (Table 1)

根據上表1,可獲得三個非廣告播放預設時段,即:9:00~10:00,10:30~11:30。例如,假設所獲取的原始數據流的當前播放時間為9:30,則可據以確定原始數據流當前屬於”新聞節目”的非廣告播放時段;又如,假設所獲取的原始數據流的當前播放時間為10:10,則可據以確定原始數據流當前屬於”新聞節目”和”電視劇”之間的廣告播放時段,並以此類推。According to Table 1 above, three non-advertising preset time periods can be obtained, namely: 9:00~10:00, 10:30~11:30. For example, assuming that the current broadcast time of the acquired original data stream is 9:30, it can be determined that the original data stream currently belongs to the non-advertising broadcast period of "news program"; for another example, assuming that the acquired current broadcast time of the original data stream is 10:10, it can be determined that the original data stream currently belongs to the advertisement broadcast period between "news program" and "tv series", and so on.

步驟S210,將非廣告識別結果確定為原始數據流當前的即時識別結果,並同時進行步驟S212和步驟S230。Step S210, determine the non-advertising recognition result as the current instant recognition result of the original data stream, and proceed to step S212 and step S230 at the same time.

於本實施例中,若判斷原始數據流的當前播放時間(例如9:30)落入各非廣告播放預設時段中的一個中時,將原始數據流當前的即時識別結果確定為非廣告識別結果,亦即,確定原始數據流當前屬於非廣告播放時段。In this embodiment, if it is judged that the current playing time of the original data stream (for example, 9:30) falls into one of the non-advertising playback preset periods, the current instant identification result of the original data stream is determined as the non-advertising identification result, that is, it is determined that the original data stream currently belongs to the non-advertising playing period.

步驟S212,實時獲取原始數據流,據以判斷原始數據流中當前是否包含有非廣告播放結束特徵,若不包含,重複執行本步驟,若包含,進行步驟S214。Step S212, obtain the original data stream in real time, and judge whether the original data stream currently contains a non-advertisement playback end feature, if not, repeat this step, and if it does, go to step S214.

可選地,預設特徵還包括有非廣告播放結束特徵。Optionally, the preset feature also includes a non-advertising end feature.

例如,假設原始數據流當前處於表1中”新聞節目”的非廣告播放時段,則根據非廣告播放結束特徵可確定”新聞節目”的播放是否結束。For example, assuming that the original data stream is currently in the non-commercial broadcasting period of "news program" in Table 1, it can be determined whether the broadcasting of "news program" ends according to the non-commercial broadcast end feature.

可選地,非廣告播放結束特徵可包括非廣告播放結束時間,並通過實時比對原始數據流的當前播放時間與非廣告播放結束時間是否吻合,確定原始數據流的非廣告播放時段是否結束。Optionally, the non-advertising playing end feature may include the non-advertising playing end time, and by comparing in real time whether the current playing time of the original data stream matches the non-advertising playing end time, it is determined whether the non-advertising playing period of the original data stream is over.

可選地,非廣告播放結束特徵可包括非廣告播放結束影音特徵,並通過實時檢測原始數據流當前的數據幀是否包含有非廣告播放結束影音特徵,據以確定原始數據流的非廣告播放時段是否結束。Optionally, the non-advertisement end feature may include non-advertisement end video feature, and by detecting in real time whether the current data frame of the original data stream contains the non-advertisement end video feature, it is determined whether the non-advertisement period of the original data stream is over.

步驟S214,將原始數據流當前的即時識別結果由非廣告識別結果切換為廣告識別結果,並進行步驟S240。Step S214, switch the current instant recognition result of the original data stream from a non-advertisement recognition result to an advertisement recognition result, and proceed to step S240.

具體地,若原始數據流的當前播放時間滿足非廣告播放結束時間,或者原始數據流中當前包含有非廣告播放結束影音特徵時,則將原始數據流當前的即時識別結果由非廣告識別結果切換為廣告識別結果。Specifically, if the current playing time of the original data stream satisfies the non-advertising end time, or the original data stream currently contains non-advertising end-of-audio features, the current instant recognition result of the original data stream is switched from a non-advertisement recognition result to an advertisement recognition result.

步驟S220,將廣告識別結果確定為原始數據流當前的即時識別結果,並同時進行步驟S222和步驟S240。Step S220, determine the advertisement recognition result as the current instant recognition result of the original data stream, and proceed to step S222 and step S240 at the same time.

於本實施例中,若判斷原始數據流的當前播放時間(例如10:10)未落入任何一個非廣告播放預設時段中時,將原始數據流當前的即時識別結果確定為廣告識別結果,亦即,確定原始數據流當前屬於廣告播放時段。In this embodiment, if it is judged that the current playing time of the original data stream (for example, 10:10) does not fall within any of the preset non-advertisement playing time periods, the current instant recognition result of the original data stream is determined as the advertisement recognition result, that is, it is determined that the original data stream currently belongs to the advertisement playing time period.

步驟S222,實時獲取原始數據流,據以判斷原始數據流中當前是否包含有非廣告播放開始特徵,若不包含,重複執行本步驟,若包含,進行步驟S224。Step S222, obtain the original data stream in real time, and judge whether the original data stream currently contains a non-advertisement start feature, if not, repeat this step, and if it does, go to step S224.

可選地,預設特徵還包括有非廣告播放開始特徵。Optionally, the preset feature also includes a non-advertising start feature.

例如,假設原始數據流當前處於表1中”新聞節目”與”電視劇”之間的廣告播放時段,則根據非廣告播放開始特徵可確定“電視劇”的播放是否開始。For example, assuming that the original data stream is currently in the advertisement playing period between "news program" and "tv series" in Table 1, it can be determined whether the play of "tv series" starts according to the non-advertisement start feature.

可選地,非廣告播放開始特徵可包括非廣告播放開始時間,並通過實時比對原始數據流的當前播放時間與非廣告播放開始時間是否吻合,確定原始數據流的(下一個)非廣告播放時段是否開始。Optionally, the non-advertisement playback start feature may include the non-advertisement playback start time, and determine whether the (next) non-advertisement playback period of the original data stream starts by comparing in real time whether the current playback time of the original data stream matches the non-advertisement playback start time.

可選地,非廣告播放開始特徵可包括非廣告播放開始影音特徵,並通過實時檢測原始數據流當前的數據幀是否包含非廣告播放開始影音特徵,據以確定原始數據流的(下一個)非廣告播放時段是否開始。Optionally, the non-advertisement playback start feature may include a non-advertisement playback start audio-visual feature, and by detecting in real time whether the current data frame of the original data stream contains the non-advertisement playback start audio-visual feature, it is determined whether the (next) non-advertisement playback period of the original data stream starts.

步驟S224,將原始數據流當前的即時識別結果由廣告識別結果切換為非廣告識別結果,並進行步驟S230。Step S224, switch the current instant recognition result of the original data stream from an advertisement recognition result to a non-advertisement recognition result, and proceed to step S230.

具體地,若原始數據流的當前播放時間滿足非廣告播放開始時間,或者原始數據流中當前包含有非廣告播放開始影音特徵時,則將原始數據流當前的即時識別結果由廣告識別結果切換為非廣告識別結果Specifically, if the current playing time of the original data stream satisfies the non-advertising start time, or the original data stream currently contains non-advertising start video features, the current instant recognition result of the original data stream is switched from the advertisement recognition result to the non-advertisement recognition result

步驟S230,輸出原始數據流。Step S230, outputting the original data stream.

具體地,若原始數據流當前的即時識別結果為非廣告識別結果,則維持原始數據流的輸出。Specifically, if the current instant recognition result of the original data stream is a non-advertisement recognition result, the output of the original data stream is maintained.

步驟S240,輸出預設替換數據流。Step S240, outputting a preset replacement data stream.

具體地,若原始數據流當前的即時識別結果為廣告識別結果,則利用預設替換數據流替換原始數據流並予以輸出,藉以實現媒體轉播者(例如電視台)利用自己的替換廣告資源更換媒體提供者(例如頻道商)的原始廣告資源並予以輸出。Specifically, if the current instant recognition result of the original data stream is an advertisement recognition result, the preset replacement data stream is used to replace the original data stream and output, so that the media broadcaster (such as a TV station) can use its own replacement advertising resources to replace the original advertising resources of the media provider (such as a channel operator) and output them.

可選地,可根據原始數據流的當前播放時間,獲取預設播放時段滿足當前播放時間的至少一個替換廣告資源以生成預設替換數據流並輸出。Optionally, according to the current playing time of the original data stream, at least one replacement advertisement resource whose preset playing period satisfies the current playing time may be acquired to generate and output the preset replacement data stream.

例如,假設原始數據流的當前播放時間為10:15,則可查詢在10:15播放的一個或多個替換廣告資源,以更換原始數據流中當前播放的原始廣告資源,並輸出。For example, assuming that the current playing time of the original data stream is 10:15, one or more replacement advertising resources played at 10:15 may be queried to replace the currently playing original advertising resources in the original data stream, and output.

第三實施例third embodiment

圖3示出了本申請第三實施例的廣告播放方法的流程示意圖,本實施例示出了上述步驟S210至步驟S214的一個具體實施方案。如圖所示,本實施例的廣告播放方法主要包括以下步驟:FIG. 3 shows a schematic flow chart of an advertisement playing method according to the third embodiment of the present application. This embodiment shows a specific implementation of the above steps S210 to S214. As shown in the figure, the advertisement playing method in this embodiment mainly includes the following steps:

接續上述步驟S210,即原始數據流當前的即時識別結果為非廣告識別結果,繼續執行步驟S302。Continuing from the above step S210, that is, the current instant recognition result of the original data stream is a non-advertisement recognition result, continue to execute step S302.

步驟S302,確定非廣告播放結束時間。Step S302, determining the end time of non-advertising playing.

可選地,可根據各非廣告播放預設時段與當前播放時間,確定接續當前播放時間的非廣告播放結束時間。Optionally, the end time of non-advertising playing following the current playing time may be determined according to each non-advertising playing preset time period and the current playing time.

例如,假設原始數據流的當前播放時間為9:30,根據表1,可確定原始數據流當前處於“新聞節目”的非廣告播放時段,據此可以確定接續當前播放時間的非廣告播放結束時間為10:00。For example, assuming that the current broadcast time of the original data stream is 9:30, according to Table 1, it can be determined that the original data stream is currently in the non-commercial broadcast period of "news program", and accordingly it can be determined that the non-commercial broadcast end time following the current broadcast time is 10:00.

步驟S304,實時獲得原始數據流的當前播放時間。Step S304, obtaining the current playing time of the original data stream in real time.

步驟S306,判斷原始數據流的當前播放時間是否滿足非廣告播放結束時間,若是,進行步驟S214,若否返回步驟S304。Step S306, judging whether the current playing time of the original data stream meets the non-advertising playing end time, if yes, go to step S214, if not, return to step S304.

例如,假設根據步驟S302,確定接續當前播放時間的非廣告播放結束時間為10:00,則實時地判斷原始數據流的當前播放時間是否到達10:00,據以確定原始數據流是否將進入廣告播放時段,若是,則進行步驟S214,將原始數據流當前的即時識別結果由非廣告識別結果切換為廣告識別結果,據以利用預設替換數據流(例如替換廣告資源)更換原始數據流(例如原始廣告資源)並予以輸出。For example, assuming that according to step S302, it is determined that the end time of the non-advertising broadcast following the current broadcasting time is 10:00, then it is judged in real time whether the current broadcasting time of the original data stream reaches 10:00, so as to determine whether the original data stream will enter the advertisement broadcast period, and if so, proceed to step S214, and switch the current instant recognition result of the original data stream from a non-advertising recognition result to an advertisement recognition result, so as to replace the original data stream (such as the original advertising resource) with a preset replacement data stream (such as replacing the advertising resource) and output it.

第四實施例Fourth embodiment

圖4示出了本申請第四實施例的廣告播放方法的流程示意圖,本實施例示出了上述步驟S210至步驟S214的另一個具體實施方案。如圖所示,本實施例的廣告播放方法主要包括以下步驟:FIG. 4 shows a schematic flowchart of the advertisement playing method according to the fourth embodiment of the present application. This embodiment shows another specific implementation of the above steps S210 to S214. As shown in the figure, the advertisement playing method in this embodiment mainly includes the following steps:

接續上述步驟S210,即原始數據流當前的即時識別結果為非廣告識別結果,繼續執行步驟S402。Continuing from the above step S210, that is, the current instant recognition result of the original data stream is a non-advertisement recognition result, and continue to execute step S402.

步驟S402,確定非廣告播放結束影音特徵。Step S402, determining the video and audio characteristics of the end of non-advertisement playback.

可選地,非廣告播放結束影音特徵可包括影像特徵、聲音特徵中的至少一個。Optionally, the audio-visual features of the non-advertisement playback end may include at least one of image features and sound features.

可選地,不同的非廣告類媒體可具有不同的非廣告播放結束影音特徵抑或相同的非廣告播放結束影音特徵。Optionally, different non-advertising media may have different non-advertisement playback end video features or the same non-advertisement playback end video feature.

例如,“感謝收看“、”再見“等標識節目結束的特定字幕或特定音頻。For example, "Thank you for watching", "Goodbye", etc. to identify specific subtitles or specific audio at the end of the program.

步驟S404,根據非廣告播放結束影音特徵,連續識別原始數據流。Step S404: Continuously identify the original data stream according to the feature of the non-advertisement playing end video and audio.

步驟S406,判斷原始數據流當前的數據幀中是否包含有非廣告播放結束影音特徵,若包含,則進行步驟S214,若不包含,則返回步驟S404。In step S406, it is judged whether the current data frame of the original data stream contains the non-advertisement playing end audiovisual feature, and if so, proceed to step S214, and if not, return to step S404.

例如,可識別原始數據流當前的視頻幀中是否包含有特定字幕(例如,“感謝收看“、”再見“等字幕),抑或識別原始數據流當前的音頻幀中是否包含有特定音頻(例如,“感謝收看“、”再見“等音頻),據以判斷當前的非廣告類媒體是否播放結束。For example, it can identify whether the current video frame of the original data stream contains specific subtitles (for example, "Thank you for watching", "Goodbye" and other subtitles), or identify whether the current audio frame of the original data stream contains specific audio (for example, "Thank you for watching", "Goodbye" and other audio), so as to determine whether the current non-advertising media is played.

第五實施例fifth embodiment

圖5示出了本申請第五實施例的廣告播放方法的流程示意圖,本實施例示出了上述步驟S220至步驟S224的一個具體實施方案。如圖所示,本實施例的廣告播放方法主要包括以下步驟:FIG. 5 shows a schematic flow chart of an advertisement playing method according to a fifth embodiment of the present application. This embodiment shows a specific implementation of the above steps S220 to S224. As shown in the figure, the advertisement playing method in this embodiment mainly includes the following steps:

接續上述步驟S220,即原始數據流當前的即時識別結果為廣告識別結果,繼續執行步驟S502。Continuing from the above step S220, that is, the current instant recognition result of the original data stream is the advertisement recognition result, and continue to execute step S502.

步驟S502,確定非廣告播放開始時間。Step S502, determine the non-advertising start time.

可選地,可根據各非廣告播放預設時段與當前播放時間,確定接續當前播放時間的非廣告播放開始時間。Optionally, the non-advertising start time following the current playing time may be determined according to each non-advertising playing preset time period and the current playing time.

例如,假設原始數據流的當前播放時間為10:10,根據表1,可確定原始數據流當前處於“新聞節目”與“電視劇“之間的廣告播放時段,據此可以確定接續當前播放時間的非廣告播放開始時間為10:30(即”電視劇“的播放開始時間)。For example, assuming that the current broadcasting time of the original data stream is 10:10, according to Table 1, it can be determined that the original data stream is currently in the advertisement broadcasting period between "news program" and "tv series", based on which it can be determined that the non-advertising start time following the current broadcasting time is 10:30 (that is, the broadcasting start time of "tv series").

於另一實施例中,預設特徵中還可包括對應於各原始廣告資源的各廣告特徵。In another embodiment, the preset features may also include each advertisement feature corresponding to each original advertisement resource.

可選地,也可根據從原始數據流中識別出的廣告特徵,確定原始數據流當前播放的原始廣告資源,並原始廣告資源的預設播放時長,確定非廣告播放開始時間。Optionally, the original advertising resources currently played by the original data stream can also be determined according to the characteristics of the advertisements identified from the original data stream, and the non-advertising start time can be determined based on the preset playing duration of the original advertising resources.

例如,假設根據預設特徵中的各廣告特徵,識別出原始數據流中當前播放的是原始廣告資源A,則根據此原始廣告資源A的預設播放時長(例如20秒)以及當前播放時間,來推算出非廣告播放開始時間。For example, assuming that according to the advertisement characteristics in the preset characteristics, it is identified that the original advertisement resource A is currently played in the original data stream, then the non-advertisement playback start time is calculated according to the preset playback duration (for example, 20 seconds) and the current playback time of the original advertisement resource A.

可選地,預設特徵還可包括多個廣告播放預設時段。Optionally, the preset feature may also include a plurality of preset periods for playing advertisements.

可選地,所述方法還包括若當前播放時間落入任意一個廣告播放預設時段中,且無法確定原始數據流當前播放的原始廣告資源時,根據實時獲取的原始數據流,更新原始廣告資源及對應於原始廣告資源的廣告特徵。Optionally, the method further includes updating the original advertising resources and the advertising features corresponding to the original advertising resources according to the real-time acquired raw data streams if the current playing time falls within any one of the advertisement playback preset periods and the original advertising resources currently played by the original data stream cannot be determined.

例如,根據上述表1,可以確定10:15~10:20為廣告播放預設時段,若原始數據流的當前播放時間介於表1的廣告播放預設時段內,但基於當前存儲的各原始廣告資源的各廣告特徵,無法確定原始數據流當前播放的原始廣告資源,則可確定原始數據流當前播放的媒體資源為尚未收錄於數據庫中的原始廣告資源,於此情況下,可通過所獲取的原始數據流,針對原始廣告資源及其對應的廣告特徵進行擴充更新,藉以提高原始數據流的識別準確率。For example, according to the above Table 1, it can be determined that 10:15-10:20 is the preset time period for advertisement playback. If the current broadcast time of the original data stream is within the preset time period for advertisement playback in Table 1, but based on the characteristics of each original advertisement resource currently stored, the original advertisement resource currently played by the original data stream cannot be determined, then it can be determined that the media resource currently played by the original data stream is an original advertisement resource that has not yet been included in the database. In order to improve the recognition accuracy of the original data stream.

步驟S504,實時獲得原始數據流的當前播放時間。Step S504, obtaining the current playing time of the original data stream in real time.

步驟S506,判斷原始數據流的當前播放時間是否滿足非廣告播放開始時間,若是,進行步驟S224,若否返回步驟S504。Step S506, judging whether the current playing time of the original data stream meets the non-advertising playing start time, if yes, go to step S224, if not, return to step S504.

例如,假設根據步驟S502,確定接續當前播放時間的非廣告播放開始時間為10:30,則實時地判斷原始數據流的當前播放時間是否到達10:30,據以確定原始數據流是否將進入非廣告播放時段(即表1中的“電視劇”播放時段),若是,則進行步驟S224,將原始數據流當前的即時識別結果由廣告識別結果切換為非廣告識別結果,據以恢復原始數據流的輸出。For example, assuming that according to step S502, it is determined that the non-advertisement broadcast start time following the current broadcast time is 10:30, then it is judged in real time whether the current broadcast time of the original data stream reaches 10:30, so as to determine whether the original data stream will enter the non-advertisement broadcast period (i.e. the "television drama" broadcast period in Table 1), and if so, proceed to step S224, and switch the current instant recognition result of the original data stream from the advertisement recognition result to the non-advertisement recognition result, thereby restoring the output of the original data stream.

第六實施例Sixth embodiment

圖6示出了本申請第六實施例的廣告播放方法的流程示意圖,本實施例示出了上述步驟S220至步驟S224的另一個具體實施方案。如圖所示,本實施例的廣告播放方法主要包括以下步驟:FIG. 6 shows a schematic flow chart of an advertisement playing method according to the sixth embodiment of the present application. This embodiment shows another specific implementation of the above steps S220 to S224. As shown in the figure, the advertisement playing method in this embodiment mainly includes the following steps:

接續上述步驟S220,即原始數據流當前的即時識別結果為廣告識別結果,繼續執行步驟S602。Continuing from the above step S220, that is, the current instant recognition result of the original data stream is the advertisement recognition result, and continue to execute step S602.

步驟S602,確定非廣告播放開始影音特徵。Step S602, determining the audio-visual characteristics of the start of non-advertisement playback.

可選地,非廣告播放開始影音特徵可包括影像特徵、聲音特徵中的至少一個。Optionally, the audio-visual features of the start of non-advertisement playback may include at least one of image features and sound features.

例如,“即將播放“等用於標識節目開始的特定字幕或特定音頻。For example, specific subtitles or specific audio such as "coming soon" to identify the beginning of the program.

可選地,不同的非廣告類媒體可具有不同的非廣告播放開始影音特徵抑或相同的非廣告播放開始影音特徵。Optionally, different non-advertising media may have different non-advertisement play start video features or the same non-advertisement play start video feature.

步驟S604,根據非廣告播放開始影音特徵,連續識別原始數據流。Step S604: Continuously identify the original data stream according to the feature of the video and audio at the start of non-commercial playback.

步驟S606,判斷原始數據流當前的數據幀中是否包含有非廣告播放開始影音特徵,若包含,則進行步驟S224,若不包含,則返回步驟S604。In step S606, it is judged whether the current data frame of the original data stream contains the non-advertisement playing start audio-visual feature, if so, proceed to step S224, and if not, return to step S604.

例如,可識別原始數據流當前的視頻幀中是否包含有特定字幕(例如,“即將播放“等字幕),抑或識別原始數據流當前的音頻幀中是否包含有特定音頻(例如,“即將播放“等音頻),據以判斷非廣告類媒體是否開始播放。For example, it can identify whether the current video frame of the original data stream contains specific subtitles (for example, subtitles such as "soon to play"), or identify whether the current audio frame of the original data stream contains specific audio (for example, "soon to play" and other audio), so as to determine whether non-advertising media starts to play.

第七實施例Seventh embodiment

本申請第七實施例提供一種電腦可讀存儲介質,所述電腦可讀存儲介質上存儲有電腦指令,所述電腦指令被處理器執行時,使所述處理器執行上述第一實施例至第七實施例中任一實施例所述的方法。The seventh embodiment of the present application provides a computer-readable storage medium, where computer instructions are stored on the computer-readable storage medium, and when the computer instructions are executed by a processor, the processor executes the method described in any one of the above-mentioned first to seventh embodiments.

第八實施例Eighth embodiment

圖7示出了本申請第八實施例的廣告播放裝置700,如圖所示,本實施例的廣告播放裝置700主要包括即時識別模組702、輸出控制模組704。FIG. 7 shows an advertisement playing device 700 of the eighth embodiment of the present application. As shown in the figure, the advertisement playing device 700 of this embodiment mainly includes an instant recognition module 702 and an output control module 704 .

即時識別模組702用於基於預設特徵連續識別實時獲取的原始數據流,獲得所述原始數據流的多個即時識別結果,其中,所述即時識別結果包含用於標識所述原始數據流當前屬於非廣告播放預設時段的非廣告識別結果,或用於標識所述原始數據流當前屬於廣告播放時段的廣告識別結果。The instant identification module 702 is used to continuously identify the raw data streams obtained in real time based on preset features, and obtain multiple instant identification results of the original data streams, wherein the instant identification results include non-advertisement identification results for identifying that the original data stream currently belongs to a preset non-advertisement playback period, or advertising identification results for identifying that the original data stream currently belongs to an advertisement playback period.

於本實施例中,所述預設特徵包括多個非廣告播放預設時段,即時識別模組702還包括根據所述原始數據流的當前播放時間與所述多個非廣告播放預設時段,若所述當前播放時間落入一個所述非廣告播放預設時段中時,將所述非廣告識別結果確定為所述即時識別結果;若所述當前播放時間未落入任何一個所述非廣告播放預設時段中時,將所述廣告識別結果確定為所述即時識別結果。In this embodiment, the preset feature includes a plurality of non-advertisement playing preset time periods, and the real-time identification module 702 further includes, according to the current playing time of the original data stream and the multiple non-advertising playing preset time periods, if the current playing time falls within one of the non-advertising playing preset time periods, the non-advertising recognition result is determined as the instant recognition result; if the current playing time does not fall within any of the non-commercial playing preset time periods, the advertisement recognition result is determined as the instant recognition result.

於本實施例中,所述預設特徵包括非廣告播放結束特徵,即時識別模組702還包括在所述即時識別結果為所述非廣告識別結果的狀態下,連續識別實時獲取的所述原始數據流,若識別所述原始數據流中當前包含有所述非廣告播放結束特徵,將所述即時識別結果由所述非廣告識別結果切換為所述廣告識別結果。In this embodiment, the preset feature includes a non-advertising end feature, and the instant recognition module 702 further includes continuously identifying the raw data stream acquired in real time when the instant recognition result is the non-advertising recognition result, and switching the instant recognition result from the non-advertisement recognition result to the advertisement recognition result if it is recognized that the non-advertisement end feature is currently included in the original data stream.

於本實施例中,所述非廣告播放結束特徵包括非廣告播放結束時間,即時識別模組702還包括根據所述非廣告播放結束時間與所述原始數據流的當前播放時間,若所述當前播放時間滿足所述非廣告播放結束時間,將所述即時識別結果由所述非廣告識別結果切換為所述廣告識別結果。In this embodiment, the non-advertisement playback end feature includes the non-advertisement playback end time, and the instant identification module 702 further includes switching the instant recognition result from the non-advertisement identification result to the advertisement identification result if the current playback time satisfies the non-advertisement playback end time according to the non-advertisement playback end time and the current playback time of the original data stream.

於本實施例中,即時識別模組702還包括根據各所述非廣告播放預設時段與所述當前播放時間,確定接續所述當前播放時間的所述非廣告播放結束時間。In this embodiment, the instant recognition module 702 further includes determining the end time of the non-commercial playing following the current playing time according to each of the non-commercial playing preset time periods and the current playing time.

於本實施例中,所述非廣告播放結束特徵包括播放結束影音特徵,即時識別模組702還包括根據所述非廣告播放結束影音特徵,連續識別所述原始數據流;若識別所述原始數據流中當前包含有所述非廣告播放結束影音特徵時,將所述即時識別結果由所述非廣告識別結果切換為所述廣告識別結果。In this embodiment, the non-advertisement playback end feature includes playback end video feature, and the real-time identification module 702 further includes continuously identifying the original data stream according to the non-advertisement playback end video feature; if the original data stream is identified to currently contain the non-advertisement playback end video feature, the instant recognition result is switched from the non-advertisement identification result to the advertisement identification result.

於本實施例中,所述非廣告播放結束影音特徵包括的影像特徵、聲音特徵中的至少一個。In this embodiment, the non-advertisement playing end video features include at least one of image features and sound features.

於本實施例中,所述預設特徵包括非廣告播放開始特徵,即時識別模組702還包括在所述即時識別結果為所述廣告識別結果的狀態下,若識別所述原始數據流中當前包含有所述非廣告播放開始特徵,將所述即時識別結果由所述廣告識別結果切換為所述非廣告識別結果。In this embodiment, the preset feature includes a non-advertising start feature, and the instant recognition module 702 further includes switching the instant recognition result from the advertisement recognition result to the non-advertisement recognition result if it is recognized that the original data stream currently contains the non-advertisement start feature when the instant recognition result is the advertisement recognition result.

於本實施例中,所述非廣告播放開始特徵包括非廣告播放開始時間,即時識別模組702還包括根據所述非廣告播放開始時間與所述原始數據流的當前播放時間,若所述當前播放時間滿足所述非廣告播放開始時間,將所述即時識別結果由所述廣告識別結果切換為所述非廣告識別結果。In this embodiment, the non-advertising start feature includes a non-advertising start time, and the instant recognition module 702 further includes switching the instant recognition result from the advertisement recognition result to the non-commercial recognition result if the current play time satisfies the non-commercial start time according to the non-commercial start time and the current broadcast time of the original data stream.

於本實施例中,即時識別模組702還包括根據各所述非廣告播放預設時段與所述當前播放時間,確定接續所述當前播放時間的所述非廣告播放開始時間。In this embodiment, the instant identification module 702 further includes determining the start time of the non-commercial broadcast following the current broadcast time according to each of the preset non-commercial broadcast time periods and the current broadcast time.

於本實施例中,所述預設特徵包括對應於各原始廣告資源的各廣告特徵,且即時識別模組702還包括根據從所述原始數據流中識別出的所述廣告特徵,確定所述原始數據流當前播放的所述原始廣告資源;根據所述原始廣告資源的預設播放時長,確定所述非廣告播放開始時間。In this embodiment, the preset characteristics include advertisement characteristics corresponding to each original advertisement resource, and the instant recognition module 702 further includes determining the original advertisement resource currently played by the original data stream according to the advertisement characteristic identified from the original data stream; determining the non-advertisement playback start time according to the preset playing duration of the original advertisement resource.

於本實施例中,所述預設特徵包括多個廣告播放預設時段,即時識別模組702還包括若所述當前播放時間落入任意一個所述廣告播放預設時段中,且無法確定所述原始數據流當前播放的所述原始廣告資源時,根據實時獲取的所述原始數據流,更新所述原始廣告資源及對應於所述原始廣告資源的所述廣告特徵。In this embodiment, the preset features include a plurality of preset playing time periods for advertisements, and the real-time identification module 702 further includes updating the original advertising resources and the advertising features corresponding to the original advertising resources according to the real-time acquired original data streams if the current playing time falls within any one of the preset playing time periods for the advertisements and the original advertising resources currently being played by the original data stream cannot be determined.

於本實施例中,所述非廣告播放開始特徵包括播放開始影音特徵,即時識別模組702還包括根據所述非廣告播放開始影音特徵,連續識別所述原始數據流;若所述原始數據流中當前包含有所述非廣告播放開始影音特徵時,將所述即時識別結果由所述廣告識別結果切換為所述非廣告識別結果。In this embodiment, the non-advertisement playback start feature includes playback start audiovisual feature, and the instant identification module 702 further includes continuously identifying the original data stream according to the non-advertisement playback start audiovisual feature; if the original data stream currently contains the non-advertisement playback start audiovisual feature, switch the instant recognition result from the advertisement identification result to the non-advertisement identification result.

於本實施例中,所述非廣告播放開始影音特徵包括的影像特徵、聲音特徵中的至少一個。In this embodiment, the non-advertisement playing start audio-visual features include at least one of image features and sound features.

輸出控制模組704用於當所述即時識別模組獲取的所述即時識別結果為所述非廣告識別結果時,輸出所述原始數據流,並當所述即時識別模組獲取的所述即時識別結果為所述廣告識別結果時,輸出預設替換數據流。The output control module 704 is configured to output the original data stream when the instant recognition result obtained by the instant recognition module is the non-advertisement recognition result, and output a preset replacement data stream when the instant recognition result obtained by the instant recognition module is the advertisement recognition result.

於本實施例中,輸出控制模組704還根據所述原始數據流的當前播放時間,獲取預設播放時段滿足所述當前播放時間的至少一個替換廣告資源以生成所述預設替換數據流並輸出。In this embodiment, the output control module 704 also obtains at least one replacement advertisement resource whose preset playback period satisfies the current playback time according to the current playback time of the original data stream to generate and output the preset replacement data stream.

綜上所述,本申請各實施例提供的廣告播放方法、裝置及電腦可讀存儲介質,通過基於預設特徵連續識別原始數據流,以分析原始數據流當前處於廣告播放時段還是非廣告播放時段,並當判斷原始數據流當前處於廣告播放時段時,利用預設替換數據流更換原始數據流並予以輸出,藉以可以實現廣告自動替換播出的技術效果。To sum up, the advertisement playing method, device and computer-readable storage medium provided by the various embodiments of the present application continuously identify the original data stream based on the preset characteristics to analyze whether the original data stream is currently in the advertisement playing time period or the non-advertising playing time period, and when it is judged that the original data stream is currently in the advertisement playing time period, replace the original data stream with the preset replacement data stream and output it, so as to realize the technical effect of automatically replacing and playing the advertisement.

上述實施例僅例示性說明本發明之原理及功效,而非用於限制本發明。任何熟習此項技術之人士均可在不違背本發明之精神及範疇下,對上述實施例進行修飾與改變。因此,本發明之權利保護範圍,應如本發明申請專利範圍所列。The above-mentioned embodiments are only illustrative to illustrate the principles and functions of the present invention, and are not intended to limit the present invention. Anyone skilled in the art can make modifications and changes to the above-mentioned embodiments without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the rights of the present invention should be listed in the patent scope of the present invention.

S102、S104:步驟 S202、S204、S210、S212 S214、S220、S222、S224 S230、S240 S302、S304、S306 S402、S404、S406 S502、S504、S506 S602、S604、S606 700:廣告播放裝置 702:即時識別模組 704:輸出控制模組 S102, S104: steps S202, S204, S210, S212 S214, S220, S222, S224 S230, S240 S302, S304, S306 S402, S404, S406 S502, S504, S506 S602, S604, S606 700: Advertisement playback device 702: instant identification module 704: Output control module

圖1示出了本申請第一實施例的廣告播放方法的流程示意圖。Fig. 1 shows a schematic flowchart of an advertisement playing method according to the first embodiment of the present application.

圖2示出了本申請第二實施例的廣告播放方法的流程示意圖。Fig. 2 shows a schematic flowchart of an advertisement playing method according to a second embodiment of the present application.

圖3示出了本申請第三實施例的廣告播放方法的流程示意圖。Fig. 3 shows a schematic flowchart of an advertisement playing method according to a third embodiment of the present application.

圖4示出了本申請第四實施例的廣告播放方法的流程示意圖。Fig. 4 shows a schematic flowchart of an advertisement playing method according to a fourth embodiment of the present application.

圖5示出了本申請第五實施例的廣告播放方法的流程示意圖。Fig. 5 shows a schematic flowchart of an advertisement playing method according to a fifth embodiment of the present application.

圖6示出了本申請第六實施例的廣告播放方法的流程示意圖。Fig. 6 shows a schematic flowchart of an advertisement playing method according to a sixth embodiment of the present application.

圖7示出了本申請第八實施例的廣告播放方法的流程示意圖。Fig. 7 shows a schematic flowchart of an advertisement playing method according to the eighth embodiment of the present application.

S102、S104:步驟 S102, S104: steps

Claims (11)

一種廣告播放方法,其中,所述方法包括:基於預設特徵連續識別實時獲取的原始數據流,獲得所述原始數據流的多個即時識別結果,其中,所述即時識別結果包含用於標識所述原始數據流當前屬於非廣告播放時段的非廣告識別結果,或用於標識所述原始數據流當前屬於廣告播放時段的廣告識別結果;以及若所述原始數據流當前的所述即時識別結果為所述非廣告識別結果,即時輸出所述原始數據流,若所述原始數據流當前的所述即時識別結果為所述廣告識別結果,即時輸出預設替換數據流;其中,所述預設特徵包括對應於各原始廣告資源的各廣告特徵,且所述方法還包括:根據從所述原始數據流中識別出的所述廣告特徵,確定所述原始數據流當前播放的所述原始廣告資源;根據所述原始廣告資源的預設播放時長,確定非廣告播放開始時間;根據所述非廣告播放開始時間與所述原始數據流的當前播放時間,若所述當前播放時間滿足所述非廣告播放開始時間,將所述即時識別結果由所述廣告識別結果切換為所述非廣告識別結果;其中,所述預設特徵包括多個非廣告播放預設時段,且所述基於預設特徵連續識別實時獲取的原始數據流,獲得所述原始數據流的多個即時識別結果還包括:根據所述原始數據流的當前播放時間與所述多個非廣告播放預設時段,若所述當前播放時間落入一個所述非廣告播放預設時段中時,將所述非廣告識別結果確定為所述即時識別結果;若所述當前播放時間未落入任何一個所述非廣告播放預設時段中時,將所述廣告識別結果確定為所述即時識別結果;且其中,所 述預設特徵包括非廣告播放結束特徵,在所述即時識別結果為所述非廣告識別結果的狀態下,連續識別實時獲取的所述原始數據流,若識別所述原始數據流中當前包含有所述非廣告播放結束特徵,將所述即時識別結果由所述非廣告識別結果切換為所述廣告識別結果,其中,根據所述非廣告播放結束影音特徵,連續識別所述原始數據流;且若識別所述原始數據流中當前包含有所述非廣告播放結束影音特徵時,將所述即時識別結果由所述非廣告識別結果切換為所述廣告識別結果,其中,所述非廣告播放結束影音特徵包括影像特徵、聲音特徵中的至少一個,該影像特徵為包含在所述原始數據流當前視頻幀中的特定字幕,該聲音特徵為包含在所述原始數據流當前音頻幀中的特定音頻。 An advertisement playback method, wherein the method includes: continuously identifying raw data streams obtained in real time based on preset features, and obtaining multiple instant recognition results of the original data streams, wherein the instant recognition results include non-advertisement recognition results for identifying that the original data stream currently belongs to a non-advertisement playing period, or an advertisement recognition result for identifying that the original data stream currently belongs to an advertisement playback period; Preset replacement data stream; wherein, the preset feature includes each advertisement feature corresponding to each original advertisement resource, and the method further includes: determining the original advertisement resource currently played by the original data stream according to the advertisement characteristic identified from the original data stream; determining the non-advertisement playback start time according to the preset playback duration of the original advertisement resource; The preset feature includes a plurality of non-advertising playback preset time periods, and the continuous identification of the raw data streams obtained in real time based on the preset features, and obtaining the multiple instant recognition results of the original data stream further includes: according to the current playing time of the original data stream and the plurality of non-advertising playing preset time periods, if the current playing time falls within one of the non-advertising playing preset time periods, determining the non-advertising recognition result as the instant recognition result; The preset feature includes a non-advertising end feature. In the state where the instant recognition result is the non-advertisement recognition result, continuously identify the raw data stream obtained in real time. If it is identified that the original data stream currently contains the non-advertisement end feature, switch the instant recognition result from the non-advertisement recognition result to the advertisement recognition result, wherein, according to the non-advertisement end video feature, continuously identify the original data stream; Switch to the advertisement recognition result, wherein the non-advertisement playback end video feature includes at least one of an image feature and a sound feature, the image feature is a specific subtitle contained in the current video frame of the original data stream, and the sound feature is a specific audio contained in the current audio frame of the original data stream. 如請求項1所述的廣告播放方法,其中,所述非廣告播放結束特徵包括非廣告播放結束時間,且所述若識別所述原始數據流中當前包含有所述非廣告播放結束特徵,將所述即時識別結果由所述非廣告識別結果切換為所述廣告識別結果包括:根據所述非廣告播放結束時間與所述原始數據流的當前播放時間,若所述當前播放時間滿足所述非廣告播放結束時間,將所述即時識別結果由所述非廣告識別結果切換為所述廣告識別結果。 The advertisement playback method according to claim 1, wherein the non-advertisement playback end feature includes a non-advertisement playback end time, and if it is recognized that the original data stream currently contains the non-advertisement playback end feature, switching the instant recognition result from the non-advertisement identification result to the advertisement identification result includes: according to the non-advertisement playback end time and the current playback time of the original data stream, if the current playback time satisfies the non-advertisement playback end time, switching the instant recognition result from the non-advertisement identification result to the advertisement identification result. 如請求項2所述的廣告播放方法,其中,所述方法還包括:根據各所述非廣告播放預設時段與所述當前播放時間,確定接續所述當前播放時間的所述非廣告播放結束時間。 The advertisement playing method according to claim 2, wherein the method further includes: determining the end time of the non-advertising playing following the current playing time according to each of the preset non-advertising playing time periods and the current playing time. 如請求項1所述的廣告播放方法,其中,所述預設特徵包括非廣告播放開始特徵,且所述方法還包括: 在所述即時識別結果為所述廣告識別結果的狀態下,若識別所述原始數據流中當前包含有所述非廣告播放開始特徵,將所述即時識別結果由所述廣告識別結果切換為所述非廣告識別結果。 The advertisement playing method according to claim 1, wherein the preset feature includes a non-advertisement playing start feature, and the method further includes: In the state that the instant recognition result is the advertisement recognition result, if it is recognized that the original data stream currently contains the non-advertisement playing start feature, the instant recognition result is switched from the advertisement recognition result to the non-advertisement recognition result. 如請求項1所述的廣告播放方法,其中,所述方法還包括:根據各所述非廣告播放預設時段與所述當前播放時間,確定接續所述當前播放時間的所述非廣告播放開始時間。 The advertising playing method according to claim 1, wherein the method further includes: determining the non-advertising starting time following the current playing time according to each of the non-advertising playing preset periods and the current playing time. 如請求項1所述的廣告播放方法,其中,所述預設特徵包括多個廣告播放預設時段,且所述方法還包括:若所述當前播放時間落入任意一個所述廣告播放預設時段中,且無法確定所述原始數據流當前播放的所述原始廣告資源時,根據實時獲取的所述原始數據流,更新所述原始廣告資源及對應於所述原始廣告資源的所述廣告特徵。 The advertisement playing method according to claim 1, wherein the preset features include a plurality of preset advertisement playing periods, and the method further includes: if the current playing time falls within any one of the advertisement playing preset periods, and the original advertising resources currently played by the original data stream cannot be determined, updating the original advertising resources and the advertisement features corresponding to the original advertising resources according to the original data stream obtained in real time. 如請求項4所述的廣告播放方法,其中,所述非廣告播放開始特徵包括播放開始影音特徵,且所述若識別所述原始數據流中當前包含有所述非廣告播放開始特徵,將所述即時識別結果由所述廣告識別結果切換為所述非廣告識別結果包括:根據所述非廣告播放開始影音特徵,連續識別所述原始數據流;若所述原始數據流中當前包含有所述非廣告播放開始影音特徵時,將所述即時識別結果由所述廣告識別結果切換為所述非廣告識別結果。 The advertising playing method according to claim 4, wherein the non-advertising starting feature includes playing starting video and audio features, and if it is identified that the original data stream currently contains the non-commercial starting feature, switching the instant recognition result from the advertising recognition result to the non-commercial recognition result includes: continuously identifying the original data stream according to the non-commercial starting video feature; if the non-commercial starting feature is currently included in the original data stream, switching the instant recognition result from the advertising recognition result to the non-commercial recognition result. 如請求項7所述的廣告播放方法,其中,所述非廣告播放開始影音特徵包括影像特徵、聲音特徵中的至少一個。 The advertisement playing method according to claim 7, wherein the non-advertisement playing start audio-visual features include at least one of image features and sound features. 如請求項1所述的廣告播放方法,其中,所述若所述即時識別結果為所述廣告識別結果,輸出預設替換數據流包括: 根據所述原始數據流的當前播放時間,獲取預設播放時段滿足所述當前播放時間的至少一個替換廣告資源以生成所述預設替換數據流並輸出。 The advertisement playing method according to claim 1, wherein if the instant recognition result is the advertisement recognition result, outputting a preset replacement data stream includes: According to the current playing time of the original data stream, at least one replacement advertisement resource whose preset playing period satisfies the current playing time is acquired to generate and output the preset replacement data stream. 一種電腦可讀存儲介質,所述電腦可讀存儲介質上存儲有電腦指令,所述電腦指令被處理器執行時,使所述處理器執行請求項1至9中任一項所述的方法。 A computer-readable storage medium, where computer instructions are stored on the computer-readable storage medium, and when the computer instructions are executed by a processor, the processor is made to perform the method described in any one of claims 1 to 9. 一種廣告播放裝置,其中,所述裝置包括:即時識別模組,用於基於預設特徵連續識別實時獲取的原始數據流,獲得所述原始數據流的多個即時識別結果,其中,所述即時識別結果包含用於標識所述原始數據流當前屬於非廣告播放預設時段的非廣告識別結果,或用於標識所述原始數據流當前屬於廣告播放時段的廣告識別結果;輸出控制模組,用於當所述即時識別模組獲取的所述即時識別結果為所述非廣告識別結果時,輸出所述原始數據流,並當所述即時識別模組獲取的所述即時識別結果為所述廣告識別結果時,輸出預設替換數據流;其中,所述預設特徵包括對應於各原始廣告資源的各廣告特徵,且所述即時識別模組還包括:根據從所述原始數據流中識別出的所述廣告特徵,確定所述原始數據流當前播放的所述原始廣告資源;根據所述原始廣告資源的預設播放時長,確定所述非廣告播放開始時間;根據所述非廣告播放開始時間與所述原始數據流的當前播放時間,若所述當前播放時間滿足所述非廣告播放開始時間,將所述即時識別結果由所述廣告識別結果切換為所述非廣告識別結果;其中,所述預設特徵包括多個非廣告播放預設時段,且所述基於預設特徵連續識別實時獲取的原始數據流,獲得所述原始數據流的多個即時識別結果還包括:根據所述原始數據流的當前播放時間與所述多個非廣告播放預設時段,若所述 當前播放時間落入一個所述非廣告播放預設時段中時,將所述非廣告識別結果確定為所述即時識別結果;若所述當前播放時間未落入任何一個所述非廣告播放預設時段中時,將所述廣告識別結果確定為所述即時識別結果;且其中,所述預設特徵包括非廣告播放結束特徵,在所述即時識別結果為所述非廣告識別結果的狀態下,連續識別實時獲取的所述原始數據流,若識別所述原始數據流中當前包含有所述非廣告播放結束特徵,將所述即時識別結果由所述非廣告識別結果切換為所述廣告識別結果,其中,根據所述非廣告播放結束影音特徵,連續識別所述原始數據流;且若識別所述原始數據流中當前包含有所述非廣告播放結束影音特徵時,將所述即時識別結果由所述非廣告識別結果切換為所述廣告識別結果,其中,所述非廣告播放結束影音特徵包括影像特徵、聲音特徵中的至少一個,該影像特徵為包含在所述原始數據流當前視頻幀中的特定字幕,該聲音特徵為包含在所述原始數據流當前音頻幀中的特定音頻。 An advertisement playback device, wherein the device includes: an instant identification module, configured to continuously identify raw data streams acquired in real time based on preset features, and obtain multiple instant identification results of the original data streams, wherein the instant identification results include non-advertisement identification results for identifying that the original data stream currently belongs to a non-advertisement playback preset period, or an advertisement identification result for identifying that the original data stream currently belongs to an advertisement playback period; an output control module, for outputting the original data stream when the instant identification result obtained by the instant identification module is the non-advertisement identification result, and when the instant identification module When the instant recognition result acquired by the group is the advertisement recognition result, output a preset replacement data stream; wherein, the preset feature includes each advertisement feature corresponding to each original advertisement resource, and the instant recognition module further includes: according to the advertisement feature identified from the original data stream, determining the original advertisement resource currently played by the original data stream; The instant identification result is switched from the advertising identification result to the non-advertising identification result; wherein, the preset features include a plurality of non-advertising playback preset time periods, and the continuous identification of real-time acquired raw data streams based on the preset features, and obtaining multiple instant recognition results of the original data streams further includes: according to the current playing time of the original data stream and the plurality of non-advertising playback preset time periods, if the When the current broadcast time falls within one of the non-advertisement playback preset periods, the non-advertisement recognition result is determined as the instant recognition result; if the current broadcast time does not fall within any of the non-commercial broadcast preset time periods, the advertisement recognition result is determined as the instant recognition result; and wherein the preset feature includes a non-commercial playback end feature, and when the instant recognition result is the non-commercial recognition result, continuously identify the original data stream obtained in real time, and if it is identified that the original data stream currently contains the non-commercial playback end feature, the instant recognition result is determined by the non-commercial The advertisement recognition result is switched to the advertisement recognition result, wherein, according to the non-advertisement playing end video feature, the original data stream is continuously identified; and if the original data stream currently contains the non-advertisement playing end video feature, the instant recognition result is switched from the non-advertisement recognition result to the advertisement recognition result, wherein the non-advertisement playing end video feature includes at least one of an image feature and a sound feature. audio.
TW110128215A 2021-07-30 2021-07-30 Advertisement playing method, device and computer readable storage medium TWI808456B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW110128215A TWI808456B (en) 2021-07-30 2021-07-30 Advertisement playing method, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW110128215A TWI808456B (en) 2021-07-30 2021-07-30 Advertisement playing method, device and computer readable storage medium

Publications (2)

Publication Number Publication Date
TW202306391A TW202306391A (en) 2023-02-01
TWI808456B true TWI808456B (en) 2023-07-11

Family

ID=86661454

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110128215A TWI808456B (en) 2021-07-30 2021-07-30 Advertisement playing method, device and computer readable storage medium

Country Status (1)

Country Link
TW (1) TWI808456B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102696223A (en) * 2009-09-14 2012-09-26 Tivo有限公司 Multifunction multimedia device
CN104469505A (en) * 2013-09-23 2015-03-25 安凯(广州)微电子技术有限公司 Channel switching device and method for filtering out advertisements
CN108989883A (en) * 2018-07-06 2018-12-11 武汉斗鱼网络科技有限公司 A kind of living broadcast advertisement method, apparatus, equipment and medium
CN109977779A (en) * 2019-02-26 2019-07-05 北京交通大学 Knowledge method for distinguishing is carried out to the advertisement being inserted into video intention
TW202118304A (en) * 2019-10-30 2021-05-01 美商尼爾森(美國)有限公司 Method and system for use of automatic content recognition to trigger dynamic ad insertion in response to repeat playout of ad

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102696223A (en) * 2009-09-14 2012-09-26 Tivo有限公司 Multifunction multimedia device
CN104469505A (en) * 2013-09-23 2015-03-25 安凯(广州)微电子技术有限公司 Channel switching device and method for filtering out advertisements
CN108989883A (en) * 2018-07-06 2018-12-11 武汉斗鱼网络科技有限公司 A kind of living broadcast advertisement method, apparatus, equipment and medium
CN109977779A (en) * 2019-02-26 2019-07-05 北京交通大学 Knowledge method for distinguishing is carried out to the advertisement being inserted into video intention
TW202118304A (en) * 2019-10-30 2021-05-01 美商尼爾森(美國)有限公司 Method and system for use of automatic content recognition to trigger dynamic ad insertion in response to repeat playout of ad

Also Published As

Publication number Publication date
TW202306391A (en) 2023-02-01

Similar Documents

Publication Publication Date Title
US20110179445A1 (en) Targeted advertising by context of media content
US8290351B2 (en) Alternative advertising in prerecorded media
US8798442B2 (en) System, method and computer program product for updating advertising data for recorded video data
US8839281B2 (en) Analyzing media content interaction
CN101883244B (en) System and method for inserting and playing advertisement in network television video program
US8132203B2 (en) In-program content targeting
US8418198B2 (en) System and method for sending advertising data based on data associated with video data
US20120116883A1 (en) Methods and systems for use in incorporating targeted advertising into multimedia content streams
JP2004536527A5 (en)
WO2005034503A3 (en) Modifying commercials for multi-speed playback
US8997143B2 (en) Data boundary manager for addressable advertising
WO2005125198A2 (en) Methods and apparatus to identify viewing information
CN104471953B (en) The offer of personalized digital media content
CN101039404B (en) System and method for realizing seamless insertion in network live broadcasting
TWI779302B (en) Use of steganographically-encoded data as basis to disambiguate fingerprint-based channel-multi-match
US10484723B2 (en) Stream messaging for program stream automation
US20230171450A1 (en) Dynamic scheduling and channel creation based on external data
WO2012060803A1 (en) System and method for providing object substitution in video
TWI808456B (en) Advertisement playing method, device and computer readable storage medium
CN102065327A (en) Advertisement cut-in method and system
KR20090083273A (en) An information storage medium storing metadata for providing additional content, a method of providing additional content, and a digital broadcasting receiver
Thawani et al. Viewing characteristics based personalized ad streaming in an interactive TV environment
CN106686455B (en) A kind of intelligent advertisement put-on method for digital TV network
US20240397123A1 (en) Methods and systems for providing content
EP3312782A1 (en) Device and method for targeted advertising