TW201233174A - Set-top box and program recording method - Google Patents

Set-top box and program recording method Download PDF

Info

Publication number
TW201233174A
TW201233174A TW100102574A TW100102574A TW201233174A TW 201233174 A TW201233174 A TW 201233174A TW 100102574 A TW100102574 A TW 100102574A TW 100102574 A TW100102574 A TW 100102574A TW 201233174 A TW201233174 A TW 201233174A
Authority
TW
Taiwan
Prior art keywords
frame
recorded
program
recording
module
Prior art date
Application number
TW100102574A
Other languages
Chinese (zh)
Other versions
TWI413412B (en
Inventor
Chien-Chung Kao
Original Assignee
Hon Hai Prec Ind 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 Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW100102574A priority Critical patent/TWI413412B/en
Publication of TW201233174A publication Critical patent/TW201233174A/en
Application granted granted Critical
Publication of TWI413412B publication Critical patent/TWI413412B/en

Links

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

A set-top box includes a program recording module, an identifier generate module, a matching module, and a marking module. The program recording module records television programs to a storage system. The identifier generate module generates identifiers of frames of a program title. The matching module compares a transport stream number of an I-frame of the recorded program after the program title with a first one of the identifiers. The matching module then compares frames after the I-frame with remainder of the identifiers one by one upon the condition that the transport stream number of the I-frame matches the first one of the identifiers. The marking module marks the I-frame upon the condition that the frames after the I-frame matches the remainder of the identifiers one by one. A program recording method of the set-top box is also provided.

Description

201233174 六、發明說明: 【發明所屬之技術領域】 [0001] 本發明涉及機上盒,尤其涉及一種機上盒錄製電視節目 的方法。 【先前技術】 [0002] 機上盒常用來錄製電視節目,且一般都是直接錄製頭端 發送的電視節目,然後在用戶需要觀看時完整的播放所 有錄製的節目,其中就包括廣告節目。現在電視節目提 供商基本以廣告為主要收益,所以在電視節目中插播廣 告的頻率越來越高,時間越來越長。例如,常見的45分 鐘的一集電視劇,會插播三次以上每次5分鐘左右的廣告 ,最後導致45分鐘的電視節目需要花費60分鐘以上的時 間,這給用戶觀看電視帶來了困擾。用戶一般就希望在 播放錄播的電視節目時可以跳過廣告而僅觀看電視節目 内容。 【發明内容】 [0003] 有鑒於此,有必要提供一種機上盒,可標記電視節目每 一節目片段之前的片頭,以在播放錄播的電視節目時根 據用戶的需要跳過電視節目中插播的廣告。 [0004] 此外,還有必要提供一種機上盒錄製電視節目的方法, 可標記電視節目每一節目片段之前的片頭,以在播放錄 播的電視節目時根據用戶的需要跳過電視節目中插播的 廣告。 [0005] 本發明實施方式中的機上盒用於錄製電視節目,包括錄 製模組、記錄模組、匹配模組及標記模組。錄製模組用 100102574 表單編號A0101 第4頁/共23頁 1002004579-0 201233174 電Μ端純需錄製的電視節目以錄製到記憶體,其中 片j ρ目包括複數連續的片頭、節目片段及廣告每—201233174 VI. Description of the Invention: [Technical Field] [0001] The present invention relates to a set-top box, and more particularly to a method for recording a television program on a set-top box. [Prior Art] [0002] A set-top box is commonly used to record a television program, and generally a television program transmitted directly from the head end is directly recorded, and then all recorded programs are completely played when the user needs to watch, including an advertisement program. Nowadays, TV program providers basically use advertising as their main income, so the frequency of inserting advertisements in TV programs is getting higher and higher and the time is getting longer. For example, a common episode of a 45-minute TV series will be inserted more than three times a day for about 5 minutes, and eventually it takes more than 60 minutes for a 45-minute TV program, which causes users to watch TV. Users generally want to skip the advertisement and watch only the TV program content while playing the recorded TV program. SUMMARY OF THE INVENTION [0003] In view of the above, it is necessary to provide a set-top box, which can mark the title of each program segment of a television program, in order to skip the insertion of the television program according to the needs of the user when playing the recorded television program. advertisment. [0004] In addition, it is also necessary to provide a method for recording a television program on a set-top box, which can mark a title before each program segment of the television program, so as to skip the insertion of the television program according to the user's needs when playing the recorded television program. advertisment. The set-top box in the embodiment of the present invention is used for recording a television program, including a recording module, a recording module, a matching module, and a marking module. Recording module 100102574 Form No. A0101 Page 4 / Total 23 pages 1002004579-0 201233174 The TV program that needs to be recorded by the eDonkey is recorded to the memory, where the film includes a number of consecutive titles, program segments and advertisements. -

/貝包括複數畫面組,每-畫面組包括-I訊框、複數B ^樞與P訊框’每一訊框包括複數傳輸流。記錄模組用於 序記錄用戶定義的片頭中每一晝面組的每一訊框所對 2的特徵識別字’其中特徵識別字用每—訊框的類型及 f訊框包括的傳輸流的個數表示。匹配模組用於判斷 續接收的電視節目中的丨訊框的傳輪流個數是否與所記 〇 —的第個特徵識別字匹配,並在該I訊框與所記錄的第 個特徵識別子匹配時,依序判斷在該】訊框之後的訊框 的類型與傳輪油數是否制記料賊朗字一—匹 己揉。己模組用於在該〖訊框之後的訊框與所記錄的特徵 識別字皆能一—匹配時,在所錄製的電視备目中將該⑼ 框打上標籤》 [0006] 〇 優選的’記錄模組在接收到片頭開始的信號時,從隨後 接收的電視節目中的第-個!訊框開始依序記錄每一訊框 的類型及每-訊框包括的傳輸流的個數,直至接收到片 頭結束的信號,並將每-訊框的類型及其包括的傳輸流 的個數合成每一訊框的特徵識別字。 _] I選的’記錄模組使用兩個八位元十六進位數分別表示 每一訊框的類型與傳輸流的個數,並用或運算組合該兩 個八位十六進位數,以形成每—訊框的特徵識別字。 [_]優選的,片頭開始的信號與片頭結束的信號由用戶藉由 該機上盒的遙控器發出。 100102574 表單編號A0101 第5頁/共23頁 1002004579-0 201233174 [0009] 優選的,標記模組還用於記錄每一標籤所對應的訊框序 列號。 [0010] 優選的,該機上盒還包括定位模組與播放模組,播放模 組用於顯示所錄製的節目段落並播放用戶選擇的節目段 落,每一節目段落包括一標籤對應的片頭、節目片段及 廣告。定位模組用於在電視節目的播放過程中接收用戶 發出的過濾廣告信號,並將播放的電視節目定位到下一 節目段落對應標籤的訊框序列號,以跳過廣告播放下一 節目段落。 [0011] 本發明實施方式中的機上盒錄製電視節目的方法,包括 :從頭端接收需錄製的電視節目以錄製到記憶體,其中 電視節目包括連續迴圈的片頭、節目片段及廣告,每一 片頭包括複數畫面組,每一晝面組包括一個I訊框、複數 B訊框與P訊框,每一訊框包括複數傳輸流;依序記錄用 戶定義的片頭中每一畫面組的每一訊框所對應的特徵識 別字,其中特徵識別字用每一訊框的類型及每一訊框包 括的傳輸流的値數表示;判斷後續接收的電視節目中的I 訊框的傳輸流個數是否與所記錄的第一個特徵識別字匹 配;若該I訊框與所記錄的第一個特徵識別字匹配,則依 序判斷在該I訊框之後的訊框的類型與傳輸流個數是否與 所記錄的特徵識別字--匹配;及若在該I訊框之後的訊 框與所記錄的特徵識別字皆能——匹配,則在所錄製的 電視節目中將該I訊框打上標籤。 [0012] 優選的,該記錄用戶定義的片頭中每一畫面組的每一訊 框所對應的特徵識別字的步驟包括:在錄製的過程中接 100102574 表單編號A0101 第6頁/共23頁 1002004579-0 201233174 收片頭開始的信號;從隨後接收的電視節目中的第一個I 訊框開始依序記錄每一訊框的類型及每一訊框包括的傳 輸流的個數,直至接收到片頭結束的信號;及將每一訊 框的類型及其包括的傳輸流的個數合成每一訊框的特徵 識別字。 [0013] 優選的,該每一訊框的類型與傳輸流的個數皆使用八位 元十六進位數來記錄,並用或運算組合該兩個八位十六 進位數,以形成每一訊框的特徵識別字。 〇 [0014] 優選的,該的機上盒錄製電視節目的方法還包括:記錄 每一標籤所對應的訊框序列號;顯示所錄製的節目段落 ,每一節目段落包括一標籤對應的片頭、節目片段及廣 告;播放用戶選擇的節目段落;在電視節目的播放過程 中接收用戶發出的過濾廣告信號;及將播放的電視節目 定位到下一節目段落對應標籤的訊框序列號,以跳過廣 告播放下一節目段落。 ^ [0015] 藉由以下對具體實施方式詳細的描述並結合附圖,將可 輕易的瞭解上述内容及此項發明之技術效果。 [0016] 【實施方式】 請參閱圖1,所示為本發明機上盒10—實施方式的應用環 境與功能模組圖。本實施方式中的機上盒10用於錄製頭 端20傳送的電視節目。在本實施方式中,機上盒10包括 處理器12、記憶體14、錄製模組100、記錄模組102、匹 配模組104、標記模組106、播放模組108及定位模組110 。其中,處理器12執行存儲在記憶體14中的錄製模組100 100102574 、記錄模組102、匹配模組104、標記模組106、播放模 表單編號Α0101 第7頁/共23頁 1002004579-0 201233174 組108及定位模組11〇以實現上述模組的功能。 [0017] [0018] [0019] 100102574 錄製模組100從頭端2〇接收需錄製的電視節目以錄製到記 憶體14。請參閱圖2,所示為圖1中機上盒1〇錄製的電視 節目的結構示意圖。如圖2所示,電視節目包括複數連續 的片頭、節目片段、廣告三個部分。其中,節目片段是 電視節目供應商為了插播廣告而將電視節目分為複數部 分而形成的。片頭是指每次播放完廣告後切換回電視節 目時播放的一小段重複内容。 f'% 根據MPEG編碼格式的規定,每一片頭包括複數畫面組( Group of Pictures,G〇p),一個G〇p就是一組連續的 訊框。MPEG編碼將訊框分為I ' p、b三種類型,I是内部 編碼訊框’ P是前向預測訊框,B是雙向内插訊框。簡單 地講’ I訊框是—個完整的畫面,而p訊框和β訊框記錄的 疋相對於I訊框的變化。沒有I訊框,p訊框和B訊框就無 法解碼母訊框包括複數:傳輸流(Transport ....... ./Bei includes a plurality of picture groups, each picture group includes -I frame, complex B ^ pivot and P frame each frame includes a complex transport stream. The recording module is configured to sequentially record the feature identification word of each frame 2 of each frame in the user-defined slice header, wherein the feature recognition word uses the type of each frame and the transmission stream included in the frame The number is expressed. The matching module is configured to determine whether the number of transmissions of the frame in the continuously received television program matches the first feature identifier of the recorded frame, and matches the recorded first feature identifier in the I frame. At the same time, it is judged in sequence that the type of the frame after the frame and the number of the oil in the circulation are one of the vocabulary words. The module is used to mark the (9) box in the recorded television item when the frame after the frame matches the recorded feature recognition word. [0006] 〇 Preferred ' When the recording module receives the signal at the beginning of the slice, it is the first one from the subsequently received TV program! The frame begins to record the type of each frame and the number of transport streams included in each frame until the end of the slice is received, and the type of each frame and the number of transport streams included therein Synthesize the feature identifier of each frame. _] I select the 'recording module to use two octet hexadecimal digits to indicate the type of each frame and the number of transport streams, and use the OR operation to combine the two octets into sixteen digits to form The feature identifier of each frame. [_] Preferably, the signal at the beginning of the slice and the signal at the end of the slice are sent by the user via the remote controller of the set-top box. 100102574 Form No. A0101 Page 5 of 23 1002004579-0 201233174 [0009] Preferably, the marking module is further configured to record the frame serial number corresponding to each label. [0010] Preferably, the set-top box further includes a positioning module and a playing module, wherein the playing module is configured to display the recorded program segments and play the program segments selected by the user, and each program segment includes a title corresponding to the label, Program clips and advertisements. The positioning module is configured to receive the filtered advertisement signal sent by the user during the playing of the television program, and locate the broadcast television program to the frame serial number of the corresponding label of the next program segment to skip the advertisement to play the next program segment. [0011] A method for recording a television program in a set-top box according to an embodiment of the present invention includes: receiving a television program to be recorded from a head end to record to a memory, wherein the television program includes a continuous loop of the title, a program segment, and an advertisement, each of which The header includes a plurality of picture groups, each of which includes an I frame, a plurality of B frames and a P frame, each frame includes a plurality of transport streams; and each of the user defined slice headers is sequentially recorded. a feature recognition word corresponding to a frame, wherein the feature recognition word is represented by the type of each frame and the number of turns of the transport stream included in each frame; and determining the transmission stream of the I frame in the subsequently received television program Whether the number matches the recorded first feature identifier; if the I frame matches the recorded first feature identifier, the type and frame of the frame after the I frame are sequentially determined. Whether the number matches the recorded feature identification word; and if the frame after the I frame and the recorded feature recognition word can match - the I frame is recorded in the recorded television program Label it. [0012] Preferably, the step of recording the feature identification word corresponding to each frame of each picture group in the user-defined slice header comprises: receiving 100102574 during the recording process, form number A0101, page 6 / total 23 pages 1002004579 -0 201233174 The signal from the beginning of the film header; the type of each frame and the number of transmission streams included in each frame are sequentially recorded from the first I frame in the subsequently received TV program until the beginning of the message is received. The end signal; and the type of each frame and the number of transport streams included therein are combined into the feature identification word of each frame. [0013] Preferably, the type of each frame and the number of transport streams are recorded by using octet hexadecimal digits, and the two octet digits are combined by an OR operation to form each message. The feature identifier of the box. [0014] Preferably, the method for recording a television program by the set-top box further comprises: recording a frame serial number corresponding to each tag; displaying the recorded program segments, each program segment including a title corresponding to the label, a program segment and an advertisement; playing a program segment selected by the user; receiving a filtered advertisement signal sent by the user during the playing of the television program; and positioning the broadcast television program to the frame serial number of the corresponding label of the next program segment to skip The ad plays the next program passage. The above and the technical effects of the present invention will be readily understood by the following detailed description of the embodiments and the accompanying drawings. [Embodiment] Referring to Fig. 1, there is shown a diagram of an application environment and function module of the set-top box 10 of the present invention. The set top box 10 in the present embodiment is used to record a television program transmitted from the head end 20. In the present embodiment, the set-top box 10 includes a processor 12, a memory 14, a recording module 100, a recording module 102, a matching module 104, a marking module 106, a playing module 108, and a positioning module 110. The processor 12 executes the recording module 100 100102574, the recording module 102, the matching module 104, the marking module 106, the playing mode form number Α0101, page 7/23 pages, 1002004579-0 201233174, which are stored in the memory 14. The group 108 and the positioning module 11 are configured to implement the functions of the above modules. [0019] [0019] 100102574 The recording module 100 receives a television program to be recorded from the head end 2〇 for recording to the memory body 14. Referring to FIG. 2, a schematic structural diagram of a television program recorded in the box 1 of FIG. 1 is shown. As shown in Fig. 2, the television program includes a plurality of consecutive titles, a program segment, and an advertisement. Among them, the program segment is formed by the television program provider dividing the television program into plural parts for the purpose of inserting the advertisement. The title is a small piece of repeating content that is played back every time you switch back to the TV program after playing the ad. F'% According to the MPEG encoding format, each slice includes a Group of Pictures (G〇p), and a G〇p is a set of consecutive frames. MPEG encoding divides the frame into three types: I 'p, b, I is the inner coded frame' P is the forward predictive frame, and B is the bidirectional interpolated frame. Simply put, the 'I frame' is a complete picture, and the p-frame and the beta frame record the change of the frame relative to the I frame. Without the I frame, the p frame and the B frame cannot decode the mother frame including the plural: transport stream (Transport .......

Stl_eam,TS) ’頭端20藉A傳輸複教傳輸流來傳送訊框 當錄製模組⑽開始錄製電視節目,用戶就可以在播放 頭時對片頭進行定義。比如,用戶可以藉由機上盒的 遙控為(未圖不)上的功能按紐輸人片頭開始與結束的 信號,以《機上盒1G在該開始信號與結束信號的時間 段内正在播放片頭。此時,用户記錄模組102就依序兮 用戶:義的片頭中每一畫面組的每一訊框所對應的特:錄 識別字。具體而言’記錄模組102在錄製的過程中接 片頭開始的信號,就從隨後接收的電視節目中的第―收到 表單編號麵丨 第8頁/共23 s 一個1 1002004579-0 201233174 [0020] Ο ❹ 訊框開始依序記錄每-龍的類型及其包括的傳輸流的 個數,直至接收到片頭結束的信號。,然後,記錄模組1〇2 將每一訊框的類型及其包括的傳輸流的個數合成每一訊 框的特徵識別字。 圖3為圖1中機上盒1〇生成特徵識別字的示意圖。如圖⑽ 示,在本實施方式中,設定使用特殊數來表示訊框 的類型。為了減少該特殊數所占的空間,優先選擇八位 的十六進位數。如,用〇χ1〇〇〇〇〇〇〇表示丨訊框, 0x00000000表示Β訊框’ 0χ20__表示ρ訊框。在其 他實施方式中,也可以使用其他的數來表示訊框的類型 ’僅需預先設定好即可。傳輪流的個數亦優先使用八位 的十六進位數來表示,比如,若第一個畫面組的〗訊框的 傳輸流個數經統計為1128個,則可用〇χ〇〇〇〇〇468表示。 然後,可使用或運算將訊框類型與傳輸流個數組合到一 起。比如,第一個畫面組的丨訊框得特徵識別字可由用於 表達訊框類型為I訊框的〇Xl 〇〇〇〇〇〇 〇與該丨訊框中傳輸流 的個數0x00000468壤行或運算得出,即為〇χ1〇〇〇〇468 [0021] [0022] 100102574 匹配模組104判斷後續接收的電視節目中的丨訊框的傳輸 流個數是否與所記錄的第一個特徵識別字匹配。若後續 接收的電視節目中的I訊框與所記錄的第一個特徵識別字 匹配,則說明該I訊柩有可能是下一片頭的開始。此時, 匹配模組104就開始依序判斷在該I訊框之後的訊框的類 型與傳輸流個數是否與所記錄的特徵識別 字一^一匹配。 下面結合圖3詳細描述匹配模組1 〇 4如何依序判斷在該j訊 表單编號Α0101 第9頁/共23頁 1002004579-0 201233174 框之後的訊框的類型與傳輸流個數是否與所記錄的特徵 識別字——匹配。首先,匹配模組1 04接收到第二個訊框 ,先判斷其類型,並統計傳輸流的個數,再將訊框類型 與傳輸流個數進行組合,並判斷組合後的結果是否與圖3 所示的第二個特徵識別字相同。若組合後的結果與第二 個特徵識別字不相同,則說明正在播放的不是片頭,從 而停止比對,繼續等待下一個I訊框。 [0023] 若組合後的結果與第二個特徵識別字相同,則說明第二 個訊框與第二個特徵識別字匹配。然後,匹配模組104判 斷接收到的第三個訊框是否與第三個特徵識別字匹配, 若匹配則判斷接收到的第四個訊框是否與第四個特徵識 別字匹配,以此類推,直至所有的特徵識別字都比對完 〇 [0024] 若在I訊框之後的訊框與所記錄的特徵識別字皆能——匹 配,則標記模組106在所錄製的電視節目中將第一個能匹 配的I訊框打上標籤。每一標籤對應一節目段落,每一段 落包括片頭、節目片段及廣告。請參閱圖2,片頭1、節 目片段1、廣告1形成節目段落1,片頭2、節目片段2、廣 告2形成節目段落2,依此類推。 [0025] 這樣,機上盒10就能藉由該標籤迅速定位到片頭,從而 可據此過濾廣告。具體而言,標記模組106記錄每一標籤 所對應的訊框序列號。播放模組108顯示所錄製的節目段 落供用戶選擇,並播放用戶選擇的節目段落。在播放過 程中,若遇到廣告,用戶可以藉由遙控器上的功能鍵發 送跳過廣告的信號。定位模組110在電視節目的播放過程 100102574 表單編號A0101 第10頁/共23頁 1002004579-0 201233174 [0026] [0027] Ο ο [0028] 100102574 第11頁/共23頁 ^收用户發出的過遽廣告信號,並將播放的電視節目 主 喊目#又落對應榡籤的訊框序列號,以跳過廣 。播放下一節目段落。 丈口:、本發月機上盒1〇錄製電視節目的方法一實施方式的 :®本方法用於圖1及圖2的機上盒中,並藉由圖2 所不的功能模組完成。 Μ驟S400 ’錄製模組1〇〇從頭端接收需錄製的電視 =目以錄製敎憶體。在步職02,記錄模組Π)2依序記 η、疋義的片頭中每一畫两組的每-訊框所對應的特 :別予,其中特徵識別字用每一訊框的類型及其包括 Ζ輸流的個數表示。在地4〇4,㈣細04比對後 :。的I訊框的傳輪流個數與所記錄的第一個特徵識別 步驟S406,匹配模組1〇4判斷所比對的!訊框的傳 是否與所記錄的第-個特徵識別字匹配。若所 1對的1訊框與所記錄的第—個特徵識別字不匹配,說明 1播放的不是片頭,則在步驟_,匹配模組ι〇4繼續 、後績接收的I訊框的傳輪㈣數與所記制第 徵識別字。 ^ 所比對的I A框與所記錄的第一個特徵識別字匹配,說 明此時播放的可能是片頭,則在步驟S408,匹配模組⑽ 序判斷在該相匹配的!訊框之後的訊框的類型與傳輸流 個數是否與所記錄的特徵識別字_ —匹配。若有_個特 徵識別字匹配不到對應的訊框,制此時_的不是片 頭,則在步驟S404,匹配模組1〇4繼續比對後續接收的ι 訊框的傳輪流個數與所記錄的第—個特徵識別字。 表單編號A0101 « ----1002004579-0 201233174 [0029] 若在相匹配的I訊框之後的訊框與所記錄的特徵識別字皆 能——匹配,說明此時播放的是片頭,則在步驟S41 0, 標記模組106在所錄製的電視節目中將相匹配的I訊框打 上標籤。 [0030] 在步驟S412,匹配模組104判斷節目是否錄製完,若未錄 製完,則重複執行步驟S404到S410,以繼續標記下一個 片頭。 [0031] 圖5為圖4中步驟S400記錄片頭中訊框的特徵識別字的一 實施方式的細化流程圖。在步驟S500,記錄模組102在錄 製的過程中接收片頭開始的信號。在步驟S502,記錄模 組102從隨後接收的電視節目中的第一個I訊框開始依序 記錄每一訊框的類型及其包括的傳輸流的個數,直至在 步驟S504接收到片頭結束的信號。在步驟S506,記錄模 組102將每一訊框的類型及其包括的傳輸流的個數合成每 一訊框的特徵識別字。 [0032] 圖6為本發明機上盒10播放所錄製的電視節目的一實施方 式的流程圖。在步驟S600,標記模組106記錄每一標籤所 對應的訊框序列號。在步驟S602,播放模組108顯示所錄 製的節目段落供用戶選擇。其中,每一標籤對應一節目 段落,每一段落包括片頭、節目片段及廣告。在步驟 S604,播放模組108播放用戶選擇的節目段落。在播放過 程中,若遇到廣告,用戶可以藉由遙控器上的功能鍵發 送跳過廣告的信號。在步驟S 6 0 6,定位模組110在電視節 目的播放過程中接收用戶發出的過濾廣告信號。在步驟 S608,定位模組110將播放的電視節目定位到下一節目段 100102574 表單編號A0101 第12頁/共23頁 1002004579-0 201233174 落對應標籤的訊框序舰1跳過廣告減下—節目段 落。 闕本發明的機上盒U)及其錄製Μ節目的方㈣由記㈣ 頭的每-訊㈣特徵制字來標記每次片頭的第一個訊 框從而使得在下次播放所錄製的電視節目時可跳過廣 告直接播放,從而有效提升用戶滿音度。Stl_eam, TS) 'The head end 20 transmits the frame by the A transmission re-transportation stream. When the recording module (10) starts recording the TV program, the user can define the slice header when playing the head. For example, the user can input the start and end signals of the slice header by the function button on the (not shown) of the set-top box, so that the set-top box 1G is playing during the time period of the start signal and the end signal. The title. At this time, the user record module 102 sequentially records the special character corresponding to each frame of each picture group in the user slice header. Specifically, the signal that the recording module 102 picks up at the beginning of the recording process is received from the subsequently received television program, the number of the received form number 丨 page 8 / total 23 s a 1 1002004579-0 201233174 [ 0020] Ο 讯 The frame starts to record the type of each dragon and the number of transport streams it includes until the end of the slice is received. Then, the recording module 1〇2 combines the type of each frame and the number of transport streams included therein into the feature identification word of each frame. FIG. 3 is a schematic diagram of generating a feature identification word on the set-top box of FIG. As shown in Fig. 10, in the present embodiment, a special number is used to indicate the type of the frame. In order to reduce the space occupied by the special number, the hexadecimal digit of eight bits is preferred. For example, 〇χ1〇〇〇〇〇〇〇 indicates the frame, and 0x00000000 indicates that the frame ’0χ20__ indicates the frame. In other implementations, other numbers may be used to indicate the type of frame ’ only need to be preset. The number of transmissions is also preferentially represented by the hexadecimal digits of the eight digits. For example, if the number of transmission streams of the frame of the first picture group is counted as 1128, it is available. 468 said. Then, you can use the OR operation to combine the frame type with the number of transport streams. For example, the feature identifier of the first frame group can be used to express the frame type I frame and the number of the stream 0x00000468 in the frame. Or the operation results, that is, 〇χ1〇〇〇〇468 [0022] 100102574 The matching module 104 determines whether the number of transmission streams of the frame in the subsequently received television program is the same as the first feature recorded. Identification word matches. If the I frame in the subsequently received television program matches the recorded first feature identification word, it indicates that the I signal may be the beginning of the next header. At this time, the matching module 104 starts to sequentially determine whether the type of the frame and the number of transport streams after the I frame match the recorded feature identifier. The following describes in detail how the matching module 1 〇4 sequentially determines the type of the frame and the number of transmission streams after the frame of the frame number Α0101, page 9/23 pages 1002004579-0 201233174, in conjunction with FIG. Recorded feature identification word - match. First, the matching module 104 receives the second frame, first determines its type, and counts the number of transport streams, and then combines the frame type with the number of transport streams, and determines whether the combined result and the graph are combined. The second feature identification word shown in 3 is the same. If the combined result is not the same as the second feature recognition word, it means that the title is being played, so the comparison is stopped and the next I frame is continued. [0023] If the combined result is the same as the second feature identification word, it indicates that the second frame matches the second feature identification word. Then, the matching module 104 determines whether the received third frame matches the third feature identification word, if it matches, determines whether the received fourth frame matches the fourth feature identification word, and so on. Until all the feature recognition words are compared [0024] If the frame after the I frame and the recorded feature recognition word can match - the tag module 106 will be in the recorded television program The first I frame that can match is tagged. Each tag corresponds to a program segment, and each segment includes a title, a program segment, and an advertisement. Referring to Figure 2, the slice header 1, the program segment 1, the advertisement 1 form the program segment 1, the title header 2, the program segment 2, the advertisement 2 form the program segment 2, and so on. [0025] In this way, the set-top box 10 can be quickly positioned to the title by the label, so that the advertisement can be filtered accordingly. Specifically, the tag module 106 records the frame serial number corresponding to each tag. The play module 108 displays the recorded program segments for the user to select and plays the program segments selected by the user. During the playback, if an advertisement is encountered, the user can send a signal to skip the advertisement by using the function key on the remote controller. The positioning module 110 plays the program in the television program 100102574 Form No. A0101 Page 10 / Total 23 Page 1002004579-0 201233174 [0026] [0027] ο ο [0028] 100102574 Page 11 / 23 pages ^ Received by the user遽Advertising signal, and the main character of the broadcasted TV program will be screamed. Play the next program passage. Zhangkou: The method of recording a TV program on the top of the moon machine is as follows: 1. This method is used in the set-top box of Figure 1 and Figure 2, and is completed by the function module of Figure 2 . Step S400 ‘Record Module 1〇〇 Receives the TV to be recorded from the head end = the target to record the memory. In Step 02, the recording module Π) 2 follows the η, 疋 的 的 的 中 每一 每一 每一 每一 每一 每一 每一 每一 每一 每一 每一 每一 每一 每一 每一 每一 每一 每一 每一 每一 每一 每一 每一 每一 别 别 别 别 别 别 别 别 别 别It also includes the number representation of the Ζ transport stream. At the ground 4〇4, (4) after the fine 04 comparison:. The number of transmissions of the I frame and the first feature identification recorded in step S406, the matching module 1〇4 determines the comparison! Whether the frame transmission matches the recorded first feature identification word. If the 1 frame of the pair does not match the recorded first feature identifier, indicating that 1 is not the title of the slice, then in step _, the matching module ι〇4 continues, and the I frame of the subsequent record is transmitted. The number of rounds (four) and the number of identification characters recorded. ^ The aligned I A frame matches the recorded first feature identification word, indicating that the playback may be the title of the slice at this time, then in step S408, the matching module (10) determines that the matching is in the match! Whether the type of frame after the frame and the number of transport streams match the recorded feature identifier_. If there is a feature identifier that does not match the corresponding frame, and the system is not the slice header, then in step S404, the matching module 1〇4 continues to compare the number of the relay streams of the subsequently received frame. The first feature identifier of the record. Form No. A0101 « ----1002004579-0 201233174 [0029] If the frame after the matching I frame and the recorded feature recognition word can match - it means that the title is played at this time, then In step S41 0, the marking module 106 tags the matching I frame in the recorded television program. [0030] In step S412, the matching module 104 determines whether the program is recorded. If not, the steps S404 to S410 are repeatedly performed to continue marking the next title. [0031] FIG. 5 is a detailed flowchart of an embodiment of the feature identification word of the frame in the slice header in step S400 of FIG. In step S500, the recording module 102 receives the signal of the start of the slice header during the recording process. In step S502, the recording module 102 sequentially records the type of each frame and the number of transport streams included therein from the first I frame in the subsequently received television program until the end of the slice is received in step S504. signal of. In step S506, the recording module 102 synthesizes the type of each frame and the number of transport streams it includes into the feature identification word of each frame. [0032] FIG. 6 is a flow chart showing an embodiment of a recorded television program being played by the set-top box 10 of the present invention. In step S600, the tag module 106 records the frame serial number corresponding to each tag. In step S602, the play module 108 displays the recorded program segments for the user to select. Each of the tags corresponds to a program segment, and each segment includes a title, a program segment, and an advertisement. In step S604, the play module 108 plays the program segment selected by the user. During the playback, if an advertisement is encountered, the user can send a signal to skip the advertisement by using the function key on the remote controller. In step S606, the positioning module 110 receives the filtered advertisement signal sent by the user during the playing of the television program. In step S608, the positioning module 110 locates the broadcasted television program to the next program segment 100102574. Form number A0101 Page 12/Total 23 page 1002004579-0 201233174 Falling to the label of the frame sequence ship 1 skipping the advertisement minus program paragraph. The set-top box U) of the present invention and the party (4) for recording the program are marked by the first (four) feature word of the head (four) to mark the first frame of each title so that the next time the recorded television program is played. Skip the ad to play directly, which effectively enhances the user's full tone.

_]綜上所述,本發明符合發明專利要件,爰依法提出專利 申請。惟’以上所述者僅為本發明之較佳實施例,舉凡 熟悉本案技藝之人士,在爰依本案發明精神所作之等效 修飾或變化,皆應包含於以下之申請專利範圍内。 【圖式簡單說明】 ' ’ V._] In summary, the present invention complies with the requirements of the invention patent and submits a patent application according to law. However, the above description is only the preferred embodiment of the present invention, and equivalent modifications or variations made by those skilled in the art will be included in the following claims. [Simple diagram] ' ’ V.

[0035] 圖1為本發明機上盒一實施方式:的應用環境與功能模組圖 〇 [0036] 圖2為圖1中機上盒所錄製的電視節目的結構示意圖。 [0037] 圖3為圖1中機上盒生成特徵識別字的示意圖。1 is an application environment and function module diagram of an embodiment of the set-top box of the present invention. [0036] FIG. 2 is a schematic structural diagram of a television program recorded by the set-top box of FIG. 3 is a schematic diagram of generating a feature recognition word on the set-top box of FIG. 1.

[0038] 圖4為本發明機上盒錄製電視節目的方法一實施方式的流 程圖。 0)039]圖5為圖4中步驟S400記錄片頭中訊框的特徵識別字的一 實施方式的細化流程圖。 [0040] 圖6為本發明機上盒播放所錄製的電視節目的一實施方式 的流程圖。 【主要元件符號說明】 [0041] 機上盒 100102574 表單編號Α0101 第丨3頁/共23頁 1002004579-0 10 201233174 [0042] 頭端 20 [0043] 處理器 12 [0044] 記憶體 14 [0045] 錄製模組 100 [0046] 記錄彳旲組 102 [0047] 匹配模組 104 [0048] 標記模組 106 [0049] 播放模組 108 [0050] 定位模組 110 100102574 表單編號A0101 第14頁/共23頁 1002004579-04 is a flow chart of an embodiment of a method for recording a television program on a set-top box of the present invention. 0) 039] FIG. 5 is a detailed flowchart of an embodiment of the feature identification word of the message frame in the slice header in step S400 of FIG. 6 is a flow chart of an embodiment of a recorded television program played by the set-top box of the present invention. [Main component symbol description] [0041] On-board box 100102574 Form number Α 0101 Page 3 / Total 23 page 1002004579-0 10 201233174 [0042] Head end 20 [0043] Processor 12 [0044] Memory 14 [0045] Recording module 100 [0046] Recording group 102 [0047] Matching module 104 [0048] Marking module 106 [0049] Playback module 108 [0050] Positioning module 110 100102574 Form number A0101 Page 14 of 23 Page 1002004579-0

Claims (1)

201233174 七、申請專利範圍: 一種機上盒,用於錄製電視節目,包括 錄製模組,用於從頭端接收需錄製的電視節目以錄製到記 憶體,其中該電視節目包括複數連續的片頭、節目片段及 廣告’每-片頭包括複數晝面組,每一畫面组包括 框、複數B練與p訊框,每1罐包括複數傳輸流;201233174 VII. Patent application scope: A set-top box for recording TV programs, including a recording module, for receiving a television program to be recorded from a head end for recording to a memory, wherein the television program includes a plurality of consecutive titles, programs Fragment and advertisement 'every-cap includes a plurality of facets, each frame group includes a frame, a plurality of B exercises and a p-frame, and each of the cans includes a plurality of transport streams; 記錄模組,用於依序記錄用戶定義的片頭中每-畫面組的 每-訊框所對應的特徵識財,其巾婦徵朗字用每_ 訊框的類型及每-訊框包括的傳輪流的個數表示 匹配模組,錄麟錄接_電_目中的丨訊框的傳 輸流個數是减所記錄的第—個特徵識财匹配,並依序 判斷在與第-個特徵朗字㈣w訊框之後的訊框的類 型與傳輸流減是㈣所記錄的㈣朗字__匹配;及 標記模組,用於在該1訊框之後的訊框與所記錄的特徵識 別字皆能一匹配時,在所錄製的電視節_中將該與第— 個特徵識別字匹配的I訊框打上標鐵。 如申請專利範圍第1項所述之機上盒,其中該記錄模組在 接收到片頭開始的信號時,從隨後接收的電視節目中的第 -個I訊框開始依序記錄每_訊框的類型及每-訊框包括 的傳輸流的個數,直至接收到片頭結束的信號,並將每— 訊框的類型及其包括的料流的健合成每—訊框的特徵 識別字。 .如申請專利範圍第2項所述之機上盒,其中該記錄模組將 每-訊框的類型與傳輸流的個數表示為八位十六進位數, 並用或運算進行組合以形成每—訊框的特徵識別字。 100102574 表單編號A0101 第15頁/共23頁 1002004579-0 201233174 4 .如申請專利範圍第2項所述之機上盒,其中該片頭開始的 信號與片頭結束的信號由用戶藉由該機上盒的遙控器發出 〇 5 .如申請專利範圍第1項所述之機上盒,其中該標記模組還 用於記錄每一標籤所對應的訊框序列號。 6 .如申請專利範圍第5項所述之機上盒,還包括: 播放模組,用於顯示所錄製的節目段落並播放用戶選擇的 節目段落,每一節目段落包括一標籤對應的片頭、節目片 段及廣告;及 定位模組,用於在電視節目的播放過程中接收用戶發出的 過濾廣告信號,並將播放的電視節目定位到下一節目段落 對應標籤的訊框序列號,以跳過廣告播放下一節目段落。 7 . —種機上盒錄製電視節目的方法,包括: 從頭端接收需錄製的電視節目以錄製到記憶體,該電視節 目包括連續迴圈的片頭、節目片段及廣告,每一片頭包括 複數畫面組,每一畫面組包括一個I訊框、複數B訊框與P 訊框,每一訊框包括複數傳輸流; 依序記錄用戶定義的片頭中每一晝面組的每一訊框所對應 的特徵識別字,其中特徵識別字用每一訊框的類型及每一 訊框包括的傳輸流的個數表示; 判斷後續接收的電視節目中的I訊框的傳輸流個數是否與 所記錄的第一個特徵識別字匹配; 若該I訊框與所記錄的第一個特徵識別字匹配,則依序判 斷在該I訊框之後的訊框的類型與傳輸流個數是否與所記 錄的特徵識別字--匹配;及 若在該I訊框之後的訊框與所記錄的特徵識別字皆能—— 100102574 表單編號A0101 第16頁/共23頁 1002004579-0 201233174 匹配,則在所錄製的電視節目中將該i訊框打上標籤。 8 .如申請專利範圍第7項所述之機上盒錄製電視節目的方法 ,其中該記錄用戶定義的片頭中每一晝面組的每一訊框所 對應的特徵識別字的步驟包括: 在錄製的過程中接收片頭開始的信號; 從隨後接收的電視節目中的第一個I訊框開始依序記錄每 一訊框的類型及每一訊框包括的傳輸流的個數,直至接收 到片頭結束的信號;及 將每一訊框的類型及其包括的傳輸流的個數合成每一訊框 的特徵識別字。 9 .如申請專利範圍第8項所述之機上盒錄製電視節目的方法 ,其中該每一訊框的類型與傳輸流的個數皆使用八位元十 六進位數來記錄,並用或運算進行組合以形成每一訊框的 特徵識別字。 10 .如申請專利範圍第7項所述之機上盒錄製電視節目的方法 ,還包括: 記錄每一標籤所對應的訊框序列號; 顯示所錄製的節目段落,每一節目段落包括一標籤對應的 片頭、節目片段及廣告; 播放用戶選擇的節目段落; 在電視節目的播放過程中接收用戶發出的過濾廣告信號; 及 將播放的電視節目定位到下一節目段落對應標籤的訊框序 列號,以跳過廣告播放下一節目段落。 100102574 表單編號A0101 第17頁/共23頁 1002004579-0The recording module is configured to sequentially record the feature corresponding to each frame of each picture group in the user-defined title header, and the type of each frame and the frame included by each frame The number of transmissions indicates the matching module, and the number of transmission streams of the frame in the recording box is reduced by the first feature of the record, and is judged in the same order. Feature type (4) The frame type and transmission stream minus after the frame is (4) recorded (4) __ __ matching; and the tag module is used for the frame after the 1 frame and the recorded feature recognition When the words can match, the I frame matching the first feature identification word is marked on the recorded television section _. The set-top box of claim 1, wherein the recording module records each frame sequentially from the first I frame in the subsequently received television program when receiving the signal of the start of the slice header. The type and the number of transport streams included in each frame until the end of the slice is received, and the type of each frame and the stream it includes are synthesized into the feature identifier of each frame. The set-top box of claim 2, wherein the recording module expresses the type of each frame and the number of transport streams as eight-digit hexadecimal digits, and combines them by an OR operation to form each - The feature identification word of the frame. </ RTI> <RTIgt; </ RTI> <RTIgt; </ RTI> <RTIgt; </ RTI> <RTIgt; </ RTI> <RTIgt; </ RTI> <RTIgt; </ RTI> <RTIgt; The remote control device is 〇5. The set-top box according to claim 1, wherein the marking module is further configured to record a frame serial number corresponding to each label. 6. The set-top box of claim 5, further comprising: a play module for displaying the recorded program segments and playing a program segment selected by the user, each program segment including a title corresponding to the label, a program segment and an advertisement; and a positioning module, configured to receive a filtered advertisement signal sent by the user during the playing of the television program, and locate the broadcast television program to the frame serial number of the corresponding label of the next program segment to skip The ad plays the next program passage. 7. A method for recording a television program on a set-top box, comprising: receiving a television program to be recorded from a headend for recording to a memory, the television program comprising a continuous loop of a title, a program segment, and an advertisement, each of the headers including a plurality of pictures The group, each picture group includes an I frame, a plurality of B frames and a P frame, each frame includes a plurality of transport streams; and sequentially records each frame of each of the user defined slice headers. The feature identification word, wherein the feature recognition word is represented by the type of each frame and the number of transmission streams included in each frame; determining whether the number of transmission streams of the I frame in the subsequently received television program is recorded The first feature identifier is matched; if the I frame matches the recorded first feature identifier, the type of the frame after the I frame and the number of transport streams are sequentially determined to be recorded. Feature identification word--matching; and if the frame after the I frame and the recorded feature recognition word can be - 100102574 Form No. A0101 Page 16 / Total 23 Page 1002004579-0 201233174 Match, then Recorded TV programs in the i tag the information box. 8. The method of recording a television program on a set-top box according to claim 7, wherein the step of recording a feature identification word corresponding to each frame of each of the user-defined slice headers comprises: Receiving the signal of the beginning of the slice during the recording process; sequentially recording the type of each frame and the number of transmission streams included in each frame from the first I frame in the subsequently received television program until receiving The signal at the end of the slice header; and the type of each frame and the number of transport streams included therein are combined into the feature identification word of each frame. 9. The method of recording a television program in a set-top box according to claim 8, wherein the type of each frame and the number of transmission streams are recorded using an octet hexadecimal digit, and an OR operation is used. Combine to form the feature identification word for each frame. 10. The method for recording a television program on a set-top box according to claim 7, further comprising: recording a frame serial number corresponding to each tag; displaying the recorded program segments, each program segment including a label Corresponding title, program segment and advertisement; playing the program segment selected by the user; receiving the filtered advertisement signal sent by the user during the playing of the television program; and positioning the broadcasted television program to the frame serial number of the corresponding label of the next program segment To skip the ad to play the next show paragraph. 100102574 Form No. A0101 Page 17 of 23 1002004579-0
TW100102574A 2011-01-25 2011-01-25 Set-top box and program recording method TWI413412B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW100102574A TWI413412B (en) 2011-01-25 2011-01-25 Set-top box and program recording method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW100102574A TWI413412B (en) 2011-01-25 2011-01-25 Set-top box and program recording method

Publications (2)

Publication Number Publication Date
TW201233174A true TW201233174A (en) 2012-08-01
TWI413412B TWI413412B (en) 2013-10-21

Family

ID=47069822

Family Applications (1)

Application Number Title Priority Date Filing Date
TW100102574A TWI413412B (en) 2011-01-25 2011-01-25 Set-top box and program recording method

Country Status (1)

Country Link
TW (1) TWI413412B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002247543A (en) * 2001-02-21 2002-08-30 Sony Corp Transmitting device and method, receiving device and method, recording medium and program
TWI255142B (en) * 2004-02-25 2006-05-11 Bing-Chiang Jeng Method and system for detection of advertisements located within TV programs
TWI242376B (en) * 2004-06-24 2005-10-21 Via Tech Inc Method and related system for detecting advertising by integrating results based on different detecting rules
TWI245568B (en) * 2004-07-22 2005-12-11 Via Tech Inc Method and related system for high efficient advertising detection

Also Published As

Publication number Publication date
TWI413412B (en) 2013-10-21

Similar Documents

Publication Publication Date Title
US11830527B2 (en) Systems and methods for media production and editing
US8249423B2 (en) Electronic devices and methods that insert addressable chapter marks relative to advertising content in video streams
CN102461194B (en) Insertion of recorded secondary digital video content during playback of primary digital video content
ES2523135T3 (en) Procedure and device for displaying personalized multimedia segments
ES2381760T3 (en) Synchronization of multimedia content with events based on the recognition of sequences of calculated key values.
CN102648609B (en) The stream method and apparatus that main contents are operated are inserted into by by other contents
CN102290082B (en) Method and device for processing brilliant video replay clip
US10771861B2 (en) Digital channel integration system
US20060070106A1 (en) Method, apparatus and program for recording and playing back content data, method, apparatus and program for playing back content data, and method, apparatus and program for recording content data
US20090119706A1 (en) Generation and Delivery of Stepped-Frame Content Via MPEG Transport Streams
US20090262238A1 (en) Generation And Delivery of Stepped-Frame Content Via MPEG Transport Streams
EP2822288A1 (en) Method and apparatus for frame accurate advertisement insertion
US20110113335A1 (en) Systems and Methods for Replacing Audio Segments in an Audio Track for a Video Asset
CN106028078A (en) Personalized content creating method, personalized content creating device, personalized content play method and personalized content play device
CN102611932B (en) Set top box and method for recording television program by set-top box
CN108881938B (en) Live broadcast video intelligent cutting method and device
CN109478412A (en) Information processing equipment, information processing method and program
CN109361886A (en) A kind of conference video recording labeling system based on sound detection
US20110141359A1 (en) In-Program Trigger of Video Content
CN102355605A (en) Live time-shift processing method of IPTV (Internet Protocol Television) set-top box
JP5279457B2 (en) Broadcast receiving terminal
TW201233174A (en) Set-top box and program recording method
JP5874870B1 (en) Reception device, transmission device, and data processing method
JP5018976B2 (en) Data recording method, recording medium, and reproducing apparatus
TW200803515A (en) Systems and methods for playing video