TWI384881B - Frame header recognition method and system - Google Patents

Frame header recognition method and system Download PDF

Info

Publication number
TWI384881B
TWI384881B TW97124684A TW97124684A TWI384881B TW I384881 B TWI384881 B TW I384881B TW 97124684 A TW97124684 A TW 97124684A TW 97124684 A TW97124684 A TW 97124684A TW I384881 B TWI384881 B TW I384881B
Authority
TW
Taiwan
Prior art keywords
header
frame
transmission mode
sequence
frame header
Prior art date
Application number
TW97124684A
Other languages
Chinese (zh)
Other versions
TW201004351A (en
Inventor
Sheng Lung Lee
Original Assignee
Himax Tech 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 Himax Tech Ltd filed Critical Himax Tech Ltd
Priority to TW97124684A priority Critical patent/TWI384881B/en
Publication of TW201004351A publication Critical patent/TW201004351A/en
Application granted granted Critical
Publication of TWI384881B publication Critical patent/TWI384881B/en

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Time-Division Multiplex Systems (AREA)

Description

訊框標頭辨識方法以及系統Frame header identification method and system

本發明係有關於一種訊框標頭(frame header)辨識方法以及系統,特別是有關於一種能辨別數字電視地面廣播(DTMB)傳輸系統所用之訊框標頭之傳輸模式之方法以及系統。The present invention relates to a frame header identification method and system, and more particularly to a method and system for distinguishing a transmission mode of a frame header used in a digital television terrestrial broadcast (DTMB) transmission system.

隨著多媒體的進展快速,使用者對多媒體服務也愈來愈要求。因此,中國人民共和國制定了數字電視地面廣播(Digital Terrestrial Multimedia Broadcast,以下簡稱DTMB)傳輸系統標準當作中國使用的數位電視訊號的傳輸標準。由於中國人民共和國所制定的DTMB傳輸系統標準中,為了提供單載波以及多載波的不同傳輸應用,制訂了三種不同長度的訊框標頭(frame header),分別使用了長度為420、595以及945符元(symbol)的偽雜訊序列(pseudo noise sequence,以下簡稱PN序列)。在使用長度420以及長度945符元的訊框標頭模式中,不同的子訊框可選擇使用相同或是不同的PN序列,因此傳送端所傳送的數位電視訊號便有多種PN序列可能傳輸模式的選擇。接收端必須能夠正確地辨識出傳送端所傳送的訊框標頭的傳輸模式,才能得到正確的資料區間加以解碼,產生所需的數位電視服務。With the rapid advancement of multimedia, users are increasingly demanding multimedia services. Therefore, the People's Republic of China has developed the Digital Terrestrial Multimedia Broadcast (DTMB) transmission system standard as the transmission standard for digital television signals used in China. Due to the DTMB transmission system standard formulated by the People's Republic of China, in order to provide single-carrier and multi-carrier transmission applications, three different length frame headers have been developed, using lengths of 420, 595, and 945, respectively. A pseudo noise sequence (hereinafter referred to as a PN sequence). In the frame header mode using the length 420 and the length 945 symbol, different subframes can choose to use the same or different PN sequences, so the digital television signal transmitted by the transmitting end has multiple PN sequence possible transmission modes. s Choice. The receiving end must be able to correctly recognize the transmission mode of the frame header transmitted by the transmitting end, in order to obtain the correct data interval to decode and generate the required digital television service.

一般而言,為了在接收端得到傳輸的PN序列所使用的傳輸模式,在接收端會先產生對應的本地PN序列,再 利用窗戶滑動技術(sliding window)與接收的訊號進行相關運算(correlation)的累加,藉由找到對應的最大累加值,得到傳輸的PN序列的傳輸模式。然而,此傳統方式受到頻率漂移的因素影響甚大,當有頻率漂移產生時,不僅使得判斷傳輸的PN序列的傳輸模式所需的計算時間以及複雜度大幅增加,也使整個系統的延遲時間變得相當長。In general, in order to obtain the transmission mode used by the transmitted PN sequence at the receiving end, the corresponding local PN sequence is generated first at the receiving end, and then The window sliding window is used to perform the correlation of the correlation with the received signal, and the transmission mode of the transmitted PN sequence is obtained by finding the corresponding maximum accumulated value. However, this conventional method is greatly affected by the factor of frequency drift. When frequency drift occurs, not only the calculation time and complexity required for judging the transmission mode of the transmitted PN sequence are greatly increased, but also the delay time of the entire system becomes Quite long.

有鑑於此,本發明提供一種不受到頻率漂移影響且能快速得到PN序列的傳輸模式的方法,以減少整個系統的延遲時間。In view of this, the present invention provides a method that can be quickly affected by frequency drift and can quickly obtain a transmission mode of a PN sequence to reduce the delay time of the entire system.

本發明提供一種訊框標頭辨識方法,適用於一數字電視地面多媒體廣播(DTMB)系統。訊框標頭辨識方法包括下列步驟。首先,接收一封包,其中封包包括複數訊框,每一訊框具有一標頭以及一資料區間,標頭對應於複數傳輸模式之一者,其中傳輸模式係分別對應於一特定序列。接著,將訊框之一者之標頭與一對應之特定訊框之標頭進行相關運算,產生對應於傳輸模式之複數運算結果。之後,依據等運算結果,辨識出標頭之傳輸模式。The invention provides a frame header identification method suitable for a digital television terrestrial multimedia broadcasting (DTMB) system. The frame header identification method includes the following steps. First, a packet is received, wherein the packet includes a plurality of frames, each frame has a header and a data interval, and the header corresponds to one of the complex transmission modes, wherein the transmission modes respectively correspond to a specific sequence. Then, the header of one of the frames is correlated with the header of a corresponding specific frame to generate a complex operation result corresponding to the transmission mode. Then, based on the result of the equal operation, the transmission mode of the header is recognized.

本發明另提供一種訊框標頭辨識系統,適用於一數字電視地面多媒體廣播(DTMB)系統。訊框標頭辨識系統包括一儲存單元、一相關值計算單元、一運算結果產生單元以及一訊框標頭辨識單元。儲存單元用以接收並儲存來自一DTMB封包之輸入信號,其中封包包括複數訊框,每一訊 框具有一標頭以及一資料區間,標頭對應於複數傳輸模式之一者且傳輸模式係分別對應於一特定序列。相關值計算單元將訊框之一者之標頭與一對應之特定訊框之標頭進行一相關運算得到相關值。運算結果產生單元接收相關值計算單元產生之相關值,產生對應於傳輸模式之複數運算結果。訊框標頭辨識單元依據運算結果以及一既定規則,辨識出標頭所用之傳輸模式。The invention further provides a frame header recognition system suitable for a digital television terrestrial multimedia broadcasting (DTMB) system. The frame header recognition system includes a storage unit, a correlation value calculation unit, an operation result generation unit, and a frame header identification unit. The storage unit is configured to receive and store an input signal from a DTMB packet, wherein the packet includes a plurality of frames, each message The box has a header and a data interval, the header corresponds to one of the complex transmission modes and the transmission mode corresponds to a specific sequence, respectively. The correlation value calculation unit performs a correlation operation on the header of one of the frames and the header of a corresponding specific frame to obtain a correlation value. The operation result generation unit receives the correlation value generated by the correlation value calculation unit, and generates a complex operation result corresponding to the transmission mode. The frame header identification unit recognizes the transmission mode used by the header according to the operation result and a predetermined rule.

本發明另提供一種訊框標頭辨識方法,適用於一數字電視地面多媒體廣播(DTMB)系統,其包括下列步驟。首先,接收一封包,其中封包包括複數訊框,每一訊框具有一標頭以及一資料區間,該等標頭對應於複數傳輸模式之一者,其中該等傳輸模式係分別對應於一特定序列。接著,將訊框之一者之標頭與一對應之特定訊框之該標頭進行相關運算,並產生對應於傳輸模式之一者之一運算結果。其中,若一傳輸模式之運算結果係超過一既定值,決定標頭之傳輸模式係為上述傳輸模式。The invention further provides a frame header identification method suitable for a digital television terrestrial multimedia broadcasting (DTMB) system, which comprises the following steps. First, a packet is received, wherein the packet includes a plurality of frames, each frame has a header and a data interval, and the headers correspond to one of a plurality of transmission modes, wherein the transmission modes respectively correspond to a specific sequence. Then, the header of one of the frames is correlated with the header of a corresponding specific frame, and one of the operations corresponding to one of the transmission modes is generated. Wherein, if the operation result of a transmission mode exceeds a predetermined value, the transmission mode of the determination header is the above transmission mode.

為使本發明之上述和其他目的、特徵、和優點能更明顯易懂,下文特舉出較佳實施例,並配合所附圖式,作詳細說明如下。The above and other objects, features and advantages of the present invention will become more <RTIgt;

舉例來說,在DTMB傳輸系統標準中,提供傳送端多種的傳輸模式選擇,因此,本發明實施例中提供一種訊框標頭辨識方法及其系統,使用延遲相關(delay correlation)運算,對可變(rotated)或固定(fixed)的PN序列進行自我相 關運算,求出自我相關累加值。同時,利用可變PN序列在相差兩個訊框符元(frame symbol)時間之間,其PN序列間差異不是向左移就是向右移一點(即一個符元)的特性,固定延遲兩個訊框符元的時間減一個符元(symbol)的時間,或是加一個符元的時間進行可變PN序列的自我相關累加,藉此判斷出PN序列的傳輸模式。其中,舉例來說,PN序列的傳輸模式的選擇方式可由下列之任一方式可得:(a)若有相關累加值超過預設的設定值;(b)利用整段的相關累加值,找出最大值;或(c)利用整段的相關累加值,找出最大的標準差,即可得到PN序列的傳輸模式,但不限於此。For example, in the DTMB transmission system standard, a plurality of transmission mode selections are provided on the transmitting end. Therefore, in the embodiment of the present invention, a frame header identification method and a system thereof are provided, and a delay correlation operation is used. Rotated or fixed PN sequence for self-phase Turn off the operation and find the self-related accumulated value. At the same time, the variable PN sequence is used to distinguish between two frame symbol times, and the difference between the PN sequences is not shifted to the left or shifted to the right (ie, a symbol), and the fixed delay is two. The time of the symbol symbol is reduced by one symbol time, or the time of adding a symbol is used to perform self-correlation accumulation of the variable PN sequence, thereby judging the transmission mode of the PN sequence. For example, the selection mode of the transmission mode of the PN sequence can be obtained by any one of the following methods: (a) if the relevant accumulated value exceeds the preset set value; (b) using the relevant accumulated value of the entire segment, The maximum value is obtained; or (c) using the relevant accumulated value of the entire segment to find the maximum standard deviation, the transmission mode of the PN sequence can be obtained, but is not limited thereto.

第1圖顯示依據本發明實施例之DTMB封包之示意圖。如圖所示,封包100中包含多個訊框(frame)110,每個訊框都具有一個標頭(frame header)112以及一資料區間(frame body)114,且每個訊框110具有相同長度。其中,標頭112有三種可能的長度,分別為420、595以及945符元,而資料區間114則為固定長度,均為3780符元。標頭112中包含一特定PN序列。標頭中所包含的PN序列可為固定的序列或PN序列的可變(rotated)序列。於本實施例中,PN序列的可變序列表示具有與PN序列相同資料,但是排列不同(例如:向左移或向右移一點)的序列。因此,於本實施例中,標頭的PN序列有五種可能的傳輸模式,第一種傳輸模式採用長度為420符元的固定PN序列,第二種傳輸模式採用長度為420符元的固定PN序列之可變 序列,第三種傳輸模式採用長度為595符元的固定PN序列,第四種傳輸模式採用長度為945符元的固定PN序列,第五種傳輸模式採用長度為945符元的固定PN序列之可變序列。為了進一步說明,請參照以下說明。Figure 1 shows a schematic diagram of a DTMB packet in accordance with an embodiment of the present invention. As shown, the packet 100 includes a plurality of frames 110, each frame having a frame header 112 and a frame body 114, and each frame 110 has the same length. The header 112 has three possible lengths, namely 420, 595, and 945 symbols, and the data interval 114 is a fixed length, which is 3780 symbols. The header 112 contains a specific PN sequence. The PN sequence contained in the header can be a fixed sequence or a rotated sequence of a PN sequence. In the present embodiment, the variable sequence of the PN sequence represents a sequence having the same data as the PN sequence but differing in arrangement (for example, shifting to the left or shifting to the right). Therefore, in this embodiment, the PN sequence of the header has five possible transmission modes, the first transmission mode uses a fixed PN sequence of 420 symbols, and the second transmission mode uses a fixed length of 420 symbols. Variable PN sequence Sequence, the third transmission mode uses a fixed PN sequence of length 595 symbols, the fourth transmission mode uses a fixed PN sequence of length 945 symbols, and the fifth transmission mode uses a fixed PN sequence of length 945 symbols. Variable sequence. For further explanation, please refer to the following instructions.

假設PN420、PN595以及PN945分別表示長度為420、595以及945符元的PN序列。以下列舉第一傳輸模式的示範PN序列內容,以固定PN420為例,其長度為420符元。假設PN序列的前面20個符元如下:-1,1,-1,-1,1,1,1,1,-1,1,-1,1,1,-1,1,-1,-1,-1,-1,1則第二傳輸模式的示範PN序列(即PN420之可變序列)可以利用以下幾個訊框的前20個符元加以說明,其中訊框索引0-5分別表示封包中所收到的前6個封包。It is assumed that PN 420, PN 595, and PN 945 represent PN sequences of lengths of 420, 595, and 945 symbols, respectively. The following is an example of the exemplary PN sequence content of the first transmission mode. Taking the fixed PN420 as an example, the length is 420 symbols. Suppose the first 20 symbols of the PN sequence are as follows: -1,1,-1,-1,1,1,1,1,-1,1,-1,1,1,-1,1,-1, -1, -1, -1, 1 The exemplary PN sequence of the second transmission mode (ie, the variable sequence of PN420) can be illustrated by the first 20 symbols of the following frames, where the frame index is 0-5. Represents the first 6 packets received in the packet.

-1,1,-1,-1,1,1,1,1,-1,1,-1,1,1,-1,1,-1,-1,-1,-1,1此為訊框索引0的前二十個信號-1,1,-1,-1,1,1,1,1,-1,1,-1,1,1,-1,1,-1,-1,-1,-1,1 The first twenty signals of frame 0

1,-1,-1,1,1,1,1,-1,1,-1,1,1,-1,1,-1,-1,-1,-1,1,-1此為訊框索引1的前二十個信號1,-1,-1,1,1,1,1,-1,1,-1,1,1,-1,1,-1,-1,-1,-1,1,-1 The first twenty signals of frame 1

-1,-1,1,-1,-1,1,1,1,1,-1,1,-1,1,1,-1,1,-1,-1,-1,-1……此為訊框索引2的前二十個信號-1,-1,1,-1,-1,1,1,1,1,-1,1,-1,1,1,-1,1,-1,-1,-1,-1 ... this is the first 20 signals of frame index 2

-1,-1,1,1,1,1,-1,1,-1,1,1,-1,1,-1,-1,-1,-1,1,-1,1……此為訊框索引3的前二十個信號-1,-1,1,1,1,1,-1,1,-1,1,1,-1,1,-1,-1,-1,-1,1,-1,1... ...this is the first twenty signals of frame index 3

-1,-1,-1,1,-1,-1,1,1,1,1,-1,1,-1,1,1,-1,1,-1,-1,-1此為訊框索引4的前二十個信號-1,-1,-1,1,-1,-1,1,1,1,1,-1,1,-1,1,1,-1,1,-1,-1,-1 This is the first twenty signals of frame index 4.

-1,1,1,1,1,-1,1,-1,1,1,-1,1,-1,-1,-1,-1,1,-1,1,1 …此為訊框索引5的前二十個信號-1,1,1,1,1,-1,1,-1,1,1,-1,1,-1,-1,-1,-1,1,-1,1,1 ...this is the first twenty signals of frame index 5

由上述之PN序列PN420可知,顯然訊框索引2的PN序列為訊框索引0的PN序列向右位移一位產生,且訊框索引4的PN序列為訊框索引2的PN序列向右位移一位產生,而訊框索引3的PN序列為訊框索引1的PN序列向左位移一位產生,且訊框索引5的PN序列為訊框索引3的PN序列向左位移一位產生。It can be seen from the PN sequence PN 420 that the PN sequence of the frame index 2 is shifted to the right by one bit, and the PN sequence of the frame index 4 is shifted to the right by the PN sequence of the frame index 2. One bit is generated, and the PN sequence of the frame index 3 is shifted to the left by one bit to the left, and the PN sequence of the frame index 5 is generated by shifting the PN sequence of the frame index 3 one bit to the left.

類似地,第三傳輸模式的示範PN序列(即固定PN595),其長度為595符元。假設PN序列的前面20個符元如下:-1,1,1,1,1,1,1,1,1,1,-1,1,1,-1,1,1,-1,1,1,-1,.......Similarly, the exemplary PN sequence of the third transmission mode (i.e., fixed PN 595) has a length of 595 symbols. Assume that the first 20 symbols of the PN sequence are as follows: -1,1,1,1,1,1,1,1,1,1,-1,1,1,-1,1,1,-1,1 , 1, -1, ....

由於PN序列PN595係用於單載波傳輸,因此於此模式下,傳送的PN序列係為固定的序列,亦即訊框索引0-5的PN序列為相同的。Since the PN sequence PN595 is used for single carrier transmission, in this mode, the transmitted PN sequence is a fixed sequence, that is, the PN sequences of the frame indices 0-5 are the same.

接下來,列舉第四傳輸模式的示範PN序列內容,假設PN945表示長度為945的PN序列,以固定PN945為例,其長度為945符元。假設PN序列的前面20個符元如下:-1,-1,-1,-1,-1,1,-1,-1,-1,1,1,-1,1,-1,1,1,1,-1,-1,1 則使用PN945之可變序列的傳輸模式(即第五傳輸模式)當作其標頭所得到的訊框如下:-1,-1,-1,-1,-1,1,-1,-1,-1,1,1,-1,1,-1,1,1,1,-1,-1,1……此為訊框索引0的前二十個信號Next, the exemplary PN sequence content of the fourth transmission mode is enumerated, assuming that PN 945 represents a PN sequence of length 945, taking fixed PN945 as an example, and its length is 945 symbols. Assume that the first 20 symbols of the PN sequence are as follows: -1, -1, -1, -1, -1, 1, -1, -1, -1, 1, 1, -1, 1, -1, 1 ,1,1,-1,-1,1 Then, the frame obtained by using the transmission mode of the variable sequence of PN945 (ie, the fifth transmission mode) as its header is as follows: -1, -1, -1, -1, -1, 1, -1, - 1,-1,1,1,-1,1,-1,1,1,1,-1,-1,1... This is the first twenty signals of frame index 0

-1,-1,-1,-1,1,-1,-1,-1,1,1,-1,1,-1,1,1,1,-1,-1,1,-1 ……此為訊框索引1的前二十個信號-1,-1,-1,-1,1,-1,-1,-1,1,1,-1,1,-1,1,1,1,-1,-1,1,- 1 ... this is the first 20 signals of frame index 1

1,-1,-1,-1,-1,-1,1,-1,-1,-1,1,1,-1,1,-1,1,1,1,-1,-1…此為訊框索引2的前二十個信號1,-1,-1,-1,-1,-1,1,-1,-1,-1,1,1,-1,1,-1,1,1,1,-1,- 1... This is the first twenty signals of frame index 2

-1,-1,-1,1,-1,-1,-1,1,1,-1,1,-1,1,1,1,-1,-1,1,-1,-1此為訊框索引3的前二十個信號-1,-1,-1,1,-1,-1,-1,1,1,-1,1,-1,1,1,1,-1,-1,1,-1,- 1 This is the first 20 signals of frame index 3

1,1,-1,-1,-1,-1,-1,1,-1,-1,-1,1,1,-1,1,-1,1,1,1,-1此為訊框索引4的前二十個信號1,1,-1,-1,-1,-1,-1,1,-1,-1,-1,1,1,-1,1,-1,1,1,1,-1 This is the first twenty signals of frame index 4.

-1,-1,1,-1,-1,-1,1,1,-1,1,-1,1,1,1,-1,-1,1,-1,-1,1此為訊框索引5的前二十個信號-1,-1,1,-1,-1,-1,1,1,-1,1,-1,1,1,1,-1,-1,1,-1,-1,1 This is the first 20 signals of the frame index 5.

類似地,由上述之PN序列PN945可知,顯然訊框索引2的PN序列為訊框索引0的PN序列向右位移一位產生,且訊框索引4的PN序列為訊框索引2的PN序列向右位移一位產生;而訊框索引3的PN序列為訊框索引1的PN序列向左位移一位產生,且訊框索引5的PN序列為訊框索引3的PN序列向左位移一位產生。Similarly, it can be known from the above PN sequence PN945 that the PN sequence of the frame index 2 is shifted to the right by one bit of the PN sequence of the frame index 0, and the PN sequence of the frame index 4 is the PN sequence of the frame index 2. One bit is generated to the right; the PN sequence of the frame index 3 is shifted to the left by one bit to the left, and the PN sequence of the frame index 5 is shifted to the left by the PN sequence of the frame index 3. Bit generation.

第2圖顯示依據本發明實施例之各種傳輸模式之PN序列之示意圖。如第2圖所示,於第一傳輸模式中,因使用固定的PN420序列,因此訊框索引0-5的標頭所使用的PN序列PN0至PN5都是相同的固定PN420序列。於第二傳輸模式中,因使用PN420序列的可變序列,因此訊框索引2的PN序列PN2為訊框索引0的PN序列PN0向右位移一位,且訊框索引4的PN序列PN4為訊框索引2的PN序列PN2向右位移一位,而訊框索引3的PN序列PN3為訊框索引1的PN序列PN1向左位移一位,且訊框索引5 的PN序列PN5為訊框索引3的PN序列PN3向左位移一位。於第三傳輸模式中,因使用固定的PN595序列,因此訊框索引0-5的標頭所使用的PN序列PN0至PN5都是相同的固定PN595序列。於第四傳輸模式中,因使用固定的PN945序列,因此訊框索引0-5的標頭所使用的PN序列PN0至PN5都是相同的固定PN945序列。於第五傳輸模式中,因使用PN945序列的可變序列,因此訊框索引2的PN序列PN2為訊框索引0的PN序列PN0向右位移一位,且訊框索引4的PN序列PN4為訊框索引2的PN序列PN2向右位移一位,而訊框索引3的PN序列PN3為訊框索引1的PN序列PN1向左位移一位,且訊框索引5的PN序列PN5為訊框索引3的PN序列PN3向左位移一位。由上述可知,可變PN序列在相差兩個訊框符元時間之間(例如:訊框索引3與訊框索引1或訊框索引4與訊框索引2),其PN序列間差異不是向左移就是向右移一點,其中一個訊框符元時間表示一個標頭加上一個資料部分的總時間。舉例來說,若使用PN420序列,則一個訊框符元時間等於420+3780=4200符元時間;若使用PN595序列,則一個訊框符元時間等於595+3780=4375符元時間;以及,若使用PN945序列,則一個訊框符元時間等於945+3780=4725符元時間,以此類推。Figure 2 is a diagram showing the PN sequence of various transmission modes in accordance with an embodiment of the present invention. As shown in FIG. 2, in the first transmission mode, since the fixed PN 420 sequence is used, the PN sequences PN0 to PN5 used by the headers of the frame index 0-5 are all the same fixed PN 420 sequence. In the second transmission mode, since the variable sequence of the PN420 sequence is used, the PN sequence PN2 of the frame index 2 is shifted to the right by one bit of the PN sequence PN0 of the frame index 0, and the PN sequence PN4 of the frame index 4 is The PN sequence PN2 of the frame index 2 is shifted to the right by one bit, and the PN sequence PN3 of the frame index 3 is shifted to the left by one bit of the PN sequence PN1 of the frame index 1, and the frame index 5 is The PN sequence PN5 is shifted to the left by one bit from the PN sequence PN3 of the frame index 3. In the third transmission mode, the PN sequences PN0 to PN5 used by the header of the frame index 0-5 are the same fixed PN595 sequence due to the use of the fixed PN595 sequence. In the fourth transmission mode, the PN sequences PN0 to PN5 used by the headers of the frame index 0-5 are the same fixed PN945 sequence due to the use of the fixed PN945 sequence. In the fifth transmission mode, since the variable sequence of the PN945 sequence is used, the PN sequence PN2 of the frame index 2 is shifted to the right by one bit of the PN sequence PN0 of the frame index 0, and the PN sequence PN4 of the frame index 4 is The PN sequence PN2 of the frame index 2 is shifted to the right by one bit, and the PN sequence PN3 of the frame index 3 is shifted to the left by one bit of the PN sequence PN1 of the frame index 1, and the PN sequence PN5 of the frame index 5 is the frame. The PN sequence PN3 of index 3 is shifted one bit to the left. It can be seen from the above that the variable PN sequence is different between the two frame symbol times (for example, frame index 3 and frame index 1 or frame index 4 and frame index 2), and the difference between the PN sequences is not The left shift is a bit to the right, where a frame symbol time represents the total time of a header plus a data portion. For example, if a PN420 sequence is used, one frame symbol time is equal to 420+3780=4200 symbol time; if a PN595 sequence is used, one frame symbol time is equal to 595+3780=4375 symbol time; If the PN945 sequence is used, then one frame symbol time is equal to 945 + 3780 = 4725 symbol time, and so on.

請參照第3圖,顯示一依據本發明實施例之訊框標頭辨識方法之流程圖300,適用於一DTMB系統。首先,如步驟S310,接收一封包(例如第1圖所示的封包100),其中封包包括多個相同格式的訊框,每一訊框具有一標頭以 及一資料區間,且標頭中有多個取樣點,例如PN420中有420個取樣點。請注意,每一標頭係對應於一種傳輸模式,且傳輸模式對應於一特定序列。此特定序列係為一PN序列或此PN序列之可變序列。接著,如步驟S320,將接收到的封包中的其中一訊框的標頭與一對應的特定訊框的標頭進行相關運算,並產生對應於傳輸模式的運算結果。於此步驟中,可藉由將封包的一訊框的標頭的每一取樣點與對應的特定訊框的標頭的一對應取樣點進行相關運算,得到複數相關值,接著,再把這些相關值進行累加,進而得到一運算結果。其中,對應的特定訊框係位於目前接收訊框之前,換言之,其為已經接收到的或延遲一既定長度的訊框。舉例來說,於本實施例中,對應的特定訊框係與目前接收的訊框相隔兩訊框長度(例如訊框3對應於訊框1,而訊框2對應於訊框0),其中訊框長度為包括訊框標頭以及資料部分的長度。Referring to FIG. 3, a flowchart 300 of a frame header identification method according to an embodiment of the present invention is shown, which is applicable to a DTMB system. First, in step S310, a packet is received (for example, the packet 100 shown in FIG. 1), wherein the packet includes a plurality of frames of the same format, and each frame has a header. And a data interval, and there are multiple sampling points in the header, for example, 420 sampling points in the PN420. Note that each header corresponds to a transmission mode and the transmission mode corresponds to a specific sequence. This particular sequence is a PN sequence or a variable sequence of this PN sequence. Then, in step S320, the header of one of the received packets is correlated with the header of a corresponding specific frame, and an operation result corresponding to the transmission mode is generated. In this step, the correlation value can be obtained by correlating each sampling point of the header of the frame of the packet with a corresponding sampling point of the header of the corresponding specific frame, and then obtaining these The correlation values are accumulated to obtain an operation result. The corresponding specific frame is located before the current receiving frame, in other words, it is a frame that has been received or delayed by a predetermined length. For example, in this embodiment, the corresponding specific frame is separated from the currently received frame by two frame lengths (for example, frame 3 corresponds to frame 1 and frame 2 corresponds to frame 0), wherein The frame length is the length of the frame header and the data portion.

對於每個傳輸模式所對應的相關值可表示為下列數學方程式。以下方程式中,假設可變PN序列係為向右移一點。The correlation value corresponding to each transmission mode can be expressed as the following mathematical equation. In the following equation, it is assumed that the variable PN sequence is shifted a little to the right.

其中,r()表示接收到的輸入資料,d、k分別表示時間索引,r(d)表示接收器的輸入信號,r(d-k)表示儲存器的輸出信號,而Λ(d )表示自我相關累加的輸出值。第一式至第五式則分別表示第一種至第五種傳輸模式所對應的相關值的計算結果。舉例來說,Λ pn420-fixed 表示使用固定PN420序列當作標頭的第一種傳輸模式所對應的計算結果,Λ pn420-rotated 表示使用可變PN420序列當作標頭的第二種傳輸模式所對應的計算結果,以此類推。Where r() denotes the received input data, d and k denote the time index, r(d) denotes the input signal of the receiver, r(dk) denotes the output signal of the memory, and Λ( d ) denotes self-correlation The accumulated output value. The first to fifth equations respectively represent the calculation results of the correlation values corresponding to the first to fifth transmission modes. For example, Λ pn420-fixed represents the calculation result corresponding to the first transmission mode using the fixed PN 420 sequence as the header, Λ pn420-rotated represents the second transmission mode using the variable PN 420 sequence as the header. Corresponding calculation results, and so on.

由上列第一式至第五式可知,若傳送端的PN序列的傳輸模式為第一種傳輸模式時,則第一式的計算結果Λ pn420-fixed 將趨近於1,而第二式的計算結果Λ pn420-rotated 將趨近於0,其他式的計算結果會小於Λ pn420-fixed ,因此可以分辨出傳送端的PN序列的傳輸模式係為第一種傳輸模式。類似地,若傳送端的PN序列的傳輸模式為第二種傳輸模式時,則第一式的計算結果Λ pn420-fixed 將趨近於0,而第二式的計算結果Λ pn420-rotated 將趨近於1,其他式的計算結果會小於Λ pn420-rotated ,因此可以依據計算結果分辨出傳送端的PN序列的傳輸模式係為第二種傳輸模式。It can be seen from the first to fifth formulas above that if the transmission mode of the PN sequence at the transmitting end is the first transmission mode, the calculation result of the first equation Λ pn420-fixed will approach 1 and the second equation The calculation result Λ pn420-rotated will approach 0, and the calculation result of other equations will be smaller than Λ pn420-fixed , so it can be distinguished that the transmission mode of the PN sequence at the transmitting end is the first transmission mode. Similarly, if the transmission mode of the PN sequence of the transmitting end is the second transmission mode, the calculation result of the first formula Λ pn420-fixed will approach 0, and the calculation result of the second formula Λ pn420-rotated will approach In 1, the calculation result of the other formula is smaller than Λ pn420-rotated , so the transmission mode of the PN sequence at the transmitting end can be distinguished according to the calculation result as the second transmission mode.

此外,也可假設可變PN序列係為向左移一點,則第一式至第五式變成如下形式: In addition, it can also be assumed that the variable PN sequence is shifted to the left a little, and the first to fifth forms become the following forms:

其中,r()表示接收到的輸入資料,d、k分別表示時間索引,r(d)表示接收器的輸入信號,r(d-k)表示儲存器的輸出信號,而Λ(d )表示自我相關累加的輸出值。Where r() denotes the received input data, d and k denote the time index, r(d) denotes the input signal of the receiver, r(dk) denotes the output signal of the memory, and Λ( d ) denotes self-correlation The accumulated output value.

另外,為方便計算並縮短計算所需的時間,也可將第一式至第五式改寫成如下形式: In addition, in order to facilitate calculation and shorten the time required for calculation, the first to fifth formulas can also be rewritten as follows:

0 N <4200 N <420

其中,r()表示接收到的輸入資料,d、k分別表示時間索引,r(d)表示接收器的輸入信號,r(d-k)表示儲存器的輸出信號,而Λ(d )表示自我相關累加的輸出值。Where r() denotes the received input data, d and k denote the time index, r(d) denotes the input signal of the receiver, r(dk) denotes the output signal of the memory, and Λ( d ) denotes self-correlation The accumulated output value.

接著,當得到計算結果後,如步驟S330,再依據運算結果,辨識出訊框標頭所使用的傳輸模式。訊框標頭中PN序列的傳輸模式的決定可以有多種的選擇方式。於一實施例中,可依照一既定順序例如從第一傳輸模式至第五傳輸模式,依序對接收訊號計算五種延遲相關的值,直到某個值超過設定既定值,即可得到PN序列的傳輸模式。舉例來說,請參照第4圖,顯示一依據本發明實施例之傳輸模式決定方法之流程圖400。假設先對選擇第一種傳輸模式(步驟S410),並對第一種傳輸模式進行自我相關值的累加計算(如第一式)(步驟S420),若得到的計算結果超過既定值,表示第一種傳輸模式即是目前標頭所使用的傳輸模式(步驟S450)。反之,若得到的計算結果未超過既定值(步驟S420的否),表示第一種傳輸模式不是目前標頭所使用的傳輸模式,因此,便接著選擇其他種傳輸模式(即第二種至第五種中的其中一種)(步驟S440),並對選取的傳輸模式(例如:第二種)進行自我相關值的累加計算(如第二式至第五式),直到其中一種的計算結果超過既定值,便為所求的目前標頭所使用的傳輸模式。此外,既定值可以依據 傳輸環境的參數或經驗法則適當地設定,使得正確的傳輸模式的計算結果可超過此既定值。舉例來說,於一實施例中,若運算結果係位於一第一數值V1以及一第二數值V2之間,則可將既定值設為約等於第一數值以及第二數值的總和的一半(V1+V2)/2。因此,若於計算某一傳輸模式時的計算結果超過此既定值時(即超過(V1+V2)/2),表示此傳輸模式即為目前標頭所使用的所使用的傳輸模式。於另一實施例中,若運算結果係不超過一最大值MAX,可依據當時的環境來決定將既定值設為約等於該最大值的一半MAX/2或MAX的3/4。因此,若於計算某一傳輸模式時的計算結果超過此既定值時(即超過MAX/2),表示此傳輸模式即為目前標頭所使用的傳輸模式。Then, after the calculation result is obtained, in step S330, according to the operation result, the transmission mode used by the frame header is identified. The decision of the transmission mode of the PN sequence in the frame header can be selected in a variety of ways. In an embodiment, five delay-related values may be sequentially calculated for the received signal according to a predetermined sequence, for example, from the first transmission mode to the fifth transmission mode, until a certain value exceeds a set value, and the PN sequence is obtained. Transmission mode. For example, referring to FIG. 4, a flowchart 400 of a transmission mode decision method in accordance with an embodiment of the present invention is shown. It is assumed that the first transmission mode is selected first (step S410), and the first transmission mode is subjected to an accumulation calculation of the self-correlation value (such as the first equation) (step S420), and if the obtained calculation result exceeds the predetermined value, the first One transmission mode is the transmission mode currently used by the header (step S450). On the other hand, if the obtained calculation result does not exceed the predetermined value (No in step S420), it indicates that the first transmission mode is not the transmission mode used by the current header, and therefore, other transmission modes are selected (ie, the second to the second One of five) (step S440), and performing an accumulated calculation of the self-correlation value (such as the second to fifth formulas) on the selected transmission mode (for example, the second type) until the calculation result of one of them exceeds The established value is the transmission mode used by the current header. In addition, the established value can be based on The parameters or rules of thumb for the transmission environment are set appropriately so that the calculation of the correct transmission mode can exceed this established value. For example, in an embodiment, if the operation result is between a first value V1 and a second value V2, the predetermined value may be set to be approximately equal to half of the sum of the first value and the second value ( V1+V2)/2. Therefore, if the calculation result when calculating a certain transmission mode exceeds the predetermined value (that is, exceeds (V1+V2)/2), it means that the transmission mode is the transmission mode used by the current header. In another embodiment, if the result of the operation does not exceed a maximum value MAX, it may be determined according to the current environment that the predetermined value is set to be approximately equal to half of the maximum value of MAX/2 or MAX of 3/4. Therefore, if the calculation result when calculating a certain transmission mode exceeds the established value (that is, exceeds MAX/2), it means that this transmission mode is the transmission mode used by the current header.

於另一實施例中,可依序對接收訊號計算五種延遲相關的值,如方程式第一式至第五式所示,比較五種延遲相關的值,找出最大值,其對應的PN序列即為所求的傳輸模式。舉例來說,請參照第5圖,顯示另一依據本發明實施例之傳輸模式決定方法之流程圖500。於此實施例中,五種傳輸模式將同時被計算,以產生對應五種傳輸模式的五個計算結果(步驟S510),再比較這些計算結果,找到最大值(步驟S520)。因此,具有最大值的計算結果所對應的傳輸模式即為所求的傳輸模式(步驟S530)。In another embodiment, five delay-related values can be calculated for the received signal in sequence, as shown in Equations 1 to 5, and the five delay-related values are compared to find the maximum value, and the corresponding PN. The sequence is the desired transmission mode. For example, referring to FIG. 5, another flowchart 500 of a transmission mode determining method according to an embodiment of the present invention is shown. In this embodiment, the five transmission modes will be simultaneously calculated to generate five calculation results corresponding to the five transmission modes (step S510), and the comparison results are compared to find the maximum value (step S520). Therefore, the transmission mode corresponding to the calculation result having the maximum value is the requested transmission mode (step S530).

於另一實施例中,可依序對接收訊號計算五種延遲相關的值並得到其對應之一標準差值,比較五種延遲相關的值與標準差值之差異,找出與標準差為最大差值之一者,其對應的PN 序列即為所求之傳輸模式。於此實施例中,五種傳輸模式將同時被計算,以產生對應五種傳輸模式的五個計算結果與一標準差值,再比較這些計算結果與標準差,找到具有與標準差為最大差值的計算結果。因此,具有與標準差為最大差值的計算結果所對應的傳輸模式即為所求的傳輸模式。In another embodiment, five delay-related values can be calculated for the received signal and one corresponding standard deviation value can be obtained, and the difference between the five delay-related values and the standard deviation value can be compared to find the standard deviation. One of the largest differences, its corresponding PN The sequence is the desired transmission mode. In this embodiment, the five transmission modes will be simultaneously calculated to generate five calculation results corresponding to the five transmission modes and a standard deviation, and then compare the calculation results with the standard deviation to find the maximum difference from the standard deviation. The result of the calculation of the value. Therefore, the transmission mode corresponding to the calculation result having the largest difference from the standard deviation is the obtained transmission mode.

第6圖顯示依據本發明的一實施例的訊框標頭辨識系統600的示意圖。輸入信號r(d)被傳送到儲存單元610,用以連續儲存延遲k個取樣點的輸入信號r(d-k),接著延遲k個取樣點的輸入信號r(d-k)與輸入信號r(d)的共軛複數r*(d)再傳送至相關值計算單元620中。其中,相關值計算單元620可更包括一共軛複數產生單元(未繪示),接收輸入信號r(d)以及被延遲k個取樣點的輸入信號r(d-k),並產生所需的共軛複數r*(d)或r*(d-k)。相關值計算單元620利用一取樣視窗,其取樣視窗長度為一既定值N,來計算信號關聯值,其計算的方式如方程式第一式至第五式所示的數學式。Figure 6 shows a schematic diagram of a frame header recognition system 600 in accordance with an embodiment of the present invention. The input signal r(d) is transmitted to the storage unit 610 for continuously storing the input signal r(dk) delayed by k sampling points, and then delaying the input signal r(dk) of the k sampling points with the input signal r(d) The conjugate complex number r*(d) is transferred to the correlation value calculation unit 620. The correlation value calculation unit 620 may further include a conjugate complex generation unit (not shown), receiving the input signal r(d) and the input signal r(dk) delayed by k sample points, and generating a desired conjugate. Complex r*(d) or r*(dk). The correlation value calculation unit 620 calculates a signal correlation value by using a sampling window whose sampling window length is a predetermined value N, and the calculation is performed in a mathematical expression as shown in the first to fifth equations of the equation.

相關值計算單元62接著將求得的相關結果傳送至運算結果產生單元630。運算結果產生單元630可更包括一累加單元(未繪示),用以將進行相關值計算單元620所得到的相關結果進行累加,以產生所需的運算結果,並將運算結果送至訊框標頭辨識單元640。訊框標頭辨識單元640根據算出的運算結果以及一既定規則,判斷出訊框標頭的傳輸模式,並藉此得到資料區段的資料。其中,訊框標頭辨識單元640可更包括一比較器(未繪示),用以找出具有最大值或與標準差為最大差值的計算結果。舉例來說,訊 框標頭辨識單元640可依據第4圖或第5圖所示的流程,判斷運算結果是否超過一既定值或找到其中具有最大值或與標準差為最大差值的一者,進而得到所求的傳送端所用的訊框標頭的傳輸模式。The correlation value calculation unit 62 then transmits the obtained correlation result to the operation result generation unit 630. The operation result generating unit 630 may further include an accumulating unit (not shown) for accumulating the correlation results obtained by the correlation value calculating unit 620 to generate a desired operation result, and sending the operation result to the frame. Header identification unit 640. The frame header identification unit 640 determines the transmission mode of the frame header according to the calculated operation result and a predetermined rule, and thereby obtains the data of the data segment. The frame header identification unit 640 may further include a comparator (not shown) for finding a calculation result having a maximum value or a maximum difference from the standard deviation. For example, news The frame header identification unit 640 can determine whether the operation result exceeds a predetermined value or find one of the maximum value or the maximum deviation from the standard deviation according to the flow shown in FIG. 4 or FIG. 5, thereby obtaining the desired result. The transmission mode of the frame header used by the transmitting end.

上述說明提供數種不同實施例或應用本發明之不同方法。實例中的特定裝置以及方法係用以幫助闡釋本發明之主要精神及目的,當然本發明不限於此。The above description provides several different embodiments or different methods of applying the invention. The specific devices and methods in the examples are intended to help explain the main spirit and purpose of the invention, and the invention is not limited thereto.

因此,雖然本發明已以較佳實施例揭露如上,然其並非用以限定本發明,任何熟悉此項技藝者,在不脫離本發明之精神和範圍內,當可做些許更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。Therefore, the present invention has been described in the above preferred embodiments, and is not intended to limit the invention, and it is possible to make some modifications and refinements without departing from the spirit and scope of the invention. The scope of the invention is defined by the scope of the appended claims.

100‧‧‧封包100‧‧‧Package

110‧‧‧訊框110‧‧‧ frame

112‧‧‧標頭112‧‧‧ Header

114‧‧‧資料部分114‧‧‧Information section

PN0-PN5‧‧‧偽雜訊序列PN0-PN5‧‧‧ pseudo noise sequence

S310-S330‧‧‧執行步驟S310-S330‧‧‧Execution steps

S410-S450‧‧‧執行步驟S410-S450‧‧‧Execution steps

S510-S530‧‧‧執行步驟S510-S530‧‧‧Execution steps

600‧‧‧訊框標頭偵測系統600‧‧‧ Frame Header Detection System

610‧‧‧儲存單元610‧‧‧ storage unit

620‧‧‧相關值計算單元620‧‧‧Related value calculation unit

630‧‧‧運算結果產生單元630‧‧‧Operation result generation unit

640‧‧‧訊框標頭辨識單元640‧‧‧ Frame header identification unit

r()‧‧‧接收信號r()‧‧‧ receiving signal

Λ()‧‧‧運算結果Λ()‧‧‧ operation result

第1圖係顯示依據本發明實施例之DTMB封包之示意圖。Figure 1 is a schematic diagram showing a DTMB packet in accordance with an embodiment of the present invention.

第2圖係顯示依據本發明實施例之各種傳輸模式之PN序列之示意圖。Figure 2 is a diagram showing the PN sequence of various transmission modes in accordance with an embodiment of the present invention.

第3圖係顯示一依據本發明實施例之訊框標頭辨識方法之流程圖。Figure 3 is a flow chart showing a method for identifying a frame header according to an embodiment of the present invention.

第4圖係顯示一依據本發明實施例之傳輸模式決定方法之流程圖。Figure 4 is a flow chart showing a method of determining a transmission mode in accordance with an embodiment of the present invention.

第5圖係顯示另一依據本發明實施例之傳輸模式決定方法之流程圖。Figure 5 is a flow chart showing another method of determining a transmission mode in accordance with an embodiment of the present invention.

第6圖係顯示依據本發明的一實施例之訊框標頭偵測系統之示意圖。Figure 6 is a schematic diagram showing a frame header detection system in accordance with an embodiment of the present invention.

S310-S330‧‧‧執行步驟S310-S330‧‧‧Execution steps

Claims (24)

一種訊框標頭辨識方法,適用於一數字電視地面多媒體廣播(Digital Terrestrial Multimedia Broadcasting,DTMB)系統,包括下列步驟:接收一封包,其中該封包包括複數訊框,每一訊框具有一標頭以及一資料區間,該等標頭對應於複數傳輸模式之一者且該等傳輸模式係分別對應於一特定序列;將該等訊框之一者之該標頭與一對應之特定訊框之該標頭進行相關運算,產生對應於該等傳輸模式之複數運算結果,其中該對應之特定訊框係位於該等訊框之該者之前;以及依據該等運算結果,辨識出該等標頭所用之該傳輸模式。 A frame header identification method is applicable to a Digital Terrestrial Multimedia Broadcasting (DTMB) system, comprising the steps of: receiving a packet, wherein the packet includes a plurality of frames, each frame having a header And a data interval, the headers corresponding to one of the plurality of transmission modes and the transmission modes respectively corresponding to a specific sequence; the header of one of the frames is associated with a specific frame The header performs a correlation operation to generate a complex operation result corresponding to the transmission modes, wherein the corresponding specific frame is located before the one of the frames; and the headers are identified according to the operation results The transmission mode used. 如申請專利範圍第1項所述之訊框標頭辨識方法,其中該對應之特定訊框係與該等訊框之該者相隔兩訊框長度。 The method for identifying a frame header according to claim 1, wherein the corresponding frame is separated from the frame by two frames. 如申請專利範圍第1項所述之訊框標頭辨識方法,其中每一該標頭具有複數取樣點,並且該產生對應於該等傳輸模式之該等運算結果之步驟更包括:將該等訊框之該者之該標頭之每一該等取樣點與該對應之特定訊框之該標頭之一對應取樣點進行相關運算,以得到複數相關值;以及將該等相關值進行累加,產生該運算結果。 The frame header identification method of claim 1, wherein each of the headers has a plurality of sampling points, and the step of generating the operation results corresponding to the transmission modes further comprises: Each of the sampling points of the header of the frame is correlated with a sampling point corresponding to one of the headers of the corresponding specific frame to obtain a complex correlation value; and the related values are accumulated , the result of the operation is generated. 如申請專利範圍第1項所述之訊框標頭辨識方法, 其中該依據該等運算結果,辨識出該等標頭所用之該傳輸模式之步驟更包括:找出該等運算結果中具有最大值之一者;以及決定該等標頭之該傳輸模式係為該找到之具有最大值之運算結果所對應之傳輸模式。 For example, the frame header identification method described in the first application of the patent scope, The step of identifying the transmission mode used by the headers according to the result of the operations further includes: finding one of the maximum values of the operation results; and determining that the transmission mode of the headers is The transmission mode corresponding to the result of the operation having the largest value found. 如申請專利範圍第1項所述之訊框標頭辨識方法,其中該依據該等運算結果,辨識出該等標頭所用之該傳輸模式之步驟更包括:得到對應於該等運算結果之一標準差;找出該等運算結果中具有與該標準差為最大差值之一者;以及決定該等標頭之該傳輸模式係為該找到之具有與該標準差為最大差值之運算結果所對應之傳輸模式。 The method for identifying a frame header according to claim 1, wherein the step of identifying the transmission mode used by the headers according to the operation results further comprises: obtaining one of the operation results corresponding to the operations a standard deviation; finding out that the operation result has one of the greatest differences from the standard deviation; and determining the transmission mode of the headers as the result of finding the maximum difference from the standard deviation The corresponding transmission mode. 如申請專利範圍第1項所述之訊框標頭辨識方法,其中該特定序列係為一偽雜訊序列。 The method for identifying a frame header according to claim 1, wherein the specific sequence is a pseudo-noise sequence. 如申請專利範圍第1項所述之訊框標頭辨識方法,其中該等標頭係對應於五種傳輸模式之一者。 The method for identifying a frame header according to claim 1, wherein the header corresponds to one of five transmission modes. 如申請專利範圍第1項所述之訊框標頭辨識方法,其中該等傳輸模式係對應於三種標頭長度之一者,其中三種標頭長度分別為420、595以及945符元。 The method for identifying a frame header according to claim 1, wherein the transmission modes correspond to one of three header lengths, wherein the three header lengths are 420, 595, and 945 symbols, respectively. 如申請專利範圍第8項所述之訊框標頭辨識方法,其中該特定序列係為一固定序列或該固定序列之可變(rotated)序列。 The method for identifying a frame header according to claim 8, wherein the specific sequence is a fixed sequence or a rotated sequence of the fixed sequence. 一種訊框標頭辨識系統,適用於一數字電視地面多 媒體廣播(DTMB)系統,包括:一儲存單元,用以接收並儲存來自一DTMB封包之輸入信號,其中該封包包括複數訊框,每一訊框具有一標頭以及一資料區間,該等標頭對應於複數傳輸模式之一者且該等傳輸模式係分別對應於一特定序列;一相關值計算單元,將該等訊框之一者之該標頭與一對應之特定訊框之該標頭進行一相關運算得到相關值,其中該對應之特定訊框係位於該等訊框之該者之前;一運算結果產生單元,接收該相關值計算單元之相關值,產生對應於該等傳輸模式之複數運算結果;以及一訊框標頭辨識單元,依據該等運算結果以及一既定規則,辨識出該等標頭所用之該傳輸模式。 A frame header recognition system suitable for a digital television floor A media broadcast (DTMB) system includes: a storage unit for receiving and storing an input signal from a DTMB packet, wherein the packet includes a plurality of frames, each frame having a header and a data interval, the labels The header corresponds to one of the complex transmission modes and the transmission modes respectively correspond to a specific sequence; a correlation value calculation unit, the header of one of the frames and the corresponding frame of the specific frame Performing a correlation operation to obtain a correlation value, wherein the corresponding specific frame is located before the one of the frames; and an operation result generating unit receives the correlation value of the correlation value calculation unit to generate a corresponding transmission mode The result of the complex operation; and a frame header identification unit, according to the operation result and a predetermined rule, identify the transmission mode used by the headers. 如申請專利範圍第10項所述之訊框標頭辨識系統,其中該相關值計算單元更包括一共軛複數產生單元,用以產生該接收信號對應之共軛複數,以完成該相關運算。 The frame header recognition system of claim 10, wherein the correlation value calculation unit further comprises a conjugate complex generation unit for generating a conjugate complex number corresponding to the received signal to complete the correlation operation. 如申請專利範圍第10項所述之訊框標頭辨識系統,其中該運算結果產生單元更包括一累加單元,用以將該相關值計算單元所得到之該相關值進行累加,以產生所需之該等運算結果。 The frame header recognition system of claim 10, wherein the operation result generation unit further comprises an accumulation unit for accumulating the correlation value obtained by the correlation value calculation unit to generate a required value. The result of these operations. 如申請專利範圍第10項所述之訊框標頭辨識系統,其中該訊框標頭辨識單元更包括一比較器,用以找出該等運算結果中具有最大值或具有與對應於該等運算結果之一標準差為最大差值的一運算結果。 The frame header recognition system of claim 10, wherein the frame header identification unit further comprises a comparator for finding that the operation result has a maximum value or has and corresponds to the One of the operation results is a standard deviation of the maximum difference. 如申請專利範圍第13項所述之訊框標頭辨識系 統,其中該訊框標頭辨識單元更依據該比較器所找出之該具有最大值之運算結果,決定該等標頭之該傳輸模式。 For example, the frame header identification system described in item 13 of the patent application scope The frame header identification unit determines the transmission mode of the headers according to the operation result of the maximum value found by the comparator. 如申請專利範圍第13項所述之訊框標頭辨識系統,其中該訊框標頭辨識單元更依據該比較器所找出之該具有與該標準差為最大差值之運算結果,決定該等標頭之該傳輸模式。 The frame header identification system of claim 13, wherein the frame header identification unit further determines the result of the operation that is found by the comparator to have a maximum difference from the standard deviation. The transmission mode of the header. 如申請專利範圍第10項所述之訊框標頭辨識系統,其中若一傳輸模式之該運算結果係超過一既定值,該訊框標頭辨識單元決定該等標頭之傳輸模式係為該傳輸模式。 The frame header recognition system of claim 10, wherein if the operation result of a transmission mode exceeds a predetermined value, the frame header identification unit determines that the transmission mode of the header is the Transfer mode. 如申請專利範圍第10項所述之訊框標頭辨識系統,其中該等標頭係對應於五種傳輸模式之一者。 The frame header recognition system of claim 10, wherein the headers correspond to one of five transmission modes. 如申請專利範圍第10項所述之訊框標頭辨識系統,其中該等傳輸模式係對應於三種標頭長度之一者,其中三種標頭長度分別為420、595以及945符元。 The frame header recognition system of claim 10, wherein the transmission modes correspond to one of three header lengths, wherein the three header lengths are 420, 595, and 945 symbols, respectively. 如申請專利範圍第18項所述之訊框標頭辨識系統,其中該特定序列係為一固定序列或該固定序列之可變(rotated)序列。 The frame header recognition system of claim 18, wherein the specific sequence is a fixed sequence or a rotated sequence of the fixed sequence. 一種訊框標頭辨識方法,適用於一數字電視地面多媒體廣播(Digital Terrestrial Multimedia Broadcasting,DTMB)系統,包括下列步驟:接收一封包,其中該封包包括複數訊框,每一訊框具有一標頭以及一資料區間,該等標頭對應於複數傳輸模式之一者,其中該等傳輸模式係分別對應於一特定序列;以 及將該等訊框之一者之該標頭與一對應之特定訊框之該標頭進行相關運算,並產生對應於該等傳輸模式之一者之一運算結果,其中該對應之特定訊框係位於該等訊框之該者之前,其中若一傳輸模式之該運算結果係超過一既定值,決定該等標頭之傳輸模式係為該傳輸模式。 A frame header identification method is applicable to a Digital Terrestrial Multimedia Broadcasting (DTMB) system, comprising the steps of: receiving a packet, wherein the packet includes a plurality of frames, each frame having a header And a data interval, the headers corresponding to one of a plurality of transmission modes, wherein the transmission modes respectively correspond to a specific sequence; And correlating the header of one of the frames with the header of a corresponding specific frame, and generating an operation result corresponding to one of the transmission modes, wherein the corresponding specific message The frame is located before the one of the frames, wherein if the operation result of a transmission mode exceeds a predetermined value, it is determined that the transmission mode of the header is the transmission mode. 如申請專利範圍第20項所述之訊框標頭辨識方法,更包括:若該傳輸模式之該運算結果未超過該既定值,將該等訊框之一者之該標頭與一對應之特定訊框之該標頭進行相關運算,並產生對應於該等傳輸模式之另一者之一運算結果,以辨識出該等標頭之傳輸模式。 The method for identifying a frame header according to claim 20, further comprising: if the operation result of the transmission mode does not exceed the predetermined value, the header of one of the frames corresponds to a corresponding one. The header of the particular frame performs a correlation operation and generates an operation result corresponding to the other of the transmission modes to identify the transmission mode of the headers. 如申請專利範圍第20項所述之訊框標頭辨識方法,其中該運算結果係位於一第一數值以及一第二數值之間,並且該既定值係約等於該第一數值以及該第二數值之總和之一半。 The method for identifying a frame header according to claim 20, wherein the operation result is located between a first value and a second value, and the predetermined value is approximately equal to the first value and the second One-half of the sum of the values. 如申請專利範圍第20項所述之訊框標頭辨識方法,其中該運算結果係不超過一最大值,並且該既定值係約等於該最大值之一半。 The method for identifying a frame header according to claim 20, wherein the operation result does not exceed a maximum value, and the predetermined value is approximately equal to one-half of the maximum value. 如申請專利範圍第20項所述之訊框標頭辨識方法,其中該等傳輸模式係對應於三種標頭長度之一者,並且三種標頭長度分別為420、595以及945符元長度。 The method for identifying a frame header according to claim 20, wherein the transmission modes correspond to one of three header lengths, and the three header lengths are 420, 595, and 945 symbol lengths, respectively.
TW97124684A 2008-07-01 2008-07-01 Frame header recognition method and system TWI384881B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW97124684A TWI384881B (en) 2008-07-01 2008-07-01 Frame header recognition method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW97124684A TWI384881B (en) 2008-07-01 2008-07-01 Frame header recognition method and system

Publications (2)

Publication Number Publication Date
TW201004351A TW201004351A (en) 2010-01-16
TWI384881B true TWI384881B (en) 2013-02-01

Family

ID=44825859

Family Applications (1)

Application Number Title Priority Date Filing Date
TW97124684A TWI384881B (en) 2008-07-01 2008-07-01 Frame header recognition method and system

Country Status (1)

Country Link
TW (1) TWI384881B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI773256B (en) 2021-04-20 2022-08-01 國立陽明交通大學 Method and architecture of synchronization of wireless communication system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1956435A (en) * 2005-08-26 2007-05-02 Lg电子株式会社 Apparatus and method for detecting transmission mode of broadcast signal
CN101106690A (en) * 2006-07-13 2008-01-16 上海高清数字科技产业有限公司 Method for realizing automatic pattern recognition via system information
CN101207614A (en) * 2006-12-21 2008-06-25 北京三星通信技术研究有限公司 Method and apparatus for identification of signal frame and pattern detection

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1956435A (en) * 2005-08-26 2007-05-02 Lg电子株式会社 Apparatus and method for detecting transmission mode of broadcast signal
CN101106690A (en) * 2006-07-13 2008-01-16 上海高清数字科技产业有限公司 Method for realizing automatic pattern recognition via system information
CN101207614A (en) * 2006-12-21 2008-06-25 北京三星通信技术研究有限公司 Method and apparatus for identification of signal frame and pattern detection

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Song, J.; Yang, Z.; Yang, L.; Gong, K.; Pan, C.; Wang, J.; Wu, Y.; , "Technical Review on Chinese Digital Terrestrial Television Broadcasting Standard and Measurements on Some Working Modes," Broadcasting, IEEE Transactions on , vol.53, no.1, pp.1-7, March 2007. *

Also Published As

Publication number Publication date
TW201004351A (en) 2010-01-16

Similar Documents

Publication Publication Date Title
US7555034B2 (en) Apparatus and method for detecting timing error based on cyclic correlation
US9853787B2 (en) Carrier frequency offset estimation for wireless communication
JP2013535153A5 (en) Method and apparatus for detecting frame start delimiter
EP2962301B1 (en) Generation of a signature of a musical audio signal
US20050021827A1 (en) Data processing device, data processing system, data processing method, data processing program and recording medium storing the program
CN109314933B (en) Symmetric carrier sensing based on skip correlation with multiple power levels
CN105340245A (en) Method for adapting the downloading behavior of a client terminal configured to receive multimedia content, and corresponding terminal.
US20080101516A1 (en) Synchronization device and method for wireless communication packets
TW201110672A (en) Receiving apparatus, receiving method and program, and receiving system
KR100900669B1 (en) Wireless Personal Area Networks ZIGBEE RECEIVER AND RECEIVING METHOD THEREOF
CN114362839A (en) Signal detection method and device based on HPLC dual-mode wireless system and electronic equipment
KR100746190B1 (en) System and method for data transmission and reception
TWI384881B (en) Frame header recognition method and system
CN101640790B (en) Method and system for identifying frame header
WO2021196765A1 (en) Method and device for determining arrival time, terminal device, and storage medium
US8503505B2 (en) Apparatus and method for transmitting/receiving data in a communication system
US20080019287A1 (en) Device discovery method, network device capable of performing the method, and storage medium thereof
TWI683549B (en) System and method for processing analog signals
JP2011142473A (en) Apparatus and method for estimating users&#39; waiting time, and program
US7561630B2 (en) Transmission parameter recognition apparatus and method thereof
CN1612552A (en) Apparatus to estimate a channel using training sequence data for a digital receiver and a method thereof
US20110019581A1 (en) Method for identifying packets and apparatus using the same
JP2010246122A (en) System and method for frame synchronization
JP2011142474A (en) Apparatus and method for estimating users&#39; waiting time, and program
CN111144201A (en) Signal pattern recognition method and device

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees