JP2016111401A - Data transmission device, data reception device, and data communication system - Google Patents
Data transmission device, data reception device, and data communication system Download PDFInfo
- Publication number
- JP2016111401A JP2016111401A JP2014244290A JP2014244290A JP2016111401A JP 2016111401 A JP2016111401 A JP 2016111401A JP 2014244290 A JP2014244290 A JP 2014244290A JP 2014244290 A JP2014244290 A JP 2014244290A JP 2016111401 A JP2016111401 A JP 2016111401A
- Authority
- JP
- Japan
- Prior art keywords
- error correction
- data
- frame
- length
- correction code
- 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
Links
Images
Landscapes
- Detection And Prevention Of Errors In Transmission (AREA)
Abstract
Description
本発明は、データ送信装置、データ受信装置、およびデータ通信システムに関し、特に、固定長フレームをデータカルーセル方式で伝送するシステムにおいて誤り訂正能力を強化する技術に関する。 The present invention relates to a data transmission device, a data reception device, and a data communication system, and more particularly to a technique for enhancing error correction capability in a system that transmits a fixed-length frame by a data carousel method.
固定長フレームを伝送するデータ通信において、データ送信装置は送信対象データを複数に分割して各固定長フレームに割り当てて送信する。ここで、通信が下り方向しかない片方向通信である場合、送信データの一部が通信経路上の異常などにより欠落することがある。そのような場合には、データ受信装置は、データ送信装置によって各フレームに付加されたBCH符号やリードソロモン符号などの誤り訂正符号を用いて、訂正可能範囲内で誤り訂正を行う。もし、訂正範囲を超えたエラーが発生する場合、データ受信装置はそのフレームを破棄し、データ送信装置から再度同じデータを含むフレームを受信するまで待つ必要がある。したがって、固定長フレームを伝送するデータ通信において、各フレームの誤り訂正能力を向上することは重要な課題である。 In data communication for transmitting fixed-length frames, the data transmitting apparatus divides transmission target data into a plurality of pieces, assigns them to each fixed-length frame, and transmits them. Here, when the communication is one-way communication having only the downlink direction, a part of the transmission data may be lost due to an abnormality on the communication path. In such a case, the data receiving apparatus performs error correction within a correctable range using an error correcting code such as a BCH code or a Reed-Solomon code added to each frame by the data transmitting apparatus. If an error exceeding the correction range occurs, the data receiving apparatus needs to discard the frame and wait until a frame including the same data is received again from the data transmitting apparatus. Therefore, it is an important issue to improve the error correction capability of each frame in data communication for transmitting fixed-length frames.
誤り訂正能力を向上させる従来例として、パケットベースの通信システムにおいて、一部のパケットが消失した場合でも、消失していない他のパケットとブロックECCコードによって、消失したパケットの誤り検知および誤り訂正を可能にしたものが知られている(例えば、特許文献1を参照)。 As a conventional example for improving error correction capability, in a packet-based communication system, even when some packets are lost, error detection and error correction of lost packets are performed using other packets that have not been lost and block ECC codes. What has been made possible is known (for example, see Patent Document 1).
いわゆるデータカルーセル方式と呼ばれる、固定長フレームを順番に繰り返し送信するデータ通信システムでは、データ受信装置があるフレームに割り当てられたデータの取得に失敗すると、そのフレームを再度受信するために待ち時間が発生する。しかし、次回送信されるフレームが正しく受信できる保証はなく、もし再びデータ取得に失敗すると、そのフレームを再度受信するためにさらに多くの待ち時間が発生する。 In a data communication system called the so-called data carousel method, which repeatedly transmits fixed-length frames in order, if the data receiving device fails to acquire data assigned to a certain frame, there is a waiting time to receive the frame again. To do. However, there is no guarantee that the next frame to be transmitted can be received correctly, and if the data acquisition fails again, more waiting time is required to receive the frame again.
上記問題に鑑み、本発明は、データカルーセル方式のデータ通信において誤り訂正能力を強化して、フレームの再受信待ちを減らして高速な通信を可能にすることを課題とする。 In view of the above problems, an object of the present invention is to enhance error correction capability in data carousel type data communication, reduce the waiting time for re-reception of frames, and enable high-speed communication.
本発明の一局面に従ったデータ送信装置は、送信対象データ全体を送信可能な最小数の固定長フレームの各フレームに、前記送信対象データを均等に分割して割り当てる送信データ分割部と、前記各フレームに割り当てられたデータに対して、当該フレームからヘッダ情報および当該データを除いた残りの領域に収容可能な最大長の第1の誤り訂正符号を生成し、前記各フレームに当該第1の誤り訂正符号を付加する第1の誤り訂正符号生成部と、前記第1の誤り訂正符号のデータ長の情報を含むヘッダ情報を生成し、前記各フレームに当該ヘッダ情報を付加するヘッダ情報生成部と、前記最小数の固定長フレームを順番に繰り返し送信するフレーム送信部と、を備える。 A data transmission device according to an aspect of the present invention includes a transmission data division unit that equally divides and assigns the transmission target data to each frame of the minimum number of fixed-length frames that can transmit the entire transmission target data, For the data allocated to each frame, a first error correction code having the maximum length that can be accommodated in the remaining area excluding the header information and the data from the frame is generated, and the first error correction code is generated in each frame. A first error correction code generator for adding an error correction code; and a header information generator for generating header information including data length information of the first error correction code and adding the header information to each frame. And a frame transmission unit that repeatedly transmits the minimum number of fixed-length frames in order.
また、上記データ送信装置と対となってデータ通信システムを構成するデータ受信装置は、順番に繰り返し送信される固定長フレームを受信するフレーム受信部と、前記固定長フレームのヘッダ情報から第1の誤り訂正符号のデータ長の情報を取得し、前記固定長フレームから当該データ長の第1の誤り訂正符号を取得する第1の誤り訂正符号取得部と、前記第1の誤り訂正符号を用いて前記固定長フレームの誤り訂正を行う第1の誤り訂正部と、前記誤り訂正されたデータを順序通りに連結して元のデータ全体を復元する受信データ連結部と、を備える。 In addition, a data receiving device that constitutes a data communication system paired with the data transmitting device includes a frame receiving unit that receives a fixed-length frame that is repeatedly transmitted in sequence, and a first information from the header information of the fixed-length frame. Using the first error correction code, a first error correction code acquisition unit that acquires data length information of an error correction code, acquires a first error correction code of the data length from the fixed-length frame, and the first error correction code A first error correction unit that performs error correction of the fixed-length frame; and a received data connection unit that recovers the entire original data by connecting the error-corrected data in order.
このようなデータ送信装置およびデータ受信装置によると、送信対象データ全体を複数の固定長フレームに分けて送受信する場合において、送信対象データ全体を送信するのに必要なフレーム数を増やさずに各フレームの誤り訂正能力を強化することができる。 According to such a data transmitting apparatus and data receiving apparatus, when transmitting and receiving the entire transmission target data divided into a plurality of fixed-length frames, each frame can be transmitted without increasing the number of frames necessary to transmit the entire transmission target data. It is possible to strengthen the error correction capability of
上記データ送信装置は、前記送信対象データ全体に対して、前記最小数の固定長フレームの最終フレームからヘッダ情報、前記割り当てられたデータ、および前記第1の誤り訂正符号を除いた残りの領域に収容可能な最大長の第2の誤り訂正符号を生成し、前記最終フレームに当該第2の誤り訂正符号を付加する第2の誤り訂正符号生成部をさらに備えていてもよく、前記ヘッダ情報生成部は、前記第2の誤り訂正符号のデータ長の情報を含むヘッダ情報を生成し、前記最終フレームに当該ヘッダ情報を付加してもよい。また、上記データ受信装置は、前記順番に繰り返し送信される固定長フレームの最終フレームのヘッダ情報から第2の誤り訂正符号のデータ長の情報を取得し、前記最終フレームから当該データ長の第2の誤り訂正符号を取得する第2の誤り訂正符号取得部と、前記第2の誤り訂正符号を用いて前記元のデータ全体の誤り訂正を行う第2の誤り訂正部と、をさらに備えていてもよい。 The data transmission apparatus is configured to store the header information, the allocated data, and the first error correction code from the last frame of the minimum number of fixed-length frames with respect to the entire transmission target data. The header information generation unit may further include a second error correction code generation unit that generates a second error correction code having a maximum length that can be accommodated and adds the second error correction code to the final frame. The unit may generate header information including data length information of the second error correction code, and add the header information to the final frame. Further, the data receiving apparatus acquires information on the data length of the second error correction code from the header information of the last frame of the fixed length frame that is repeatedly transmitted in the order, and the second data length of the second error correction code is obtained from the last frame. A second error correction code acquisition unit that acquires the error correction code of the first original data, and a second error correction unit that performs error correction of the entire original data using the second error correction code. Also good.
このようなデータ送信装置およびデータ受信装置によると、送信対象データ全体を複数の固定長フレームに分けて送受信する場合において、送信対象データ全体を送信するのに必要なフレーム数を増やさずに各フレームの誤り訂正能力を強化するとともに、送信対象データ全体の誤り訂正能力を強化することができる。 According to such a data transmitting apparatus and data receiving apparatus, when transmitting and receiving the entire transmission target data divided into a plurality of fixed-length frames, each frame can be transmitted without increasing the number of frames necessary to transmit the entire transmission target data. The error correction capability of the entire transmission target data can be enhanced.
本発明の別の一局面に従ったデータ送信装置は、送信対象データ全体を送信可能な最小数の固定長フレームの各フレームに、前記送信対象データを所定長で区切って割り当てる送信データ分割部と、前記各フレームに割り当てられたデータに対して所定長の第1の誤り訂正符号を生成し、前記各フレームに当該第1の誤り訂正符号を付加する第1の誤り訂正符号生成部と、前記送信対象データ全体に対して、前記最小数の固定長フレームの最終フレームからヘッダ情報および前記割り当てられたデータを除いた残りの領域に収容可能な最大長の第2の誤り訂正符号を生成し、前記最終フレームに当該第2の誤り訂正符号を付加する第2の誤り訂正符号生成部と、前記第2の誤り訂正符号のデータ長の情報を含むヘッダ情報を生成し、前記最終フレームに当該ヘッダ情報を付加するヘッダ情報生成部と、前記最小数の固定長フレームを順番に繰り返し送信するフレーム送信部と、を備える。 A data transmission device according to another aspect of the present invention includes a transmission data division unit that allocates the transmission target data by dividing the transmission target data by a predetermined length to each frame of the minimum number of fixed-length frames that can transmit the entire transmission target data. Generating a first error correction code having a predetermined length for the data allocated to each frame, and adding the first error correction code to each frame; and Generating the second error correction code of the maximum length that can be accommodated in the remaining area excluding the header information and the allocated data from the final frame of the minimum number of fixed length frames for the entire transmission target data; A second error correction code generation unit for adding the second error correction code to the final frame; and header information including data length information of the second error correction code; Comprising a header information generating unit for adding the header information to the frame, and a frame transmitting unit for transmitting repeatedly said minimum number of fixed-length frames in order.
また、上記データ送信装置と対となってデータ通信システムを構成するデータ受信装置は、順番に繰り返し送信される固定長フレームを受信するフレーム受信部と、前記固定長フレームのヘッダ情報から所定長の第1の誤り訂正符号を取得する第1の誤り訂正符号取得部と、前記第1の誤り訂正符号を用いて前記固定長フレームの誤り訂正を行う第1の誤り訂正部と、前記誤り訂正されたデータを順序通りに連結して元のデータ全体を復元する受信データ連結部と、前記順番に繰り返し送信される固定長フレームの最終フレームのヘッダ情報から第2の誤り訂正符号のデータ長の情報を取得し、前記最終フレームから当該データ長の第2の誤り訂正符号を取得する第2の誤り訂正符号取得部と、前記第1の誤り訂正部で誤り訂正ができなかった固定長フレームがある場合、当該固定長フレームの誤り訂正前のデータとその他の固定長フレームの誤り訂正後のデータとを順序通りに連結して、前記第2の誤り訂正符号を用いて当該連結したデータ全体の誤り訂正を行う第2の誤り訂正部と、を備える。 In addition, a data receiving apparatus that forms a data communication system in pairs with the data transmitting apparatus includes a frame receiving unit that receives fixed-length frames that are repeatedly transmitted in order, and a predetermined length from header information of the fixed-length frames. A first error correction code acquisition unit that acquires a first error correction code; a first error correction unit that performs error correction of the fixed-length frame using the first error correction code; The data length of the second error correction code from the header information of the last frame of the fixed-length frame that is repeatedly transmitted in the order, and the received data concatenation unit that concatenates the data in order and restores the entire original data And the second error correction code acquisition unit that acquires the second error correction code having the data length from the last frame and the first error correction unit cannot perform error correction. When there is a fixed-length frame, the data before error correction of the fixed-length frame and the data after error correction of other fixed-length frames are connected in order, and the connection is performed using the second error correction code. And a second error correction unit that performs error correction on the entire data.
このようなデータ送信装置およびデータ受信装置によると、送信対象データ全体を複数の固定長フレームに分けて送受信する場合において、送信対象データ全体を送信するのに必要なフレーム数を増やさずに送信対象データ全体の誤り訂正能力を強化することができる。 According to such a data transmitting device and data receiving device, when the entire transmission target data is divided into a plurality of fixed-length frames and transmitted and received, the transmission target is not increased without increasing the number of frames necessary to transmit the entire transmission target data. The error correction capability of the entire data can be strengthened.
本発明によれば、データカルーセル方式のデータ通信において誤り訂正能力が強化されて、フレームの再受信待ちを減らして高速な通信が可能となる。 According to the present invention, error correction capability is enhanced in data carousel data communication, and high-speed communication is possible by reducing the waiting time for re-reception of frames.
以下、図面を参照しながら本発明を実施するための形態について説明する。なお、本発明は、以下の実施形態に限定されるものではない。 DESCRIPTION OF EMBODIMENTS Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings. In addition, this invention is not limited to the following embodiment.
(第1の実施形態)
図1は、第1の実施形態に係るデータ通信システムのブロック図である。本実施形態に係るデータ通信システム100Aは、データ送信装置10Aと、データ受信装置20Aとを備え、データ送信装置10Aからデータ受信装置20Aへ片方向のデータ伝送を行うシステムである。
(First embodiment)
FIG. 1 is a block diagram of a data communication system according to the first embodiment. The
まず、データ送信装置10Aについて説明する。データ送信装置10Aは、いわゆるデータカルーセル方式の送信装置であり、送信対象データを分割して固定長フレームF1〜Fnに割り当てて固定長フレームF1〜Fnを順番に繰り返し送信する。
First, the
データ送信装置10Aは、主要な構成要素として、送信データ分割部11と、フレーム誤り訂正符号生成部12と、ヘッダ情報生成部14と、フレーム送信部15とを備える。
The
送信データ分割部11は、図略の記憶装置などに保存されている送信対象データを読み出して、当該送信対象データ全体を送信可能な最小数の固定長フレームの各フレームに、送信対象データを均等に分割して割り当てる。
The transmission
例えば、送信対象データが2001バイトであり、固定長フレームのペイロードが100バイトの場合、当該送信対象データは最小で21個の固定長フレームで送信可能である。この場合、一般的には、1番目から20番目までの各フレームには100バイトのデータが割り当てられ、21番目の最終フレームには1バイトのデータが割り当てられる。一方、送信データ分割部11は、送信対象データを均等に分割して、1番目から20番目までの各フレームに96バイトのデータを割り当て、21番目の最終フレームに81バイトのデータを割り当てる。
For example, when the transmission target data is 2001 bytes and the payload of the fixed length frame is 100 bytes, the transmission target data can be transmitted in a minimum of 21 fixed length frames. In this case, generally, 100-byte data is assigned to each of the first to twentieth frames, and 1-byte data is assigned to the 21st last frame. On the other hand, the transmission
フレーム誤り訂正符号生成部12は、送信データ分割部11によって各フレームに割り当てられたデータに対して、当該フレームからヘッダ情報および当該データを除いた残りの領域に収容可能な最大長のフレーム誤り訂正符号を生成し、各フレームに当該フレーム誤り訂正符号を付加する。フレーム誤り訂正符号生成部12は、リードソロモン符号、ビタビ符号、BCH符号、LDPC符号などの周知の誤り訂正符号を生成することができる。
The frame error correction
一般的には、フレームのトレーラに固定長のフレーム誤り訂正符号が付加されるが、フレーム誤り訂正符号生成部12は、それよりも長いフレーム誤り訂正符号を生成して各フレームに付加する。例えば、上記例では、1番目から20番目までの各フレームに割り当てられるデータが96バイトであり、ペイロードに4バイトの空きがある。そこで、フレーム誤り訂正符号生成部12は、通常よりも4バイト拡張したフレーム誤り訂正符号を生成して各フレームに付加する。例えば、リードソロモン符号を4バイト拡張すると、さらに2バイトの誤り訂正が可能となる。
In general, a fixed-length frame error correction code is added to a frame trailer, but the frame error correction
ヘッダ情報生成部14は、各フレームのヘッダ情報を生成する。ヘッダ情報には、送信元IPアドレスや相手先IPアドレスなどのさまざまな情報が含まれる。特に、ヘッダ情報生成部14は、フレーム誤り訂正符号生成部12が生成したフレーム誤り訂正符号のデータ長の情報をヘッダ情報に付加する。これは、データ送信装置10Aから送信される固定長フレームを受信するデータ受信装置20Aに、拡張されたフレーム誤り訂正符号のデータ長を認識させて、データ受信装置20Aにおいて正しく誤り訂正できるようにするためである。
The header
フレーム送信部15は、固定長フレームF1〜Fnをデータカルーセル方式で順番に繰り返し送信する。送信手段として有線通信および無線通信のいずれを用いてもよい。
The
次に、データ受信装置20Aについて説明する。データ受信装置20Aは、データ送信装置10Aからデータカルーセル方式で送信される固定長フレームF1〜Fnを受信し、各フレームの誤り訂正を行い、誤り訂正後の全フレームのデータを連結して元のデータを復元する。データ受信装置20Aは、受信したフレームの誤り訂正ができなかった場合、当該フレームがデータ送信装置10Aから再送されるまで待って同じフレームを再度受信して誤り訂正および元データの復元を行う。
Next, the
データ受信装置20Aは、主要な構成要素として、フレーム受信部21と、フレーム誤り訂正符号取得部22と、フレーム誤り訂正部24と、受信データ連結部26とを備える。
The
フレーム受信部21は、データ送信装置10Aから順番に繰り返し送信される固定長フレームF1〜Fnを受信する。なお、フレーム受信部21の受信開始タイミングは任意であり、途中のi番目の固定長フレームFiから受信を始めてもよい。また、受信手段として有線通信および無線通信のいずれを用いてもよい。
The
フレーム誤り訂正符号取得部22は、フレーム受信部21が受信したフレームのヘッダ情報から、フレーム誤り訂正符号のデータ長の情報を取得し、当該フレームから当該データ長のフレーム誤り訂正符号を取得する。なお、フレーム誤り訂正符号のデータ長の情報は、データ送信装置10Aのヘッダ情報生成部14によって付加されたものであり、フレーム誤り訂正符号は、フレーム誤り訂正符号生成部12によって生成および付加されたものである。
The frame error correction
フレーム誤り訂正部24は、フレーム誤り訂正符号取得部22によって取得されたフレーム誤り訂正符号を用いて、フレーム受信部21が受信したフレームの誤り訂正を行う。上述したように、当該フレーム誤り訂正符号は通常のものよりも数バイト拡張されており、より強力な誤り訂正が可能である。
The frame
受信データ連結部26は、フレーム誤り訂正部24によって誤り訂正されたデータを順序通りに連結して元のデータ全体を復元する。これにより、データ送信装置10A側の送信対象データ全体がデータ受信装置20A側へと伝送される。
The reception
次に、データ通信システム100Aで送受信される固定長フレームのデータ構造について説明する。図2は、本実施形態に係るデータ通信システム100Aで送受信される固定長フレームのデータ構造を模式的に示す。
Next, a data structure of a fixed-length frame transmitted / received in the
上述したように、送信対象データDは、データ送信装置10Aの送信データ分割部11によって可変長Lvarで均等にn分割される。ただし、最後のn番目のデータDnは、送信対象データDのデータ長をLvarで割った剰余数に対応するデータ長のデータとなる。nは、送信対象データD全体を送信するのに必要な固定長フレームの最小数である。
As described above, the transmission target data D is equally divided into n by the variable length L var by the transmission
各フレームF1〜Fnは、ヘッダ101、ペイロード102、およびトレーラ103から構成されており、送信データ分割部11によって均等分割された各データD1〜Dnは、各フレームF1〜Fnのペイロード102に割り当てられる。ヘッダ101、ペイロード102、およびトレーラ103のデータ長はいずれも固定長である。
Each frame F1 to Fn is composed of a
ここで、Lvarはペイロード102のデータ長よりも小さい値であるため、各データD1〜Dnが割り当てられた各フレームF1〜Fnのペイロード102には数バイトの空き領域ができる。そこで、データ送信装置10Aのフレーム誤り訂正符号生成部12は、その空き領域に相当するデータ長だけフレーム誤り訂正符号を拡張して生成する。この結果、各フレームF1〜Fnにはトレーラ103のデータ長よりも長いフレーム誤り訂正符号104が付加される。さらに、各フレームF1〜Fnのヘッダ101には、付加されたフレーム誤り訂正符号104のデータ長の情報が付加される。
Here, since L var is a value smaller than the data length of the
なお、最終フレームFnに割り当てるデータDnのデータ長は他のフレームに割り当てられるデータのデータ長より短いため、最終フレームFnに拡張されたフレーム誤り訂正符号104を付加してもペイロード102に依然として空き領域が残る。そのような場合には、残りの空き領域にダミーデータ105を付加してもよい。あるいは、最終フレームFnだけさらにフレーム誤り訂正符号を拡張して、ペイロード102の残りの領域をすべてフレーム誤り訂正符号104で埋めるようにしてもよい。
Since the data length of the data Dn assigned to the final frame Fn is shorter than the data length of the data assigned to other frames, even if the extended frame
このように本実施形態によると、送信対象データ全体を複数の固定長フレームに分けて送受信する場合において、送信対象データ全体を送信するのに必要なフレーム数を増やさずに各フレームの誤り訂正能力を強化することができる。 As described above, according to the present embodiment, when the entire transmission target data is divided into a plurality of fixed-length frames and transmitted / received, the error correction capability of each frame is increased without increasing the number of frames necessary to transmit the entire transmission target data. Can be strengthened.
(第2の実施形態)
図3は、第2の実施形態に係るデータ通信システムのブロック図である。本実施形態に係るデータ通信システム100Bは、データ送信装置10Bと、データ受信装置20Bとを備え、データ送信装置10Bからデータ受信装置20Bへ片方向のデータ伝送を行うシステムである。
(Second Embodiment)
FIG. 3 is a block diagram of a data communication system according to the second embodiment. The
まず、データ送信装置10Bについて説明する。データ送信装置10Bは、いわゆるデータカルーセル方式の送信装置であり、送信対象データを分割して固定長フレームF1〜Fnに割り当てて固定長フレームF1〜Fnを順番に繰り返し送信する。
First, the
データ送信装置10Bは、主要な構成要素として、送信データ分割部11と、フレーム誤り訂正符号生成部12と、全体誤り訂正符号生成部13と、ヘッダ情報生成部14と、フレーム送信部15とを備える。
The
送信データ分割部11は、図略の記憶装置などに保存されている送信対象データを読み出して、当該送信対象データ全体を送信可能な最小数の固定長フレームの各フレームに、送信対象データを所定長で区切って割り当てる。所定長は、固定長フレームのペイロードのデータ長である。
The transmission
例えば、送信対象データが2001バイトであり、固定長フレームのペイロードが100バイトの場合、当該送信対象データは最小で21個の固定長フレームで送信可能である。この場合、送信データ分割部11は、1番目から20番目までの各フレームに100バイトのデータを割り当て、21番目の最終フレームに1バイトのデータを割り当てる。
For example, when the transmission target data is 2001 bytes and the payload of the fixed length frame is 100 bytes, the transmission target data can be transmitted in a minimum of 21 fixed length frames. In this case, the transmission
フレーム誤り訂正符号生成部12は、送信データ分割部11によって各フレームに割り当てられたデータに対して所定長のフレーム誤り訂正符号を生成し、各フレームに当該フレーム誤り訂正符号を付加する。フレーム誤り訂正符号生成部12は、リードソロモン符号、ビタビ符号、BCH符号、LDPC符号などの周知の誤り訂正符号を生成することができる。
The frame error correction
全体誤り訂正符号生成部13は、送信対象データ全体に対して全体誤り訂正符号を生成する。全体誤り訂正符号生成部13は、リードソロモン符号、ビタビ符号、BCH符号、LDPC符号などの周知の誤り訂正符号を生成することができる。全体誤り訂正符号のデータ長は、最終フレームからヘッダ情報および送信データ分割部11によって割り当てられたデータを除いた残りの領域に収容可能な最大長である。全体誤り訂正符号生成部13は、生成した全体誤り訂正符号を最終フレームに付加する。例えば、上記例では、21番目の最終フレームにはデータが1バイトしか割り当てられないため、ペイロードに99バイトの空きがある。そこで、全体誤り訂正符号生成部13は、送信対象データ全体に対して最大で99バイトの全体フレーム誤り訂正符号を生成して最終フレームに付加する。例えば、98バイトのリードソロモン符号を生成することで、送信対象データ全体について49バイトの誤り訂正が可能となる。すなわち、あるフレームの半分近くのデータが誤っていてもその誤りの訂正が可能である。
The overall error
ヘッダ情報生成部14は、各フレームのヘッダ情報を生成する。ヘッダ情報には、送信元IPアドレスや相手先IPアドレスなどのさまざまな情報が含まれる。特に、ヘッダ情報生成部14は、全体誤り訂正符号のデータ長の情報を、最終フレームのヘッダ情報に付加する。これは、データ送信装置10Bから送信される固定長フレームを受信するデータ受信装置20Bに、全体誤り訂正符号のデータ長を認識させて、データ受信装置20Bにおいて正しく誤り訂正できるようにするためである。
The header
フレーム送信部15は、固定長フレームF1〜Fnをデータカルーセル方式で順番に繰り返し送信する。送信手段として有線通信および無線通信のいずれを用いてもよい。
The
次に、データ受信装置20Bについて説明する。データ受信装置20Bは、データ送信装置10Bからデータカルーセル方式で送信される固定長フレームF1〜Fnを受信し、各フレームの誤り訂正を行い、誤り訂正後の全フレームのデータを連結して元のデータを復元する。データ受信装置20Bは、受信したフレームの誤り訂正ができなかった場合、当該フレームがデータ送信装置10Bから再送されるまで待って同じフレームを再度受信して誤り訂正および元データの復元を行う。
Next, the
データ受信装置20Bは、主要な構成要素として、フレーム受信部21と、フレーム誤り訂正符号取得部22と、全体誤り訂正符号取得部23と、フレーム誤り訂正部24と、全体誤り訂正部25と、受信データ連結部26とを備える。
The
フレーム受信部21は、データ送信装置10Bから順番に繰り返し送信される固定長フレームF1〜Fnを受信する。なお、フレーム受信部21の受信開始タイミングは任意であり、途中のi番目の固定長フレームFiから受信を始めてもよい。また、受信手段として有線通信および無線通信のいずれを用いてもよい。
The
フレーム誤り訂正符号取得部22は、フレーム受信部21が受信したフレームから所定長のフレーム誤り訂正符号を取得する。なお、フレーム誤り訂正符号は、通常、各フレームのトレーラに格納されている。
The frame error correction
フレーム誤り訂正部24は、フレーム誤り訂正符号取得部22によって取得されたフレーム誤り訂正符号を用いて、フレーム受信部21が受信したフレームの誤り訂正を行う。
The frame
受信データ連結部26は、フレーム誤り訂正部24によって誤り訂正されたデータを順序通りに連結して元のデータ全体を復元する。
The reception
全体誤り訂正符号取得部23は、フレーム受信部21が受信した最終フレームのヘッダ情報から、全体誤り訂正符号のデータ長の情報を取得し、当該最終フレームから当該データ長の全体フレーム誤り訂正符号を取得する。なお、全体誤り訂正符号のデータ長の情報は、データ送信装置10Bのヘッダ情報生成部14によって付加されたものであり、全体誤り訂正符号は、全体誤り訂正符号生成部13によって生成および付加されたものである。
The overall error correction
全体誤り訂正部25は、フレーム誤り訂正部22で誤り訂正ができなかった固定長フレームがある場合に、すべての固定長フレームのデータを連結したデータ全体に対して誤り訂正を試みる。具体的には、全体誤り訂正部25は、フレーム誤り訂正部22で誤り訂正ができなかった固定長フレームの誤り訂正前のデータとフレーム誤り訂正部22で誤り訂正ができたその他の固定長フレームの誤り訂正後のデータとを順序通りに連結して、全体誤り訂正符号取得部23によって取得された全体誤り訂正符号を用いて、当該連結したデータ全体の誤り訂正を行う。
When there is a fixed-length frame that cannot be corrected by the frame
なお、データ全体の誤り訂正が正しく行われたか否かを検証するために、全体誤り訂正部25は、フレーム誤り訂正部22で誤り訂正ができなかった固定長フレームに含まれるフレーム誤り訂正符号を用いて、全体誤り訂正部25による誤り訂正後の当該固定長フレームのデータの誤り訂正を行ってもよい。もし、当該固定長フレームについて、フレーム誤り訂正符号を用いた誤り訂正が成功すれば、全体誤り訂正部25によるデータ全体の誤り訂正が正しく行われたと言える。あるいは、全体誤り訂正部25は、フレーム誤り訂正符号以外に別途用意されたCRC符号などの誤り検出符号を用いて検証を行ってもよい。
In order to verify whether or not error correction of the entire data has been performed correctly, the total
次に、データ通信システム100Bで送受信される固定長フレームのデータ構造について説明する。図4は、本実施形態に係るデータ通信システム100Bで送受信される固定長フレームのデータ構造を模式的に示す。
Next, a data structure of a fixed length frame transmitted / received in the
上述したように、送信対象データDは、データ送信装置10Bの送信データ分割部11によって固定長Lfixでn分割される。ただし、最後のn番目のデータDnは、送信対象データDのデータ長をLfixで割った剰余数に対応するデータ長のデータとなる。nは、送信対象データD全体を送信するのに必要な固定長フレームの最小数である。
As described above, the transmission target data D is divided into n by the transmission
各フレームF1〜Fnは、ヘッダ101、ペイロード102、およびトレーラ103から構成されており、送信データ分割部11によって均等分割された各データD1〜Dnは、各フレームF1〜Fnのペイロード102に割り当てられる。ヘッダ101、ペイロード102、およびトレーラ103のデータ長はいずれも固定長である。
Each frame F1 to Fn is composed of a
ここで、Lfixはペイロード102のデータ長に等しい値であるため、最終フレームFn以外のフレームのペイロード102は、データ長Lfixのデータで埋められる。一方、最終フレームFnのペイロード102には比較的大きな空き領域ができる。そこで、データ送信装置10Bの全体誤り訂正符号生成部13は、その空き領域に収容可能な最大データ長の全体誤り訂正符号106を生成して最終フレームFnのペイロード102に付加する。最終フレームFnのペイロード102の残りの空き領域にはダミーデータ105が付加される。また、最終フレームFnのヘッダ101には、付加された全体誤り訂正符号106のデータ長の情報が付加される。
Here, since L fix is a value equal to the data length of the
あるいは、最終フレームFnのペイロード102において、先頭から順にデータDn、ダミーデータ105、全体誤り訂正符号106を配置し、ペイロード102の最後に全体誤り訂正符号106のデータ長の情報を配置してもよい。こうすることで、最終フレームFnの所定の位置、すなわち、ペイロード102の最後を参照すれば全体誤り訂正符号106のデータ長を必ず取得することができるため、最終フレームFnのヘッダ101に全体誤り訂正符号106のデータ長の情報を付加する必要がなくなる。
Alternatively, in the
このように本実施形態によると、送信対象データ全体を複数の固定長フレームに分けて送受信する場合において、送信対象データ全体を送信するのに必要なフレーム数を増やさずに送信対象データ全体の誤り訂正能力を強化することができる。 As described above, according to the present embodiment, when the entire transmission target data is divided into a plurality of fixed-length frames and transmitted / received, an error in the entire transmission target data can be achieved without increasing the number of frames necessary to transmit the entire transmission target data. The correction ability can be strengthened.
(第3の実施形態)
図5は、第3の実施形態に係るデータ通信システムのブロック図である。本実施形態に係るデータ通信システム100Cは、データ送信装置10Cと、データ受信装置20Cとを備え、データ送信装置10Cからデータ受信装置20Cへ片方向のデータ伝送を行うシステムである。
(Third embodiment)
FIG. 5 is a block diagram of a data communication system according to the third embodiment. The
まず、データ送信装置10Cについて説明する。データ送信装置10Cは、いわゆるデータカルーセル方式の送信装置であり、送信対象データを分割して固定長フレームF1〜Fnに割り当てて固定長フレームF1〜Fnを順番に繰り返し送信する。
First, the
データ送信装置10Cは、主要な構成要素として、送信データ分割部11と、フレーム誤り訂正符号生成部12と、全体誤り訂正符号生成部13と、ヘッダ情報生成部14と、フレーム送信部15とを備える。
The
送信データ分割部11は、図略の記憶装置などに保存されている送信対象データを読み出して、当該送信対象データ全体を送信可能な最小数の固定長フレームの各フレームに、送信対象データを均等に分割して割り当てる。
The transmission
例えば、送信対象データが2001バイトであり、固定長フレームのペイロードが100バイトの場合、当該送信対象データは最小で21個の固定長フレームで送信可能である。この場合、一般的には、1番目から20番目までの各フレームには100バイトのデータが割り当てられ、21番目の最終フレームには1バイトのデータが割り当てられる。一方、送信データ分割部11は、送信対象データを均等に分割して、1番目から20番目までの各フレームに96バイトのデータを割り当て、21番目の最終フレームに81バイトのデータを割り当てる。
For example, when the transmission target data is 2001 bytes and the payload of the fixed length frame is 100 bytes, the transmission target data can be transmitted in a minimum of 21 fixed length frames. In this case, generally, 100-byte data is assigned to each of the first to twentieth frames, and 1-byte data is assigned to the 21st last frame. On the other hand, the transmission
フレーム誤り訂正符号生成部12は、送信データ分割部11によって各フレームに割り当てられたデータに対して、当該フレームからヘッダ情報および当該データを除いた残りの領域に収容可能な最大長のフレーム誤り訂正符号を生成し、各フレームに当該フレーム誤り訂正符号を付加する。フレーム誤り訂正符号生成部12は、リードソロモン符号、ビタビ符号、BCH符号、LDPC符号などの周知の誤り訂正符号を生成することができる。
The frame error correction
一般的には、フレームのトレーラに固定長のフレーム誤り訂正符号が付加されるが、フレーム誤り訂正符号生成部12は、それよりも長いフレーム誤り訂正符号を生成して各フレームに付加する。例えば、上記例では、1番目から20番目までの各フレームに割り当てられるデータが96バイトであり、ペイロードに4バイトの空きがある。そこで、フレーム誤り訂正符号生成部12は、通常よりも4バイト拡張したフレーム誤り訂正符号を生成して各フレームに付加する。例えば、リードソロモン符号を4バイト拡張すると、さらに2バイトの誤り訂正が可能となる。
In general, a fixed-length frame error correction code is added to a frame trailer, but the frame error correction
全体誤り訂正符号生成部13は、送信対象データ全体に対して全体誤り訂正符号を生成する。全体誤り訂正符号生成部13は、リードソロモン符号、ビタビ符号、BCH符号、LDPC符号などの周知の誤り訂正符号を生成することができる。全体誤り訂正符号のデータ長は、最終フレームからヘッダ情報、送信データ分割部11によって割り当てられたデータ、およびフレーム誤り訂正符号を除いた残りの領域に収容可能な最大長である。全体誤り訂正符号生成部13は、生成した全体誤り訂正符号を最終フレームに付加する。例えば、上記例では、21番目の最終フレームにはデータが81バイトしか割り当てられないため、ペイロードに19バイトの空きがある。さらに、そこからフレーム誤り訂正符号を除いても残り10数バイトの空きがある。そこで、全体誤り訂正符号生成部13は、送信対象データ全体に対して最大で10数バイトの全体フレーム誤り訂正符号を生成して最終フレームに付加する。例えば、10バイトのリードソロモン符号を生成することで、送信対象データ全体について5バイトの誤り訂正が可能となる。
The overall error
ヘッダ情報生成部14は、各フレームのヘッダ情報を生成する。ヘッダ情報には、送信元IPアドレスや相手先IPアドレスなどのさまざまな情報が含まれる。特に、ヘッダ情報生成部14は、フレーム誤り訂正符号生成部12が生成したフレーム誤り訂正符号のデータ長の情報をヘッダ情報に付加する。これは、データ送信装置10Cから送信される固定長フレームを受信するデータ受信装置20Cに、拡張されたフレーム誤り訂正符号のデータ長を認識させて、データ受信装置20Cにおいて正しく誤り訂正できるようにするためである。さらに、ヘッダ情報生成部14は、全体誤り訂正符号のデータ長の情報を、最終フレームのヘッダ情報に付加する。これは、データ送信装置10Cから送信される固定長フレームを受信するデータ受信装置20Cに、全体誤り訂正符号のデータ長を認識させて、データ受信装置20Cにおいて正しく誤り訂正できるようにするためである。
The header
フレーム送信部15は、固定長フレームF1〜Fnをデータカルーセル方式で順番に繰り返し送信する。送信手段として有線通信および無線通信のいずれを用いてもよい。
The
次に、データ受信装置20Cについて説明する。データ受信装置20Cは、データ送信装置10Cからデータカルーセル方式で送信される固定長フレームF1〜Fnを受信し、各フレームの誤り訂正を行い、誤り訂正後の全フレームのデータを連結して元のデータを復元する。データ受信装置20Cは、受信したフレームの誤り訂正ができなかった場合、当該フレームがデータ送信装置10Cから再送されるまで待って同じフレームを再度受信して誤り訂正および元データの復元を行う。
Next, the
データ受信装置20Cは、主要な構成要素として、フレーム受信部21と、フレーム誤り訂正符号取得部22と、全体誤り訂正符号取得部23と、フレーム誤り訂正部24と、全体誤り訂正部25と、受信データ連結部26とを備える。
The
フレーム受信部21は、データ送信装置10Cから順番に繰り返し送信される固定長フレームF1〜Fnを受信する。なお、フレーム受信部21の受信開始タイミングは任意であり、途中のi番目の固定長フレームFiから受信を始めてもよい。また、受信手段として有線通信および無線通信のいずれを用いてもよい。
The
フレーム誤り訂正符号取得部22は、フレーム受信部21が受信したフレームのヘッダ情報から、フレーム誤り訂正符号のデータ長の情報を取得し、当該フレームから当該データ長のフレーム誤り訂正符号を取得する。なお、フレーム誤り訂正符号のデータ長の情報は、データ送信装置10Cのヘッダ情報生成部14によって付加されたものであり、フレーム誤り訂正符号は、フレーム誤り訂正符号生成部12によって生成および付加されたものである。
The frame error correction
フレーム誤り訂正部24は、フレーム誤り訂正符号取得部22によって取得されたフレーム誤り訂正符号を用いて、フレーム受信部21が受信したフレームの誤り訂正を行う。上述したように、当該フレーム誤り訂正符号は通常のものよりも数バイト拡張されており、より強力な誤り訂正が可能である。
The frame
受信データ連結部26は、フレーム誤り訂正部24によって誤り訂正されたデータを順序通りに連結して元のデータ全体を復元する。
The reception
全体誤り訂正符号取得部23は、フレーム受信部21が受信した最終フレームのヘッダ情報から、全体誤り訂正符号のデータ長の情報を取得し、当該最終フレームから当該データ長の全体フレーム誤り訂正符号を取得する。なお、全体誤り訂正符号のデータ長の情報は、データ送信装置10Cのヘッダ情報生成部14によって付加されたものであり、全体誤り訂正符号は、全体誤り訂正符号生成部13によって生成および付加されたものである。
The overall error correction
全体誤り訂正部25は、フレーム誤り訂正部22で誤り訂正ができなかった固定長フレームがある場合に、すべての固定長フレームのデータを連結したデータ全体に対して誤り訂正を試みる。具体的には、全体誤り訂正部25は、フレーム誤り訂正部22で誤り訂正ができなかった固定長フレームの誤り訂正前のデータとフレーム誤り訂正部22で誤り訂正ができたその他の固定長フレームの誤り訂正後のデータとを順序通りに連結して、全体誤り訂正符号取得部23によって取得された全体誤り訂正符号を用いて、当該連結したデータ全体の誤り訂正を行う。
When there is a fixed-length frame that cannot be corrected by the frame
なお、データ全体の誤り訂正が正しく行われたか否かを検証するために、全体誤り訂正部25は、フレーム誤り訂正部22で誤り訂正ができなかった固定長フレームに含まれるフレーム誤り訂正符号を用いて、全体誤り訂正部25による誤り訂正後の当該固定長フレームのデータの誤り訂正を行ってもよい。もし、当該固定長フレームについて、フレーム誤り訂正符号を用いた誤り訂正が成功すれば、全体誤り訂正部25によるデータ全体の誤り訂正が正しく行われたと言える。あるいは、全体誤り訂正部25は、フレーム誤り訂正符号以外に別途用意されたCRC符号などの誤り検出符号を用いて検証を行ってもよい。
In order to verify whether or not error correction of the entire data has been performed correctly, the total
次に、データ通信システム100Cで送受信される固定長フレームのデータ構造について説明する。図6は、本実施形態に係るデータ通信システム100Cで送受信される固定長フレームのデータ構造を模式的に示す。
Next, a data structure of a fixed-length frame transmitted / received in the
上述したように、送信対象データDは、データ送信装置10Cの送信データ分割部11によって可変長Lvarで均等にn分割される。ただし、最後のn番目のデータDnは、送信対象データDのデータ長をLvarで割った剰余数に対応するデータ長のデータとなる。nは、送信対象データD全体を送信するのに必要な固定長フレームの最小数である。
As described above, the transmission target data D is equally divided into n by the variable length L var by the transmission
各フレームF1〜Fnは、ヘッダ101、ペイロード102、およびトレーラ103から構成されており、送信データ分割部11によって均等分割された各データD1〜Dnは、各フレームF1〜Fnのペイロード102に割り当てられる。ヘッダ101、ペイロード102、およびトレーラ103のデータ長はいずれも固定長である。
Each frame F1 to Fn is composed of a
ここで、Lvarはペイロード102のデータ長よりも小さい値であるため、各データD1〜Dnが割り当てられた各フレームF1〜Fnのペイロード102には数バイトの空き領域ができる。そこで、データ送信装置10Cのフレーム誤り訂正符号生成部12は、その空き領域に相当するデータ長だけフレーム誤り訂正符号を拡張して生成する。この結果、各フレームF1〜Fnにはトレーラ103のデータ長よりも長いフレーム誤り訂正符号104が付加される。さらに、各フレームF1〜Fnのヘッダ101には、付加されたフレーム誤り訂正符号104のデータ長の情報が付加される。
Here, since L var is a value smaller than the data length of the
最終フレームFnに割り当てるデータDnのデータ長は他のフレームに割り当てられるデータのデータ長より短いため、最終フレームFnに拡張されたフレーム誤り訂正符号104を付加してもペイロード102に依然として空き領域が残る。そこで、データ送信装置10Cの全体誤り訂正符号生成部13は、その空き領域に収容可能な最大データ長の全体誤り訂正符号106を生成して最終フレームFnのペイロード102に付加する。最終フレームFnのペイロード102の残りの空き領域にはダミーデータ105が付加される。また、最終フレームFnのヘッダ101には、付加された全体誤り訂正符号106のデータ長の情報が付加される。
Since the data length of the data Dn assigned to the final frame Fn is shorter than the data length of the data assigned to other frames, even if the extended frame
あるいは、最終フレームFnのペイロード102において、先頭から順にデータDn、ダミーデータ105、全体誤り訂正符号106を配置し、フレーム誤り訂正符号104の直前に全体誤り訂正符号106のデータ長の情報を配置してもよい。こうすることで、最終フレームFnの所定の位置、すなわち、フレーム誤り訂正符号104の直前を参照すれば全体誤り訂正符号106のデータ長を必ず取得することができるため、最終フレームFnのヘッダ101に全体誤り訂正符号106のデータ長の情報を付加する必要がなくなる。
Alternatively, in the
このように本実施形態によると、送信対象データ全体を複数の固定長フレームに分けて送受信する場合において、送信対象データ全体を送信するのに必要なフレーム数を増やさずに各フレームの誤り訂正能力を強化するとともに、送信対象データ全体の誤り訂正能力を強化することができる。 As described above, according to the present embodiment, when the entire transmission target data is divided into a plurality of fixed-length frames and transmitted / received, the error correction capability of each frame is increased without increasing the number of frames necessary to transmit the entire transmission target data. And the error correction capability of the entire transmission target data can be enhanced.
以上のように、本発明の各実施形態によれば、データカルーセル方式のデータ通信において誤り訂正能力が強化されて、フレームの再受信待ちを減らして高速な通信が可能となる。 As described above, according to each embodiment of the present invention, error correction capability is enhanced in data carousel data communication, and high-speed communication is possible by reducing waiting for re-reception of frames.
以上、本発明の実施形態について説明したが、本発明は上記の実施形態の構成に限られず種々の変形が可能である。 Although the embodiment of the present invention has been described above, the present invention is not limited to the configuration of the above embodiment, and various modifications can be made.
また、上記実施形態により示した構成および処理は、本発明の一実施形態に過ぎず、本発明を当該構成および処理に限定する趣旨ではない。 Further, the configuration and processing shown in the above embodiment are only one embodiment of the present invention, and are not intended to limit the present invention to the configuration and processing.
本発明に係るデータ送信装置、データ受信装置、およびデータ通信システムは、ITU−T H.222/H.262などの規格に準拠したデータや、CSK(Color Shift Keying)変調されたデータを送信および受信する装置およびシステムとして有用である。 A data transmission device, a data reception device, and a data communication system according to the present invention are described in ITU-T H.264. 222 / H. The present invention is useful as an apparatus and a system for transmitting and receiving data compliant with a standard such as H.262 and data modulated by CSK (Color Shift Keying).
100A、100B、100C データ通信システム
10A、10B、10C データ送信装置
11 送信データ分割部
12 フレーム誤り訂正符号生成部(第1の誤り訂正符号生成部)
13 全体誤り訂正符号生成部(第2の誤り訂正符号生成部)
14 ヘッダ情報生成部
15 フレーム送信部
20A、20B、20C データ受信装置
21 フレーム受信部
22 フレーム誤り訂正符号取得部(第1の誤り訂正符号取得部)
23 全体誤り訂正符号取得部(第2の誤り訂正符号取得部)
24 フレーム誤り訂正部(第1の誤り訂正部)
25 全体誤り訂正部(第2の誤り訂正部)
26 受信データ連結部
F1〜Fn 固定長フレーム
Fn 最終フレーム
D 送信対象データ
D1〜Dn 各フレームに割り当てられたデータ
Dn 最終フレームに割り当てられたデータ
101 ヘッダ
104 フレーム誤り訂正符号(第1の誤り訂正符号)
106 全体誤り訂正符号(第2の誤り訂正符号)
100A, 100B, 100C
13 Overall error correction code generator (second error correction code generator)
14 header
23 Overall error correction code acquisition unit (second error correction code acquisition unit)
24 frame error correction unit (first error correction unit)
25 Overall error correction section (second error correction section)
26 Received data concatenation unit F1 to Fn Fixed length frame Fn Last frame D Transmission target data D1 to Dn Data assigned to each frame Dn Data assigned to the
106 Overall error correction code (second error correction code)
Claims (9)
前記各フレームに割り当てられたデータに対して、当該フレームからヘッダ情報および当該データを除いた残りの領域に収容可能な最大長の第1の誤り訂正符号を生成し、前記各フレームに当該第1の誤り訂正符号を付加する第1の誤り訂正符号生成部と、
前記第1の誤り訂正符号のデータ長の情報を含むヘッダ情報を生成し、前記各フレームに当該ヘッダ情報を付加するヘッダ情報生成部と、
前記最小数の固定長フレームを順番に繰り返し送信するフレーム送信部と、を備えたデータ送信装置。 A transmission data dividing unit that equally divides and assigns the transmission target data to each frame of the minimum number of fixed-length frames that can transmit the entire transmission target data;
For the data allocated to each frame, a first error correction code having a maximum length that can be accommodated in the remaining area excluding the header information and the data from the frame is generated, and the first error correction code is generated for each frame. A first error correction code generation unit for adding the error correction code of
Generating header information including information on the data length of the first error correction code, and adding the header information to each frame;
A data transmission apparatus comprising: a frame transmission unit configured to repeatedly transmit the minimum number of fixed-length frames in order.
前記ヘッダ情報生成部は、前記第2の誤り訂正符号のデータ長の情報を含むヘッダ情報を生成し、前記最終フレームに当該ヘッダ情報を付加するものである、請求項1に記載のデータ送信装置。 The maximum length that can be accommodated in the remaining area excluding the header information, the allocated data, and the first error correction code from the final frame of the minimum number of fixed-length frames for the entire transmission target data A second error correction code generation unit that generates a second error correction code and adds the second error correction code to the final frame;
The data transmission device according to claim 1, wherein the header information generation unit generates header information including data length information of the second error correction code and adds the header information to the final frame. .
前記各フレームに割り当てられたデータに対して所定長の第1の誤り訂正符号を生成し、前記各フレームに当該第1の誤り訂正符号を付加する第1の誤り訂正符号生成部と、
前記送信対象データ全体に対して、前記最小数の固定長フレームの最終フレームからヘッダ情報および前記割り当てられたデータを除いた残りの領域に収容可能な最大長の第2の誤り訂正符号を生成し、前記最終フレームに当該第2の誤り訂正符号を付加する第2の誤り訂正符号生成部と、
前記第2の誤り訂正符号のデータ長の情報を含むヘッダ情報を生成し、前記最終フレームに当該ヘッダ情報を付加するヘッダ情報生成部と、
前記最小数の固定長フレームを順番に繰り返し送信するフレーム送信部と、を備えたデータ送信装置。 A transmission data dividing unit that allocates the transmission target data by dividing the transmission target data by a predetermined length to each of the minimum number of fixed-length frames that can transmit the entire transmission target data;
A first error correction code generation unit that generates a first error correction code of a predetermined length for the data allocated to each frame and adds the first error correction code to each frame;
A second error correction code having a maximum length that can be accommodated in the remaining area excluding header information and the allocated data from the final frame of the minimum number of fixed-length frames is generated for the entire transmission target data. A second error correction code generator for adding the second error correction code to the final frame;
Generating header information including information on the data length of the second error correction code, and adding the header information to the final frame;
A data transmission apparatus comprising: a frame transmission unit configured to repeatedly transmit the minimum number of fixed-length frames in order.
前記固定長フレームのヘッダ情報から第1の誤り訂正符号のデータ長の情報を取得し、前記固定長フレームから当該データ長の第1の誤り訂正符号を取得する第1の誤り訂正符号取得部と、
前記第1の誤り訂正符号を用いて前記固定長フレームの誤り訂正を行う第1の誤り訂正部と、
前記誤り訂正されたデータを順序通りに連結して元のデータ全体を復元する受信データ連結部と、を備えたデータ受信装置。 A frame receiver for receiving fixed-length frames that are repeatedly transmitted in order;
A first error correction code acquisition unit that acquires information on a data length of a first error correction code from the header information of the fixed length frame, and acquires a first error correction code of the data length from the fixed length frame; ,
A first error correction unit that performs error correction of the fixed-length frame using the first error correction code;
A data receiving apparatus comprising: a reception data concatenation unit that concatenates the error-corrected data in order to restore the entire original data.
前記第1の誤り訂正部で誤り訂正ができなかった固定長フレームがある場合、当該固定長フレームの誤り訂正前のデータとその他の固定長フレームの誤り訂正後のデータとを順序通りに連結して、前記第2の誤り訂正符号を用いて当該連結したデータ全体の誤り訂正を行う第2の誤り訂正部と、をさらに備えた請求項4に記載のデータ受信装置。 The information of the data length of the second error correction code is obtained from the header information of the last frame of the fixed-length frame that is repeatedly transmitted in order, and the second error correction code of the data length is obtained from the last frame. Two error correction code acquisition units;
When there is a fixed-length frame that cannot be corrected by the first error correction unit, the data before error correction of the fixed-length frame and the data after error correction of other fixed-length frames are connected in order. The data receiving apparatus according to claim 4, further comprising: a second error correction unit that performs error correction on the entire concatenated data using the second error correction code.
前記固定長フレームのヘッダ情報から所定長の第1の誤り訂正符号を取得する第1の誤り訂正符号取得部と、
前記第1の誤り訂正符号を用いて前記固定長フレームの誤り訂正を行う第1の誤り訂正部と、
前記誤り訂正されたデータを順序通りに連結して元のデータ全体を復元する受信データ連結部と、
前記順番に繰り返し送信される固定長フレームの最終フレームのヘッダ情報から第2の誤り訂正符号のデータ長の情報を取得し、前記最終フレームから当該データ長の第2の誤り訂正符号を取得する第2の誤り訂正符号取得部と、
前記第1の誤り訂正部で誤り訂正ができなかった固定長フレームがある場合、当該固定長フレームの誤り訂正前のデータとその他の固定長フレームの誤り訂正後のデータとを順序通りに連結して、前記第2の誤り訂正符号を用いて当該連結したデータ全体の誤り訂正を行う第2の誤り訂正部と、を備えたデータ受信装置。 A frame receiver for receiving fixed-length frames that are repeatedly transmitted in order;
A first error correction code acquisition unit that acquires a first error correction code of a predetermined length from header information of the fixed-length frame;
A first error correction unit that performs error correction of the fixed-length frame using the first error correction code;
A reception data concatenation unit for concatenating the error-corrected data in order to restore the entire original data;
The information of the data length of the second error correction code is obtained from the header information of the last frame of the fixed-length frame that is repeatedly transmitted in order, and the second error correction code of the data length is obtained from the last frame. Two error correction code acquisition units;
When there is a fixed-length frame that cannot be corrected by the first error correction unit, the data before error correction of the fixed-length frame and the data after error correction of other fixed-length frames are connected in order. And a second error correction unit that performs error correction of the entire concatenated data using the second error correction code.
データ受信装置と、を備え、
前記データ送信装置は、
送信対象データ全体を送信可能な最小数の固定長フレームの各フレームに、前記送信対象データを均等に分割して割り当てる送信データ分割部と、
前記各フレームに割り当てられたデータに対して、当該フレームからヘッダ情報および当該データを除いた残りの領域に収容可能な最大長の第1の誤り訂正符号を生成し、前記各フレームに当該第1の誤り訂正符号を付加する第1の誤り訂正符号生成部と、
前記第1の誤り訂正符号のデータ長の情報を含むヘッダ情報を生成し、前記各フレームに当該ヘッダ情報を付加するヘッダ情報生成部と、
前記最小数の固定長フレームを順番に繰り返し送信するフレーム送信部と、を有し、
前記データ受信装置は、
順番に繰り返し送信される固定長フレームを受信するフレーム受信部と、
前記固定長フレームのヘッダ情報から第1の誤り訂正符号のデータ長の情報を取得し、前記固定長フレームから当該データ長の第1の誤り訂正符号を取得する第1の誤り訂正符号取得部と、
前記第1の誤り訂正符号を用いて前記固定長フレームの誤り訂正を行う第1の誤り訂正部と、
前記誤り訂正されたデータを順序通りに連結して元のデータ全体を復元する受信データ連結部と、を有する、データ通信システム。 A data transmission device;
A data receiving device,
The data transmission device includes:
A transmission data dividing unit that equally divides and assigns the transmission target data to each frame of the minimum number of fixed-length frames that can transmit the entire transmission target data;
For the data allocated to each frame, a first error correction code having a maximum length that can be accommodated in the remaining area excluding the header information and the data from the frame is generated, and the first error correction code is generated for each frame. A first error correction code generation unit for adding the error correction code of
Generating header information including information on the data length of the first error correction code, and adding the header information to each frame;
A frame transmission unit that repeatedly transmits the minimum number of fixed-length frames in order,
The data receiving device is:
A frame receiver for receiving fixed-length frames that are repeatedly transmitted in order;
A first error correction code acquisition unit that acquires information on a data length of a first error correction code from the header information of the fixed length frame, and acquires a first error correction code of the data length from the fixed length frame; ,
A first error correction unit that performs error correction of the fixed-length frame using the first error correction code;
A data communication system comprising: a received data concatenation unit that concatenates the error-corrected data in order to restore the entire original data.
前記ヘッダ情報生成部は、前記第2の誤り訂正符号のデータ長の情報を含むヘッダ情報を生成し、前記最終フレームに当該ヘッダ情報を付加するものであり、
前記データ受信装置は、前記順番に繰り返し送信される固定長フレームの最終フレームのヘッダ情報から第2の誤り訂正符号のデータ長の情報を取得し、前記最終フレームから当該データ長の第2の誤り訂正符号を取得する第2の誤り訂正符号取得部と、前記第1の誤り訂正部で誤り訂正ができなかった固定長フレームがある場合、当該固定長フレームの誤り訂正前のデータとその他の固定長フレームの誤り訂正後のデータとを順序通りに連結して、前記第2の誤り訂正符号を用いて当該連結したデータ全体の誤り訂正を行う第2の誤り訂正部と、をさらに有する、請求項7に記載のデータ通信システム。 The data transmitting apparatus includes, in the remaining area excluding header information, the allocated data, and the first error correction code from the final frame of the minimum number of fixed-length frames for the entire transmission target data. A second error correction code generating unit that generates a second error correction code of the maximum length that can be accommodated and adds the second error correction code to the final frame;
The header information generation unit generates header information including data length information of the second error correction code, and adds the header information to the final frame.
The data reception device acquires information on the data length of the second error correction code from the header information of the last frame of the fixed-length frame that is repeatedly transmitted in the order, and the second error of the data length is obtained from the last frame. When there is a second error correction code acquisition unit that acquires a correction code, and a fixed-length frame that cannot be corrected by the first error correction unit, data before error correction of the fixed-length frame and other fixed A second error correction unit that concatenates long-frame error-corrected data in order and performs error correction on the entire concatenated data using the second error correction code. Item 8. The data communication system according to Item 7.
データ受信装置と、を備え、
前記データ送信装置は、
送信対象データ全体を送信可能な最小数の固定長フレームの各フレームに、前記送信対象データを所定長で区切って割り当てる送信データ分割部と、
前記各フレームに割り当てられたデータに対して所定長の第1の誤り訂正符号を生成し、前記各フレームに当該第1の誤り訂正符号を付加する第1の誤り訂正符号生成部と、
前記送信対象データ全体に対して、前記最小数の固定長フレームの最終フレームからヘッダ情報および前記割り当てられたデータを除いた残りの領域に収容可能な最大長の第2の誤り訂正符号を生成し、前記最終フレームに当該第2の誤り訂正符号を付加する第2の誤り訂正符号生成部と、
前記第2の誤り訂正符号のデータ長の情報を含むヘッダ情報を生成し、前記最終フレームに当該ヘッダ情報を付加するヘッダ情報生成部と、
前記最小数の固定長フレームを順番に繰り返し送信するフレーム送信部と、を有し、
前記データ受信装置は、
順番に繰り返し送信される固定長フレームを受信するフレーム受信部と、
前記固定長フレームのヘッダ情報から所定長の第1の誤り訂正符号を取得する第1の誤り訂正符号取得部と、
前記第1の誤り訂正符号を用いて前記固定長フレームの誤り訂正を行う第1の誤り訂正部と、
前記誤り訂正されたデータを順序通りに連結して元のデータ全体を復元する受信データ連結部と、
前記順番に繰り返し送信される固定長フレームの最終フレームのヘッダ情報から第2の誤り訂正符号のデータ長の情報を取得し、前記最終フレームから当該データ長の第2の誤り訂正符号を取得する第2の誤り訂正符号取得部と、
前記第1の誤り訂正部で誤り訂正ができなかった固定長フレームがある場合、当該固定長フレームの誤り訂正前のデータとその他の固定長フレームの誤り訂正後のデータとを順序通りに連結して、前記第2の誤り訂正符号を用いて当該連結したデータ全体の誤り訂正を行う第2の誤り訂正部と、を有する、データ通信システム。 A data transmission device;
A data receiving device,
The data transmission device includes:
A transmission data dividing unit that allocates the transmission target data by dividing the transmission target data by a predetermined length to each of the minimum number of fixed-length frames that can transmit the entire transmission target data;
A first error correction code generation unit that generates a first error correction code of a predetermined length for the data allocated to each frame and adds the first error correction code to each frame;
A second error correction code having a maximum length that can be accommodated in the remaining area excluding header information and the allocated data from the final frame of the minimum number of fixed-length frames is generated for the entire transmission target data. A second error correction code generator for adding the second error correction code to the final frame;
Generating header information including information on the data length of the second error correction code, and adding the header information to the final frame;
A frame transmission unit that repeatedly transmits the minimum number of fixed-length frames in order,
The data receiving device is:
A frame receiver for receiving fixed-length frames that are repeatedly transmitted in order;
A first error correction code acquisition unit that acquires a first error correction code of a predetermined length from header information of the fixed-length frame;
A first error correction unit that performs error correction of the fixed-length frame using the first error correction code;
A reception data concatenation unit for concatenating the error-corrected data in order to restore the entire original data;
The information of the data length of the second error correction code is obtained from the header information of the last frame of the fixed-length frame that is repeatedly transmitted in order, and the second error correction code of the data length is obtained from the last frame. Two error correction code acquisition units;
If there is a fixed-length frame that could not be corrected by the first error correction unit, the data before error correction of the fixed-length frame and the data after error correction of other fixed-length frames are connected in order. And a second error correction unit that performs error correction on the entire concatenated data using the second error correction code.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014244290A JP6412785B2 (en) | 2014-12-02 | 2014-12-02 | Data transmitting apparatus, data receiving apparatus, and data communication system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014244290A JP6412785B2 (en) | 2014-12-02 | 2014-12-02 | Data transmitting apparatus, data receiving apparatus, and data communication system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2016111401A true JP2016111401A (en) | 2016-06-20 |
JP6412785B2 JP6412785B2 (en) | 2018-10-24 |
Family
ID=56124555
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014244290A Expired - Fee Related JP6412785B2 (en) | 2014-12-02 | 2014-12-02 | Data transmitting apparatus, data receiving apparatus, and data communication system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6412785B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2019041182A (en) * | 2017-08-23 | 2019-03-14 | 株式会社東芝 | Radio communication equipment and radio communication method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03289731A (en) * | 1990-04-05 | 1991-12-19 | Toshiba Corp | Adaptive error correcting and transmitting system |
US6526038B1 (en) * | 1995-06-07 | 2003-02-25 | Telcordia Technologies, Inc. | Periodic wireless broadcast |
JP2008147960A (en) * | 2006-12-08 | 2008-06-26 | Fujitsu Ltd | Transmission apparatus, reception apparatus and data transmission method |
US20140304574A1 (en) * | 2007-09-08 | 2014-10-09 | Lg Electronics Inc. | Signal segmentation method and crc attachment method for reducing undetected error |
-
2014
- 2014-12-02 JP JP2014244290A patent/JP6412785B2/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03289731A (en) * | 1990-04-05 | 1991-12-19 | Toshiba Corp | Adaptive error correcting and transmitting system |
US6526038B1 (en) * | 1995-06-07 | 2003-02-25 | Telcordia Technologies, Inc. | Periodic wireless broadcast |
JP2008147960A (en) * | 2006-12-08 | 2008-06-26 | Fujitsu Ltd | Transmission apparatus, reception apparatus and data transmission method |
US20140304574A1 (en) * | 2007-09-08 | 2014-10-09 | Lg Electronics Inc. | Signal segmentation method and crc attachment method for reducing undetected error |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2019041182A (en) * | 2017-08-23 | 2019-03-14 | 株式会社東芝 | Radio communication equipment and radio communication method |
Also Published As
Publication number | Publication date |
---|---|
JP6412785B2 (en) | 2018-10-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4313391B2 (en) | Optical concentrator and optical subscriber unit | |
US20120036415A1 (en) | Systems and Methods for Performing Forward Error Correction | |
KR20130040096A (en) | Apparatus and method for transmitting/receiving a packet in a mobile communication system | |
JP4317860B2 (en) | Optical concentrator and optical subscriber unit | |
JP6412785B2 (en) | Data transmitting apparatus, data receiving apparatus, and data communication system | |
JP2005354310A (en) | Device and method for data transmission and device and method for data reception | |
JP5509438B2 (en) | Data transfer device and data transfer system | |
KR20120004662A (en) | Method for encoding and decoding broadcast signal to parallel process error correction, apparatus for sending and receiving the same and system thereof | |
JP7199474B2 (en) | Encoder, Transmitter, Decoder and Receiver | |
US8750423B2 (en) | Receiving apparatus, data transfer apparatus, data receiving method and non-transitory computer readable recording medium | |
US11930296B2 (en) | Transmission device, reception device, and transmission system with padding code insertion | |
EP2285003B1 (en) | Correction of errors in a codeword | |
WO2015169049A1 (en) | Fault tolerance method and apparatus for microwave transmission and computer readable storage medium | |
US8977913B2 (en) | Method, device and baseband chip for receiving service data in a communication system | |
CN111200482B (en) | GFP frame positioning processing method, device, electronic equipment and storage medium | |
JP5968577B2 (en) | Communication apparatus, communication system, and error correction frame generation method | |
JP4934686B2 (en) | Error correction method for transmission signal in optical access system | |
JP2012124643A (en) | Receiving device and data transfer device | |
JP4444274B2 (en) | Data transmission method, management apparatus and transmission system | |
JP2007110258A (en) | Error inspection device and reproducing apparatus employing the same | |
JP2009065255A (en) | Data transmission apparatus, data transmission device, data reception device, and data transmission system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20171115 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20180919 |
|
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: 20180925 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20181001 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6412785 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |