[go: up one dir, main page]

CN101426145A - Robust error correction encoding/decoding apparatus and method of digital dual-stream broadcast reception/transmission system - Google Patents

Robust error correction encoding/decoding apparatus and method of digital dual-stream broadcast reception/transmission system Download PDF

Info

Publication number
CN101426145A
CN101426145A CN200810178731.XA CN200810178731A CN101426145A CN 101426145 A CN101426145 A CN 101426145A CN 200810178731 A CN200810178731 A CN 200810178731A CN 101426145 A CN101426145 A CN 101426145A
Authority
CN
China
Prior art keywords
data bag
error correction
bag
parity
authentic data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN200810178731.XA
Other languages
Chinese (zh)
Other versions
CN101426145B (en
Inventor
张龙德
朴成佑
丁海主
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Samsung Electronics Co Ltd
Original Assignee
Samsung Electronics 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
Priority claimed from KR1020040014054A external-priority patent/KR100683179B1/en
Application filed by Samsung Electronics Co Ltd filed Critical Samsung Electronics Co Ltd
Publication of CN101426145A publication Critical patent/CN101426145A/en
Application granted granted Critical
Publication of CN101426145B publication Critical patent/CN101426145B/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Error Detection And Correction (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

一种用于数字双流广播发送/接收系统的纠错编码/解码设备和方法。纠错编码设备包括:TRS编码部分,用于对普通数据包和可靠数据包应用横向编码,并附加奇偶码组;随机化单元,用于根据预定的模式对数据包和奇偶码组进行随机化;包格式化单元,用于将数据包和奇偶码组划分为普通数据和可靠数据,并处理数据;以及系统控制单元,用于控制包格式化单元。因此,可靠纠错编码设备可被提供给对其应用横向里德所罗门(TRS)编码的数字双流广播发送系统。

Figure 200810178731

An error correction coding/decoding device and method for a digital dual-stream broadcasting sending/receiving system. The error correction coding device includes: a TRS coding part, which is used to apply horizontal coding to ordinary data packets and reliable data packets, and attach parity code groups; a randomization unit, which is used to randomize data packets and parity code groups according to a predetermined pattern ; a packet formatting unit, used to divide the data packet and parity code group into common data and reliable data, and process the data; and a system control unit, used to control the packet formatting unit. Therefore, a reliable error correction encoding device can be provided to a digital dual-stream broadcast transmission system to which Transverse Reed Solomon (TRS) encoding is applied.

Figure 200810178731

Description

数字双流广播系统的可靠纠错编码/解码设备和方法 Reliable error correction encoding/decoding device and method for digital dual-stream broadcasting system

本申请是申请日为2004年11月1日、申请号为200480023432.9、题为“用于数字双流广播接收/发送系统的可靠纠错编码/解码设备和方法”的专利申请的分案申请。This application is a divisional application of the patent application with the filing date of November 1, 2004, the application number of 200480023432.9, and the title of "Reliable Error Correction Coding/Decoding Device and Method for Digital Dual Stream Broadcasting Receiving/Transmitting System".

技术领域 technical field

本发明涉及用于美国ATSC数字地面广播接收/发送系统的纠错编码/解码设备,更具体地讲,涉及用于数字双流广播接收/发送系统的可靠纠错编码/解码设备和方法,其中,所述系统将数据分为普通数据和可靠数据以处理、接收、并发送所述数据。The present invention relates to an error correction encoding/decoding device used in an ATSC digital terrestrial broadcast receiving/transmitting system in the United States, more specifically, to a reliable error correcting encoding/decoding device and method for a digital dual-stream broadcast receiving/transmitting system, wherein, The system classifies data into common data and reliable data to process, receive, and transmit the data.

背景技术 Background technique

图1和图2是示意性示出由申请人提交的在第2003-0067522号韩国专利申请中公开的美国ATSC标准接收/发送系统的方框图。1 and 2 are block diagrams schematically showing an American ATSC standard receiving/transmitting system disclosed in Korean Patent Application No. 2003-0067522 filed by the applicant.

在如图1所示的发送系统中,横向里德所罗门(TRS,Transversal ReedSolomon)编码单元12对于存储在存储单元11中的MPEG2-TS包按列生成奇偶码组,头插入单元13插入奇偶码组头(PID)以与现有的接收系统兼容。接着,数据包和奇偶码组被随机化单元14以特定模式进行随机化,RS编码单元15产生20字节的奇偶校验,并将它们加到数据包和奇偶码组。In the sending system as shown in Figure 1, horizontal Reed Solomon (TRS, Transversal ReedSolomon) coding unit 12 generates parity code groups by column for the MPEG2-TS packet stored in storage unit 11, and header insertion unit 13 inserts parity codes Group header (PID) for compatibility with existing receiving systems. Next, the data packet and the parity group are randomized in a specific pattern by the randomization unit 14, and the RS coding unit 15 generates 20-byte parity and adds them to the data packet and the parity group.

另一方面,图2是示意性示出与图1所示的接收/发送系统对应的接收系统的方框图。RS解码单元21通过使用加到各个包的20字节的奇偶校验,以行方向来纠正数据包和奇偶码组的差错。On the other hand, FIG. 2 is a block diagram schematically showing a receiving system corresponding to the receiving/transmitting system shown in FIG. 1 . The RS decoding unit 21 corrects errors of data packets and parity code groups in the row direction by using 20-byte parity added to each packet.

随机化单元22对由RS解码单元21以行方向纠错的数据包和奇偶码组进行去随机化,并将去随机化的数据包和奇偶码组存储在存储单元23中。TRS解码单元24通过使用去随机化的奇偶码组来以列方向纠正数据包差错,并更新存储的数据。The randomization unit 22 derandomizes the data packet and the parity code group error-corrected in the row direction by the RS decoding unit 21 , and stores the derandomized data packet and parity code group in the storage unit 23 . The TRS decoding unit 24 corrects packet errors in the column direction by using the derandomized parity code group, and updates stored data.

接着,随机化单元22对去随机化的数据包和奇偶码组进行随机化,RS解码单元21通过使用奇偶码组而以行方向再次纠正行方向上的差错,去随机化单元25对所述包进行去随机化。Next, the randomization unit 22 randomizes the de-randomized data packet and the parity code group, the RS decoding unit 21 corrects the error in the row direction again in the row direction by using the parity code group, and the de-randomization unit 25 performs randomization on the packet Do randomization.

发明内容 Contents of the invention

技术问题technical problem

然而,如上所述,由申请人提交的第2003-0067522号韩国专利申请仅公开了对数字双流广播接收和发送应用TRS编码和解码的概念,但是并没有公开具体的实施例。其中,在所述接收和发送中,被划分为普通数据和可靠数据的数据被一起发送。However, as described above, Korean Patent Application No. 2003-0067522 filed by the applicant only discloses the concept of applying TRS encoding and decoding to digital dual-stream broadcasting reception and transmission, but does not disclose specific embodiments. Wherein, in the receiving and sending, data classified into normal data and reliable data are sent together.

技术方案Technical solutions

已研究本发明以便解决与传统配置有关的上述缺点和其它问题。本发明的一方面在于提供一种用于数字双流广播接收/发送系统的纠错编码/解码设备和方法,其中,在所述数字双流广播接收/发送系统中应用横向里德所罗门编码/解码方法。The present invention has been developed to address the above-mentioned disadvantages and other problems associated with conventional arrangements. An aspect of the present invention is to provide an error correction encoding/decoding apparatus and method for a digital dual-stream broadcast receiving/transmitting system, wherein a transverse Reed-Solomon encoding/decoding method is applied in the digital dual-stream broadcast receiving/transmitting system .

上述和其它目的和优点通过提供一种用于数字双流广播发送系统的纠错编码设备来主要地实现,根据本发明的第一实施例,其包括:横向里德所罗门(TRS)编码部分,用于对普通数据包和可靠数据包应用横向编码并附加奇偶码组;随机化单元,用于根据预定的模式对数据包和奇偶码组进行随机化;RS编码单元,用于对随机化的数据包和奇偶码组进行编码并附加预定字节的奇偶校验;包格式化单元,用于将数据包和奇偶码组划分为普通数据和可靠数据,并根据各个数据格式来处理数据;系统控制单元,用于控制包格式化单元以将数据包和奇偶码组划分为普通数据和可靠数据,并处理所述数据包和奇偶码组。The above and other objects and advantages are mainly achieved by providing an error correction encoding device for a digital dual-stream broadcast transmission system, according to a first embodiment of the present invention, which includes: a transverse Reed Solomon (TRS) encoding section, with It is used to apply horizontal coding and add parity code groups to ordinary data packets and reliable data packets; randomization unit is used to randomize data packets and parity code groups according to a predetermined pattern; RS coding unit is used to randomize data The packet and the parity code group are encoded and the parity of the predetermined byte is appended; the packet formatting unit is used to divide the data packet and the parity code group into ordinary data and reliable data, and process the data according to each data format; system control A unit for controlling the packet formatting unit to divide the data packet and the parity group into normal data and reliable data, and to process the data packet and the parity group.

上述和其它目的和优点可通过提供一种用于数字双流广播发送系统的纠错编码设备来主要地实现,根据本发明的第二实施例,其包括:随机化单元,用于根据预定的模式对普通数据包和可靠数据包进行随机化;TRS编码部分,用于对随机化的普通数据包和可靠数据包应用横向编码,并附加奇偶码组;RS编码单元,用于将预定字节的奇偶校验附加到数据包和奇偶码组;包格式化单元,用于将数据包和奇偶码组划分为普通数据和可靠数据,并根据各个数据格式处理数据;系统控制单元,用于控制包格式化单元以将数据包和奇偶码组划分为普通数据和可靠数据,并处理所述数据包和奇偶码组。随机化单元根据预定的模式对奇偶码组进行随机化。The above and other objects and advantages can be mainly achieved by providing an error correction encoding device for a digital dual-stream broadcast transmission system, according to a second embodiment of the present invention, which includes: a randomization unit for Randomize normal data packets and reliable data packets; the TRS coding part is used to apply horizontal coding to the randomized normal data packets and reliable data packets, and attach parity code groups; the RS coding unit is used to convert predetermined byte The parity is attached to the data packet and the parity code group; the packet formatting unit is used to divide the data packet and the parity code group into normal data and reliable data, and processes the data according to each data format; the system control unit is used to control the packet The formatting unit divides the data packet and the parity group into normal data and reliable data, and processes the data packet and the parity group. The randomization unit randomizes the parity code group according to a predetermined pattern.

上述和其它目的和优点可通过提供一种用于数字双流广播发送系统的纠错编码设备来主要地实现,根据本发明的第三实施例,其包括:随机化单元,用于根据预定的模式对普通数据包和可靠数据包进行随机化;RS编码单元,用于将预定字节的奇偶校验附加到数据包;TRS编码部分,用于对数据包应用横向编码,并附加奇偶码组;包格式化单元,用于将数据包和奇偶码组划分为普通数据和可靠数据,并根据各个数据格式处理数据,其中,随机化单元根据预定的模式对奇偶码组进行随机化,RS编码单元将预定字节的奇偶校验附加到随机化的奇偶码组。The above and other objects and advantages can be mainly achieved by providing an error correction encoding device for a digital dual-stream broadcast transmission system, according to a third embodiment of the present invention, which includes: a randomization unit for Randomize ordinary data packets and reliable data packets; RS encoding unit, for attaching predetermined byte parity to data packets; TRS encoding part, for applying horizontal encoding to data packets, and attaching parity code groups; A packet formatting unit is used to divide the data packet and the parity code group into common data and reliable data, and process data according to each data format, wherein the randomization unit randomizes the parity code group according to a predetermined pattern, and the RS coding unit A predetermined byte of parity is appended to the randomized parity group.

上述和其它目的和优点可通过提供一种用于数字双流广播接收系统的纠错解码设备来主要地实现,根据本发明的第四实施例,其包括:包重新格式化单元,用于将输入的数据包和奇偶码组划分为普通数据和可靠数据,并根据各个数据格式处理数据;RS解码单元,用于通过使用包括在包中的预定字节的奇偶校验来进行包的纠错;去随机化/随机化单元,用于对与纠错编码对应的包进行去随机化;TRS解码部分,用于通过使用奇偶码组来进行包的纠错,其中,去随机化/随机化单元对在TRS解码部分纠错的包进行随机化。The above and other objects and advantages can be mainly achieved by providing an error correction decoding device for a digital dual-stream broadcast receiving system, according to a fourth embodiment of the present invention, which includes: a packet reformatting unit for inputting The data packet and the parity code group are divided into ordinary data and reliable data, and the data is processed according to each data format; the RS decoding unit is used to correct the error of the packet by using the parity check of the predetermined byte included in the packet; The derandomization/randomization unit is used to derandomize the packets corresponding to the error correction code; the TRS decoding part is used to correct the errors of the packets by using the parity code group, wherein the derandomization/randomization unit Randomize packets that were error-corrected in the TRS decoding section.

有益效果Beneficial effect

如上所述,本发明可提供一种用于对其应用TRS编码和解码的数字双流广播发送/接收系统的纠错编码/解码设备和方法。As described above, the present invention can provide an error correction encoding/decoding apparatus and method for a digital dual-stream broadcasting transmission/reception system to which TRS encoding and decoding is applied.

根据本发明的数字双流广播发送/接收系统可通过应用TRS编码而获得对于普通数据和可靠数据的SNR增益,并可通过对于普通数据的奇偶码组实行可靠数据处理来提高均衡器的性能和SNR增益。The digital dual-stream broadcast transmission/reception system according to the present invention can obtain SNR gain for common data and reliable data by applying TRS coding, and can improve the performance and SNR of the equalizer by implementing reliable data processing for parity code groups of common data gain.

上述实施例和优点只是示例性的,并不解释为限制本发明。本教导可被容易地应用到其它类型的设备。此外,对本发明实施例进行的描述是示例性的,并不限制权利要求的范围,对本领域技术人员而言,许多替换、改进和变化是显而易见的。The above-described embodiments and advantages are exemplary only, and are not to be construed as limiting the invention. The present teachings can be readily applied to other types of devices. In addition, the descriptions of the embodiments of the present invention are exemplary and do not limit the scope of the claims, and many substitutions, improvements and changes will be apparent to those skilled in the art.

附图说明 Description of drawings

通过参照附图进行的对本发明的某些实施例的描述,本发明的上述方面和特点将会变得更加清楚,其中:The above-mentioned aspects and features of the present invention will become more apparent by describing some embodiments of the present invention with reference to the accompanying drawings, in which:

图1和图2是示意性示出由申请人提交的在第2003-0067522号韩国专利申请中公开的纠错编码/解码设备的方框图;1 and 2 are block diagrams schematically showing an error correction encoding/decoding device disclosed in Korean Patent Application No. 2003-0067522 filed by the applicant;

图3是示意性示出根据本发明第一实施例的用于数字双流广播发送系统的纠错编码设备的方框图;3 is a block diagram schematically showing an error correction encoding device for a digital dual-stream broadcast transmission system according to a first embodiment of the present invention;

图4至图6是示出双流传输数据帧的结构的示图;4 to 6 are diagrams illustrating the structure of a dual-stream transmission data frame;

图7是示出图3的纠错编码设备的纠错编码处理的流程图;FIG. 7 is a flowchart showing error correction encoding processing of the error correction encoding device of FIG. 3;

图8是示意性示出根据本发明第二实施例的用于数字双流广播发送系统的纠错编码设备的方框图;8 is a block diagram schematically showing an error correction encoding device for a digital dual-stream broadcast transmission system according to a second embodiment of the present invention;

图9是示出图6的纠错编码设备的纠错编码处理的流程图;FIG. 9 is a flowchart showing error correction encoding processing of the error correction encoding device of FIG. 6;

图10是示意性示出根据本发明第三实施例的用于数字双流广播发送系统的纠错编码设备的方框图;10 is a block diagram schematically showing an error correction encoding device for a digital dual-stream broadcast transmission system according to a third embodiment of the present invention;

图11是示出图8的纠错编码设备的纠错编码处理的流程图;FIG. 11 is a flowchart showing error correction encoding processing of the error correction encoding device of FIG. 8;

图12是示出用于根据本发明实施例的纠错编码设备的另一TRS编码单元的方框图;12 is a block diagram showing another TRS coding unit used in an error correction coding device according to an embodiment of the present invention;

图13是示意性示出根据本发明实施例的用于数字双流广播接收系统的纠错解码设备的方框图;13 is a block diagram schematically showing an error correction decoding device for a digital dual-stream broadcast receiving system according to an embodiment of the present invention;

图14是示出根据本发明实施例的纠错解码设备的TRS解码单元的示图;14 is a diagram illustrating a TRS decoding unit of an error correction decoding device according to an embodiment of the present invention;

图15是示出用于根据本发明第一实施例的纠错编码设备的纠错解码处理的流程图;以及15 is a flowchart showing error correction decoding processing for the error correction encoding device according to the first embodiment of the present invention; and

图16是示出用于根据本发明第二和第三实施例的纠错编码设备的纠错解码处理的流程图。Fig. 16 is a flowchart showing error correction decoding processing for the error correction encoding devices according to the second and third embodiments of the present invention.

最佳实施方式best practice

以下,将参照附图来详细描述本发明。Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

图3是示意性示出根据本发明第一实施例的用于数字双流广播发送系统的纠错编码设备的方框图。如图3所示的纠错编码设备具有:TRS编码部分310、随机化单元320、里德所罗门(RS)编码单元330、包格式化部分350、交织单元360、格状编码单元370、以及系统控制单元380。FIG. 3 is a block diagram schematically showing an error correction encoding device for a digital dual-stream broadcast transmission system according to a first embodiment of the present invention. The error correction encoding device shown in Figure 3 has: TRS encoding part 310, randomization unit 320, Reed Solomon (RS) encoding unit 330, packet formatting part 350, interleaving unit 360, trellis encoding unit 370, and system control unit 380 .

TRS编码部分310具有存储单元311、N/R TRS编码单元312、和PID插入单元313,TRS编码部分310对普通数据包和可靠数据包应用横向编码以产生奇偶码组,并将包头(PID)插入产生的奇偶码组。The TRS encoding part 310 has a storage unit 311, an N/R TRS encoding unit 312, and a PID insertion unit 313, and the TRS encoding part 310 applies horizontal encoding to a common data packet and a reliable data packet to generate a parity code group, and the header (PID) Insert the generated parity code group.

图4至图6是示出根据本发明的双流传输数据帧的结构的示图。在图4至图6中,双流传输帧构造为普通数据和可靠数据。4 to 6 are diagrams illustrating the structure of a dual-stream transmission data frame according to the present invention. In FIG. 4 to FIG. 6, the dual-stream transmission frame is structured as normal data and reliable data.

TRS编码部分310对数据包应用横向编码以附加奇偶码组,优选的是以下面两种方法附加奇偶码组。The TRS encoding section 310 applies transversal encoding to the data packet to attach parity code groups, preferably in the following two methods.

第一种,如图4和图5所示,采取的方法是附加分别与K1个普通数据包和k2个可靠数据包对应的(M1-K1)个普通奇偶码组和(M2-K2)个可靠奇偶码组,第二种,如图6所示,采取的方法是将(M-(K1+K2))个奇偶码组附加到K1个普通数据包和K2个可靠数据包的全部包。The first method, as shown in Figure 4 and Figure 5, is to add (M1-K1) ordinary parity code groups and (M2-K2) corresponding to K1 ordinary data packets and k2 reliable data packets respectively. Reliable parity code group, the second kind, as shown in Figure 6, adopts the method that (M-(K1+K2)) parity code group is attached to all packets of K1 ordinary data packets and K2 reliable data packets.

随机化单元320以预定的模式对数据包和奇偶码组进行随机化。RS编码单元330将奇偶校验字节附加到每个随机化的包。The randomization unit 320 randomizes data packets and parity groups in a predetermined pattern. The RS encoding unit 330 appends a parity byte to each randomized packet.

包格式化部分350具有解复用器351、R包处理器353、和复用器355,其将输入包划分为普通数据和可靠数据,并在系统控制单元380的控制下处理与包格式对应的数据。The packet formatting part 350 has a demultiplexer 351, an R packet processor 353, and a multiplexer 355, which divide the input packet into normal data and reliable data, and process the corresponding packet format under the control of the system control unit 380. The data.

解复用器351根据系统控制单元380的控制,将包划分为例如图4至6所示的普通数据和可靠数据。如图4所示,解复用器351将普通数据包和普通奇偶码组划分为普通数据,将可靠数据包和可靠奇偶码组划分为可靠数据,或者如图5所示,将普通数据包划分为普通数据,将普通奇偶码组、可靠数据包、和可靠奇偶码组划分为可靠数据。According to the control of the system control unit 380 , the demultiplexer 351 divides the packets into normal data and reliable data as shown in FIGS. 4 to 6 . As shown in Figure 4, the demultiplexer 351 divides the ordinary data packet and the ordinary parity code group into ordinary data, and the reliable data packet and the reliable parity code group are divided into reliable data, or as shown in Figure 5, the ordinary data packet Divided into ordinary data, ordinary parity code groups, reliable data packets, and reliable parity code groups are divided into reliable data.

此外,如图6所示,解复用器351将普通数据包划分为普通数据,将可靠数据包和奇偶码组划分为可靠数据。In addition, as shown in FIG. 6 , the demultiplexer 351 divides normal data packets into normal data, and reliable data packets and parity code groups into reliable data.

由解复用器351划分为普通数据的包作为普通数据被处理,并被输出到复用器355,划分为可靠数据的包通过R包处理器353按照特定比例,例如,1/2,和1/4被处理为可靠数据,并被输出到复用器355。The packets divided into normal data by the demultiplexer 351 are processed as normal data and output to the multiplexer 355, and the packets divided into reliable data pass through the R packet processor 353 in a specific ratio, for example, 1/2, and 1/4 is processed as reliable data and output to the multiplexer 355 .

交织单元360根据包格式以字节对处理过的数据包进行交织和重新排列。格状编码单元370以比特对交织后的数据应用格状编码以重新排列。The interleaving unit 360 interleaves and rearranges the processed data packets in bytes according to the packet format. The trellis coding unit 370 applies trellis coding to the interleaved data by bits to rearrange.

图7是示出根据图3的第一实施例的纠错编码设备的纠错编码处理的流程图。下文中,将参照图4至图6对根据本发明第一实施例的纠错编码处理进行详细的描述。FIG. 7 is a flowchart showing error correction encoding processing of the error correction encoding device according to the first embodiment of FIG. 3 . Hereinafter, the error correction encoding process according to the first embodiment of the present invention will be described in detail with reference to FIGS. 4 to 6 .

在MPEG发送系统(未示出)中,普通数据包(a)和可靠数据包(b)被存储在存储单元311中(S111)。In an MPEG transmission system (not shown), normal data packets (a) and reliable data packets (b) are stored in the storage unit 311 (S111).

N/R TRS编码单元312对普通数据包(a)和可靠数据包(b)应用横向编码以产生奇偶码组(S113)。如图4和图6所示,对于普通数据包(a),产生普通奇偶码组(c);对于可靠数据包(b),产生可靠奇偶码组(d)。此外,如图4C所示,N/R TRS编码单元312对于普通数据包(a)和可靠数据包(b)的全部包,产生奇偶码组(D)。The N/R TRS encoding unit 312 applies transversal encoding to the normal data packet (a) and the reliable data packet (b) to generate a parity code group (S113). As shown in Fig. 4 and Fig. 6, for normal data packet (a), common parity code group (c) is generated; for reliable data packet (b), reliable parity code group (d) is generated. In addition, as shown in FIG. 4C, the N/R TRS encoding unit 312 generates a parity code group (D) for all packets of the normal data packet (a) and the reliable data packet (b).

PID插入单元313将包头(PID)插入奇偶码组(S117)。如图4和图5所示,头(PID)(e)被插入普通奇偶码组(b),头(PID)(f)被插入可靠奇偶码组(b)。此外,如图4C所示,头(PID)(F)被插入对于普通数据包(a)和可靠数据包(b)的全部包产生的奇偶码组(D)。The PID insertion unit 313 inserts the packet header (PID) into the parity code group (S117). As shown in Fig. 4 and Fig. 5, the header (PID) (e) is inserted into the common parity code group (b), and the header (PID) (f) is inserted into the reliable parity code group (b). Furthermore, as shown in FIG. 4C, a header (PID) (F) is inserted into the parity group (D) generated for all packets of the normal data packet (a) and the reliable data packet (b).

如上所述,对于普通数据包或可靠数据包,或者对于全部包,奇偶码组被产生,并且头(PID)被插入产生的奇偶码组,其后,奇偶码组被存储在存储单元311中(S117)。As described above, for normal data packets or reliable data packets, or for all packets, a parity code group is generated, and a header (PID) is inserted into the generated parity code group, and thereafter, the parity code group is stored in the storage unit 311 (S117).

随机化单元320以预定的模式对存储在存储单元311中的数据包和奇偶码组进行随机化(S119)。The randomization unit 320 randomizes the data packets and parity code groups stored in the storage unit 311 in a predetermined pattern (S119).

RS编码单元350将预定字节的奇偶校验附加到随机化的包(S121)。如图4至图6所示,20字节的奇偶校验被附加。The RS encoding unit 350 attaches parity of predetermined bytes to the randomized packet (S121). As shown in FIGS. 4 to 6, 20 bytes of parity are appended.

包格式化部分350根据控制单元580的控制将输入的包划分为普通数据和可靠数据,并根据各个数据格式处理所述数据(S123)。The packet formatting part 350 divides the input packet into normal data and reliable data according to the control of the control unit 580, and processes the data according to the respective data formats (S123).

交织单元360对根据各个数据格式处理的数据包进行交织(S125),格状编码单元427以比特对交织的包应用格状编码以重新排列(S127)。The interleaving unit 360 interleaves the data packets processed according to the respective data formats (S125), and the trellis encoding unit 427 applies trellis encoding to the interleaved packets by bits to rearrange (S127).

发明实施方式Embodiment of the invention

图8是示意性示出根据本发明第二实施例的用于数字双流广播发送系统的纠错编码设备的方框图。如图8所示,纠错编码设备具有随机化单元410、TRS编码部分420、RS编码单元430、包格式化部分450、交织单元460、格状编码单元470、和系统控制单元480。FIG. 8 is a block diagram schematically showing an error correction encoding device for a digital dual-stream broadcast transmission system according to a second embodiment of the present invention. As shown in FIG. 8 , the error correction encoding device has a randomization unit 410 , a TRS encoding unit 420 , an RS encoding unit 430 , a packet formatting unit 450 , an interleaving unit 460 , a trellis encoding unit 470 , and a system control unit 480 .

随机化单元410以预定的模式对从MPEG发送系统(未示出)输入的普通数据包和可靠数据包,以及从TRS编码单元420反馈的奇偶码组进行随机化。The randomization unit 410 randomizes normal data packets and reliable data packets input from an MPEG transmission system (not shown), and parity code groups fed back from the TRS encoding unit 420 in a predetermined pattern.

TRS编码单元420具有存储单元421、N/R TRS编码单元422、PID插入单元423,TRS编码单元420对随机化的普通数据包和可靠数据包应用横向编码以产生奇偶码组,并将头(PID)插入产生的奇偶码组。The TRS coding unit 420 has a storage unit 421, an N/R TRS coding unit 422, a PID insertion unit 423, and the TRS coding unit 420 applies transverse coding to randomized ordinary data packets and reliable data packets to generate parity code groups, and header ( PID) is inserted into the generated parity code group.

RS编码单元430将预定字节的奇偶校验附加到随机化的数据包和奇偶码组。The RS encoding unit 430 appends a predetermined byte of parity to the randomized data packet and parity code group.

包格式化部分450具有解复用器451、R包处理器453、和复用器455,并根据系统控制单元480的控制将输入的各个包划分为普通数据和可靠数据,并根据各个数据格式处理划分的数据。这里,如在第一实施例中参照图4至图6所描述的那样,可以以不同方式将包划分为普通数据和可靠数据。Packet formatting section 450 has demultiplexer 451, R packet processor 453, and multiplexer 455, and according to the control of system control unit 480, each packet of input is divided into common data and reliable data, and according to each data format Process partitioned data. Here, as described with reference to FIGS. 4 to 6 in the first embodiment, packets can be divided into normal data and reliable data in different ways.

交织单元460以字节对根据数据格式处理的包进行交织以重新排列。格状编码单元470以比特对交织的数据应用格状编码以重新排列。The interleaving unit 460 interleaves the packets processed according to the data format in bytes to rearrange. The trellis coding unit 470 applies trellis coding to the interleaved data by bits to rearrange.

图9是示出根据本发明第二实施例的用于图8的纠错编码设备的纠错编码处理的流程图。下文中,将参照图4至图6来详细描述根据第二实施例的纠错编码处理。FIG. 9 is a flowchart showing an error correction encoding process for the error correction encoding device of FIG. 8 according to a second embodiment of the present invention. Hereinafter, error correction encoding processing according to the second embodiment will be described in detail with reference to FIGS. 4 to 6 .

从MPEG发送系统(未示出)输入普通数据包(a)和可靠数据包(b),并且随机化单元410根据预定的模式对普通数据包(a)和可靠数据包(b)进行随机化(S211)。The normal data packet (a) and the reliable data packet (b) are input from an MPEG transmission system (not shown), and the randomization unit 410 randomizes the normal data packet (a) and the reliable data packet (b) according to a predetermined pattern (S211).

随机化的普通数据包(a)和可靠数据包(b)被存储在存储单元421中(S213)。The randomized normal data packets (a) and reliable data packets (b) are stored in the storage unit 421 (S213).

N/R TRS编码单元422对随机化的普通数据包(a)和可靠数据包(b)应用横向编码,以产生奇偶码组(S215)。如图4和图5所示,N/R TRS编码单元422对于普通数据包(a)产生普通奇偶码组(c),对于可靠数据包(b)产生可靠奇偶码组(d)。此外,如图6所示,N/R TRS编码单元422对于普通数据包(a)、可靠数据包(b)、和全部包,产生奇偶码组(D)。The N/R TRS encoding unit 422 applies transversal encoding to the randomized normal data packet (a) and reliable data packet (b) to generate a parity code group (S215). As shown in Figures 4 and 5, the N/R TRS encoding unit 422 generates common parity code groups (c) for common data packets (a), and reliable parity code groups (d) for reliable data packets (b). In addition, as shown in FIG. 6, the N/R TRS encoding unit 422 generates parity code groups (D) for normal data packets (a), reliable data packets (b), and all packets.

PID插入单元423将头(PID)插入奇偶码组(S217)。如图4所示,PID插入单元423将头(PID)(e)插入普通奇偶码组(b),将头(PID)(f)插入可靠奇偶码组(b)。此外,如图6所示,PID插入单元423将头(PID)(F)插入对于普通数据包(a)、可靠数据包(b)、和全部包而产生的奇偶码组(D)。The PID insertion unit 423 inserts the header (PID) into the parity code group (S217). As shown in FIG. 4, the PID insertion unit 423 inserts the header (PID) (e) into the common parity code group (b), and inserts the header (PID) (f) into the reliable parity code group (b). Also, as shown in FIG. 6, the PID insertion unit 423 inserts a header (PID) (F) into the parity group (D) generated for the normal packet (a), the reliable packet (b), and the entire packet.

如上所述,头(PID)被插入其中的奇偶码组被反馈到随机化单元410,根据预定的模式被随机化、并被存储在存储单元421中(S219)。As described above, the parity code group into which the header (PID) is inserted is fed back to the randomization unit 410, randomized according to a predetermined pattern, and stored in the storage unit 421 (S219).

RS编码单元430将预定字节的奇偶校验附加到存储在存储单元421中的数据包和奇偶码组(S221)。如图4至图6所示,RS编码单元430将20字节的奇偶校验附加到包。The RS encoding unit 430 appends a predetermined byte of parity to the data packet and parity group stored in the storage unit 421 (S221). As shown in FIGS. 4 to 6, the RS encoding unit 430 attaches 20 bytes of parity to the packet.

包格式化部分450根据系统控制单元480的控制将输入的包划分为普通数据和可靠数据,并根据各个包格式处理数据(S223)。The packet formatting part 450 divides the input packets into normal data and reliable data according to the control of the system control unit 480, and processes the data according to the respective packet formats (S223).

交织单元460以字节对根据数据格式处理的包进行交织以重新排列(S225),格状编码单元470以比特对交织的数据应用格状编码以重新排列(S227)。The interleaving unit 460 interleaves the packets processed according to the data format by bytes to rearrange (S225), and the trellis coding unit 470 applies trellis coding to the interleaved data by bits to rearrange (S227).

图10是示意性示出根据本发明第三实施例的用于数字双流广播发送系统的纠错编码设备的方框图。如图10所示,纠错编码设备具有随机化单元510、RS编码单元520、TRS编码部分530、包格式化部分550、交织单元560、格状编码单元570、和系统控制单元580。FIG. 10 is a block diagram schematically showing an error correction encoding device for a digital dual-stream broadcast transmission system according to a third embodiment of the present invention. As shown in FIG. 10 , the error correction encoding device has a randomization unit 510 , an RS encoding unit 520 , a TRS encoding section 530 , a packet formatting section 550 , an interleaving unit 560 , a trellis encoding unit 570 , and a system control unit 580 .

随机化单元510根据预定的模式对从MPEG发送系统(未示出)输出的普通数据包和可靠数据包进行随机化,并且也对从TRS编码部分530反馈的奇偶码组进行随机化。The randomizing unit 510 randomizes normal data packets and reliable data packets output from an MPEG transmission system (not shown) according to a predetermined pattern, and also randomizes parity code groups fed back from the TRS encoding section 530 .

RS编码单元520将预定字节的奇偶校验附加到随机化的普通数据包和可靠数据包,还将预定字节的奇偶校验附加到从TRS编码部分530反馈的随机化的奇偶码组。The RS encoding unit 520 appends a predetermined byte of parity to the randomized normal and reliable data packets, and also appends a predetermined byte of parity to the randomized parity group fed back from the TRS encoding section 530 .

TRS编码部分530具有存储单元531、N/R TRS编码单元532、PID插入单元533,TRS编码部分530对附加奇偶校验的普通数据包和可靠数据包应用横向编码以产生奇偶码组,并将头(PID)插入产生的奇偶码组。The TRS encoding part 530 has a storage unit 531, an N/R TRS encoding unit 532, and a PID insertion unit 533. The TRS encoding part 530 applies horizontal encoding to the ordinary data packet and the reliable data packet to which parity is added to generate a parity code group, and The header (PID) is inserted into the generated parity group.

这里,产生奇偶码组的处理可产生用于附加奇偶校验的数据包的奇偶码组,还可产生用于除奇偶校验之外的数据包的奇偶码组。在附加奇偶校验的数据包的情况下,在头被插入奇偶码组之前,包经过重新排列处理。即,如果对于包括奇偶校验的数据包产生奇偶码组,则奇偶码组具有207字节的大小。因此,考虑到由RS编码单元520附加的20字节奇偶校验,奇偶码组被重新排列为187字节的大小。Here, the process of generating a parity group may generate a parity group for a data packet to which a parity is attached, and may also generate a parity group for a data packet other than a parity. In the case of a parity-attached data packet, the packet undergoes a rearrangement process before the header is inserted into the parity group. That is, if a parity group is generated for a packet including parity, the parity group has a size of 207 bytes. Therefore, the parity group is rearranged into a size of 187 bytes in consideration of the 20-byte parity appended by the RS encoding unit 520 .

包格式化部分550具有解复用器551、R包处理器553、和复用器555,其根据系统控制单元580的控制将输入的包划分为普通数据和可靠数据,并根据各个数据格式处理数据。这里,如在第一实施例中参照图4至图6所述的那样,可以以不同方式将包划分为普通数据和可靠数据。The packet formatting section 550 has a demultiplexer 551, an R packet processor 553, and a multiplexer 555, which divide input packets into ordinary data and reliable data according to the control of the system control unit 580, and process them according to the respective data formats data. Here, as described with reference to FIGS. 4 to 6 in the first embodiment, packets can be divided into normal data and reliable data in different ways.

交织单元560以字节对根据包格式处理的包进行交织以重新排列。格状编码单元570以比特对交织的数据应用格状编码以重新排列。The interleaving unit 560 interleaves packets processed according to the packet format by bytes to rearrange. The trellis coding unit 570 applies trellis coding to the interleaved data by bits to rearrange.

图11是示出根据本发明第三实施例的用于图10的纠错编码设备的纠错编码处理的流程图。下文中,将参照图4至图6对根据本发明第三实施例的纠错编码处理进行详细的描述。FIG. 11 is a flowchart showing an error correction encoding process for the error correction encoding device of FIG. 10 according to a third embodiment of the present invention. Hereinafter, the error correction coding process according to the third embodiment of the present invention will be described in detail with reference to FIGS. 4 to 6 .

普通数据包(a)和可靠数据包(b)被从MPEG发送系统(未示出)输入,随机化单元510根据预定的模式对普通数据包(a)和可靠数据包(b)进行随机化(S311)。The normal data packet (a) and the reliable data packet (b) are input from an MPEG transmission system (not shown), and the randomization unit 510 randomizes the normal data packet (a) and the reliable data packet (b) according to a predetermined pattern (S311).

RS编码单元520将预定字节的奇偶校验附加到随机化的普通数据包(a)和可靠数据包(b)(S313)。The RS encoding unit 520 appends a predetermined byte of parity to the randomized normal data packet (a) and reliable data packet (b) (S313).

存储单元531存储已经附加奇偶校验的普通数据包(a)(g)和可靠数据包(b)(i)(S315)。The storage unit 531 stores the normal data packets (a)(g) and reliable data packets (b)(i) to which the parity has been attached (S315).

N/R TRS编码单元532对于已经存储在存储单元531中的普通数据包(a)(g)和可靠数据包(b)(i)产生奇偶码组。这里,产生奇偶码组的处理可分为对于除奇偶校验之外的数据包产生奇偶码组的处理,和对于包括奇偶校验的数据包产生奇偶码组的处理。The N/R TRS encoding unit 532 generates parity code groups for the normal data packets (a)(g) and reliable data packets (b)(i) already stored in the storage unit 531. Here, the process of generating a parity group can be divided into a process of generating a parity group for a data packet other than a parity, and a process of generating a parity group for a data packet including a parity.

在除奇偶校验之外的数据包的情况下,对于存储在存储单元531中的数据包,N/R TRS编码单元532仅对于除奇偶校验(g)(i)的数据部分应用横向编码,以便产生奇偶码组。如图4和图5所示,N/R TRS编码单元532对于普通数据包(a)和可靠数据包(b)产生普通奇偶码组(c)和可靠奇偶码组(d),或者对于普通数据包(a)和可靠数据包(d)产生奇偶码组(D)。In the case of a packet other than parity, for the packet stored in the storage unit 531, the N/R TRS encoding unit 532 applies transversal encoding only to the data portion except the parity (g)(i) , in order to generate parity code groups. As shown in Fig. 4 and Fig. 5, N/R TRS encoding unit 532 produces common parity code group (c) and reliable parity code group (d) for normal data packet (a) and reliable data packet (b), or for common The data packet (a) and the reliable data packet (d) generate a parity code group (D).

在包括奇偶校验的数据包的情况下,N/R TRS编码单元532对包括奇偶校验(g)(i)的数据包应用横向编码,并产生奇偶码组(S317)。即,如图4和图5所示,N/R TRS编码单元532对于普通数据包(a)(g)和可靠数据包(b)(i)产生普通奇偶码组(c)(h)和可靠奇偶码组(d)(j),或者对于普通数据包(a)(g)和可靠数据包(d)(i)产生奇偶码组(D)(J)。接着,TRS编码部分530以预定的字节重新排列产生的奇偶码组。例如,TRS编码部分530将产生的207字节的奇偶码组重新排列为187字节的奇偶码组。In the case of a packet including parity, the N/R TRS encoding unit 532 applies transversal encoding to the packet including parity (g)(i), and generates a parity code group (S317). That is, as shown in Fig. 4 and Fig. 5, N/R TRS encoding unit 532 produces common parity code group (c) (h) and Reliable parity code group (d)(j), or generate parity code group (D)(J) for normal data packet (a)(g) and reliable data packet (d)(i). Next, the TRS encoding section 530 rearranges the generated parity code groups in predetermined bytes. For example, the TRS encoding section 530 rearranges the generated parity code group of 207 bytes into a parity code group of 187 bytes.

PID插入单元533将头(PID)插入产生的奇偶码组(S319)。如图4和图5所示,PID插入单元533将头(PID)(e)(f)插入产生的奇偶码组(c)(d),或者,如图6所示,PID插入单元533将头(PID)(F)插入产生的奇偶码组(D)。The PID insertion unit 533 inserts a header (PID) into the generated parity group (S319). As shown in Figures 4 and 5, the PID insertion unit 533 inserts the header (PID) (e) (f) into the generated parity code group (c) (d), or, as shown in Figure 6, the PID insertion unit 533 will The header (PID) (F) is inserted into the generated parity group (D).

如上所述,从TRS编码部分530产生的奇偶码组被反馈到随机化单元510以进行随机化(S321),RS编码单元520将预定字节的奇偶校验附加到随机化的奇偶码组(S323)。如图4和图5所示,20字节的奇偶校验(h)(j)被附加到随机化的普通奇偶码组(c)和可靠奇偶码组(d),或者,如图6所示,20字节的奇偶校验(J)被附加到随机化的奇偶码组(D)。As described above, the parity code group generated from the TRS coding section 530 is fed back to the randomization unit 510 for randomization (S321), and the RS coding unit 520 appends a predetermined byte of parity to the randomized parity code group ( S323). 20 bytes of parity (h)(j) are appended to the randomized common parity group (c) and reliable parity group (d) as shown in Figures 4 and 5, or, as shown in Figure 6 As shown, 20 bytes of parity (J) are appended to the randomized parity group (D).

在RS编码单元520中对其附加预定字节的奇偶校验的奇偶码组被存储在存储单元531中(S325)。即,存储单元531存储如图4至图6所示的一场数据。A parity group to which parity of a predetermined byte is appended in the RS encoding unit 520 is stored in the storage unit 531 (S325). That is, the storage unit 531 stores data of one field as shown in FIGS. 4 to 6 .

包格式化部分550根据系统控制单元580的控制将输入的包划分为普通数据和可靠数据,并根据各个包格式处理数据(S327)。The packet formatting part 550 divides the input packet into normal data and reliable data according to the control of the system control unit 580, and processes the data according to the respective packet formats (S327).

交织单元560以字节对根据数据格式处理的包进行交织以重新排列(S328),格状编码单元570以比特将格状编码应用到交织的数据以重新排列(S329)。The interleaving unit 560 interleaves the packets processed according to the data format by bytes to rearrange (S328), and the trellis coding unit 570 applies trellis coding to the interleaved data by bits to rearrange (S329).

如上所述,根据本发明的第一至第三实施例的用于双流广播的纠错编码设备已被描述为设置了具有存储单元、N/R TRS编码单元、和PID插入单元的TRS编码单元,但是该设备可为如图12所示的TRS编码部分610。As described above, the error correction encoding apparatus for dual-stream broadcasting according to the first to third embodiments of the present invention has been described as being provided with a TRS encoding unit having a storage unit, an N/R TRS encoding unit, and a PID insertion unit , but the device may be a TRS encoding part 610 as shown in FIG. 12 .

如图12所示,TRS编码部分610具有:存储单元611,用于存储普通数据包和可靠数据包;N-TRS编码单元612,用于对普通数据包应用横向编码并产生普通奇偶码组;N-PID插入单元613,用于将头(PID)插入普通奇偶码组;R-TRS编码单元614,用于对可靠数据包进行横向编码并产生可靠奇偶码组;以及R-PID插入单元615,用于将头(PID)插入可靠奇偶码组。As shown in Figure 12, the TRS encoding part 610 has: a storage unit 611 for storing ordinary data packets and reliable data packets; an N-TRS encoding unit 612 for applying horizontal encoding to ordinary data packets and generating ordinary parity code groups; N-PID insertion unit 613 is used to insert header (PID) into common parity code group; R-TRS coding unit 614 is used to carry out horizontal coding to reliable data packet and produces reliable parity code group; and R-PID insertion unit 615 , used to insert the header (PID) into the reliable parity group.

即,图3、图7、和图10所示的根据第一至第三实施例的TRS编码部分可以由图12所示的TRS编码部分610来替换。That is, the TRS encoding section according to the first to third embodiments shown in FIG. 3 , FIG. 7 , and FIG. 10 may be replaced by the TRS encoding section 610 shown in FIG. 12 .

图13是示意性示出根据本发明实施例的与用于双流的纠错编码设备对应的用于双流的纠错解码设备的方框图。FIG. 13 is a block diagram schematically showing an error correction decoding device for dual streams corresponding to an error correction encoding device for dual streams according to an embodiment of the present invention.

纠错解码设备具有格状解码单元711、去交织单元721、包重新格式化部分730、RS解码单元741、去随机化/随机化单元743、TRS解码部分750、和去随机化单元761。The error correction decoding device has a trellis decoding unit 711 , a deinterleaving unit 721 , a packet reformatting section 730 , an RS decoding unit 741 , a derandomization/randomization unit 743 , a TRS decoding section 750 , and a derandomization unit 761 .

格状解码单元711和去交织单元721应用与发送端应用的格状编码和交织对应的格状解码和去交织。The trellis decoding unit 711 and the deinterleaving unit 721 apply trellis decoding and deinterleaving corresponding to the trellis encoding and interleaving applied by the transmitting end.

包重新格式化部分730具有解复用器731、R包处理器732、和复用器733,其根据系统控制单元770的控制将输入的包划分为普通数据和可靠数据,并处理与各个数据格式对应的数据。The packet reformatting section 730 has a demultiplexer 731, an R packet processor 732, and a multiplexer 733, which divides an input packet into ordinary data and reliable data according to the control of the system control unit 770, and processes the data related to each data format corresponding to the data.

解复用器731根据系统控制单元770的控制,对应于在发送端划分的包的格式,例如,如图4和图6所示来划分包。The demultiplexer 731 corresponds to the format of the packet divided at the sending end according to the control of the system control unit 770, for example, divides the packet as shown in FIGS. 4 and 6 .

解复用器731将已经被划分为普通数据的包输出至复用器733,R包处理器732根据发送端的特定比例,例如,1/2和1/4,将已经被划分为可靠数据的包处理为普通数据,并且将该普通数据输出到复用器733。The demultiplexer 731 outputs the packets that have been divided into normal data to the multiplexer 733, and the R packet processor 732 will divide the packets that have been divided into reliable data according to the specific ratio of the sending end, for example, 1/2 and 1/4. Packets are processed as normal data, and the normal data is output to the multiplexer 733 .

RS解码单元741通过使用包括在包中的预定字节的奇偶校验来以场数据的行方向进行纠错。The RS decoding unit 741 performs error correction in the row direction of field data by using parity of predetermined bytes included in the packet.

去随机化/随机化单元743根据预定的模式对包进行随机化。如果如第一实施例那样,在随机化单元之前使用TRS编码单元,则接收端的去随机化/随机化单元743对所有数据包和奇偶码组进行随机化,如果如第二和第三实施例那样,在随机化单元之后使用TRS编码单元,则去随机化/随机化单元743仅对奇偶码组进行随机化。The de-randomization/randomization unit 743 randomizes packets according to a predetermined pattern. If the TRS encoding unit is used before the randomization unit as in the first embodiment, the de-randomization/randomization unit 743 at the receiving end randomizes all data packets and parity code groups, if as in the second and third embodiments That way, using the TRS encoding unit after the randomization unit, the de-randomization/randomization unit 743 randomizes only the parity code groups.

TRS解码部分750具有存储单元751和N/R TRS解码单元753,其通过使用奇偶码组以列方向来纠正包差错。存储单元751存储在RS解码单元741和N/R TRS解码单元753纠错的数据,以及差错是否已经被纠正的信息等。The TRS decoding section 750 has a storage unit 751 and an N/R TRS decoding unit 753 that corrects packet errors in the column direction by using parity code groups. The storage unit 751 stores the error-corrected data in the RS decoding unit 741 and the N/R TRS decoding unit 753, and information on whether the error has been corrected, etc.

去随机化单元761根据预定的模式对已经在RS解码单元741中以行方向进行纠错的数据包进行去随机化。The de-randomization unit 761 de-randomizes the data packets that have been error-corrected in the row direction in the RS decoding unit 741 according to a predetermined pattern.

在如上所述的根据本发明的用于双流的纠错解码设备中,TRS解码部分750已经被描述为包括存储单元751和N/R TRS解码单元753,但是如图14所示的TRS解码部分810可用于TRS解码部分750。In the error correction decoding device for dual stream according to the present invention as described above, the TRS decoding section 750 has been described as including the storage unit 751 and the N/R TRS decoding unit 753, but the TRS decoding section as shown in FIG. 14 810 may be used in TRS decoding section 750 .

如图14所示,TRS解码部分810具有:存储单元811,用于存储数据包和奇偶码组;N-TRS解码单元813,用于通过使用普通奇偶码组将横向解码单元813应用到普通数据包,R-TRS解码单元815,用于通过使用可靠奇偶码组对可靠数据包应用横向解码。即,如图13所示的TRS解码部分750可由如图14所示的TRS解码部分810替换。As shown in Figure 14, the TRS decoding section 810 has: a storage unit 811 for storing data packets and parity code groups; an N-TRS decoding unit 813 for applying the horizontal decoding unit 813 to ordinary data by using ordinary parity code groups The packet, R-TRS decoding unit 815 is used to apply transversal decoding to reliable data packets by using reliable parity code groups. That is, the TRS decoding part 750 shown in FIG. 13 can be replaced by the TRS decoding part 810 shown in FIG. 14 .

图15是示出用于根据图3的第一实施例的纠错编码设备的纠错解码处理的流程图。FIG. 15 is a flowchart showing error correction decoding processing for the error correction encoding device according to the first embodiment of FIG. 3 .

格状解码单元711和去交织单元721应用与在发送端使用的格状编码对应的格状解码,并应用与在发送端使用的交织对应的去交织(S411)。The trellis decoding unit 711 and the deinterleaving unit 721 apply trellis decoding corresponding to the trellis encoding used on the transmitting side, and apply deinterleaving corresponding to the interleaving used on the transmitting side (S411).

包重新格式化部分730将去交织的包划分为普通数据包和可靠数据包,并处理与各个包格式对应的数据(S413)。The packet reformatting part 730 divides the deinterleaved packets into normal data packets and reliable data packets, and processes data corresponding to the respective packet formats (S413).

RS解码单元741使用包括在包中的20字节的奇偶校验(g)(h)(i)(j)来以场数据的行方向纠正包差错(S415)。The RS decoding unit 741 corrects packet errors in the row direction of field data using 20-byte parity (g)(h)(i)(j) included in the packet (S415).

去随机化/随机化单元743对所有的数据包和奇偶码组进行去随机化(S417)。这里,在第一实施例的纠错编码中,由于TRS编码部分310被置于随机化单元320之前,所以从TRS编码部分310产生的奇偶码组是基于去随机化的数据包产生的去随机化的包。因此,去随机化/随机化单元743对所有数据包和奇偶码组进行去随机化。The derandomization/randomization unit 743 derandomizes all data packets and parity code groups (S417). Here, in the error correction coding of the first embodiment, since the TRS coding part 310 is placed before the randomization unit 320, the parity code group generated from the TRS coding part 310 is derandomized based on the derandomized data packet generation. package. Therefore, the de-randomization/randomization unit 743 de-randomizes all data packets and parity groups.

存储单元751存储在RS解码单元743中以行方向纠错的数据,以及关于差错是否已经被纠正的信息(S419)。The storage unit 751 stores the data error-corrected in the row direction in the RS decoding unit 743, and information on whether the error has been corrected (S419).

N/R TRS解码单元753使用存储在存储单元751中的去随机化的奇偶码组来对于去随机化的数据包以列方向进行纠错(S421)。The N/R TRS decoding unit 753 uses the derandomized parity code group stored in the storage unit 751 to perform error correction in the column direction on the derandomized data packet (S421).

接着,基于在N/R TRS解码单元753中以列方向纠错的数据和关于差错是否已经被纠正的信息来更新存储在存储单元751中的数据(S423)。Next, the data stored in the storage unit 751 is updated based on the data error-corrected in the column direction in the N/R TRS decoding unit 753 and information on whether the error has been corrected (S423).

去随机化/随机化单元743对存储在存储单元751中的去随机化的数据包和奇偶码组进行重新随机化(S425)。这里,由于奇偶校验已经被附加到随机化的数据包和奇偶码组,所以在RS解码单元741应用RS解码之前,图3的纠错编码设备的RS编码单元330对数据包和奇偶码组进行随机化。The derandomization/randomization unit 743 rerandomizes the derandomized data packets and parity code groups stored in the storage unit 751 (S425). Here, since parity has been appended to the randomized data packet and parity code group, before the RS decoding unit 741 applies RS decoding, the RS encoding unit 330 of the error correction encoding device in FIG. Randomize.

RS解码单元741使用20字节的奇偶校验来对于随机化的数据包和奇偶码组再一次进行纠错(S427)。The RS decoding unit 741 again performs error correction on the randomized data packet and parity code group using the 20-byte parity (S427).

去随机化单元761根据预定的模式对纠错的数据进行去随机化,从而接收系统结束它的纠错(S429)。The derandomization unit 761 derandomizes the error-corrected data according to a predetermined pattern, so that the receiving system ends its error correction (S429).

图16是示出用于根据图8和图10所示的第二和第三实施例的纠错解码设备的纠错解码处理的流程图,将参照图16对用于第二和第三实施例的纠错解码处理进行描述。Fig. 16 is a flow chart showing the error correction decoding process for the error correction decoding device according to the second and third embodiments shown in Fig. 8 and Fig. 10, and will refer to Fig. 16 for the second and third implementation An example error correction decoding process will be described.

格状解码单元711和去交织单元721应用与在发送端使用的格状编码对应的格状解码,并应用与在发送端使用的交织对应的去交织(S511)。The trellis decoding unit 711 and the deinterleaving unit 721 apply trellis decoding corresponding to the trellis encoding used on the transmitting side, and apply deinterleaving corresponding to the interleaving used on the transmitting side (S511).

包重新格式化部分730将去交织的包划分为普通数据包和可靠数据包,并处理与各个包格式对应的数据(S513)。The packet reformatting part 730 divides the deinterleaved packets into normal data packets and reliable data packets, and processes data corresponding to the respective packet formats (S513).

RS解码单元741使用包括在包中的20字节奇偶校验来以场数据的行方向纠正包差错(S515)。The RS decoding unit 741 corrects packet errors in the row direction of the field data using the 20-byte parity included in the packet (S515).

去随机化/随机化单元743仅对奇偶码组进行去随机化(S517)。这里,由于图8和图10所示的纠错编码设备的TRS编码部分被置于随机化单元之后,并且从TRS编码部分产生的奇偶码组是基于随机化的数据包产生的去随机化的包,所以去随机化/随机化单元743仅对奇偶码组进行去随机化。The derandomization/randomization unit 743 derandomizes only the parity code group (S517). Here, since the TRS encoding part of the error correction encoding device shown in Figure 8 and Figure 10 is placed after the randomization unit, and the parity code group generated from the TRS encoding part is de-randomized based on the randomized data packet generation packet, so the de-randomization/randomization unit 743 only de-randomizes the parity code group.

存储单元751存储在RS解码单元743中以行方向纠错的数据,以及关于差错是否已经被纠正的信息(S519)。The storage unit 751 stores the data error-corrected in the row direction in the RS decoding unit 743, and information on whether the error has been corrected (S519).

N/R TRS解码单元753使用存储在存储单元751中的去随机化的奇偶码组来对于随机化的数据包以列方向进行纠错(S521)。The N/R TRS decoding unit 753 uses the derandomized parity code group stored in the storage unit 751 to perform error correction in the column direction on the randomized data packet (S521).

接着,N/R TRS解码单元753基于以列方向纠错的数据和关于差错是否已经被纠正的信息来更新存储在存储单元751中的数据(S523)。Next, the N/R TRS decoding unit 753 updates the data stored in the storage unit 751 based on the data error-corrected in the column direction and the information on whether the error has been corrected (S523).

去随机化/随机化单元743对存储在存储单元751中的去随机化的数据包进行重新随机化(S525)。这里,由于奇偶校验被附加到随机化的数据包和奇偶码组,所以,在RS解码单元741应用RS解码之前,图8和图10所示的纠错编码设备的RS编码单元对存储在存储单元751中的去随机化的奇偶码组进行随机化。The derandomization/randomization unit 743 rerandomizes the derandomized packets stored in the storage unit 751 (S525). Here, since the parity check is appended to the randomized data packet and the parity code group, before the RS decoding unit 741 applies RS decoding, the RS encoding unit pair of the error correction encoding device shown in FIG. 8 and FIG. 10 is stored in The derandomized parity code group in the storage unit 751 is randomized.

RS解码单元741使用20字节的奇偶校验以对于随机化的数据包和奇偶码组再次进行纠错(S527)。The RS decoding unit 741 uses a 20-byte parity to perform error correction again on the randomized data packet and parity code group (S527).

去随机化单元761根据预定的模式对纠错的数据进行去随机化,从而接收系统结束它的纠错(S529)。The derandomization unit 761 derandomizes the error-corrected data according to a predetermined pattern, so that the receiving system ends its error correction (S529).

产业上的可利用性Industrial availability

本发明涉及一种用于美国ATSC数字地面广播接收/发送系统的纠错编码/解码设备,更具体地讲,涉及一种用于数字双流广播接收/发送系统的可靠纠错编码/解码设备和方法,其中,数字双流广播接收/发送系统将数据划分为普通数据和可靠数据以处理、接收、和发送数据。The present invention relates to an error correction coding/decoding device used in the ATSC digital terrestrial broadcast receiving/transmitting system in the United States, more specifically, a reliable error correcting coding/decoding device used in a digital dual-stream broadcast receiving/transmitting system and The method, wherein the digital dual-stream broadcast receiving/transmitting system divides data into normal data and reliable data to process, receive, and transmit the data.

Claims (10)

1, a kind of at least one digital broacast receiver that is used for receiving the general data of error correction coding and authentic data from digital broadcasting transmission system, wherein, described digital broadcasting transmission system comprises: the error correction coding unit that comprises first encoder and second encoder, trellis encoder and interleave unit, wherein, in the general data of error correction coding and the authentic data described at least one comprise the general data bag of predetermined quantity and at least one in the authentic data bag, by using first encoder, parity check be added in general data bag and the authentic data bag described at least one each the row an end, and added to described at least one and described parity check in general data bag and the authentic data bag by row by the parity code check packet that second encoder produces corresponding to described at least one and described parity check in general data bag and the authentic data bag, described receiving system comprises:
Demodulation multiplexer, the input bag that is used for receiving from transmitting system is divided into described authentic data at least; And
The error correction decoding device is used to correct the described authentic data at least of the error correction coding that is received, and described error correction decoding device comprises:
Trellis decoder is used for the described authentic data at least of carrying out trellis coding by the trellis encoder of transmitting system is carried out the trellis decoding;
First decoder is used for using the parity check of the predetermined quantity byte that is included in described authentic data at least that the described authentic data at least of predetermined quantity is decoded; And
Second decoder is used for using described parity code check packet that the described authentic data bag at least of decoding at first decoder is decoded.
2, a kind of at least one digital broacast receiver that is used for receiving the general data of error correction coding and authentic data from digital broadcasting transmission system, wherein, described digital broadcasting transmission system comprises: the error correction coding unit that comprises first encoder and second encoder, trellis encoder and interleave unit, wherein, in the general data of error correction coding and the authentic data described at least one comprise the general data bag of predetermined quantity and at least one in the authentic data bag, produce parity code check packet by first encoder corresponding to the general data bag of described predetermined quantity and at least one in the authentic data bag, described parity code check packet added to by row in general data bag and the authentic data bag described at least one, the parity check that produces by second encoder be added in general data bag and the authentic data bag described at least one with each capable end of described parity check, described receiving system comprises:
Demodulation multiplexer, the input bag that is used for receiving from transmitting system is divided into described authentic data at least; And
The error correction decoding device is used to correct the described authentic data at least of the error correction coding that is received, and described error correction decoding device comprises:
Trellis decoder is used for the described authentic data at least of carrying out trellis coding by the trellis encoder of transmitting system is carried out the trellis decoding;
First decoder is used to use described parity code check packet that the described authentic data bag at least of predetermined quantity is decoded; And
Second decoder is used for using the parity check of the predetermined quantity byte that is included in described authentic data at least that the described authentic data bag at least of decoding in first decoder is decoded.
3, a kind of at least one digital broacast receiver that is used for receiving the general data of error correction coding and authentic data from digital broadcasting transmission system, wherein, described digital broadcasting transmission system comprises: the error correction coding unit that comprises first encoder and second encoder, trellis encoder and interleave unit, wherein, in the general data of error correction coding and the authentic data described at least one comprise the general data bag of predetermined quantity and at least one in the authentic data bag, by using first encoder, parity code check packet by by row added in general data bag and the authentic data bag described at least one, and added to described at least one and described parity code check packet in general data bag and the authentic data bag by second encoder line by line corresponding to the parity check of described at least one and described parity check packet generation in general data bag and the authentic data bag, described receiving system comprises:
Demodulation multiplexer, the input bag that is used for receiving from transmitting system is divided into described authentic data at least; And
The error correction decoding device is used to correct the described authentic data at least of the error correction coding that is received, and described error correction decoding device comprises:
Trellis decoder is used for carry out trellis coding by the trellis encoder of transmitting system
Described authentic data is at least carried out the trellis decoding;
First decoder is used for using the parity check of the predetermined quantity byte that is included in described authentic data at least that the described authentic data bag at least of predetermined quantity is decoded; And
Second decoder is used for using described parity code check packet that the described authentic data bag at least of decoding at first decoder is decoded.
4, a kind of at least one digital broacast receiver that is used for receiving the general data of error correction coding and authentic data from digital broadcasting transmission system, wherein, described digital broadcasting transmission system comprises: the error correction coding unit that comprises first encoder and second encoder, trellis encoder and interleave unit, wherein, in the general data of error correction coding and the authentic data described at least one comprise the general data bag of predetermined quantity and at least one in the authentic data bag, produce parity check by first encoder corresponding to the general data bag of described predetermined quantity and at least one in the authentic data bag, described parity check added to line by line in general data bag and the authentic data bag described at least one, the parity code check packet that is produced by second encoder is added to described at least one and the described parity check in general data bag and the authentic data bag by row, described receiving system comprises:
Demodulation multiplexer, the input bag that is used for receiving from transmitting system is divided into described authentic data at least; And
The error correction decoding device is used to correct the described authentic data at least of the error correction coding that is received, and described error correction decoding device comprises:
Trellis decoder is used for the described authentic data at least of carrying out trellis coding by the trellis encoder of transmitting system is carried out the trellis decoding;
First decoder is used to use described parity code check packet that the described authentic data bag at least of predetermined quantity is decoded; And
Second decoder is used for using the parity check of the predetermined quantity byte that is included in described authentic data at least that the described authentic data bag at least of decoding in first decoder is decoded.
5, digital broacast receiver as claimed in claim 1 wherein, comes the additional parity bag corresponding in general data bag and the authentic data bag each.
6, digital broacast receiver as claimed in claim 1 wherein, comes the additional parity bag corresponding to the integral body of general data bag and authentic data bag.
7, digital broacast receiver as claimed in claim 2 wherein, comes the additional parity bag corresponding in general data bag and the authentic data bag each.
8, digital broacast receiver as claimed in claim 2 wherein, comes the additional parity bag corresponding to the integral body of general data bag and authentic data bag.
9, digital broacast receiver as claimed in claim 3 wherein, comes the additional parity bag corresponding in general data bag and the authentic data bag each.
10, digital broacast receiver as claimed in claim 3 wherein, comes the additional parity bag corresponding to the integral body of general data bag and authentic data bag.
11, digital broacast receiver as claimed in claim 4 wherein, comes the additional parity bag corresponding in general data bag and the authentic data bag each.
12, digital broacast receiver as claimed in claim 4 wherein, comes the additional parity bag corresponding to the integral body of general data bag and authentic data bag.
CN200810178731.XA 2003-11-03 2004-11-01 Robust error correction encoding/decoding apparatus and method of digital dual-stream broadcast reception/transmission system Expired - Fee Related CN101426145B (en)

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
US51627003P 2003-11-03 2003-11-03
US60/516,270 2003-11-03
KR1020040014054A KR100683179B1 (en) 2003-11-03 2004-03-02 Robust Error Correction Coding / Decoding Apparatus and Method thereof for Dual Stream Digital Broadcast Transceiver
KR10-2004-0014054 2004-03-02
KR1020040014054 2004-03-02

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CNA2004800234329A Division CN1836446A (en) 2003-11-03 2004-11-01 Robust error correction encoding/decoding apparatus and method for digital dual-stream broadcast reception/transmission systems

Publications (2)

Publication Number Publication Date
CN101426145A true CN101426145A (en) 2009-05-06
CN101426145B CN101426145B (en) 2014-03-19

Family

ID=40616435

Family Applications (4)

Application Number Title Priority Date Filing Date
CN 200910134562 Pending CN101540917A (en) 2003-11-03 2004-11-01 Robust error correction encoding/decoding apparatus and method for digital dual-stream broadcast reception/transmission systems
CN200810178729.2A Expired - Fee Related CN101426144B (en) 2003-11-03 2004-11-01 Robust error correction encoding/decoding apparatus and method of digital dual-stream broadcast system
CN200910134563.9A Expired - Fee Related CN101540918B (en) 2003-11-03 2004-11-01 Reliable error correction encoding/decoding device and method for digital dual-stream broadcasting system
CN200810178731.XA Expired - Fee Related CN101426145B (en) 2003-11-03 2004-11-01 Robust error correction encoding/decoding apparatus and method of digital dual-stream broadcast reception/transmission system

Family Applications Before (3)

Application Number Title Priority Date Filing Date
CN 200910134562 Pending CN101540917A (en) 2003-11-03 2004-11-01 Robust error correction encoding/decoding apparatus and method for digital dual-stream broadcast reception/transmission systems
CN200810178729.2A Expired - Fee Related CN101426144B (en) 2003-11-03 2004-11-01 Robust error correction encoding/decoding apparatus and method of digital dual-stream broadcast system
CN200910134563.9A Expired - Fee Related CN101540918B (en) 2003-11-03 2004-11-01 Reliable error correction encoding/decoding device and method for digital dual-stream broadcasting system

Country Status (1)

Country Link
CN (4) CN101540917A (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5559506A (en) * 1994-05-04 1996-09-24 Motorola, Inc. Method and apparatus for encoding and decoding a digital radio signal
CN1307804A (en) * 2000-12-21 2001-08-15 河南中电除草剂有限公司 Composite wheat field herbicide
US6631492B2 (en) * 2001-01-02 2003-10-07 Eastman Kodak Company Multitrack data recording and read out of recorded multitrack digital data for error correction
KR100674423B1 (en) * 2001-01-19 2007-01-29 엘지전자 주식회사 Transmission / reception system and data processing method
US7675994B2 (en) * 2001-04-02 2010-03-09 Koninklijke Philips Electronics N.V. Packet identification mechanism at the transmitter and receiver for an enhanced ATSC 8-VSB system
EP1537674A4 (en) * 2002-06-21 2007-04-04 Thomson Licensing METHOD OF CORRECTING ERRORS WITHOUT RETURN CIRCUIT
CN1207913C (en) * 2002-08-30 2005-06-22 清华大学 Interactive digital multimedia cable TV system

Also Published As

Publication number Publication date
CN101540918B (en) 2011-10-05
CN101426144B (en) 2011-11-09
CN101540917A (en) 2009-09-23
CN101426144A (en) 2009-05-06
CN101540918A (en) 2009-09-23
CN101426145B (en) 2014-03-19

Similar Documents

Publication Publication Date Title
EP1680923B1 (en) Robust error correction encoding/decoding apparatus and method for digital dual-stream broadcast reception/transmission systems
US8068549B2 (en) Trellis decoder for decoding data stream including symbols coded with multiple convolutional codes
KR101609607B1 (en) Forward error correction encoding/decoding method and apparatus, digital broadcasting reception apparatus and decoding method thereof
US8522116B2 (en) Systems and methods for performing forward error correction
US20070092028A1 (en) Outer encoder and outer encoding method thereof
EP1982521B1 (en) Digital broadcasting transmission and reception system
US7464319B2 (en) Forward error correction with codeword cross-interleaving and key-based packet compression
CA2292106A1 (en) Forward error correction at mpeg-2 transport stream layer
CN101699847B (en) Digital broadcast transmitting/receiving device and signal processing method thereof
WO2002098003A1 (en) Hierarchical block coding for a packet-based communications system
US20040177308A1 (en) Encoding apparatus and method, and decoding apparatus and method for error correction
CN1902943A (en) Forward error correction decoder
CN101426144B (en) Robust error correction encoding/decoding apparatus and method of digital dual-stream broadcast system
JP4285774B2 (en) Device for processing data elements inserted into a frame
KR20100017587A (en) Digital broadcast receiver and method thereof
US7870461B2 (en) Apparatus to generate a dual transport stream and method thereof
MXPA06004860A (en) Robust error correction encoding/decoding apparatus and method for digital dual-stream broadcast reception/transmission systems
WO2007046663A1 (en) Apparatus to generate a dual transport stream and method thereof
KR101321949B1 (en) Dual transmission stream generating device and method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140319

Termination date: 20211101

CF01 Termination of patent right due to non-payment of annual fee