JP4571893B2 - Digital signal receiving apparatus and digital signal receiving program - Google Patents

Digital signal receiving apparatus and digital signal receiving program Download PDF

Info

Publication number
JP4571893B2
JP4571893B2 JP2005216114A JP2005216114A JP4571893B2 JP 4571893 B2 JP4571893 B2 JP 4571893B2 JP 2005216114 A JP2005216114 A JP 2005216114A JP 2005216114 A JP2005216114 A JP 2005216114A JP 4571893 B2 JP4571893 B2 JP 4571893B2
Authority
JP
Japan
Prior art keywords
byte
block
error correction
bytes
error
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.)
Expired - Fee Related
Application number
JP2005216114A
Other languages
Japanese (ja)
Other versions
JP2007036597A (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.)
Japan Broadcasting Corp
Original Assignee
Japan Broadcasting Corp
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 Japan Broadcasting Corp filed Critical Japan Broadcasting Corp
Priority to JP2005216114A priority Critical patent/JP4571893B2/en
Publication of JP2007036597A publication Critical patent/JP2007036597A/en
Application granted granted Critical
Publication of JP4571893B2 publication Critical patent/JP4571893B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、デジタル信号受信装置及びデジタル信号受信プログラムに係り、特に、デジタル信号の受信特性を改善するためのデジタル信号受信装置及びデジタル信号受信プログラムに関する。   The present invention relates to a digital signal receiving apparatus and a digital signal receiving program, and more particularly to a digital signal receiving apparatus and a digital signal receiving program for improving the reception characteristics of a digital signal.

従来、デジタル信号(ストリーム)を伝送する場合に、伝送妨害による誤りの発生を防止するため、元の情報を誤り訂正により符号化して伝送する手法が多く用いられている。例えば、MPEG−2(Moving Picture Experts Group−2)システム規格のトランスポートストリーム(MPEG−2 TS)では、188byteのトランスポートストリームパケット(TSパケット)にブロック符号の1つであるリードソロモン符号の16byteのパリティバイトを付加し、204バイトの符号語として伝送する手法がある。   Conventionally, when transmitting a digital signal (stream), in order to prevent occurrence of an error due to transmission interference, a method of encoding and transmitting original information by error correction is often used. For example, in a transport stream (MPEG-2 TS) of the MPEG-2 (Moving Picture Experts Group-2) system standard, a Reed-Solomon code of 16 bytes, which is one of the block codes, is included in a 188-byte transport stream packet (TS packet). There is a method of adding a parity byte and transmitting it as a 204-byte code word.

また、受信の精度を向上させるため、同じ内容のデジタルストリームを受信側で複数受信し、同期化された各ストリームをブロック単位で比較して、そこから正確なブロックを選択することで受信特性を改善する手法がある(例えば、特許文献1参照。)。   In addition, in order to improve the accuracy of reception, the receiving side receives multiple digital streams with the same content, compares each synchronized stream in units of blocks, and selects the correct block from it to improve reception characteristics. There is a technique to improve (for example, refer to Patent Document 1).

更に、対応する全てのブロックに誤りが含まれていた場合に、ビット単位で多数決判定による合成を行い、合成後のブロックに誤り訂正復号処理を施すことにより、受信特性を改善する技術が考えられている。
特開2005−12452号公報
Furthermore, when all the corresponding blocks contain errors, a technique for improving reception characteristics by combining by majority decision on a bit basis and applying error correction decoding processing to the combined block can be considered. ing.
Japanese Patent Laid-Open No. 2005-12458

ところで、通常のデジタル信号伝送においては、上述したように誤りの発生を防止するため、送信側で予め元の情報を誤り訂正符号化して伝送し、受信装置で受信した信号を誤り訂正復号することにより正確な受信信号を取得することになる。   By the way, in normal digital signal transmission, as described above, in order to prevent the occurrence of errors, the original information is error-correction-encoded in advance on the transmission side and transmitted, and the signal received by the receiver is error-correction-decoded. Thus, an accurate received signal is acquired.

しかしながら、より劣悪な環境の伝送路におけるデジタル信号伝送においては、発生する誤りが誤り訂正符号の訂正能力を超えてしまう場合があり、この場合には訂正不可能となってしまう恐れがある。   However, in digital signal transmission on a transmission path in a worse environment, an error that occurs may exceed the correction capability of the error correction code, and in this case, there is a possibility that correction is impossible.

なお、この課題を解決するために、上述したように受信側で複数のデジタルストリームを受信し、各受信ストリームから正しく受信されたブロックを選択することでデジタル信号の受信特性を改善する技術が考えられているが、全てのストリームのブロックが誤りを含む場合は、正確なストリームを得ることができない。   In order to solve this problem, a technique for improving the digital signal reception characteristics by receiving a plurality of digital streams on the receiving side as described above and selecting a correctly received block from each received stream is considered. However, if all stream blocks contain errors, an accurate stream cannot be obtained.

更に、上述したように全てのストリームのブロックが誤りを含む場合にビット単位に多数決判定を行い、受信特性を改善する技術が考えられている。しかしながら、多数決判定を行うためには少なくとも3つ以上のストリームが受信されていなければならない。そのため、受信ストリームが2つの場合は、改善効果が得られなかった。   Further, as described above, a technique is considered in which when a block of all streams includes an error, a majority decision is performed on a bit basis to improve reception characteristics. However, in order to make a majority decision, at least three or more streams must be received. Therefore, when there are two reception streams, the improvement effect cannot be obtained.

本発明は、上述した問題点に鑑みなされたものであり、デジタル信号の受信特性を改善するためのデジタル信号受信装置及びデジタル信号受信プログラムを提供することを目的とする。   The present invention has been made in view of the above-described problems, and an object of the present invention is to provide a digital signal receiving apparatus and a digital signal receiving program for improving digital signal reception characteristics.

上記課題を解決するために、本件発明は、以下の特徴を有する課題を解決するための手段を採用している。   In order to solve the above problems, the present invention employs means for solving the problems having the following characteristics.

請求項1に記載された発明は、誤り訂正符号を含む複数のデジタルストリームを受信し、受信した複数のデジタルストリームからデータを選定して一連のデジタルストリームを生成するためのデジタル信号受信装置において、前記複数のデジタルストリームをブロック単位に同期化させるストリーム同期部と、前記複数のデジタルストリームに対して誤り検出及び誤り訂正復号を行う誤り検出部と、前記誤り検出部により得られる複数のブロック毎に誤り訂正の可否を判定するブロック判定部と、前記ブロック判定部により誤り訂正不可と判断された複数の同一ブロック毎に値の異なるバイト位置を検出し、前記値の異なるバイト位置に前記複数のブロックのうち何れかの値を選択してブロックを合成するバイト選択部と、前記バイト選択部により得られるブロックに対して誤り訂正復号を行う誤り訂正復号部と、前記誤り訂正復号部により得られる復号結果に基づいて前記バイト選択部によるバイト選択の要否を判断する判断部とを有し、前記バイト選択部は、前記複数の同一ブロック毎に値の異なるN箇所の誤り可能性バイトのバイト位置のうち、任意のk箇所のバイト同士を入れ替えたバイト合成ブロックを生成し、前記誤り訂正復号部による前記バイト合成ブロックの誤り訂正が不可能である場合に、前記判断部からのバイト選択指示により、前記値の異なるバイト位置のうち、他のk箇所のバイト同士を入れ替えたバイト合成ブロックを生成し、更に前記バイト選択部は、前記N箇所の誤り可能性バイトに対するk箇所入れ替えの探索における全ての組み合わせM= 通りの探索数に対し、予め探索を行う割合として探索率r (0<r ≦1)を設定し、前記k箇所のバイト同士の入れ替え回数が、前記探索率r と前記探索数Mとにより設定された[r ・M]回以上となった場合に、前記k箇所入れ替えの探索を終了し、次にk=k+1として、前記バイト合成ブロックを生成することを特徴とする。 According to a first aspect of the present invention, there is provided a digital signal receiving apparatus for receiving a plurality of digital streams including an error correction code, selecting data from the plurality of received digital streams, and generating a series of digital streams. A stream synchronization unit that synchronizes the plurality of digital streams in units of blocks, an error detection unit that performs error detection and error correction decoding on the plurality of digital streams, and a plurality of blocks obtained by the error detection unit A block determination unit that determines whether or not error correction is possible, and a byte position having a different value for each of the plurality of identical blocks determined to be uncorrectable by the block determination unit, and the plurality of blocks at the byte position having a different value and byte selection section for synthesizing the block by selecting one of the values of the byte selector It has an error correction decoding unit for performing error correction decoding on the block more obtained, and a determining section for determining the necessity of byte selection by the byte selecting unit based on the decoding result obtained by the error correction decoding section The byte selection unit generates a byte composite block in which arbitrary k bytes of the byte positions of the N error possibility bytes having different values for each of the plurality of identical blocks are exchanged, and the error correction is performed. When error correction of the byte synthesis block by the decoding unit is impossible, a byte synthesis block obtained by replacing other k bytes among the byte positions having different values according to a byte selection instruction from the determination unit. Furthermore, the byte selection unit generates all combinations M = N C in the search for k place replacements for the N error possibility bytes. A search rate r k (0 <r k ≦ 1) is set as a ratio for performing a search in advance for the k search numbers, and the number of replacements between the k bytes is the search rate r k and the number of searches. When the number of [r k · M] times set by M is reached, the k-place replacement search is terminated, and then the byte composite block is generated by setting k = k + 1 .

請求項1記載の発明によれば、デジタル信号の受信特性を向上させることができる。具体的には、誤りを含むデジタル信号の受信時において、複数のデジタルストリームのうち、1つでも正確なブロックが含まれていれば正しく受信でき、また全てのブロックに誤りがある場合でもブロックの合成及び誤り訂正復号により、ある程度の誤りならば除去することができる。また、誤り訂正復号の復号結果に基づいてバイト選択要否を判断するため、より高精度にデジタル信号の受信特性を改善することができる。更に、予め設定した回数以上となる場合に、すぐにバイト数を増加させた選択処理を行うため、より効率的にバイトの選択を行うことができる。これにより、デジタル信号の受信特性の改善を迅速に行うことができる。 According to the first aspect of the present invention, it is possible to improve digital signal reception characteristics. Specifically, when a digital signal containing an error is received, it can be received correctly if at least one of the plurality of digital streams includes an accurate block, and even if there is an error in all the blocks, By combining and error correction decoding, a certain degree of error can be removed. In addition, since it is determined whether or not byte selection is necessary based on the decoding result of error correction decoding, it is possible to improve the reception characteristics of the digital signal with higher accuracy. Furthermore, when the number of times exceeds a preset number, the selection process in which the number of bytes is immediately increased is performed, so that the bytes can be selected more efficiently. Thereby, the reception characteristic of a digital signal can be improved quickly.

請求項に記載された発明は、前記バイト選択部は、前記ブロック中に含まれる異なるバイトの値を選択する際、選択するバイト数を所定のバイト数から順次増加させることを特徴とする。 The invention described in claim 2 is characterized in that, when the byte selection unit selects a value of different bytes included in the block, the number of bytes to be selected is sequentially increased from a predetermined number of bytes.

請求項記載の発明によれば、効率的にバイトの選択を行うことができる。これにより、デジタル信号の受信特性の改善を迅速に行うことができる。 According to the second aspect of the present invention, it is possible to efficiently select bytes. Thereby, the reception characteristic of a digital signal can be improved quickly.

請求項に記載された発明は、前記バイト選択部は、前記同一ブロック毎に値の異なるバイトの数が予め設定された数以上の場合、前記ブロックをそのまま出力することを特徴とする。 The invention described in claim 3 is characterized in that the byte selection unit outputs the block as it is when the number of bytes having different values for each same block is equal to or larger than a preset number.

請求項記載の発明によれば、無駄な時間の消費を防止してリアルタイム性を向上させることができる。 According to the third aspect of the present invention, it is possible to prevent useless time consumption and improve real-time performance.

請求項に記載された発明は、誤り訂正符号を含む複数のデジタルストリームを受信し、受信した複数のデジタルストリームからデータを選定して一連のデジタルストリームを生成するためのデジタル信号受信プログラムにおいて、コンピュータに、前記複数のデジタルストリームをブロック単位に同期化させるストリーム同期処理前記複数のデジタルストリームに対して誤り検出及び誤り訂正復号を行う誤り検出処理前記誤り検出処理により得られる複数のブロック毎に誤り訂正の可否を判定するブロック判定処理前記ブロック判定処理により誤り訂正不可と判断された複数の同一ブロック毎に値の異なるバイト位置を検出し、前記異なるバイト位置に前記複数のブロックのうち何れかの値を選択してブロックを合成するバイト選択処理、前記バイト選択処理により得られるブロックに対して誤り訂正復号を行う誤り訂正復号処理、及び、前記誤り訂正復号処理により得られる復号結果に基づいて前記バイト選択処理によるバイト選択の要否を判断する判断処理を実行させ、前記バイト選択処理は、前記複数の同一ブロック毎に値の異なるN箇所の誤り可能性バイトのバイト位置のうち、任意のk箇所のバイト同士を入れ替えたバイト合成ブロックを生成し、前記誤り訂正復号処理による前記バイト合成ブロックの誤り訂正が不可能である場合に、前記判断処理からのバイト選択指示により、前記値の異なるバイト位置のうち、他のk箇所のバイト同士を入れ替えたバイト合成ブロックを生成し、更に前記バイト選択処理は、前記N箇所の誤り可能性バイトに対するk箇所入れ替えの探索における全ての組み合わせM= 通りの探索数に対し、予め探索を行う割合として探索率r (0<r ≦1)を設定し、前記k箇所のバイト同士の入れ替え回数が、前記探索率r と前記探索数Mとにより設定された[r ・M]回以上となった場合に、前記k箇所入れ替えの探索を終了し、次にk=k+1として、前記バイト合成ブロックを生成することを特徴とするAccording to a fourth aspect of the present invention, there is provided a digital signal receiving program for receiving a plurality of digital streams including an error correction code, selecting data from the plurality of received digital streams, and generating a series of digital streams. the computer, the stream synchronization synchronize the plurality of digital streams to the block unit processing, the plurality of error detection process for performing error detection and error correction decoding to the digital stream, each of a plurality of blocks obtained by the error detection processing A block determination process for determining whether error correction is possible, a byte position having a different value is detected for each of the plurality of identical blocks determined to be uncorrectable by the block determination process , Byte selection to synthesize a block by selecting any value Sense, the error correction decoding process for performing error correction decoding on the blocks obtained by the byte selection processing, and, determine the necessity of byte selection by the byte selection process on the basis of the decoding result obtained by the error correction decoding process In the byte selection process, a byte composite block obtained by exchanging arbitrary k bytes among the byte positions of N error possibility bytes having different values for each of the plurality of identical blocks. And when the error correction of the byte synthesis block by the error correction decoding process is impossible, according to the byte selection instruction from the determination process, the other k bytes among the byte positions having different values are Are generated, and the byte selection process further includes k locations for the N error possibility bytes. To search the number of all combinations M = N C k as in being re search, and sets a search rate r k (0 <r k ≦ 1) as a percentage of performing advance search, swapping bytes between the k point number, when it becomes to the search index has been set by the r k and the search number M [r k · M] times higher, and terminate the search of the k point replacement, as then k = k + 1, the A byte composite block is generated .

請求項記載の発明によれば、デジタル信号の受信特性を改善することができる。また、誤り訂正復号の復号結果に基づいてバイト選択要否を判断するため、より高精度にデジタル信号の受信特性を改善することができる。また、予め設定した回数以上となる場合に、すぐにバイト数を増加させた選択処理を行うため、より効率的にバイトの選択を行うことができる。これにより、デジタル信号の受信特性の改善を迅速に行うことができる。更に、プログラムをインストールすることにより、容易にデジタル信号受信処理を実現することができる。 According to the fourth aspect of the invention, digital signal reception characteristics can be improved. In addition, since it is determined whether or not byte selection is necessary based on the decoding result of error correction decoding, it is possible to improve the reception characteristics of the digital signal with higher accuracy. In addition, when the number of times exceeds a preset number, the selection process in which the number of bytes is immediately increased is performed, so that the bytes can be selected more efficiently. Thereby, the reception characteristic of a digital signal can be improved quickly. Furthermore , digital signal reception processing can be easily realized by installing a program.

本発明によれば、デジタル信号の受信特性を改善することができる。   According to the present invention, digital signal reception characteristics can be improved.

以下に、本発明におけるデジタル信号受信装置及びデジタル信号受信プログラムを好適に実施した形態について、図面を用いて詳細に説明する。なお、以下に説明する実施形態では、一例としてブロック誤り訂正符号を用いて伝送されるデジタル信号の受信装置において、2つのデジタルストリームを同期化し、各入力ストリームのブロックの内容を比較して合成し、合成後のブロックにおいて誤り訂正復号することにより、受信特性を改善する例を説明する。   DESCRIPTION OF EMBODIMENTS Hereinafter, embodiments in which a digital signal receiving apparatus and a digital signal receiving program according to the present invention are suitably implemented will be described in detail using the drawings. In the embodiment described below, as an example, in a digital signal receiving apparatus transmitted using a block error correction code, two digital streams are synchronized, and the contents of blocks of each input stream are compared and combined. An example of improving the reception characteristics by performing error correction decoding in the combined block will be described.

図1は、本発明における受信装置の概略構成の一例を示す図である。図1に示す受信装置10は、ストリーム同期部11と、誤り検出部12−1,12−2と、ブロック判定部13と、バイト選択部14と、誤り訂正復号部15と、判断部16と、合成部17とを有するよう構成されている。   FIG. 1 is a diagram illustrating an example of a schematic configuration of a receiving apparatus according to the present invention. The receiving apparatus 10 illustrated in FIG. 1 includes a stream synchronization unit 11, error detection units 12-1 and 12-2, a block determination unit 13, a byte selection unit 14, an error correction decoding unit 15, and a determination unit 16. , And a combining unit 17.

まず、ストリーム同期部11は、外部から2つのデジタルストリーム1,2を入力する。なお、入力されるデジタルストリーム1,2は、ブロック誤り訂正符号によって符号化されたストリームパケット群である。ここで、ストリームパケットの一例について図を用いて説明する。図2は、MPEG−2 TSパケットの一構成例を示す図である。図2に示すように、例えばMPEG−2 TSの規格では188byteのデータに16byteのリードソロモン符号RS(204,188)のパリティを付加し、204byteのパケットとして伝送する。なお、パケットサイズは図2に限定されるものではない。   First, the stream synchronization unit 11 inputs two digital streams 1 and 2 from the outside. The input digital streams 1 and 2 are a stream packet group encoded by a block error correction code. Here, an example of a stream packet will be described with reference to the drawings. FIG. 2 is a diagram illustrating a configuration example of an MPEG-2 TS packet. As shown in FIG. 2, in the MPEG-2 TS standard, for example, a parity of 16-byte Reed-Solomon code RS (204, 188) is added to 188-byte data and transmitted as a 204-byte packet. The packet size is not limited to that shown in FIG.

ここで、ストリーム同期部11に入力される2つのデジタルストリーム1,2は、同内容のストリームであり、例えばそれぞれ異なる2つの伝送路を経由して受信されたものである。   Here, the two digital streams 1 and 2 input to the stream synchronizer 11 are streams having the same content, and are received via, for example, two different transmission paths.

ストリーム同期部11は、2つのデジタルストリーム1,2を入力し、入力したデジタルストリームをブロック単位に同期化させる。つまり、同内容のブロックが同期化される。また、ストリーム同期部11は、同期化された信号をそれぞれの誤り検出部12−1,12−2に出力する。   The stream synchronizer 11 receives two digital streams 1 and 2 and synchronizes the input digital streams in units of blocks. That is, the blocks having the same contents are synchronized. In addition, the stream synchronization unit 11 outputs the synchronized signal to each of the error detection units 12-1 and 12-2.

誤り検出部12−1,12−2は、それぞれブロック毎に誤りの検出及び誤り訂正復号を行う。なお、ブロック毎とは、例えばRS(204,188)の場合は、204byteのパケット毎となる。   The error detection units 12-1 and 12-2 perform error detection and error correction decoding for each block. For example, in the case of RS (204, 188), each block is each 204-byte packet.

また、誤り検出部12−1,12−2は、誤り検出した結果及びそのブロックをブロック判定部13に出力する。ブロック判定部13は、入力する2つのそれぞれのブロックが共に誤りを含んでおり、かつ誤り訂正が不可能である場合、バイト選択部14にそのブロックを出力する。また、ブロック判定部は、2つのストリームのうち、少なくとも1つが誤り訂正可能であった場合、その入力されたブロックを合成後のストリームとして合成部17に出力する。   Further, the error detection units 12-1 and 12-2 output the error detection result and its block to the block determination unit 13. The block determination unit 13 outputs the block to the byte selection unit 14 when both of the two input blocks contain an error and error correction is impossible. In addition, when at least one of the two streams is error-correctable, the block determination unit outputs the input block to the combining unit 17 as a combined stream.

バイト選択部14は、入力されるブロックについて所定のバイト単位で正しいバイトの探索を行い、その結果選択されたバイトによるブロックの合成を行う。なお、バイト選択部14における具体的な選択手法については後述する。また、バイト選択部14は、選択したバイトを合成し、合成したブロックを誤り訂正復号部15に出力する。   The byte selection unit 14 searches for a correct byte in a predetermined byte unit for the input block, and as a result, synthesizes the block using the selected byte. A specific selection method in the byte selection unit 14 will be described later. The byte selection unit 14 combines the selected bytes and outputs the combined block to the error correction decoding unit 15.

また、バイト選択部14は、後述する判断部16により再度バイトの選択をするよう指示された場合には、ブロック全体として今までとは異なる組み合わせのバイトの選択を行い、選択したバイトを合成し、合成したブロックを誤り訂正復号部15に出力する。   In addition, when the byte selection unit 14 is instructed to select a byte again by the determination unit 16 to be described later, the byte selection unit 14 selects a different combination of bytes as the entire block, and synthesizes the selected bytes. The synthesized block is output to the error correction decoding unit 15.

誤り訂正復号部15は、入力されたブロックに誤り訂正復号を行い、復号された結果を判断部16に出力する。判断部16は、誤り訂正復号が可能であったかを判断し、誤り訂正復号が可能であった場合には、そのブロックを合成部17に出力する。また、誤り訂正復号が不可能であった場合には、バイト選択部14に他のバイトを選択するよう指示を送り、誤り訂正復号が可能になるまで繰り返し処理を行う。   The error correction decoding unit 15 performs error correction decoding on the input block, and outputs the decoded result to the determination unit 16. The determination unit 16 determines whether error correction decoding is possible. If the error correction decoding is possible, the determination unit 16 outputs the block to the synthesis unit 17. If error correction decoding is impossible, an instruction is sent to the byte selection unit 14 to select another byte, and iterative processing is performed until error correction decoding becomes possible.

合成部17は、判断部16及びブロック判定部13から得られる各ブロックを送信された元のストリームの順序になるよう合成し、合成後のストリームを出力する。   The combining unit 17 combines the blocks obtained from the determination unit 16 and the block determination unit 13 in the order of the transmitted original streams, and outputs the combined stream.

上述した受信装置10の機能構成により、誤りを含むデジタル信号の受信時において、複数のデジタルストリームのうち、1つでも正確なブロックが含まれていれば正しく受信でき、また全てのブロックに誤りがある場合でもブロックの合成及び誤り訂正復号によって、ある程度の誤りならば除去することができるため、デジタル信号の受信特定を改善させることができる。   Due to the functional configuration of the receiving device 10 described above, when a digital signal including an error is received, it can be correctly received if any one of the plurality of digital streams includes an accurate block, and all the blocks have errors. Even in a certain case, if a certain amount of error can be removed by block synthesis and error correction decoding, the reception specification of the digital signal can be improved.

<バイト選択部14:第1のバイト選択手法>
次に、上述したバイト選択部14のバイト選択の具体的な方法について図を用いて説明する。図3は、バイト選択部における第1のバイト選択手法を説明するための図である。図3では、まず対応する2つのブロックに対して先頭から順にバイト単位で値を比較していき、値が異なった位置のバイトを誤りの可能性のあるバイトとして記録する。次に、それぞれのバイト位置について予め設定された何れかのストリームのバイトを選択し、そのバイトを合成することでブロックを生成する。
<Byte selection unit 14: first byte selection method>
Next, a specific method of byte selection by the byte selection unit 14 will be described with reference to the drawings. FIG. 3 is a diagram for explaining a first byte selection method in the byte selection unit. In FIG. 3, first, values are compared in units of bytes in order from the top of two corresponding blocks, and bytes at different positions are recorded as bytes with a possibility of error. Next, a byte of any stream set in advance for each byte position is selected, and a block is generated by synthesizing the bytes.

なお、どちらのストリームからバイトを選択するかについては、値が異なる位置が複数ある場合は、少なくともストリーム1又は2のそれぞれから1以上のバイトが選択されるようにする。また、ブロック中のどこのバイトにどちらのバイトを選択したかについての情報は、例えばバイト選択部14が備えるメモリ等に蓄えられる。   As for which stream the byte is selected from, when there are a plurality of positions having different values, at least one byte is selected from each of the streams 1 or 2. Information about which byte in the block is selected is stored in, for example, a memory provided in the byte selection unit 14.

これにより、選択したバイトをセットして生成したブロックに対して誤り訂正復号部15にて誤り訂正復号を行い、誤り訂正が可能となった場合は、誤り訂正復号後のブロックを合成後のストリームとして出力する。また、誤り訂正復号部15による誤り訂正が不可能である場合には、再度バイト選択部14により、メモリに蓄積されている各バイト位置の全体の組み合わせにおいて、前回の組み合わせとは異なる組み合わせのバイトを選択し、選択したバイトを用いて合成ブロックを生成し、そのブロックを用いて誤り訂正復号部15にて復号を行う。   Thereby, the error correction decoding unit 15 performs error correction decoding on the block generated by setting the selected byte, and when error correction is possible, the block after error correction decoding is combined. Output as. If error correction by the error correction decoding unit 15 is impossible, the byte selecting unit 14 again uses a different combination of bytes in the total combination of the byte positions stored in the memory from the previous combination. Is selected, a synthesized block is generated using the selected byte, and the error correction decoding unit 15 performs decoding using the block.

つまり、複数の受信したストリーム間におけるバイト単位の比較で異なるバイトを有する場合に、組み合わせを替えて上述と同様の試行を繰り返すことにより誤り訂正が可能となる組み合わせを探索する。   That is, when there are different bytes in a byte unit comparison among a plurality of received streams, a combination that can be corrected by repeating the same trial as described above by changing the combination is searched.

ここで、組み合わせの探索には、試行回数を増やせば増やすほど処理遅延が多く発生するため、受信したストリームをリアルタイム再生する場合等、処理遅延をあまり許容できないケースでは極力少ない試行回数でより効率的な探索を行う必要がある。   Here, as the number of trials increases, the processing delay increases as the number of trials increases. Therefore, in cases where the processing delay cannot be tolerated, such as when the received stream is played back in real time, the number of trials is as low as possible. Search needs to be done.

次に、試行回数を減らすための探索手法を第2のバイト選択手法として以下に説明する。   Next, a search method for reducing the number of trials will be described below as a second byte selection method.

<バイト選択部14:第2のバイト選択手法>
図4は、バイト選択部における第2のバイト選択手法を説明するための図である。なお、図4は、訂正可能な組み合わせの効率的な探索手順の一例であり、RS(204,188)符号で誤り訂正符号化されたストリームを受信する場合を示す図である。
<Byte selection unit 14: second byte selection method>
FIG. 4 is a diagram for explaining a second byte selection method in the byte selection unit. FIG. 4 is an example of an efficient search procedure of correctable combinations, and is a diagram illustrating a case where a stream error-corrected and encoded with RS (204, 188) code is received.

図4に示すRS(204,188)符号は、204バイト中、8バイトまでの誤り訂正が可能なブロック符号である。したがって、受信されたストリームの中で、誤り訂正が不可能となったブロックには9バイト以上の誤りが含まれていることになる。   The RS (204, 188) code shown in FIG. 4 is a block code capable of error correction up to 8 bytes out of 204 bytes. Therefore, a block in which error correction is impossible in the received stream includes an error of 9 bytes or more.

そこで、2つのストリームを受信し、共に誤り訂正不可能なブロックがあった場合には、上述した第1の選択手法で用いた手順にしたがって、ブロックの先頭からバイト単位で値を比較していき、値の異なるバイト位置を誤りの可能性のあるバイト位置として記録する。次に、バイト選択によるブロックの合成を行うが、第2の選択手法では、最初に図4に示すように2つのブロックの誤りの可能性があるバイト位置のうち任意の1箇所のバイト同士を入れ替えた2種類のバイト合成ブロックを作成する。これらの2つの合成ブロックに対し、誤り訂正復号を行い、どちらかのブロックが誤り訂正が可能となれば訂正後のブロックを合成後の正確なブロックとして出力する。   Therefore, if two streams are received and there is a block that cannot be corrected for errors, the values are compared in byte units from the beginning of the block according to the procedure used in the first selection method described above. , The byte position having a different value is recorded as a byte position having a possibility of error. Next, block synthesis is performed by byte selection. In the second selection method, first, as shown in FIG. 4, any one byte among the byte positions where there is a possibility of error in two blocks is calculated. Two types of interchanged byte composite blocks are created. Error correction decoding is performed on these two combined blocks, and if either block can perform error correction, the corrected block is output as an accurate combined block.

また、2つとも誤り訂正が不可能となった場合は、再び元の2つのブロックに対して先程とは別の誤りの可能性があるバイト位置の1箇所のバイト同士を入れ替えた2つのバイト合成ブロックを生成して、上述したように誤り訂正復号を行い、訂正が可能か否かを判断する。   In addition, when error correction is impossible for both of the two bytes, two bytes obtained by exchanging one byte at a byte position where there is a possibility of an error different from the previous two blocks again. A composite block is generated, and error correction decoding is performed as described above to determine whether correction is possible.

以下、同様の手順を繰り返し行い、訂正可能となる組み合わせを探索していく。   Thereafter, the same procedure is repeated to search for combinations that can be corrected.

仮に元の2つのブロックのうち、どちらかのブロックの誤りが9バイトだった場合は、9バイトの誤りバイトのうち1バイトでも正しいバイトになれば誤り訂正が可能となるため、2つのブロックの誤り位置が完全に一致していない限り、上述したある1箇所のバイトを入れ替える手法により誤り訂正が可能となり正確なブロックを迅速に得ることができる。   If the error in either block of the original two blocks is 9 bytes, error correction is possible if even one of the 9 bytes of error bytes is correct. As long as the error positions do not completely match, error correction can be performed by the above-described technique of exchanging one certain byte, and an accurate block can be obtained quickly.

また、どちらのブロックも10バイト以上の誤りを含んでいた場合は、1箇所のバイトを入れ替えるだけでは誤り訂正可能とはならない。そこで、1箇所のバイトを入れ替えても正確なブロックが得られなかった場合は、次に任意の2箇所のバイトを入れ替えたブロックを順次作成し、同様の試行を繰り返す。更に2箇所のバイト入れ替えで誤り訂正可能となる組み合わせが見つからなかった場合は3箇所以上のバイト入れ替えについて同様の試行を繰り返し、探索を行う。   In addition, when both blocks contain errors of 10 bytes or more, it is not possible to correct errors only by replacing one byte. Therefore, if an accurate block is not obtained even if one byte is replaced, a block in which arbitrary two bytes are replaced is sequentially created, and the same trial is repeated. Further, when a combination that can correct an error is not found by exchanging bytes at two places, the same trial is repeated for exchanging bytes at three or more places, and a search is performed.

このように、順次入れ替えを行うバイト数を増やしていくことで、誤りが少ないものは、少ない試行で正確な合成ブロックを得ることができるようになり、探索効率を向上させることができる。   As described above, by increasing the number of bytes to be sequentially replaced, an accurate composite block can be obtained with a small number of trials, and search efficiency can be improved.

ここで、例えば1箇所のバイト入れ替えでの探索を行う際にN箇所の誤りの可能性があるバイトがあるとした場合、N箇所全てのバイト位置について順に探索を行ってもよいが、もしどちらかのブロックが9バイトの誤りであった場合には、互いの誤り位置がよほど一致していない限り、確率的に試行の早い段階で正確なブロックが得られる可能性が高い。そのため、ある程度の探索を行った段階でそれ以降の探索は行わず、次の2箇所のバイト入れ替えの探索に進んだ方が探索効率は更によくなる。   Here, for example, if there is a byte with the possibility of an error in N places when performing a search by exchanging bytes at one place, the search may be performed in order for all the byte positions in N places. If such a block has an error of 9 bytes, it is highly probable that an accurate block will be obtained at an early stage of trial unless the error positions match each other. For this reason, the search efficiency is further improved by proceeding to the next two byte replacement search without performing a subsequent search after performing a certain level of search.

そこで、例えばN箇所の誤り可能性バイトに対するk箇所入れ替えの探索における全ての組み合わせM= 通りの探索数に対して、予め探索を行う割合として探索率r(0<r≦1)を設定しておき、[r・M]回の探索を行った段階でk箇所入れ替えの探索を終了し、次にk+1箇所の入れ替えの探索に移行するようにしてもよい。これにより、更に探索効率を向上させることができる(なお、上述のはコンビネーションを示し、[z]はzを超えない最大の整数を示す。)。 Therefore, for example, the search rate r k (0 <r k ≦ 1) as the ratio of performing the search in advance for all the combinations M = N C k search numbers in the k-position replacement search for N error possibility bytes. ) May be set, and the k-place replacement search may be terminated when [r k · M] searches are performed, and then the k + 1-place replacement search may be performed. Thus, it is possible to further improve the search efficiency (Note, x C y above indicates combination exhibits greatest integer [z] is not exceeding z.).

また、最初に先頭からのバイト比較をしていき、誤りの可能性のあるバイト数を求めた時点で、多数の不一致バイトが検出された場合は、誤り訂正可能となる組み合わせの探索を行っても膨大な試行数が必要となるか、もしくは正しい組み合わせが見つからない恐れがある。   In addition, if a number of inconsistent bytes are detected when the number of bytes with a possibility of error is found first by comparing the bytes from the beginning, search for a combination that can correct the error. May require a huge number of trials, or the correct combination may not be found.

そこで、予め誤りの可能性があるバイト数Nに上限Lを設定しておき、N>Lの場合は探索を行わずに、誤りのあるブロックをそのまま出力する。これにより、探索効率を向上させることができる。   Therefore, an upper limit L is set in advance to the number N of bytes with a possibility of error, and when N> L, a block having an error is output as it is without searching. Thereby, search efficiency can be improved.

<他の実施形態>
上述した実施形態は、入力ストリームが2つの場合について説明したが、合成するストリームの入力数は3つ以上の場合でも、2つの場合と同様に組み合わせを探索して合成を行うことで、デジタル信号の受信特性を改善することができる。この場合には、例えば3つの入力ストリームa,b,cがある場合に、ストリームa及びbで上述したバイト選択を行い、次に、その結果とストリームcとでバイト選択するようにしてもよく、また多数決によるバイト選択を行ってもよい。
<Other embodiments>
In the above-described embodiment, the case where there are two input streams has been described. However, even if the number of streams to be combined is three or more, a combination of a digital signal by searching for a combination in the same manner as in the case of two streams. Can improve the reception characteristics. In this case, for example, when there are three input streams a, b, and c, the above-described byte selection may be performed on the streams a and b, and then the byte selection may be performed on the result and the stream c. Byte selection by majority vote may also be performed.

更に、上述した特許文献1(特開2005−12452号公報)に示されているように、全ての入力ブロックが誤りを含んでいたときは、まずビット単位の多数決判定による合成を行い、それで正確なブロックが得られなかったときに上述した実施形態を適用してバイト選択による合成を行うこともできる。これにより、改善効果を更に高くすることができる。   Further, as shown in the above-mentioned Patent Document 1 (Japanese Patent Laid-Open No. 2005-12452), when all input blocks contain an error, synthesis is first performed by a majority decision in bit units, and then accurate. When a simple block cannot be obtained, the above-described embodiment can be applied to perform synthesis by byte selection. Thereby, the improvement effect can be further enhanced.

<デジタル信号受信プログラム>
ここで、本発明における受信装置10は、上述した専用の装置構成等を用いて本発明におけるデジタル信号(ストリーム)の受信処理を行うこともできるが、各構成における処理をコンピュータに実行させることができる実行プログラムを生成し、例えば、汎用のパーソナルコンピュータやサーバ等にそのプログラムをインストールすることにより、本発明に係るデジタル信号の受信処理を実現することができる。
<Digital signal reception program>
Here, the receiving apparatus 10 according to the present invention can perform the digital signal (stream) receiving process according to the present invention using the dedicated apparatus configuration described above, but can cause a computer to execute the processing in each configuration. A digital signal reception process according to the present invention can be realized by generating an executable execution program and installing the program in, for example, a general-purpose personal computer or server.

<ハードウェア構成>
ここで、本発明におけるデジタル信号受信処理が実行可能なコンピュータのハードウェア構成例について図を用いて説明する。図5は、本発明におけるデジタル信号受信処理が実現可能なハードウェア構成の一例を示す図である。
<Hardware configuration>
Here, an example of a hardware configuration of a computer capable of executing digital signal reception processing according to the present invention will be described with reference to the drawings. FIG. 5 is a diagram illustrating an example of a hardware configuration capable of realizing the digital signal reception process according to the present invention.

図5におけるコンピュータ本体には、入力装置51と、出力装置52と、ドライブ装置53と、補助記憶装置54と、メモリ装置55と、各種制御を行うCPU(Central Processing Unit)56と、ネットワーク接続装置57とを有するよう構成されており、これらはシステムバスBで相互に接続されている。   5 includes an input device 51, an output device 52, a drive device 53, an auxiliary storage device 54, a memory device 55, a CPU (Central Processing Unit) 56 for performing various controls, and a network connection device. 57 are connected to each other by a system bus B.

入力装置51は、ユーザが操作するキーボード及びマウス等のポインティングデバイスを有しており、ユーザからのプログラムの実行指示等、各種操作信号を入力する。出力装置52は、本発明における処理を行うためのコンピュータ本体を操作するのに必要な各種ウィンドウやデータ等を表示するディスプレイ(モニタ)を有し、CPU56が有する制御プログラムにより実行経過や結果等を表示することができる。   The input device 51 has a pointing device such as a keyboard and a mouse operated by the user, and inputs various operation signals such as a program execution instruction from the user. The output device 52 has a display (monitor) that displays various windows and data necessary for operating the computer main body for performing the processing in the present invention, and the execution progress and results are displayed by the control program of the CPU 56. Can be displayed.

ここで、本発明において、コンピュータ本体にインストールされる実行プログラムは、例えば、CD−ROM等の記録媒体58等により提供される。プログラムを記録した記録媒体58は、ドライブ装置53にセット可能であり、記録媒体58に含まれる実行プログラムが、記録媒体58からドライブ装置53を介して補助記憶装置54にインストールされる。   Here, in the present invention, the execution program installed in the computer main body is provided by, for example, a recording medium 58 such as a CD-ROM. The recording medium 58 on which the program is recorded can be set in the drive device 53, and the execution program included in the recording medium 58 is installed in the auxiliary storage device 54 from the recording medium 58 via the drive device 53.

また、ドライブ装置53は、本発明に係る実行プログラムを記録媒体58に記録することができる。これにより、その記録媒体58を用いて、他の複数のコンピュータに容易にインストールすることができ、容易にデジタル信号受信処理を実現することができる。   Further, the drive device 53 can record the execution program according to the present invention in the recording medium 58. Thereby, using the recording medium 58, it can be easily installed in a plurality of other computers, and digital signal reception processing can be easily realized.

補助記憶装置54は、ハードディスク等のストレージ手段であり、本発明における実行プログラムや、コンピュータに設けられた制御プログラム等を蓄積し必要に応じて入出力を行うことができる。また、メモリ装置55は、上述したバイト選択部14において、どのストリームからどのバイトを選択したかについての情報等を記憶する記憶手段として用いることができる。   The auxiliary storage device 54 is a storage means such as a hard disk, and can store an execution program according to the present invention, a control program provided in a computer, etc., and perform input / output as necessary. In addition, the memory device 55 can be used as a storage unit that stores information on which byte is selected from which stream in the byte selection unit 14 described above.

CPU56は、OS(Operating System)等の制御プログラム、及びメモリ装置55により読み出され格納されている実行プログラムに基づいて、各種演算や各ハードウェア構成部とのデータの入出力等、コンピュータ全体の処理を制御して、デジタル信号受信処理における各処理を実現することができる。また、プログラムの実行中に必要な各種情報等は、補助記憶装置54から取得することができ、また格納することもできる。   Based on a control program such as an OS (Operating System) and an execution program read and stored by the memory device 55, the CPU 56 performs various operations and input / output of data with each hardware component, etc. Each process in the digital signal receiving process can be realized by controlling the process. Various information necessary during the execution of the program can be acquired from the auxiliary storage device 54 and stored.

ネットワーク接続装置57は、電話回線やLANケーブル等の通信ネットワーク等と接続することにより、実行プログラムを通信ネットワークに接続されている他の端末等から取得したり、プログラムを実行することで得られた実行結果又は本発明における実行プログラムを他の端末等に提供することができる。   The network connection device 57 is obtained by acquiring an execution program from another terminal connected to the communication network or executing the program by connecting to a communication network such as a telephone line or a LAN cable. The execution result or the execution program in the present invention can be provided to another terminal or the like.

上述したようなハードウェア構成により、特別な装置構成を必要とせず、低コストでデジタル信号受信処理を実現することができる。また、プログラムをインストールすることにより、容易にデジタル信号受信処理を実現することができる。   With the hardware configuration as described above, it is possible to realize digital signal reception processing at a low cost without requiring a special device configuration. Also, digital signal reception processing can be easily realized by installing a program.

<第1のデジタル信号受信処理手順>
次に、本発明における実行プログラム(デジタル信号受信プログラム)を用いたデジタル信号受信処理手順についてフローチャートを用いて説明する。図6は、第1のデジタル信号受信処理手順の一例を示すフローチャートである。
<First Digital Signal Reception Processing Procedure>
Next, a digital signal reception processing procedure using an execution program (digital signal reception program) according to the present invention will be described with reference to a flowchart. FIG. 6 is a flowchart illustrating an example of a first digital signal reception processing procedure.

まず、複数のデジタルストリームを入力し(S01)、入力したストリーム信号の同期化を行う(S22)。このとき、複数のストリームは、同内容のストリームであり、例えばそれぞれ異なる2つの伝送路を経由して受信した2つのストリーム等である。   First, a plurality of digital streams are input (S01), and the input stream signals are synchronized (S22). At this time, the plurality of streams are streams having the same content, for example, two streams received via two different transmission paths.

次に、各ストリームに含まれている少なくとも1以上のブロックをブロック毎に誤り検出及び誤り訂正復号を行い(S03)、複数のストリームのうち、全てのストリームの同一ブロックで誤りがあったか否かを判断する(S04)。全てのストリームの同一ブロックで誤りが検出された場合(S04において、YES)、その該当するブロックについてバイト選択による合成処理を行う(S05)。なお、S05におけるバイト選択による合成処理についての具体的な説明は後述する。また、少なくとも1つのストリームで誤りのないブロックが存在する場合(S04において、NO)、その誤りのないブロックを選択する(S06)。   Next, at least one block included in each stream is subjected to error detection and error correction decoding for each block (S03), and whether or not there is an error in the same block of all the streams among the plurality of streams. Judgment is made (S04). If an error is detected in the same block in all streams (YES in S04), the corresponding block is subjected to a synthesis process by byte selection (S05). A specific description of the composition processing by byte selection in S05 will be described later. If there is an error-free block in at least one stream (NO in S04), the error-free block is selected (S06).

S05又はS06の処理が終了後、得られたブロックを出力する(S07)。上述した処理手順により、誤りを含むデジタル信号の受信時において、複数のデジタルストリームのうち、1つでも正しいブロックが含まれていれば、正しく受信できる。また、全てのブロックに誤りがある場合でもブロックの合成及び誤り訂正復号によって、ある程度の誤りならば除去することができる。これにより、デジタル信号の受信特性を改善することができる。また、プログラムをインストールすることにより、容易にデジタル信号受信処理を実現することができる。   After the process of S05 or S06 is completed, the obtained block is output (S07). According to the above-described processing procedure, when a digital signal including an error is received, if at least one of the plurality of digital streams includes a correct block, it can be received correctly. Even if all blocks have errors, some errors can be removed by combining blocks and error correction decoding. Thereby, the reception characteristic of a digital signal can be improved. Also, digital signal reception processing can be easily realized by installing a program.

<バイト選択処理手順:S05>
次に、上述したバイト選択処理手順について、フローチャートを用いて説明する。図7は、バイト選択処理手順の一例を示すフローチャートである。
<Byte selection processing procedure: S05>
Next, the above-described byte selection processing procedure will be described using a flowchart. FIG. 7 is a flowchart illustrating an example of a byte selection processing procedure.

まず、複数のストリームの入力に対して同期化されたブロックのうち、異なる値が存在するバイトを探索する(S11)。次に、異なる値が存在するバイトに対して何れかのブロックの値を選択する(S12)。ここで、選択手法としては、上述したように複数の異なる値について任意数の値が変更されるように変更してもよく、またブロックの先頭から最初に値の異なった部分から1バイトずつ順次変更してもよい。更に、異なる1バイトの値の全てを変更しても誤り訂正が不可能であった場合には、バイト数を1バイトずつ増加させて誤り訂正が正しく行われるまで繰り返し処理を行うようにしてもよい。   First, a byte having a different value is searched for among blocks synchronized with respect to a plurality of stream inputs (S11). Next, the value of any block is selected for a byte having a different value (S12). Here, the selection method may be changed so that an arbitrary number of values are changed for a plurality of different values as described above, and one byte at a time from the beginning of the block, starting with the portion with the different values. It may be changed. Furthermore, if error correction is impossible even if all the different 1-byte values are changed, the number of bytes is increased by 1 byte, and the process may be repeated until error correction is correctly performed. Good.

次に、選択したブロックに対して誤り訂正復号を行い(S13)、誤り訂正が可能か否かを判断する(S14)。ここで、誤り訂正が可能であった場合(S14において、YES)、訂正後のブロックを合成ブロックとする(S15)。また、誤り訂正が不可能であった場合(S14において、NO)、今までの組み合わせとは異なるバイトの選択を行い(S16)、S13に戻り以降の処理を行う。   Next, error correction decoding is performed on the selected block (S13), and it is determined whether error correction is possible (S14). If error correction is possible (YES in S14), the corrected block is set as a composite block (S15). If error correction is not possible (NO in S14), a different byte from the combination so far is selected (S16), and the process returns to S13 for subsequent processing.

これにより、合成後のストリームを生成することで、デジタル信号の受信特性を改善することができる。また、1バイト毎に順次選択して誤り訂正復号を試行してブロックの正確性を判断するため、誤りが少ないものは、より少ない試行で正確な合成ブロックを得ることができ、探索効率を向上させることができる。   Thereby, the reception characteristic of a digital signal can be improved by generating a combined stream. In addition, since error correction decoding is attempted by selecting each byte sequentially and the accuracy of the block is judged, those with few errors can obtain an accurate composite block with fewer trials, improving search efficiency. Can be made.

<第2のデジタル信号受信処理手順>
次に、ビット単位の多数決判定による合成を行うことで、改善効果を向上させるための第2のデジタル信号受信処理手順の一例について、フローチャートを用いて説明する。図8は、第2のデジタル信号受信処理手順の一例を示すフローチャートである。
<Second Digital Signal Reception Processing Procedure>
Next, an example of a second digital signal reception processing procedure for improving the improvement effect by performing synthesis based on the majority decision in bit units will be described using a flowchart. FIG. 8 is a flowchart illustrating an example of a second digital signal reception processing procedure.

まず、複数のデジタルストリームを入力し(S21)、入力したストリーム信号の同期化を行う(S22)。この複数のストリームは、同内容のストリームであり、例えばそれぞれ異なる伝送路を経由して受信されたもの等である。   First, a plurality of digital streams are input (S21), and the input stream signals are synchronized (S22). The plurality of streams are streams having the same content, for example, those received via different transmission paths.

次に、各ストリームに含まれている少なくとも1以上のブロックをブロック毎に誤り検出及び誤り訂正復号を行い(S23)、複数のストリームのうち、全てのストリームの同一ブロックで誤りがあったか否かを判断する(S24)。全てのストリームの同一ブロックで誤りが検出された場合(S24において、YES)、
ビット単位の多数決判定による合成を行う(S25)。なお、ビット単位の多数決判定においては、少なくとも3以上のブロックが必要となる。好ましくは奇数個のブロックがよい。なお、多数決が同数の場合は、予め設定されたどちらか一方の値を用いる。
Next, at least one block included in each stream is subjected to error detection and error correction decoding for each block (S23), and whether or not there is an error in the same block of all the streams among the plurality of streams. Judgment is made (S24). When an error is detected in the same block of all streams (YES in S24),
Combining is performed by bit-wise majority decision (S25). It should be noted that at least 3 or more blocks are required for the majority decision in bit units. An odd number of blocks is preferable. If the majority vote is the same, either one of the preset values is used.

次に、合成されたストリームについて誤り訂正復号を行い(S26)、誤り訂正が可能であったか否かを判断する(S27)。ここで、誤り訂正が可能である場合(S27において、YES)、訂正後のブロックを合成ブロックとする(S28)。また、誤り訂正が不可能である場合(S27において、NO)、上述した図7に示すようなバイト選択処理を行う(S29)。   Next, error correction decoding is performed on the combined stream (S26), and it is determined whether or not error correction is possible (S27). If error correction is possible (YES in S27), the corrected block is set as a composite block (S28). If error correction is impossible (NO in S27), byte selection processing as shown in FIG. 7 is performed (S29).

また、S24の処理において、誤りのないブロックがある場合(S24において、NO)、誤りのないブロックを選択する(S30)。次に、S28、S29、又はS30の処理が終了後、得られたブロックを出力する(S31)。   In addition, in the process of S24, when there is an error-free block (NO in S24), an error-free block is selected (S30). Next, after the process of S28, S29, or S30 is completed, the obtained block is output (S31).

上述した処理により、受信特性を改善することができる。更に、全ての入力ブロックに誤りを含んでいた場合は、まず最初にビット単位の多数決判定による合成を行い、その処理でも正確なブロックが得られなかったときに本発明のバイト選択による合成を行うことで、改善効果を向上することができる。また、プログラムをインストールすることにより、容易にデジタル信号受信処理を実現することができる。   The reception characteristics can be improved by the processing described above. Furthermore, if all input blocks contain an error, synthesis is first performed by bit-wise majority decision, and synthesis is performed by byte selection according to the present invention when an accurate block cannot be obtained even by this processing. Thus, the improvement effect can be improved. Also, digital signal reception processing can be easily realized by installing a program.

上述したように本発明によれば、受信特性を改善することができる。具体的には、同じ内容の複数のデジタルストリームを受信し、受信したストリームをブロック単位で同期化してパケット合成によって受信特性を改善する際に、何れかのストリームのブロックに誤りが含まれていないものがあればそれを選択し、全てのブロックが誤りを含む場合は、それぞれのブロックを先頭からバイト単位に比較して値が異なるバイトを誤りが含まれている可能性のあるバイトとし、誤りが含まれている可能性のある全てのバイト毎に何れかのストリームのバイトを選択して、それらのブロックを合成し誤り訂正が可能となる組み合わせを探索することにより受信特性を改善する。   As described above, according to the present invention, reception characteristics can be improved. Specifically, when a plurality of digital streams having the same contents are received, the received streams are synchronized in units of blocks, and reception characteristics are improved by packet synthesis, no error is included in any stream block. If there is an error, select it, and if all blocks contain errors, compare each block from the beginning to the byte unit, and select the byte with a different value as the byte that may contain the error. The reception characteristics are improved by selecting a byte of any stream for every byte that may contain, and combining those blocks to search for a combination that enables error correction.

これにより、受信されたストリーム数が2つの場合でもブロックの合成を行って受信特性を改善することができる。また、受信されたストリーム数が3つ以上でビット単位の多数決判定による合成で改善効果が得られなかったブロックについて再度上述したバイト選択手法により合成を行うことでよりデジタル信号の受信特性を改善することができる。   As a result, even when the number of received streams is two, the reception characteristics can be improved by combining blocks. Further, the reception characteristics of the digital signal are further improved by synthesizing again by the above-described byte selection method with respect to the block in which the number of received streams is 3 or more and the improvement effect is not obtained by the bit-based majority decision. be able to.

以上本発明の好ましい実施形態について詳述したが、本発明は係る特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形、変更が可能である。   Although the preferred embodiment of the present invention has been described in detail above, the present invention is not limited to the specific embodiment, and various modifications, within the scope of the gist of the present invention described in the claims, It can be changed.

本発明における受信装置の概略構成の一例を示す図である。It is a figure which shows an example of schematic structure of the receiver in this invention. MPEG−2 TSパケットの一構成例を示す図である。It is a figure which shows the example of 1 structure of an MPEG-2 TS packet. バイト選択部における第1のバイト選択手法を説明するための図である。It is a figure for demonstrating the 1st byte selection method in a byte selection part. バイト選択部における第2のバイト選択手法を説明するための図である。It is a figure for demonstrating the 2nd byte selection method in a byte selection part. 本発明におけるデジタル信号受信処理が実現可能なハードウェア構成の一例を示す図である。It is a figure which shows an example of the hardware constitutions which can implement | achieve the digital signal reception process in this invention. 第1のデジタル信号受信処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the 1st digital signal reception processing procedure. バイト選択処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of a byte selection process sequence. 第2のデジタル信号受信処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the 2nd digital signal reception processing procedure.

符号の説明Explanation of symbols

10 受信装置
11 ストリーム同期部
12 誤り検出部
13 ブロック判定部
14 バイト選択部
15 誤り訂正復号部
16 判定部
17 合成部
51 入力装置
52 出力装置
53 ドライブ装置
54 補助記憶装置
55 メモリ装置
56 CPU
57 ネットワーク接続装置
58 記録媒体
DESCRIPTION OF SYMBOLS 10 Receiving device 11 Stream synchronization part 12 Error detection part 13 Block determination part 14 Byte selection part 15 Error correction decoding part 16 Judgment part 17 Synthesis | combination part 51 Input device 52 Output device 53 Drive apparatus 54 Auxiliary storage device 55 Memory device 56 CPU
57 Network connection device 58 Recording medium

Claims (4)

誤り訂正符号を含む複数のデジタルストリームを受信し、受信した複数のデジタルストリームからデータを選定して一連のデジタルストリームを生成するためのデジタル信号受信装置において、
前記複数のデジタルストリームをブロック単位に同期化させるストリーム同期部と、
前記複数のデジタルストリームに対して誤り検出及び誤り訂正復号を行う誤り検出部と、
前記誤り検出部により得られる複数のブロック毎に誤り訂正の可否を判定するブロック判定部と、
前記ブロック判定部により誤り訂正不可と判断された複数の同一ブロック毎に値の異なるバイト位置を検出し、前記値の異なるバイト位置に前記複数のブロックのうち何れかの値を選択してブロックを合成するバイト選択部と、
前記バイト選択部により得られるブロックに対して誤り訂正復号を行う誤り訂正復号部と、
前記誤り訂正復号部により得られる復号結果に基づいて前記バイト選択部によるバイト選択の要否を判断する判断部とを有し
前記バイト選択部は、
前記複数の同一ブロック毎に値の異なるN箇所の誤り可能性バイトのバイト位置のうち、任意のk箇所のバイト同士を入れ替えたバイト合成ブロックを生成し、前記誤り訂正復号部による前記バイト合成ブロックの誤り訂正が不可能である場合に、前記判断部からのバイト選択指示により、前記値の異なるバイト位置のうち、他のk箇所のバイト同士を入れ替えたバイト合成ブロックを生成し、
更に前記バイト選択部は、
前記N箇所の誤り可能性バイトに対するk箇所入れ替えの探索における全ての組み合わせM= 通りの探索数に対し、予め探索を行う割合として探索率r (0<r ≦1)を設定し、
前記k箇所のバイト同士の入れ替え回数が、前記探索率r と前記探索数Mとにより設定された[r ・M]回以上となった場合に、前記k箇所入れ替えの探索を終了し、次にk=k+1として、前記バイト合成ブロックを生成することを特徴とするデジタル信号受信装置。
In a digital signal receiving apparatus for receiving a plurality of digital streams including an error correction code and selecting data from the received plurality of digital streams to generate a series of digital streams,
A stream synchronization unit that synchronizes the plurality of digital streams in units of blocks;
An error detection unit that performs error detection and error correction decoding on the plurality of digital streams;
A block determination unit that determines whether error correction is possible for each of a plurality of blocks obtained by the error detection unit;
A byte position having a different value is detected for each of the plurality of identical blocks determined to be uncorrectable by the block determination unit, and a block is selected by selecting any one of the plurality of blocks at the byte position having the different value. A byte selector to synthesize,
An error correction decoding unit that performs error correction decoding on the block obtained by the byte selection unit;
A determination unit that determines whether or not byte selection is required by the byte selection unit based on a decoding result obtained by the error correction decoding unit ;
The byte selection unit
A byte synthesis block is generated by exchanging bytes at arbitrary k places among byte positions of N error possibility bytes having different values for each of the plurality of identical blocks, and the byte synthesis block by the error correction decoding unit When the error correction is impossible, a byte synthesis block is generated by exchanging other k bytes among the byte positions having different values according to a byte selection instruction from the determination unit,
Further, the byte selection unit
A search rate r k (0 <r k ≦ 1) is set as a ratio of searching in advance for all the combinations M = N C k search numbers in the search of k place replacement for the N error possibility bytes. And
Swapping the number of bytes to each other of the k point is, when it becomes and the search rate r k the set by a search number of M and [r k · M] or more times, completed the search of the k point replacement, Next , the digital signal receiving apparatus is characterized in that k = k + 1 is used to generate the byte synthesis block .
前記バイト選択部は、
前記ブロック中に含まれる異なるバイトの値を選択する際、選択するバイト数を所定のバイト数から順次増加させることを特徴とする請求項に記載のデジタル信号受信装置。
The byte selection unit
It said choosing different values for bytes contained in the block, the digital signal receiving apparatus according to claim 1, characterized in that sequentially increasing the number of bytes to be selected from a predetermined number of bytes.
前記バイト選択部は、
前記同一ブロック毎に値の異なるバイトの数が予め設定された数以上の場合、前記ブロックをそのまま出力することを特徴とする請求項1又は2に記載のデジタル信号受信装置。
The byte selection unit
3. The digital signal receiving apparatus according to claim 1, wherein when the number of bytes having different values for each same block is equal to or greater than a preset number, the block is output as it is.
誤り訂正符号を含む複数のデジタルストリームを受信し、受信した複数のデジタルストリームからデータを選定して一連のデジタルストリームを生成するためのデジタル信号受信プログラムにおいて、
コンピュータに、
前記複数のデジタルストリームをブロック単位に同期化させるストリーム同期処理
前記複数のデジタルストリームに対して誤り検出及び誤り訂正復号を行う誤り検出処理
前記誤り検出処理により得られる複数のブロック毎に誤り訂正の可否を判定するブロック判定処理
前記ブロック判定処理により誤り訂正不可と判断された複数の同一ブロック毎に値の異なるバイト位置を検出し、前記異なるバイト位置に前記複数のブロックのうち何れかの値を選択してブロックを合成するバイト選択処理
前記バイト選択処理により得られるブロックに対して誤り訂正復号を行う誤り訂正復号処理、及び、
前記誤り訂正復号処理により得られる復号結果に基づいて前記バイト選択処理によるバイト選択の要否を判断する判断処理を実行させ、
前記バイト選択処理は、
前記複数の同一ブロック毎に値の異なるN箇所の誤り可能性バイトのバイト位置のうち、任意のk箇所のバイト同士を入れ替えたバイト合成ブロックを生成し、前記誤り訂正復号処理による前記バイト合成ブロックの誤り訂正が不可能である場合に、前記判断処理からのバイト選択指示により、前記値の異なるバイト位置のうち、他のk箇所のバイト同士を入れ替えたバイト合成ブロックを生成し、更に前記バイト選択処理は、前記N箇所の誤り可能性バイトに対するk箇所入れ替えの探索における全ての組み合わせM= 通りの探索数に対し、予め探索を行う割合として探索率r (0<r ≦1)を設定し、前記k箇所のバイト同士の入れ替え回数が、前記探索率r と前記探索数Mとにより設定された[r ・M]回以上となった場合に、前記k箇所入れ替えの探索を終了し、次にk=k+1として、前記バイト合成ブロックを生成することを特徴とするデジタル信号受信プログラム。
In a digital signal receiving program for receiving a plurality of digital streams including an error correction code and selecting data from the received plurality of digital streams to generate a series of digital streams,
On the computer,
Stream synchronization processing for synchronizing the plurality of digital streams in units of blocks ;
An error detection process for performing error detection and error correction decoding on the plurality of digital streams ;
A block determination process for determining whether error correction is possible for each of a plurality of blocks obtained by the error detection process ;
A byte position having a different value is detected for each of a plurality of identical blocks that are determined to be uncorrectable by the block determination process, and a block is synthesized by selecting one of the plurality of blocks at the different byte position. Byte selection processing ,
An error correction decoding process for performing error correction decoding on the block obtained by the byte selection process; and
Based on a decoding result obtained by the error correction decoding process, a determination process for determining whether or not byte selection by the byte selection process is necessary is executed,
The byte selection process is:
A byte composite block is generated by replacing arbitrary k bytes among the byte positions of N error possibility bytes having different values for each of the plurality of identical blocks, and the byte composite block by the error correction decoding process is generated. When the error correction is impossible, a byte synthesis block is generated by replacing other k bytes among the byte positions having different values according to the byte selection instruction from the determination process, and further In the selection process, the search rate r k (0 <r k ≦) is set as a ratio of performing a search in advance for all the combinations M = N C k search numbers in the k-position replacement search for the N error possibility bytes. 1) set the said replacement number of bytes between the k point is, the search index r k the set by a search number M and [r k · M] times more and When Tsu to terminate the search of the k point replacement, as then k = k + 1, the digital signal receiving program and generates the byte building block.
JP2005216114A 2005-07-26 2005-07-26 Digital signal receiving apparatus and digital signal receiving program Expired - Fee Related JP4571893B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005216114A JP4571893B2 (en) 2005-07-26 2005-07-26 Digital signal receiving apparatus and digital signal receiving program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005216114A JP4571893B2 (en) 2005-07-26 2005-07-26 Digital signal receiving apparatus and digital signal receiving program

Publications (2)

Publication Number Publication Date
JP2007036597A JP2007036597A (en) 2007-02-08
JP4571893B2 true JP4571893B2 (en) 2010-10-27

Family

ID=37795315

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005216114A Expired - Fee Related JP4571893B2 (en) 2005-07-26 2005-07-26 Digital signal receiving apparatus and digital signal receiving program

Country Status (1)

Country Link
JP (1) JP4571893B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5125180B2 (en) * 2007-03-30 2013-01-23 沖電気工業株式会社 Inter-vehicle communication system and error correction method in inter-vehicle communication
US8488499B2 (en) * 2011-01-04 2013-07-16 General Electric Company System and method of enhanced quality of service of wireless communication based on redundant signal reception on two or more antenna diversity inputs
US10059223B2 (en) 2013-03-07 2018-08-28 Honda Motor Co., Ltd. Power supply control apparatus and power supply control method
JP6287217B2 (en) * 2014-01-08 2018-03-07 株式会社デンソー Wireless communication device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10126391A (en) * 1996-10-23 1998-05-15 Oi Denki Kk Method and device for correcting error of selective call signal
JPH10247873A (en) * 1997-03-05 1998-09-14 Fujitsu Ltd Site diversity reception method in mobile communication system and base station host device in mobile communication system adopting the site diversity reception system
JP2000068908A (en) * 1998-08-20 2000-03-03 Nec Corp Mobile communication system
JP2000507777A (en) * 1996-04-01 2000-06-20 エリクソン インコーポレイテッド ARQ device data recovery method and apparatus
JP2001501789A (en) * 1996-09-27 2001-02-06 エリクソン インコーポレイテッド Error detection method for ARQ system
JP2002359610A (en) * 2001-05-31 2002-12-13 Nippon Hoso Kyokai <Nhk> Digital signal receiver, and digital signal reception system
JP2003507962A (en) * 1999-08-19 2003-02-25 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Multiple decoding in a communication system with automatic repeat request (ARQ)
JP2005012452A (en) * 2003-06-18 2005-01-13 Nippon Hoso Kyokai <Nhk> Device, method, and program for receiving digital signal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000507777A (en) * 1996-04-01 2000-06-20 エリクソン インコーポレイテッド ARQ device data recovery method and apparatus
JP2001501789A (en) * 1996-09-27 2001-02-06 エリクソン インコーポレイテッド Error detection method for ARQ system
JPH10126391A (en) * 1996-10-23 1998-05-15 Oi Denki Kk Method and device for correcting error of selective call signal
JPH10247873A (en) * 1997-03-05 1998-09-14 Fujitsu Ltd Site diversity reception method in mobile communication system and base station host device in mobile communication system adopting the site diversity reception system
JP2000068908A (en) * 1998-08-20 2000-03-03 Nec Corp Mobile communication system
JP2003507962A (en) * 1999-08-19 2003-02-25 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Multiple decoding in a communication system with automatic repeat request (ARQ)
JP2002359610A (en) * 2001-05-31 2002-12-13 Nippon Hoso Kyokai <Nhk> Digital signal receiver, and digital signal reception system
JP2005012452A (en) * 2003-06-18 2005-01-13 Nippon Hoso Kyokai <Nhk> Device, method, and program for receiving digital signal

Also Published As

Publication number Publication date
JP2007036597A (en) 2007-02-08

Similar Documents

Publication Publication Date Title
US6725412B1 (en) Low latency data encoder
US7246294B2 (en) Method for iterative hard-decision forward error correction decoding
US7890835B2 (en) Cyclic redundancy check circuit and communication system having the same for multi-channel communication
US20070168835A1 (en) Serial communications system and method
KR20090018252A (en) Decoder for increasing throughput using double buffering structure and pipelining technique and decoding method thereof
JP4571893B2 (en) Digital signal receiving apparatus and digital signal receiving program
US8526505B2 (en) System and method for transmitting digital video stream using SVC scheme
US7231575B2 (en) Apparatus for iterative hard-decision forward error correction decoding
JP3923743B2 (en) Decoding device and decoding method
US8365054B2 (en) Soft reed-solomon decoder based on error-and-erasure reed-solomon decoder
JP2005012452A (en) Device, method, and program for receiving digital signal
US20110243155A1 (en) Computer device, receiving device, receiving method, and computer readable storage medium storing instructions of a computer program thereof
US6557137B1 (en) Bit-error resistant arithmetic coding/decoding apparatus and method thereof
JP3197526B2 (en) Decryption device
EP2850765B1 (en) Method and apparatus for error recovery using information related to the transmitter
US7509563B2 (en) Flexible forward error correction
US20070168846A1 (en) Data decoding apparatus and method in a communication system
US7995692B2 (en) Frame-synchronization method and device
US6084925A (en) Method and apparatus for discriminating synchronous or asynchronous states of Viterbi decoded data
JP3628013B2 (en) Signal transmitting apparatus and encoding apparatus
JP4558617B2 (en) Error correction processing method and transmission apparatus
US7840867B2 (en) Iterative n-dimensional decoding
EP1187342A2 (en) Signal processing apparatus and method, and recording medium
JP5006383B2 (en) System and method for improving radio frequency signal reception
JP4601564B2 (en) Error correction processing method and transmission apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080122

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100219

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100223

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100415

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100720

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100813

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130820

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140820

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees