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

Set-top box and program recording method Download PDF

Info

Publication number
TWI413412B
TWI413412B TW100102574A TW100102574A TWI413412B TW I413412 B TWI413412 B TW I413412B TW 100102574 A TW100102574 A TW 100102574A TW 100102574 A TW100102574 A TW 100102574A TW I413412 B TWI413412 B TW I413412B
Authority
TW
Taiwan
Prior art keywords
frame
recorded
program
television program
module
Prior art date
Application number
TW100102574A
Other languages
Chinese (zh)
Other versions
TW201233174A (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

機上盒及其錄製電視節目的方法Set-top box and method for recording television program

本發明涉及機上盒,尤其涉及一種機上盒錄製電視節目的方法。The present invention relates to a set-top box, and more particularly to a method of recording a television program on a set-top box.

機上盒常用來錄製電視節目,且一般都是直接錄製頭端發送的電視節目,然後在用戶需要觀看時完整的播放所有錄製的節目,其中就包括廣告節目。現在電視節目提供商基本以廣告為主要收益,所以在電視節目中插播廣告的頻率越來越高,時間越來越長。例如,常見的45分鐘的一集電視劇,會插播三次以上每次5分鐘左右的廣告,最後導致45分鐘的電視節目需要花費60分鐘以上的時間,這給用戶觀看電視帶來了困擾。用戶一般就希望在播放錄播的電視節目時可以跳過廣告而僅觀看電視節目內容。The set-top box is often used to record TV programs, and generally it is directly recording the TV program sent by the head end, and then all the recorded programs are completely played when the user needs to watch, including the 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 45-minute episode of a TV series will be inserted more than three times a day for about 5 minutes, and finally it will take more than 60 minutes for a 45-minute TV program, which causes users to watch TV. Users generally want to skip the advertisement and only watch the TV program content while playing the recorded TV program.

有鑒於此,有必要提供一種機上盒,可標記電視節目每一節目片段之前的片頭,以在播放錄播的電視節目時根據用戶的需要跳過電視節目中插播的廣告。In view of the above, it is necessary to provide a set-top box that can mark the title of the movie program before each program segment to skip the advertisement inserted in the television program according to the user's needs when playing the recorded television program.

此外,還有必要提供一種機上盒錄製電視節目的方法,可標記電視節目每一節目片段之前的片頭,以在播放錄播的電視節目時根據用戶的需要跳過電視節目中插播的廣告。In addition, it is also necessary to provide a method for recording a television program on a set-top box, which can mark the title of the movie program before the program segment, so as to skip the advertisement inserted in the television program according to the user's needs when playing the recorded television program.

本發明實施方式中的機上盒用於錄製電視節目,包括錄製模組、記錄模組、匹配模組及標記模組。錄製模組用於從頭端接收需錄製的電視節目以錄製到記憶體,其中電視節目包括複數連續的片頭、節目片段及廣告,每一片頭包括複數畫面組,每一畫面組包括一I訊框、複數B訊框與P訊框,每一訊框包括複數傳輸流。記錄模組用於依序記錄用戶定義的片頭中每一畫面組的每一訊框所對應的特徵識別字,其中特徵識別字用每一訊框的類型及每一訊框包括的傳輸流的個數表示。匹配模組用於判斷後續接收的電視節目中的I訊框的傳輸流個數是否與所記錄的第一個特徵識別字匹配,並在該I訊框與所記錄的第一個特徵識別字匹配時,依序判斷在該I訊框之後的訊框的類型與傳輸流個數是否與所記錄的特徵識別字一一匹配。標記模組用於在該I訊框之後的訊框與所記錄的特徵識別字皆能一一匹配時,在所錄製的電視節目中將該I訊框打上標籤。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. The recording module is configured to receive a television program to be recorded from the head end to be recorded to the memory, wherein the television program includes a plurality of consecutive titles, program segments, and advertisements, each of the heads includes a plurality of picture groups, and each picture group includes an I frame. , a plurality of B frames and a P frame, each frame including a complex transport stream. The recording module is configured to sequentially record the feature identification words corresponding to each frame of each of the user-defined slice headers, wherein the feature recognition word uses the type of each frame and the transmission stream included in each frame The number is expressed. The matching module is configured to determine whether the number of transmission streams of the I frame in the subsequently received television program matches the recorded first feature identification word, and in the I frame and the recorded first feature identification word When matching, it is sequentially determined whether the type of the frame after the I frame and the number of transmission streams match the recorded feature identification one by one. The marking module is configured to tag the I frame in the recorded television program when the frame after the I frame and the recorded feature recognition word can be matched one by one.

優選的,記錄模組在接收到片頭開始的信號時,從隨後接收的電視節目中的第一個I訊框開始依序記錄每一訊框的類型及每一訊框包括的傳輸流的個數,直至接收到片頭結束的信號,並將每一訊框的類型及其包括的傳輸流的個數合成每一訊框的特徵識別字。Preferably, when receiving the signal of the beginning of the slice header, the recording module sequentially records the type of each frame and the transmission stream included in each frame from the first I frame in the subsequently received television program. The number is received until the end of the slice is received, and the type of each frame and the number of transport streams it includes are combined into the feature identification word of each frame.

優選的,記錄模組使用兩個八位元十六進位數分別表示每一訊框的類型與傳輸流的個數,並用或運算組合該兩個八位十六進位數,以形成每一訊框的特徵識別字。Preferably, the recording module uses two octet hexadecimal digits to indicate the type of each frame and the number of transport streams, and combines the two octet hexadecimal digits by an OR operation to form each message. The feature identifier of the box.

優選的,片頭開始的信號與片頭結束的信號由用戶藉由該機上盒的遙控器發出。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.

優選的,標記模組還用於記錄每一標籤所對應的訊框序列號。Preferably, the marking module is further configured to record the frame serial number corresponding to each label.

優選的,該機上盒還包括定位模組與播放模組,播放模組用於顯示所錄製的節目段落並播放用戶選擇的節目段落,每一節目段落包括一標籤對應的片頭、節目片段及廣告。定位模組用於在電視節目的播放過程中接收用戶發出的過濾廣告信號,並將播放的電視節目定位到下一節目段落對應標籤的訊框序列號,以跳過廣告播放下一節目段落。Preferably, the set-top box further comprises 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, the program segment and ad. 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.

本發明實施方式中的機上盒錄製電視節目的方法,包括:從頭端接收需錄製的電視節目以錄製到記憶體,其中電視節目包括連續迴圈的片頭、節目片段及廣告,每一片頭包括複數畫面組,每一畫面組包括一個I訊框、複數B訊框與P訊框,每一訊框包括複數傳輸流;依序記錄用戶定義的片頭中每一畫面組的每一訊框所對應的特徵識別字,其中特徵識別字用每一訊框的類型及每一訊框包括的傳輸流的個數表示;判斷後續接收的電視節目中的I訊框的傳輸流個數是否與所記錄的第一個特徵識別字匹配;若該I訊框與所記錄的第一個特徵識別字匹配,則依序判斷在該I訊框之後的訊框的類型與傳輸流個數是否與所記錄的特徵識別字一一匹配;及若在該I訊框之後的訊框與所記錄的特徵識別字皆能一一匹配,則在所錄製的電視節目中將該I訊框打上標籤。The 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 be recorded to a memory, wherein the television program includes a continuous loop of a title, a program segment, and an advertisement, and each of the titles includes A plurality of picture groups, 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 each frame of each of the user defined slice headers is sequentially recorded. Corresponding feature identification words, 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 The first feature identification word of the record is matched; if the I frame matches the first feature identification word recorded, the type of the frame and the number of transmission streams after the I frame are sequentially determined whether The recorded feature identification words are matched one by one; and if the frame after the I frame and the recorded feature recognition words can be matched one by one, the I frame is tagged in the recorded television program.

優選的,該記錄用戶定義的片頭中每一畫面組的每一訊框所對應的特徵識別字的步驟包括:在錄製的過程中接收片頭開始的信號;從隨後接收的電視節目中的第一個I訊框開始依序記錄每一訊框的類型及每一訊框包括的傳輸流的個數,直至接收到片頭結束的信號;及將每一訊框的類型及其包括的傳輸流的個數合成每一訊框的特徵識別字。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 a chip start signal during the recording process; and receiving the first one of the subsequently received television programs The I 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 transport stream included therein The number synthesizes the feature identification word of each frame.

優選的,該每一訊框的類型與傳輸流的個數皆使用八位元十六進位數來記錄,並用或運算組合該兩個八位十六進位數,以形成每一訊框的特徵識別字。Preferably, the type of each frame and the number of transport streams are recorded using octet hexadecimal digits, and the two octet hexadecimal digits are combined by an OR operation to form a feature of each frame. Identify the word.

優選的,該的機上盒錄製電視節目的方法還包括:記錄每一標籤所對應的訊框序列號;顯示所錄製的節目段落,每一節目段落包括一標籤對應的片頭、節目片段及廣告;播放用戶選擇的節目段落;在電視節目的播放過程中接收用戶發出的過濾廣告信號;及將播放的電視節目定位到下一節目段落對應標籤的訊框序列號,以跳過廣告播放下一節目段落。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 title, the program segment, and the 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 played television program to the frame serial number of the corresponding label of the next program segment to skip the advertisement playing next Program passage.

藉由以下對具體實施方式詳細的描述並結合附圖,將可輕易的瞭解上述內容及此項發明之技術效果。The above and the technical effects of the invention can be easily understood from the following detailed description of the embodiments and the accompanying drawings.

請參閱圖1,所示為本發明機上盒10一實施方式的應用環境與功能模組圖。本實施方式中的機上盒10用於錄製頭端20傳送的電視節目。在本實施方式中,機上盒10包括處理器12、記憶體14、錄製模組100、記錄模組102、匹配模組104、標記模組106、播放模組108及定位模組110。其中,處理器12執行存儲在記憶體14中的錄製模組100、記錄模組102、匹配模組104、標記模組106、播放模組108及定位模組110以實現上述模組的功能。Please refer to FIG. 1 , which is a diagram showing an application environment and a function module of an embodiment 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 by 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, the recording module 102, the matching module 104, the marking module 106, the playing module 108, and the positioning module 110 stored in the memory 14 to implement the functions of the module.

錄製模組100從頭端20接收需錄製的電視節目以錄製到記憶體14。請參閱圖2,所示為圖1中機上盒10錄製的電視節目的結構示意圖。如圖2所示,電視節目包括複數連續的片頭、節目片段、廣告三個部分。其中,節目片段是電視節目供應商為了插播廣告而將電視節目分為複數部分而形成的。片頭是指每次播放完廣告後切換回電視節目時播放的一小段重複內容。The recording module 100 receives the television program to be recorded from the head end 20 for recording to the memory 14. Referring to FIG. 2, a schematic structural diagram of a television program recorded on the set-top box 10 in FIG. 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 TV program provider dividing the television program into plural parts for the insertion of the advertisement. The title is a short piece of content that is played back when you switch back to the TV show after each time the ad is played.

根據MPEG編碼格式的規定,每一片頭包括複數畫面組(Group of Pictures,GOP),一個GOP就是一組連續的訊框。MPEG編碼將訊框分為I、P、B三種類型,I是內部編碼訊框,P是前向預測訊框,B是雙向內插訊框。簡單地講,I訊框是一個完整的畫面,而P訊框和B訊框記錄的是相對於I訊框的變化。沒有I訊框,P訊框和B訊框就無法解碼。每一訊框包括複數傳輸流(Transport Stream,TS),頭端20藉由傳輸複數傳輸流來傳送訊框。According to the MPEG encoding format, each slice header includes a Group of Pictures (GOP), and a GOP is a set of consecutive frames. MPEG encoding divides the frame into three types: I, P, and B. I is an internal coded frame, P is a forward predictive frame, and B is a two-way interpolated frame. Simply put, the I frame is a complete picture, while the P frame and the B frame record changes relative to the I frame. Without the I frame, the P frame and the B frame cannot be decoded. Each frame includes a Transport Stream (TS), and the head end 20 transmits the frame by transmitting a complex transport stream.

當錄製模組100開始錄製電視節目,用戶就可以在播放片頭時對片頭進行定義。比如,用戶可以藉由機上盒10的遙控器(未圖示)上的功能按鈕輸入片頭開始與結束的信號,以告訴機上盒10在該開始信號與結束信號的時間段內正在播放片頭。此時,用戶記錄模組102就依序記錄用戶定義的片頭中每一畫面組的每一訊框所對應的特徵識別字。具體而言,記錄模組102在錄製的過程中接收到片頭開始的信號,就從隨後接收的電視節目中的第一個I訊框開始依序記錄每一訊框的類型及其包括的傳輸流的個數,直至接收到片頭結束的信號。然後,記錄模組102將每一訊框的類型及其包括的傳輸流的個數合成每一訊框的特徵識別字。When the recording module 100 starts recording a television program, the user can define the title of the title when the title is played. For example, the user can input the start and end signals of the slice by the function button on the remote controller (not shown) of the set-top box 10 to tell the set-top box 10 that the title is being played during the start signal and the end signal. . At this time, the user record module 102 sequentially records the feature identification words corresponding to each frame of each picture group in the user-defined slice header. Specifically, the recording module 102 receives the start signal of the slice header during the recording process, and sequentially records the type of each frame and the transmission included therein from the first I frame in the subsequently received television program. The number of streams until the end of the slice is received. Then, the recording module 102 synthesizes the type of each frame and the number of transport streams included therein into the feature identification words of each frame.

圖3為圖1中機上盒10生成特徵識別字的示意圖。如圖3所示,在本實施方式中,預先設定使用特殊數來表示訊框的類型。為了減少該特殊數所占的空間,優先選擇八位的十六進位數。如,用0x10000000表示I訊框,0x00000000表示B訊框,0x20000000表示P訊框。在其他實施方式中,也可以使用其他的數來表示訊框的類型,僅需預先設定好即可。傳輸流的個數亦優先使用八位的十六進位數來表示,比如,若第一個畫面組的I訊框的傳輸流個數經統計為1128個,則可用0x00000468表示。然後,可使用或運算將訊框類型與傳輸流個數組合到一起。比如,第一個畫面組的I訊框得特徵識別字可由用於表達訊框類型為I訊框的0x10000000與該I訊框中傳輸流的個數0x00000468進行或運算得出,即為0x10000468。FIG. 3 is a schematic diagram of the feature recognition word generated by the set-top box 10 of FIG. As shown in FIG. 3, in the present embodiment, a special number is used in advance 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 preferentially selected. For example, 0x10000000 represents the I frame, 0x00000000 represents the B frame, and 0x20000000 represents the P frame. In other embodiments, other numbers may be used to indicate the type of the frame, and only need to be preset. The number of transport streams is also preferentially represented by the hexadecimal digits of eight bits. For example, if the number of transport streams of the I frame of the first picture group is counted as 1128, it can be represented by 0x00000468. The frame type can then be combined with the number of transport streams using an OR operation. For example, the feature identifier of the I frame of the first picture group can be ORed by 0x10000000 for expressing the frame type I frame and the number 0x00000468 of the transmission stream in the I frame, that is, 0x10000468.

匹配模組104判斷後續接收的電視節目中的I訊框的傳輸流個數是否與所記錄的第一個特徵識別字匹配。若後續接收的電視節目中的I訊框與所記錄的第一個特徵識別字匹配,則說明該I訊框有可能是下一片頭的開始。此時,匹配模組104就開始依序判斷在該I訊框之後的訊框的類型與傳輸流個數是否與所記錄的特徵識別字一一匹配。The matching module 104 determines whether the number of transmission streams of the I frame in the subsequently received television program matches the recorded first feature identification word. If the I frame in the subsequently received television program matches the recorded first feature identification word, it indicates that the I frame 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 after the I frame and the number of transmission streams match the recorded feature identification one by one.

下面結合圖3詳細描述匹配模組104如何依序判斷在該I訊框之後的訊框的類型與傳輸流個數是否與所記錄的特徵識別字一一匹配。首先,匹配模組104接收到第二個訊框,先判斷其類型,並統計傳輸流的個數,再將訊框類型與傳輸流個數進行組合,並判斷組合後的結果是否與圖3所示的第二個特徵識別字相同。若組合後的結果與第二個特徵識別字不相同,則說明正在播放的不是片頭,從而停止比對,繼續等待下一個I訊框。The following describes in detail, in conjunction with FIG. 3, how the matching module 104 sequentially determines whether the type of the frame after the I frame and the number of transport streams match the recorded feature identification one by one. 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 is compared with FIG. 3. The second feature identification word shown is the same. If the combined result is not the same as the second feature identification word, it means that the title is not being played, so the comparison is stopped and the next I frame is continued.

若組合後的結果與第二個特徵識別字相同,則說明第二個訊框與第二個特徵識別字匹配。然後,匹配模組104判斷接收到的第三個訊框是否與第三個特徵識別字匹配,若匹配則判斷接收到的第四個訊框是否與第四個特徵識別字匹配,以此類推,直至所有的特徵識別字都比對完。If the combined result is the same as the second feature recognition word, it indicates that the second frame matches the second feature recognition word. Then, the matching module 104 determines whether the received third frame matches the third feature identifier, and if it matches, determines whether the received fourth frame matches the fourth feature identifier, and so on. Until all the feature recognition words are compared.

若在I訊框之後的訊框與所記錄的特徵識別字皆能一一匹配,則標記模組106在所錄製的電視節目中將第一個能匹配的I訊框打上標籤。每一標籤對應一節目段落,每一段落包括片頭、節目片段及廣告。請參閱圖2,片頭1、節目片段1、廣告1形成節目段落1,片頭2、節目片段2、廣告2形成節目段落2,依此類推。If the frame after the I frame and the recorded feature recognition word can be matched one by one, the tag module 106 tags the first matching I frame in the recorded television program. Each tag corresponds to a program segment, and each segment includes a title, a program segment, and an advertisement. Referring to FIG. 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.

這樣,機上盒10就能藉由該標籤迅速定位到片頭,從而可據此過濾廣告。具體而言,標記模組106記錄每一標籤所對應的訊框序列號。播放模組108顯示所錄製的節目段落供用戶選擇,並播放用戶選擇的節目段落。在播放過程中,若遇到廣告,用戶可以藉由遙控器上的功能鍵發送跳過廣告的信號。定位模組110在電視節目的播放過程中接收用戶發出的過濾廣告信號,並將播放的電視節目定位到下一節目段落對應標籤的訊框序列號,以跳過廣告播放下一節目段落。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 play 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 receives the filtered advertising signal sent by the user during the playing of the television program, and locates the broadcasted 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.

圖4為本發明機上盒10錄製電視節目的方法一實施方式的流程圖。本方法用於圖1及圖2的機上盒10中,並藉由圖2所示的功能模組完成。4 is a flow chart of an embodiment of a method for recording a television program by the set-top box 10 of the present invention. The method is used in the set-top box 10 of Figures 1 and 2 and is completed by the functional module shown in Figure 2.

在步驟S400,錄製模組100從頭端20接收需錄製的電視節目以錄製到記憶體。在步驟S402,記錄模組102依序記錄用戶定義的片頭中每一畫面組的每一訊框所對應的特徵識別字,其中特徵識別字用每一訊框的類型及其包括的傳輸流的個數表示。在步驟S404,匹配模組104比對後續接收的I訊框的傳輸流個數與所記錄的第一個特徵識別字。在步驟S406,匹配模組104判斷所比對的I訊框的傳輸流個數是否與所記錄的第一個特徵識別字匹配。若所比對的I訊框與所記錄的第一個特徵識別字不匹配,說明此時播放的不是片頭,則在步驟S404,匹配模組104繼續比對後續接收的I訊框的傳輸流個數與所記錄的第一個特徵識別字。In step S400, the recording module 100 receives the television program to be recorded from the head end 20 for recording to the memory. In step S402, the recording module 102 sequentially records the feature identification words corresponding to each frame of each picture group in the user-defined slice header, wherein the feature recognition word uses the type of each frame and the transport stream included therein. The number is expressed. In step S404, the matching module 104 compares the number of transmission streams of the subsequently received I frame with the recorded first feature identification word. In step S406, the matching module 104 determines whether the number of transport streams of the compared I frame matches the recorded first feature identifier. If the aligned I frame does not match the recorded first feature identifier, indicating that the playback is not the slice header, then in step S404, the matching module 104 continues to compare the transmission stream of the subsequently received I frame. The number and the first feature identifier recorded.

若所比對的I訊框與所記錄的第一個特徵識別字匹配,說明此時播放的可能是片頭,則在步驟S408,匹配模組104依序判斷在該相匹配的I訊框之後的訊框的類型與傳輸流個數是否與所記錄的特徵識別字一一匹配。若有一個特徵識別字匹配不到對應的訊框,說明此時播放的不是片頭,則在步驟S404,匹配模組104繼續比對後續接收的I訊框的傳輸流個數與所記錄的第一個特徵識別字。If the aligned I frame matches the recorded first feature identifier, indicating that the playback may be a slice header, then in step S408, the matching module 104 sequentially determines the matched I frame. Whether the type of the frame and the number of transport streams match the recorded feature identification one by one. If there is a feature identification word that does not match the corresponding frame, indicating that the title is not played at this time, then in step S404, the matching module 104 continues to compare the number of transmission streams of the subsequently received I frame with the recorded number. A feature identification word.

若在相匹配的I訊框之後的訊框與所記錄的特徵識別字皆能一一匹配,說明此時播放的是片頭,則在步驟S410,標記模組106在所錄製的電視節目中將相匹配的I訊框打上標籤。If the frame after the matched I frame and the recorded feature recognition word can be matched one by one, indicating that the title is played at this time, in step S410, the marking module 106 will be in the recorded television program. The matching I frame is tagged.

在步驟S412,匹配模組104判斷節目是否錄製完,若未錄製完,則重複執行步驟S404到S410,以繼續標記下一個片頭。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.

圖5為圖4中步驟S400記錄片頭中訊框的特徵識別字的一實施方式的細化流程圖。在步驟S500,記錄模組102在錄製的過程中接收片頭開始的信號。在步驟S502,記錄模組102從隨後接收的電視節目中的第一個I訊框開始依序記錄每一訊框的類型及其包括的傳輸流的個數,直至在步驟S504接收到片頭結束的信號。在步驟S506,記錄模組102將每一訊框的類型及其包括的傳輸流的個數合成每一訊框的特徵識別字。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 included therein into the feature identification words of each frame.

圖6為本發明機上盒10播放所錄製的電視節目的一實施方式的流程圖。在步驟S600,標記模組106記錄每一標籤所對應的訊框序列號。在步驟S602,播放模組108顯示所錄製的節目段落供用戶選擇。其中,每一標籤對應一節目段落,每一段落包括片頭、節目片段及廣告。在步驟S604,播放模組108播放用戶選擇的節目段落。在播放過程中,若遇到廣告,用戶可以藉由遙控器上的功能鍵發送跳過廣告的信號。在步驟S606,定位模組110在電視節目的播放過程中接收用戶發出的過濾廣告信號。在步驟S608,定位模組110將播放的電視節目定位到下一節目段落對應標籤的訊框序列號,以跳過廣告播放下一節目段落。6 is a flow chart showing an embodiment of playing a recorded television program on the set-top box 10 of the present invention. In step S600, the marking module 106 records the frame serial number corresponding to each label. 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 frame serial number of the corresponding tag of the next program segment to skip the advertisement to play the next program segment.

本發明的機上盒10及其錄製電視節目的方法藉由記錄片頭的每一訊框的特徵識別字來標記每次片頭的第一個訊框,從而使得在下次播放所錄製的電視節目時可跳過廣告直接播放,從而有效提升用戶滿意度。The set-top box 10 of the present invention and the method for recording the same for the television program mark the first frame of each title by recording the feature identification word of each frame of the slice header, so that the next time the recorded television program is played Skip ads can be played directly to increase user satisfaction.

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

10‧‧‧機上盒10‧‧‧Machine box

20‧‧‧頭端20‧‧‧ head end

12‧‧‧處理器12‧‧‧ Processor

14‧‧‧記憶體14‧‧‧ memory

100‧‧‧錄製模組100‧‧‧recording module

102‧‧‧記錄模組102‧‧‧recording module

104‧‧‧匹配模組104‧‧‧ Matching module

106‧‧‧標記模組106‧‧‧Marking module

108‧‧‧播放模組108‧‧‧Playing module

110‧‧‧定位模組110‧‧‧ Positioning Module

圖1為本發明機上盒一實施方式的應用環境與功能模組圖。1 is a diagram showing an application environment and a function module of an embodiment of a set-top box of the present invention.

圖2為圖1中機上盒所錄製的電視節目的結構示意圖。2 is a schematic structural view of a television program recorded on the set-top box of FIG. 1.

圖3為圖1中機上盒生成特徵識別字的示意圖。FIG. 3 is a schematic diagram of generating a feature recognition word on the set-top box of FIG. 1. FIG.

圖4為本發明機上盒錄製電視節目的方法一實施方式的流程圖。4 is a flow chart of an embodiment of a method for recording a television program on a set-top box of the present invention.

圖5為圖4中步驟S400記錄片頭中訊框的特徵識別字的一實施方式的細化流程圖。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.

圖6為本發明機上盒播放所錄製的電視節目的一實施方式的流程圖。6 is a flow chart of an embodiment of a recorded television program played by the set-top box of the present invention.

10‧‧‧機上盒 10‧‧‧Machine box

20‧‧‧頭端 20‧‧‧ head end

12‧‧‧處理器 12‧‧‧ Processor

14‧‧‧記憶體 14‧‧‧ memory

100‧‧‧錄製模組 100‧‧‧recording module

102‧‧‧記錄模組 102‧‧‧recording module

104‧‧‧匹配模組 104‧‧‧ Matching module

106‧‧‧標記模組 106‧‧‧Marking module

108‧‧‧播放模組 108‧‧‧Playing module

110‧‧‧定位模組 110‧‧‧ Positioning Module

Claims (10)

一種機上盒,用於錄製電視節目,包括:
錄製模組,用於從頭端接收需錄製的電視節目以錄製到記憶體,其中該電視節目包括複數連續的片頭、節目片段及廣告,每一片頭包括複數畫面組,每一畫面組包括一I訊框、複數B訊框與P訊框,每一訊框包括複數傳輸流;
記錄模組,用於依序記錄用戶定義的片頭中每一畫面組的每一訊框所對應的特徵識別字,其中該特徵識別字用每一訊框的類型及每一訊框包括的傳輸流的個數表示;
匹配模組,用於判斷後續接收的電視節目中的I訊框的傳輸流個數是否與所記錄的第一個特徵識別字匹配,並依序判斷在與第一個特徵識別字匹配的I訊框之後的訊框的類型與傳輸流個數是否與所記錄的特徵識別字一一匹配;及
標記模組,用於在該I訊框之後的訊框與所記錄的特徵識別字皆能一一匹配時,在所錄製的電視節目中將該與第一個特徵識別字匹配的I訊框打上標籤。
A set-top box for recording television programs, including:
a recording module, configured to receive a television program to be recorded from a head end to be recorded to a memory, wherein the television program includes a plurality of consecutive titles, a program segment, and an advertisement, each of the slices includes a plurality of picture groups, and each picture group includes an I a frame, a plurality of B frames and a P frame, each frame including a plurality of transport streams;
a recording module, configured to sequentially record a feature identifier corresponding to each frame of each of the user-defined slice headers, wherein the feature recognition word uses the type of each frame and the transmission included in each frame The number of streams is represented;
The matching module is configured to determine whether the number of transmission streams of the I frame in the subsequently received television program matches the recorded first feature identification word, and sequentially determine the I that matches the first feature identification word. Whether the type of the frame after the frame matches the number of the transport stream and the recorded feature identifier; and the marking module is used for both the frame after the I frame and the recorded feature recognition word. When matching one by one, the I frame matching the first feature identification word is tagged in the recorded television program.
如申請專利範圍第1項所述之機上盒,其中該記錄模組在接收到片頭開始的信號時,從隨後接收的電視節目中的第一個I訊框開始依序記錄每一訊框的類型及每一訊框包括的傳輸流的個數,直至接收到片頭結束的信號,並將每一訊框的類型及其包括的傳輸流的個數合成每一訊框的特徵識別字。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 number of transport streams it includes are combined into the feature identifier of each frame. 如申請專利範圍第2項所述之機上盒,其中該記錄模組將每一訊框的類型與傳輸流的個數表示為八位十六進位數,並用或運算進行組合以形成每一訊框的特徵識別字。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 identifier of the frame. 如申請專利範圍第2項所述之機上盒,其中該片頭開始的信號與片頭結束的信號由用戶藉由該機上盒的遙控器發出。The set-top box of claim 2, wherein the signal of the start of the slice and the end of the slice are sent by the user via the remote control of the set-top box. 如申請專利範圍第1項所述之機上盒,其中該標記模組還用於記錄每一標籤所對應的訊框序列號。The set-top box of claim 1, wherein the marking module is further configured to record a frame serial number corresponding to each label. 如申請專利範圍第5項所述之機上盒,還包括:
播放模組,用於顯示所錄製的節目段落並播放用戶選擇的節目段落,每一節目段落包括一標籤對應的片頭、節目片段及廣告;及
定位模組,用於在電視節目的播放過程中接收用戶發出的過濾廣告信號,並將播放的電視節目定位到下一節目段落對應標籤的訊框序列號,以跳過廣告播放下一節目段落。
The set-top box as described in claim 5 of the patent scope further includes:
a playing module, configured to display the recorded program segments and play the program segments selected by the user, each program segment includes a title corresponding to the title, a program segment and an advertisement; and a positioning module for playing during the television program Receiving the filtered advertising signal sent by the user, and positioning the played television program to the frame serial number of the corresponding label of the next program paragraph to skip the advertisement to play the next program paragraph.
一種機上盒錄製電視節目的方法,包括:
從頭端接收需錄製的電視節目以錄製到記憶體,該電視節目包括連續迴圈的片頭、節目片段及廣告,每一片頭包括複數畫面組,每一畫面組包括一個I訊框、複數B訊框與P訊框,每一訊框包括複數傳輸流;
依序記錄用戶定義的片頭中每一畫面組的每一訊框所對應的特徵識別字,其中特徵識別字用每一訊框的類型及每一訊框包括的傳輸流的個數表示;
判斷後續接收的電視節目中的I訊框的傳輸流個數是否與所記錄的第一個特徵識別字匹配;
若該I訊框與所記錄的第一個特徵識別字匹配,則依序判斷在該I訊框之後的訊框的類型與傳輸流個數是否與所記錄的特徵識別字一一匹配;及
若在該I訊框之後的訊框與所記錄的特徵識別字皆能一一匹配,則在所錄製的電視節目中將該I訊框打上標籤。
A method for recording a television program on a set-top box, comprising:
Receiving a television program to be recorded from the head end to be recorded to the memory, the television program includes a continuous loop of the title, a program segment and an advertisement, each of the headers including a plurality of picture groups, each picture group including an I frame, a plurality of B messages a frame and a P frame, each frame including a plurality of transport streams;
The feature identification words corresponding to each frame of each picture group in the user-defined slice header are sequentially recorded, 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 matches the recorded first feature identification word;
If the I frame matches the recorded first feature identifier, it is sequentially determined whether the type of the frame after the I frame and the number of transport streams match the recorded feature identifier one by one; and If the frame after the I frame and the recorded feature recognition word can be matched one by one, the I frame is tagged in the recorded television program.
如申請專利範圍第7項所述之機上盒錄製電視節目的方法,其中該記錄用戶定義的片頭中每一畫面組的每一訊框所對應的特徵識別字的步驟包括:
在錄製的過程中接收片頭開始的信號;
從隨後接收的電視節目中的第一個I訊框開始依序記錄每一訊框的類型及每一訊框包括的傳輸流的個數,直至接收到片頭結束的信號;及
將每一訊框的類型及其包括的傳輸流的個數合成每一訊框的特徵識別字。
The method for recording a television program in a set-top box according to claim 7, wherein the step of recording the feature identification word corresponding to each frame of each of the user-defined slice headers comprises:
Receiving a signal at the beginning of the slice during recording;
Starting from the first I frame in the subsequently received television program, the type of each frame and the number of transmission streams included in each frame are sequentially recorded until the end of the slice is received; and each message is received. The type of the frame and the number of transport streams it includes are combined to form the feature identification word for each frame.
如申請專利範圍第8項所述之機上盒錄製電視節目的方法,其中該每一訊框的類型與傳輸流的個數皆使用八位元十六進位數來記錄,並用或運算進行組合以形成每一訊框的特徵識別字。The method for recording a television program in a set-top box according to claim 8 , wherein the type of each frame and the number of the transport stream are recorded by using an octet hexadecimal digit, and combined by an OR operation. To form a feature recognition word for each frame. 如申請專利範圍第7項所述之機上盒錄製電視節目的方法,還包括:
記錄每一標籤所對應的訊框序列號;
顯示所錄製的節目段落,每一節目段落包括一標籤對應的片頭、節目片段及廣告;
播放用戶選擇的節目段落;
在電視節目的播放過程中接收用戶發出的過濾廣告信號;及
將播放的電視節目定位到下一節目段落對應標籤的訊框序列號,以跳過廣告播放下一節目段落。
The method for recording a television program in a set-top box as described in claim 7 of the patent application, further comprising:
Record the serial number of the frame corresponding to each label;
Displaying the recorded program segments, each program segment including a title corresponding to the title, program segment and advertisement;
Playing a program segment selected by the user;
Receiving a filtered advertising signal sent by the user during the playing of the television program; and positioning the played 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.
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 TW201233174A (en) 2012-08-01
TWI413412B true 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)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020118608A1 (en) * 2001-02-21 2002-08-29 Katsumi Oishi Transmission device and method, reception device and method, recording medium and program
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
TWI255142B (en) * 2004-02-25 2006-05-11 Bing-Chiang Jeng Method and system for detection of advertisements located within TV programs

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020118608A1 (en) * 2001-02-21 2002-08-29 Katsumi Oishi Transmission device and method, reception 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
TW201233174A (en) 2012-08-01

Similar Documents

Publication Publication Date Title
KR101777908B1 (en) Method of processing a sequence of coded video frames
US11830527B2 (en) Systems and methods for media production and editing
CN102415095B (en) Record and present the digital video recorder of the program formed by the section of splicing
US20150100979A1 (en) System and method for creating contextual messages for videos
US20080124052A1 (en) Systems and methods to modify playout or playback
JP2004040349A (en) Recording and reproducing system
US20040268384A1 (en) Method and apparatus for processing a video signal, method for playback of a recorded video signal and method of providing an advertising service
CN102611932B (en) Set top box and method for recording television program by set-top box
US20110123173A1 (en) Trick play advertising systems and methods
US10771861B2 (en) Digital channel integration system
CN102630023A (en) Digital content receiving apparatus, digital content receiving method and digital content receiving/transmitting method
CN102355605A (en) Live time-shift processing method of IPTV (Internet Protocol Television) set-top box
US20240107087A1 (en) Server, terminal and non-transitory computer-readable medium
TWI413412B (en) Set-top box and program recording method
JP2009141435A (en) Content reproduction device and content distribution system
JP5874870B1 (en) Reception device, transmission device, and data processing method
EP2723067B1 (en) Information-providing system, reception device, and information management server
JP5682167B2 (en) Video / audio recording / reproducing apparatus and video / audio recording / reproducing method
JP2003091936A (en) Stream data storage device, program and method
JP5355742B2 (en) Playback apparatus and playback method
JP2011254239A (en) Recording device, reproducing device, record reproducing system, recording medium, and program
JP2003235003A (en) Digital broadcast system
JP6140416B2 (en) Information processing apparatus, information processing method, and program
JP2003348537A (en) Digital broadcast stream processing apparatus
WO2013038218A1 (en) Method and apparatus for changing the recording of digital content