Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7540166B2 - Transmitting device, receiving device, transmitting method, and receiving method - Google Patents
[go: Go Back, main page]

JP7540166B2 - Transmitting device, receiving device, transmitting method, and receiving method - Google Patents

Transmitting device, receiving device, transmitting method, and receiving method Download PDF

Info

Publication number
JP7540166B2
JP7540166B2 JP2020038839A JP2020038839A JP7540166B2 JP 7540166 B2 JP7540166 B2 JP 7540166B2 JP 2020038839 A JP2020038839 A JP 2020038839A JP 2020038839 A JP2020038839 A JP 2020038839A JP 7540166 B2 JP7540166 B2 JP 7540166B2
Authority
JP
Japan
Prior art keywords
data
error correction
speed data
error
transmission
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.)
Active
Application number
JP2020038839A
Other languages
Japanese (ja)
Other versions
JP2021141489A (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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2020038839A priority Critical patent/JP7540166B2/en
Publication of JP2021141489A publication Critical patent/JP2021141489A/en
Application granted granted Critical
Publication of JP7540166B2 publication Critical patent/JP7540166B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、送信装置、受信装置、送信方法、および、受信方法に関する。 The present invention relates to a transmitting device, a receiving device, a transmitting method, and a receiving method.

装置間の通信において、性質の異なる情報、例えば、他装置に送る実データと、装置の状態情報に関するデータ、を1つの伝送媒体にて送る必要が生じる場合がある。このような場合、通常、実データの送信量と状態情報のデータの送信量には大きな違いがあることが一般的である。そのため、実データの送信においては高速での送信速度が必要になる一方、状態情報に関するデータ送信では実データでの送信速度に比べ低速での送信速度で十分なことがある。 In communications between devices, it may be necessary to transmit information of different natures, such as actual data to be sent to other devices and data related to the device's status information, over a single transmission medium. In such cases, there is generally a large difference between the amount of actual data transmitted and the amount of status information transmitted. For this reason, a high transmission speed is required for transmitting actual data, whereas a slower transmission speed than the actual data may be sufficient for transmitting data related to status information.

このような異なる性質の2つの情報をデータ量の多い高速データ、データ量の少ない低速データとして送信する方法として、高速データの伝送媒体を使って、装置の状態情報を示す低速データを伝送する方法である。この場合、装置の状態情報を伝送する時は、本来伝送するデータと装置の状態情報とを時分割して伝送する。この送信方法では、装置の状態情報を伝送するための専用の伝送媒体は必要ないが、装置の状態情報を時分割にてデータの伝送媒体を使って伝送するため、本来伝送するデータのデータ伝送効率が悪化する。 One method for transmitting these two pieces of information with different characteristics, as high-speed data with a large amount of data and low-speed data with a small amount of data, is to use a high-speed data transmission medium to transmit low-speed data indicating device status information. In this case, when transmitting device status information, the data to be transmitted and the device status information are transmitted in a time-division multiplexed manner. With this transmission method, a dedicated transmission medium is not required for transmitting device status information, but because the device status information is transmitted in a time-division multiplexed manner using a data transmission medium, the data transmission efficiency of the data to be transmitted deteriorates.

特許文献1は、1ビットの信号を2ビットに変換して送信するCMI(Code Mark Inversion)符号の伝送を利用した低速データの送信方法を開示する。すなわち、特許文献1は、1ビットを2ビットに変化する方法を、低速データのビット値に応じてオリジナルのCMIから変更して送信することで、高速データに低速データを重畳して送信する方法を開示する。また、特許文献1は、その変更規則を受信側で識別して低速データを復元することを開示する。 Patent Document 1 discloses a method of transmitting low-speed data using the transmission of a Code Mark Inversion (CMI) code, which converts a 1-bit signal into 2 bits and transmits it. In other words, Patent Document 1 discloses a method of changing 1 bit into 2 bits by changing the original CMI according to the bit value of the low-speed data and transmitting it, thereby superimposing low-speed data on high-speed data. Patent Document 1 also discloses that the receiving side identifies the change rule and restores the low-speed data.

特許文献2は、64ビット幅のデータが互いに同時に変化したビットの数が所定の閾値を超えた場合、データをビット毎の極性を反転させて出力し、それ以外の場合、極性を反転させずに出力することを開示する。また、特許文献2は、出力されたデータと、変化したビットの数が閾値を超えたかどうかを示す反転指示信号とエラー訂正符号を送信することを開示する。さらに、特許文献2には、エラー符号訂正が行われた反転指示信号が変化したビットの数が閾値を超えたことを示す場合、エラー符号訂正が行われたデータをビット毎の極性を反転させて出力し、それ以外の場合、エラー符号訂正が行われたデータを出力することを開示する。 Patent Document 2 discloses that when the number of bits that have changed simultaneously in 64-bit wide data exceeds a predetermined threshold, the data is output with the polarity of each bit reversed, and in other cases, the data is output without reversing the polarity. Patent Document 2 also discloses transmitting the output data, an inversion indication signal indicating whether the number of changed bits has exceeded a threshold, and an error correction code. Patent Document 2 further discloses that when an inversion indication signal in which error code correction has been performed indicates that the number of changed bits has exceeded a threshold, the data that has been error code corrected is output with the polarity of each bit reversed, and in other cases, the data that has been error code corrected is output.

特開平4-252633号公報Japanese Unexamined Patent Publication No. 4-252633 特開2012-100210号公報JP 2012-100210 A

ところで、特許文献2の反転指示信号は、64ビット幅のデータの極性反転に関する情報であり、前述の高速データに対する低速データという関係ではない。特許文献1に開示の送信方法では、前述の高速データに対して低速データを重畳して送信しようとするものであるが、データ伝送時にエラーが発生した場合、本来のCMIで符号化したデータも、低速データも復元できなくなってしまう問題がある。
そこでこの発明は、上記課題を解決する送信装置、受信装置、送信方法、および、受信方法を提供することを目的としている。
Incidentally, the inversion instruction signal in Patent Document 2 is information regarding polarity inversion of 64-bit data, and is not related to the above-mentioned high-speed data and low-speed data. The transmission method disclosed in Patent Document 1 attempts to transmit the above-mentioned high-speed data by superimposing the low-speed data, but if an error occurs during data transmission, there is a problem that neither the data originally coded by CMI nor the low-speed data can be restored.
SUMMARY OF THE PRESENT DISCLOSURE An object of the present invention is to provide a transmitting device, a receiving device, a transmitting method, and a receiving method that solve the above problems.

本発明の第1の態様によれば、送信装置は、送信単位のデータを変換するための変換法則で、低速データのnビットのビット列にそれぞれ対応する2のn乗個の前記変換法則であって、かつ、前記2のn乗個の変換法則がそれぞれ異なる前記変換法則を備え、エラー訂正の処理単位となる高速データに該高速データのエラー訂正符号が含まれた送信単位のデータを、前記低速データのnビットのビット列に対応する前記変換法則に基づき変換して送信データを生成する変換器を備える。 According to a first aspect of the present invention, a transmitting device includes a converter that converts data in a transmission unit, the conversion rules being 2 n conversion rules each corresponding to an n-bit bit string of low-speed data, and the 2 n conversion rules are different from each other, and converts data in a transmission unit, in which high-speed data that is a processing unit for error correction includes an error correction code of the high-speed data, based on the conversion rules corresponding to the n-bit bit string of the low-speed data to generate transmission data.

本発明の第2の態様によれば、第1の態様に記載の送信装置より送信されたデータを受信する受信装置は、前記送信装置の2のn乗個の変換法則にそれぞれ対応して逆変換をするための2のn乗個の逆変換法則のそれぞれに基づいて受信データを逆変換し、2のn乗個の逆変換データを出力する逆変換器と、前記2のn乗個の逆変換データのそれぞれを、前記送信装置で用いられたエラー訂正方法に対応したエラー訂正処理を行いて、エラー訂正処理後の2のn乗個のエラー訂正データを出力するとともに、2のn乗個のエラー訂正に関する結果を出力するエラー訂正器と、前記2のn乗個のエラー訂正に関する結果から、エラー訂正処理可能であった前記逆変換データに対応する逆変換法則を特定し、前記送信装置における低速データのnビットのビット列にそれぞれ対応した2のn乗個の変換法則に対する逆変換法則の対応関係に基づいて、前記特定した逆変換法則に対応する前記nビットのビット列を低速データとして出力する判定器と、前記2のn乗個のエラー訂正データより、前記判定器で特定された逆変換法則にてエラー訂正処理されたエラー訂正データを高速データとして出力する選択器と、を備える。 According to a second aspect of the present invention, a receiving device that receives data transmitted from a transmitting device according to the first aspect includes an inverse converter that inversely converts the received data based on each of 2 n inverse conversion rules for inversely converting the received data corresponding to each of the 2 n conversion rules of the transmitting device, and outputs 2 n inverse conversion data, and an error correction processor that performs error correction processing on each of the 2 n inverse conversion data corresponding to the error correction method used by the transmitting device, and outputs 2 n error correction data after the error correction processing, and outputs the results of the 2 n error correction. -corrector; a determiner that identifies an inverse transformation law corresponding to the inverse transformation data that was error correctable from the results of the 2 n error corrections, and outputs the n-bit bit string corresponding to the identified inverse transformation law as low-speed data based on the correspondence relationship of the inverse transformation law to the 2 n transformation laws that correspond to the n-bit bit strings of the low-speed data in the transmitting device; and a selector that outputs error correction data that has been error corrected using the inverse transformation law identified by the determiner from the 2 n error correction data as high-speed data.

本発明の第3の態様によれば、送信方法は、送信単位のデータを変換するための変換法則で、低速データのnビットのビット列にそれぞれ対応する2のn乗個の前記変換法則であって、かつ、前記2のn乗個の変換法則がそれぞれ異なる前記変換法則を備え、エラー訂正の処理単位となる高速データに該高速データのエラー訂正符号が含まれた送信単位のデータを、前記低速データのnビットのビット列に対応する前記変換法則に基づき変換して送信データを生成する。 According to a third aspect of the present invention, a transmission method includes a conversion rule for converting data in a transmission unit, the conversion rules being 2 n -th power, each of which corresponds to an n-bit bit string of low-speed data, and the 2 n -th power conversion rules are different from each other, and the data in the transmission unit, in which high-speed data that is a processing unit for error correction contains an error correction code of the high-speed data, is converted based on the conversion rule that corresponds to the n-bit bit string of the low-speed data to generate transmission data.

本発明の第4の態様によれば、第3の態様に記載の送信方法より送信されたデータを受信する受信方法であって、前記送信方法の2のn乗個の変換法則にそれぞれ対応して逆変換をするための2のn乗個の逆変換法則のそれぞれに基づいて受信データを逆変換し、2のn乗個の逆変換データを出力し、前記2のn乗個の逆変換データのそれぞれを、前記送信方法で用いられたエラー訂正方法に対応したエラー訂正処理を行いて、エラー訂正処理後の2のn乗個のエラー訂正データを出力するとともに、2のn乗個のエラー訂正に関する結果を出力し、前記2のn乗個のエラー訂正に関する結果から、エラー訂正処理可能であった前記逆変換データに対応する逆変換法則を特定し、前記送信方法における低速データのnビットのビット列にそれぞれ対応した2のn乗個の変換法則に対する逆変換法則の対応関係に基づいて、前記特定した逆変換法則に対応する前記nビットのビット列を低速データとして出力し、前記2のn乗個のエラー訂正データより、前記判定により特定された逆変換法則にてエラー訂正処理されたエラー訂正データを高速データとして出力する。 According to a fourth aspect of the present invention, there is provided a receiving method for receiving data transmitted by the transmitting method according to the third aspect, which inversely transforms received data based on each of 2 n inverse transformation rules for inverse transformation corresponding to each of the 2 n transformation rules of the transmitting method, outputs 2 n inverse transformation data, performs error correction processing on each of the 2 n inverse transformation data corresponding to the error correction method used in the transmitting method, outputs 2 n error correction data after error correction processing, and outputs the results of the 2 n error corrections, identifies the inverse transformation rule corresponding to the inverse transformation data that was error correctable from the results of the 2 n error corrections, outputs the n-bit bit string corresponding to the identified inverse transformation rule as low-speed data based on the correspondence relationship of the inverse transformation rule to the 2 n transformation rules corresponding to each of the n-bit bit strings of low-speed data in the transmitting method, and outputs the error correction data that has been error corrected using the inverse transformation rule identified by the judgment from the 2 n error correction data as high-speed data.

本発明によれば、送信時において、エラー訂正の処理単位となる高速データに高速データのエラー訂正符号が含まれた送信単位のデータを、低速データのnビットのビット列に対応する変換法則に基づき変換して送信データを生成する。また、受信時には、2のn乗個のエラー訂正データの処理結果に基づき2のn乗個の逆変換法則のいずれか特定し、特定した逆変換法則に対応するnビットのビット列を低速データとして出力する。また、受信時に特定された逆変換法則にてエラー訂正処理されたエラー訂正データを高速データとして出力する。これにより、高速データの送信に影響を与えないで低速データを送信する際にエラーの検出ができ、かつ、データ伝送時にエラーが発生した場合でもエラー訂正ができる範囲にて高速データも低速データも復元できる、という効果が得られる。 According to the present invention, when transmitting, data of a transmission unit in which the high-speed data, which is the processing unit for error correction, contains an error correction code of the high-speed data, is converted based on a conversion rule corresponding to an n-bit bit string of low-speed data to generate transmission data. Also, when receiving, one of 2 n inverse conversion rules is identified based on the processing result of 2 n error correction data, and an n-bit bit string corresponding to the identified inverse conversion rule is output as low-speed data. Also, error correction data that has been error corrected using the identified inverse conversion rule when receiving is output as high-speed data. This has the effect of making it possible to detect errors when transmitting low-speed data without affecting the transmission of high-speed data, and also making it possible to restore both high-speed data and low-speed data to the extent that error correction is possible even if an error occurs during data transmission.

本発明の一実施形態による送信装置の構成の概要を示す図である。FIG. 2 is a diagram showing an outline of the configuration of a transmitting device according to an embodiment of the present invention. 本発明の一実施形態による受信装置の構成の概要を示す図である。1 is a diagram showing an outline of the configuration of a receiving device according to an embodiment of the present invention; 本発明の一実施形態による送信装置の動作を示す図である。FIG. 2 is a diagram illustrating the operation of a transmitting device according to an embodiment of the present invention. 本発明の一実施形態による送信装置による送信データの処理の一例を示す図である。FIG. 2 is a diagram illustrating an example of processing of transmission data by a transmitting device according to an embodiment of the present invention. 本発明の一実施形態による受信装置の動作を示す図である。FIG. 2 is a diagram illustrating the operation of a receiving device according to an embodiment of the present invention. 本発明の一実施形態による受信装置による受信データの処理の一例を示す図である。FIG. 2 is a diagram illustrating an example of processing of received data by a receiving device according to an embodiment of the present invention. 本発明の他の実施形態による送信装置の構成の概要を示す図である。FIG. 13 is a diagram showing an outline of the configuration of a transmitting device according to another embodiment of the present invention. 本発明の他の実施形態による送信装置の動作を示す図である。FIG. 11 is a diagram illustrating the operation of a transmitting device according to another embodiment of the present invention. 本発明の他の実施形態による受信装置の構成の概要を示す図である。FIG. 13 is a diagram showing an outline of the configuration of a receiving device according to another embodiment of the present invention. 本発明の他の実施形態による受信装置の動作を示す図である。FIG. 11 is a diagram illustrating the operation of a receiving device according to another embodiment of the present invention. 本発明の一実施形態による送信装置、受信装置のハードウェア構成の一例を示す図である。FIG. 2 is a diagram illustrating an example of the hardware configuration of a transmitting device and a receiving device according to an embodiment of the present invention. 本発明の一実施形態による送信装置の最小構成図を示す図である。FIG. 2 is a diagram showing a minimum configuration of a transmitting device according to an embodiment of the present invention. 本発明の一実施形態による受信装置の最小構成図を示す図である。FIG. 2 is a diagram showing a minimum configuration of a receiving device according to an embodiment of the present invention.

以下、本発明の一実施形態による送信装置、受信装置を図面を参照して説明する。図1は、送信装置1の構成の概要を示す図である。以下において、本来、高速で伝送するデータを高速データとし、高速データよりも低速で伝送するデータを低速データとする。 Below, a transmitting device and a receiving device according to one embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a diagram showing an outline of the configuration of a transmitting device 1. In the following, data that is originally transmitted at high speed is referred to as high-speed data, and data that is transmitted slower than high-speed data is referred to as low-speed data.

図1において、送信装置1は、高速データ、低速データの入力を受け、データの変換処理を行い、送信データを生成して送信する。送信装置1は、エラー訂正符号化器11、変換器12を備える。 In FIG. 1, the transmitting device 1 receives high-speed data and low-speed data, converts the data, and generates and transmits the transmission data. The transmitting device 1 includes an error correction coder 11 and a converter 12.

エラー訂正符号化器11は、高速データの入力を受け、入力された高速データに対して、エラー訂正の処理単位毎にエラー訂正のためのエラー訂正符号(ECC:Error Correction Code)を生成する。また、エラー訂正符号化器11は、エラー訂正の処理単位となる高速データにエラー訂正符号を加えた送信単位データを出力する。 The error correction encoder 11 receives high-speed data as input, and generates an error correction code (ECC: Error Correction Code) for error correction for each processing unit of error correction for the input high-speed data. The error correction encoder 11 also outputs transmission unit data in which the error correction code has been added to the high-speed data, which is the processing unit of error correction.

変換器12は、エラー訂正符号化器11からの送信単位データの入力を受けるとともに、低速データの入力を受ける。また、変換器12は、送信単位データを低速データに即して符号化し、送信データを生成する。送信装置1は、生成された送信データを出力する。 The converter 12 receives the transmission unit data input from the error correction encoder 11, and also receives the low-speed data input. The converter 12 also encodes the transmission unit data in accordance with the low-speed data to generate transmission data. The transmitting device 1 outputs the generated transmission data.

図2は、受信装置2の構成の概要を示す図である。受信データを入力し、処理することで、送信装置1からの高速データ、低速データの再構成をして出力する。受信装置2は、逆変換器21、エラー訂正器22、判定器23、選択器24を備える。 Figure 2 is a diagram showing the outline of the configuration of the receiving device 2. By inputting and processing the received data, the receiving device 2 reconstructs and outputs the high-speed data and low-speed data from the transmitting device 1. The receiving device 2 includes an inverse converter 21, an error corrector 22, a determiner 23, and a selector 24.

逆変換器21は、送信データの入力を受け、送信装置1の変換器12で行われた変換処理に対する逆変換処理を行い、変換処理後のデータを出力する。 The inverse converter 21 receives the transmission data, performs an inverse conversion process to the conversion process performed by the converter 12 of the transmitting device 1, and outputs the data after the conversion process.

エラー訂正器22は、エラー訂正器0・22-0、エラー訂正器1・22-1を備える。エラー訂正器0・22-0とエラー訂正器1・22-1とは同じ機能を備える。エラー訂正器0・22-0とエラー訂正器1・22-1は、入力されたデータよりエラー訂正符号を削除するとともに、エラー訂正符号を用いたエラー検出、エラー訂正処理を行い、処理後のデータを出力する。また、エラー訂正器0・22-0とエラー訂正器1・22-1は、エラー検出・訂正可能、エラー検出・訂正不可能、といったエラー訂正処理に関する結果も出力する。エラー訂正器0・22-0は、受信データに対してエラー訂正処理を行なう。一方、エラー訂正器1・22-1は、逆変換器21からの出力データに対してエラー訂正処理を行なう。 The error corrector 22 includes error corrector 0 22-0 and error corrector 1 22-1. Error corrector 0 22-0 and error corrector 1 22-1 have the same functions. Error corrector 0 22-0 and error corrector 1 22-1 delete the error correction code from the input data, and perform error detection and error correction processing using the error correction code, and output the processed data. Error corrector 0 22-0 and error corrector 1 22-1 also output the results of the error correction processing, such as whether an error was detected and corrected or not. Error corrector 0 22-0 performs error correction processing on the received data. Meanwhile, error corrector 1 22-1 performs error correction processing on the output data from the reverse converter 21.

判定器23は、エラー訂正器0・22-0とエラー訂正器1・22-1からのエラー訂正処理に関する結果を入力する。そして、判定器23は、エラー訂正に関する結果から低速データのビット値が“0”か、“1”か、を決定して低速データとして出力する。また、判定器23は、判定結果を選択器24に出力する。 The determiner 23 inputs the results of the error correction process from the error corrector 0 22-0 and the error corrector 1 22-1. The determiner 23 then determines whether the bit value of the low-speed data is "0" or "1" based on the error correction results, and outputs this as the low-speed data. The determiner 23 also outputs the determination result to the selector 24.

選択器24は、判定器23による判定結果に基づき、エラー訂正器0・22-0とエラー訂正器1・22-1とのいずれか一方からの出力を高速データとして出力する。 Based on the result of the determination by the determiner 23, the selector 24 outputs the output from either the error corrector 0 22-0 or the error corrector 1 22-1 as high-speed data.

送信装置1の動作について図を用いてより具体的に説明する。図3は、送信装置1の動作を示す図である。図3を用いた説明において、図4に示す送信装置1によるデータの処理の一例を示しつつ説明する。 The operation of the transmitting device 1 will be explained in more detail with reference to the figures. FIG. 3 is a diagram showing the operation of the transmitting device 1. In the explanation using FIG. 3, an example of data processing by the transmitting device 1 shown in FIG. 4 will be explained.

処理されるデータの一例として、図4に示すように、高速データの構成は、データをB0からB7の8バイトとし、この8バイトをエラー訂正の処理単位とする。
エラー訂正符号は、1バイトエラー訂正2バイトエラー検出とし、エラー訂正のためのエラー訂正符号は、C0からC2の3バイトとする。
また、送信装置1の変換器12は、低速データとして“0”を送信する時は、エラー訂正符号化器11からの出力の全ビットを非反転したデータを送信データとして出力する。また、変換器12は、低速データとして“1”を送信する時は、エラー訂正符号化器11からの出力の全ビットを非反転したデータを送信データとして出力する。
なお、図4において、送信データとして記した(B0、B1、B2、・・・B7、C0、C1、C2)は非反転、
As an example of the data to be processed, as shown in FIG. 4, the high-speed data is structured as 8 bytes from B0 to B7, and these 8 bytes are used as a processing unit for error correction.
The error correction code is for 1-byte error correction and 2-byte error detection, and the error correction code for error correction is 3 bytes from C0 to C2.
When the converter 12 of the transmitting device 1 transmits "0" as the low-speed data, it outputs as the transmission data data in which all bits of the output from the error correction encoder 11 are not inverted. When the converter 12 transmits "1" as the low-speed data, it outputs as the transmission data data in which all bits of the output from the error correction encoder 11 are not inverted.
In FIG. 4, the transmission data (B0, B1, B2, . . . B7, C0, C1, C2) are non-inverted.

Figure 0007540166000001
Figure 0007540166000001

は反転を示す。 indicates inversion.

送信装置1に高速データ、低速データが入力されるとことにより、送信装置1は処理を開始する。 When high-speed data and low-speed data are input to the transmitting device 1, the transmitting device 1 starts processing.

エラー訂正符号化器11は、訂正符号化の処理単位となる高速データの入力を受け、エラー訂正符号則となるエラー訂正、エラー検出に従い、エラー訂正符号を生成する。また、エラー訂正符号化器11は、処理単位となる高速データに対してエラー訂正符号を付加して、送信単位のデータとして出力する(ステップS11)。エラー訂正符号化器11からの送信単位のデータは、変換器12に対して出力される。 The error correction encoder 11 receives input of high-speed data that is the processing unit of the correction encoding, and generates an error correction code according to the error correction and error detection rules of the error correction code. The error correction encoder 11 also adds an error correction code to the high-speed data that is the processing unit, and outputs it as data for a transmission unit (step S11). The data for a transmission unit from the error correction encoder 11 is output to the converter 12.

図4の例では、エラー訂正符号化器11は、訂正符号化の処理単位となる8バイトの高速データ(B0、B1、B2、・・・、B7)の入力を受ける。エラー訂正符号化器11は、入力される高速データに対して、エラー訂正符号則となる1バイトエラー訂正2バイトエラー検出に従い、3バイトのエラー訂正符号(C0、C1、C2)を生成する。また、エラー訂正符号化器11は、8バイトの高速データに対して3バイトのエラー訂正符号を付加して、11バイトのデータを送信単位のデータ(B0、B1、B2、・・・、B7、C0,C1,C2)として出力する。 In the example of FIG. 4, the error correction encoder 11 receives an input of 8 bytes of high-speed data (B0, B1, B2, ..., B7) which is the processing unit of the correction encoding. The error correction encoder 11 generates a 3-byte error correction code (C0, C1, C2) for the input high-speed data according to the error correction code rule of 1-byte error correction and 2-byte error detection. The error correction encoder 11 also adds a 3-byte error correction code to the 8-byte high-speed data, and outputs 11 bytes of data as the transmission unit data (B0, B1, B2, ..., B7, C0, C1, C2).

変換器12は、送信する低速データの入力を受け、入力される低速データのビット値が“1”であるか否かを判断する(ステップS12)。 The converter 12 receives the input of the low-speed data to be transmitted and determines whether the bit value of the input low-speed data is "1" (step S12).

変換器12は、低速データのビット値が“1”の場合(ステップS12:YES)、エラー訂正符号化器11からの送信単位のデータの全ビットを反転する(ステップS13)。また、変換器12は、全ビットが反転された送信単位のデータを、送信データとして生成する。送信装置1は、生成された送信データを送信する(ステップS14)。 If the bit value of the low-speed data is "1" (step S12: YES), the converter 12 inverts all bits of the data in the transmission unit from the error correction encoder 11 (step S13). The converter 12 also generates the data in the transmission unit in which all bits have been inverted as transmission data. The transmitting device 1 transmits the generated transmission data (step S14).

一方、低速データのビット値が“1”でない場合(ステップS12:NO)、変換器12は、エラー訂正符号化器11からの送信単位のデータをそのまま、送信データとして生成する。そして、送信装置1は、変換器12にて生成された送信データを送信する(ステップS14)。すなわち、変換器12は、エラー訂正符号化器11からの送信単位のデータに対する処理は行わず(全ビット非反転)、エラー訂正符号化器11からの送信単位のデータをそのまま、送信データとする。 On the other hand, if the bit value of the low-speed data is not "1" (step S12: NO), the converter 12 generates the data of the transmission unit from the error correction encoder 11 as transmission data without modification. Then, the transmitting device 1 transmits the transmission data generated by the converter 12 (step S14). That is, the converter 12 does not process the data of the transmission unit from the error correction encoder 11 (no inversion of all bits), and uses the data of the transmission unit from the error correction encoder 11 as transmission data without modification.

図4の例では、低速データのビット値が“1”の場合には、 In the example of Figure 4, if the bit value of the low-speed data is "1",

Figure 0007540166000002
Figure 0007540166000002

の11バイトの反転されたデータが送信装置1より送信データとして出力される。 The 11 bytes of inverted data are output from the transmitting device 1 as transmission data.

また、低速データのビット値が“1”でない場合には、(B0、B1、B2、・・・、B7、C0,C1,C2)の11バイトの非反転のデータが送信装置1より送信データとして出力される。 In addition, if the bit value of the low-speed data is not "1", 11 bytes of non-inverted data (B0, B1, B2, ..., B7, C0, C1, C2) are output as transmission data from the transmitting device 1.

送信装置1は、更に送信すべきデータがあるか判断を行い、送信すべきデータがある場合(ステップS15:YES)、ステップS11に戻る。 一方、送信装置1は、送信すべきデータがない場合(ステップS15:NO)、送信処理を終了する。 The transmitting device 1 determines whether there is further data to be transmitted, and if there is data to be transmitted (step S15: YES), the transmitting device 1 returns to step S11. On the other hand, if there is no data to be transmitted (step S15: NO), the transmitting device 1 ends the transmission process.

以上、説明したように、送信装置1では、低速データとしてビット“0”を送信する時は、送信単位データを非反転で、低速データとしてビット“1”を送信する時は、送信単位データを反転して送信する。受信側では、受信したデータが、非反転か、反転かを識別することによって、低速データを検出することができる。 As explained above, when transmitting a bit "0" as low-speed data, the transmitting device 1 transmits the transmission unit data non-inverted, and when transmitting a bit "1" as low-speed data, it inverts and transmits the transmission unit data. On the receiving side, it is possible to detect low-speed data by identifying whether the received data is non-inverted or inverted.

なお、図4の例では、送信装置1は、高速データ8バイトに対して、低速データ1ビットが送信可能となる。送信データの送信速度に対して、低速データの送信速度がさらに遅くてもよい場合、予め決められた送信ルールに従い、訂正符号化の処理単位となる高速データの変換処理を行ってもよい。例えば、予め決められた送信ルールの一例として、低速データの送信ビットの変化があるまで、同じビット値の状態で、訂正符号化の処理単位となる高速データの変換処理を行ってもよい。この場合、送信装置1、受信装置2は、データの送受信開始前に、高速データと低速データの送信レート、あるいは、高速データと低速データの送信レートの比に関する情報など、高速データと低速データの送信ルールの交換を行ってもよい。 In the example of FIG. 4, the transmitting device 1 can transmit 1 bit of low-speed data for every 8 bytes of high-speed data. If the transmission speed of the low-speed data can be slower than the transmission speed of the transmission data, conversion processing of the high-speed data that serves as the processing unit for correction encoding may be performed according to a predetermined transmission rule. For example, as an example of a predetermined transmission rule, conversion processing of the high-speed data that serves as the processing unit for correction encoding may be performed in the same bit value state until a change occurs in the transmission bit of the low-speed data. In this case, the transmitting device 1 and the receiving device 2 may exchange transmission rules for high-speed data and low-speed data, such as information regarding the transmission rates of the high-speed data and low-speed data, or the ratio of the transmission rates of the high-speed data and low-speed data, before starting data transmission and reception.

予め決められた送信ルールの一例として、低速データの送信ビットの変化があるまで、同じビット値の状態で、訂正符号化の処理単位となる高速データの変換処理を行う場合、一例としては以下のようになる。高速データが8バイトで高速データ16バイトの処理の間に、低速データ1ビットを送信する際、訂正符号化の処理単位となる高速データ8バイトを2度処理する間、低速データ1ビットの値が同じとして、変換器12で処理を行うようにする。 As an example of a predetermined transmission rule, when converting high-speed data, which is the processing unit for correction coding, with the same bit value until the transmission bit of the low-speed data changes, an example is as follows. When transmitting 1 bit of low-speed data while processing 16 bytes of high-speed data with 8 bytes of high-speed data, the converter 12 processes the 1 bit of low-speed data with the same value while processing the 8 bytes of high-speed data, which is the processing unit for correction coding, twice.

次に、受信装置2の動作について図を用いてより具体的に説明する。図5は、受信装置2の動作を示す図である。図5を用いた説明において、図6に示す受信装置2によるデータの処理の一例を示しつつ説明する。図6における例では、図4同様、エラー訂正の処理単位となる高速データが8バイトでエラー訂正のための符号が3バイトであるものとする。また、図6の例では、送信装置1からのデータは、11バイト(8バイト+3バイト)単位の送信データとして処理される。また、図6では、送信装置から11バイト単位の送信データが時刻t~t11まで送られる例とする。 Next, the operation of the receiving device 2 will be described in more detail with reference to the drawings. FIG. 5 is a diagram showing the operation of the receiving device 2. In the explanation using FIG. 5, an example of data processing by the receiving device 2 shown in FIG. 6 will be described. In the example in FIG. 6, as in FIG. 4, the high-speed data serving as the processing unit for error correction is 8 bytes, and the code for error correction is 3 bytes. Also, in the example in FIG. 6, the data from the transmitting device 1 is processed as transmission data in units of 11 bytes (8 bytes + 3 bytes). Also, in FIG. 6, an example is shown in which transmission data in units of 11 bytes is sent from the transmitting device from time t 0 to time t 11 .

受信装置2は、送信装置1からのデータの受信により処理を開始する。 The receiving device 2 starts processing by receiving data from the transmitting device 1.

受信装置2は、受信データを2系統に分岐する。受信装置2は、第1の系統の受信データは低速データのビット値が“0”であることを期待した処理を、第2の系統の受信データは低速データのビット値が“1”であることを期待した処理をおこなう。すなわち、第2の系統の受信データは逆変換器21に入力され、逆変換器21は、入力された受信データの全ビットを反転する処理を行い、逆変換データとして出力する(ステップS21)。 The receiving device 2 branches the received data into two systems. The receiving device 2 processes the received data of the first system, expecting that the bit value of the low-speed data is "0", and processes the received data of the second system, expecting that the bit value of the low-speed data is "1". In other words, the received data of the second system is input to the inverse converter 21, which processes the received data by inverting all bits of the input received data, and outputs it as inversely converted data (step S21).

第1の系統の受信データは、低速データのビット値が“0”を期待した系統である。低速データのビット値が“0”の時は、高速データを非反転で送信しているので、受信装置2は、受信データを非反転、つまり、受信データをそのままエラー訂正器0・22-0に入力する。エラー訂正器0・22-0は、受信データに含まれるエラー訂正符号に相当するデータを利用してエラーがあるかどうかを確認するとともに、エラー訂正可能であればエラー訂正をおこなう(ステップS22)。 The first system of received data is a system that expects the bit value of the low-speed data to be "0". When the bit value of the low-speed data is "0", the high-speed data is transmitted non-inverted, so the receiver 2 does not invert the received data, that is, it inputs the received data directly to the error corrector 0.22-0. The error corrector 0.22-0 uses data corresponding to the error correction code contained in the received data to check whether there is an error, and corrects the error if it is possible (step S22).

図6において、11バイトの受信データから3バイトのエラー訂正符号を利用したエラー訂正処理を行い、エラー訂正符号を外して、残りの8バイトのデータをエラー訂正データとして出力する。図6の例では、エラー訂正器0・22-0(ECC0)から出力される8バイトのデータを(D0、D1、D2、・・・D6、D7)として示している。 In Figure 6, error correction processing is performed on the 11 bytes of received data using a 3-byte error correction code, the error correction code is removed, and the remaining 8 bytes of data are output as error corrected data. In the example in Figure 6, the 8 bytes of data output from error corrector 0.22-0 (ECC0) are shown as (D0, D1, D2, ... D6, D7).

エラー訂正器0・22-0は、エラー訂正データを選択器24に出力する。また、エラー訂正器0・22-0は、訂正可能であったか、訂正不可能であったかを示すエラー情報を判定器23に出力する。なお、「訂正可能」とは、エラー訂正符号を用いることによりエラー訂正不要でることを確認した場合と訂正可能でエラー訂正をした場合を含む。「訂正不可能」とはエラー訂正符号を用いることによるエラー訂正ができない場合を言う。 Error corrector 0.22-0 outputs the error correction data to selector 24. Error corrector 0.22-0 also outputs error information indicating whether the error was correctable or uncorrectable to determiner 23. Note that "correctable" includes cases where it has been confirmed that error correction is unnecessary by using an error correction code, and cases where the error is correctable and has been corrected. "Uncorrectable" refers to cases where the error cannot be corrected by using an error correction code.

逆変換器21からの出力される逆変換データは、エラー訂正器1・22-1に入力される。エラー訂正器1・22-1は、逆変換データに含まれるエラー訂正符号に相当するデータを利用してエラーがあるかどうかを確認するとともに、エラー訂正可能であればエラー訂正をおこなう(ステップS23)。 The inversely transformed data output from the inverse transformer 21 is input to the error corrector 1 22-1. The error corrector 1 22-1 checks whether there is an error using data corresponding to the error correction code contained in the inversely transformed data, and corrects the error if it is possible (step S23).

図6において、11バイトの逆変換データから3バイトのエラー訂正符号を利用したエラー訂正処理を行い、エラー訂正符号を外して、残りの8バイトのデータをエラー訂正データとして出力する。図6の例では、エラー訂正器1・22-1(ECC1)から出力される8バイトのデータを(E0、E1、E2、・・・E6、E7)として示している。 In Figure 6, error correction processing is performed on the 11 bytes of inversely converted data using a 3-byte error correction code, the error correction code is removed, and the remaining 8 bytes of data are output as error corrected data. In the example of Figure 6, the 8 bytes of data output from the error corrector 1.22-1 (ECC1) are shown as (E0, E1, E2, ... E6, E7).

また、エラー訂正器1・22-1は、エラー訂正データを選択器24に出力する。また、エラー訂正器1・22-1は、訂正可能であったか、訂正不可能であったかを示すエラー情報を判定器23に出力する。 The error corrector 1 22-1 also outputs the error correction data to the selector 24. The error corrector 1 22-1 also outputs error information indicating whether the error was correctable or uncorrectable to the determiner 23.

判定器23は、エラー訂正器0・22-0およびエラー訂正器1・22-1からのエラー情報を基に、訂正可能なエラーが発生していない側がどちらのエラー訂正器を特定し、訂正可能な側のエラー訂正器を示す情報を選択器24路に出力する。また、判定器23は、特定結果に基づき、低速データのビット値を出力する(ステップS24)。すなわち、判定器23は、エラー訂正器0・22-0が訂正可能であったならば、低速データのビット値として“0”を、エラー訂正器1・22-1が訂正可能であったならば、低速データのビット値として“1”を出力する。 Based on the error information from error corrector 0 22-0 and error corrector 1 22-1, determiner 23 identifies which error corrector is on the side where no correctable errors have occurred, and outputs information indicating the error corrector on the correctable side to selector 24. Based on the identification result, determiner 23 also outputs the bit value of the low-speed data (step S24). That is, if error corrector 0 22-0 was able to correct the error, determiner 23 outputs "0" as the bit value of the low-speed data, and if error corrector 1 22-1 was able to correct the error, determiner 23 outputs "1" as the bit value of the low-speed data.

図6の例では、エラー訂正器0・22-0(ECC0)からのエラー訂正データにおいて、エラー訂正できなかった8バイトのエラー訂正データを黒く示している。また、エラーなしあるいはエラーの検出がされたが訂正できた場合の8バイトのエラー訂正データを白く示している。
同様に、エラー訂正器1・22-1(ECC1)からのエラー訂正データにおいて、エラー訂正できなかった8バイトのエラー訂正データを黒く示している。また、エラーなしあるいはエラーの検出がされたが訂正できた場合の8バイトのエラー訂正データを白く示している。
6, in the error correction data from the error corrector 0.22-0 (ECC0), 8 bytes of error correction data that could not be corrected are shown in black, and 8 bytes of error correction data where there was no error or where an error was detected but was corrected are shown in white.
Similarly, in the error correction data from the error corrector 1 22-1 (ECC1), 8 bytes of error correction data that could not be corrected are shown in black, and 8 bytes of error correction data in the cases where there was no error or where an error was detected but was corrected are shown in white.

図6の時刻t0,t1では、エラー訂正器0・22-0においてエラー訂正可能であったことから、判定器23は、時刻t0,t1において、低速データのビット値として、それぞれ“0”を出力する。時刻t2からt6では、エラー訂正器1・22-1においてエラー訂正可能であったことから、判定器23は、時刻。時刻t2からt6において、低速データのビット値として、それぞれ“1”を出力する。また、時刻t7からt11では、エラー訂正器0・22-0においてエラー訂正可能であったことから、判定器23は、時刻t7からt11において、低速データのビット値として、それぞれ“0”を出力する。 At times t0 and t1 in FIG. 6, the error corrector 0/22-0 was able to correct the error, so the determiner 23 outputs "0" as the bit value of the low-speed data at times t0 and t1. From time t2 to t6, the error corrector 1/22-1 was able to correct the error, so the determiner 23 outputs "1" as the bit value of the low-speed data at times t2 to t6. From time t7 to t11, the error corrector 0/22-0 was able to correct the error, so the determiner 23 outputs "0" as the bit value of the low-speed data at times t7 to t11.

選択器24は、判定器からの訂正可能なエラーの発生状況の情報から、訂正可能であった側のエラー訂正器からの入力を、高速データとして出力する(ステップS25)。 The selector 24 outputs the input from the error corrector that was correctable as high-speed data based on the information on the occurrence status of correctable errors from the determiner (step S25).

受信装置2は、更なるデータの受信があるか判断し(ステップS26)、データの受信がない場合(ステップS26:NO)、処理を終了する。一方、受信装置2は、データの受信がある場合(ステップS26:YES)、次の受信データの処理のために、ステップS21に戻る。 The receiving device 2 determines whether further data has been received (step S26), and if no data has been received (step S26: NO), ends the process. On the other hand, if data has been received (step S26: YES), the receiving device 2 returns to step S21 to process the next received data.

以上のようにして、受信装置2は、高速データ、および、低速データの出力を行う。 In this manner, the receiving device 2 outputs high-speed data and low-speed data.

なお、図6では、送信装置1は、高速データ8バイトに対して、低速データ1ビットを送信する場合における受信装置2の動作を例として説明した。送信データの送信速度に対して、低速データの送信速度がさらに遅くてもよい場合、予め決められた送信ルールに従い、受信装置2の判定器23は、低速データのビット出力を行ってもよい。この場合、送信装置1、受信装置2は、データの送受信開始前に、高速データと低速データの送信レート、あるいは、高速データと低速データの送信レートの比に関する情報などの送信ルールの交換を行なってもよい。 In FIG. 6, the operation of the receiving device 2 is described as an example in which the transmitting device 1 transmits 8 bytes of high-speed data and 1 bit of low-speed data. If the transmission speed of the low-speed data can be slower than the transmission speed of the transmitted data, the determiner 23 of the receiving device 2 may output bits of the low-speed data according to a predetermined transmission rule. In this case, the transmitting device 1 and the receiving device 2 may exchange transmission rules, such as information regarding the transmission rates of the high-speed data and the low-speed data, or the ratio of the transmission rates of the high-speed data and the low-speed data, before starting to transmit and receive data.

図6では、伝送においてエラーが発生しない、あるいは、伝送でエラーがあってもエラー訂正の能力範囲、つまり、1バイトエラーである場合における受信装置2の動作として説明を行った。 In Figure 6, the operation of the receiving device 2 is described when no errors occur during transmission, or when an error occurs during transmission but is within the range of error correction capabilities, i.e., a 1-byte error.

伝送で2バイト以上のエラーが発生した場合、何れのエラー訂正器においても訂正不可能なエラーになる。この場合、判定器23は、何れかの側のデータを高速データとして出力するような情報を選択器24に出力して、高速データを得るようにする。また、判定器23は、低速データも何れかのデータを出力する。受信装置2から出力される高速データおよび低速データは、誤ったデータであるが、これは、低速データを伝送したから発生したものでなく、発生すべくして発生したエラー訂正器の訂正能力を超えるエラーである。このようなエラーは、受信装置2に含まれる図示しない後段の回路にて、再送依頼の処理等、通常の受信装置におけるエラーデータの処理を行い得る。 If an error of two or more bytes occurs during transmission, it becomes an error that cannot be corrected by either error corrector. In this case, the determiner 23 outputs information to the selector 24 to output data from either side as high-speed data, so that high-speed data is obtained. The determiner 23 also outputs either low-speed data. The high-speed data and low-speed data output from the receiving device 2 are erroneous data, but this is not due to the transmission of low-speed data, but is an error that was bound to occur and exceeds the correction capability of the error corrector. Such errors can be processed by a downstream circuit (not shown) included in the receiving device 2, which can process the error data in a normal receiving device, such as processing a retransmission request.

図1、図2に示す、送信装置1、受信装置2において、低速データのビット値が“0”の時は送信データの全ビットが非反転で、ビット値が“1”の時は送信データの全ビットが反転されるものとして説明した。これに限定されるものではなく、例えば、低速データのビット値が“0”の時は送信データの全ビットが反転で、ビット値が“1”の時は送信データの全ビットが非反転としてもよい。 In the transmitting device 1 and receiving device 2 shown in Figures 1 and 2, it has been explained that when the bit value of the low-speed data is "0", all bits of the transmitted data are not inverted, and when the bit value is "1", all bits of the transmitted data are inverted. This is not limited to this, and for example, when the bit value of the low-speed data is "0", all bits of the transmitted data are inverted, and when the bit value is "1", all bits of the transmitted data are non-inverted.

さらに、低速データのビット値が“0”の時は送信データに対してデータを変換するための“変換法則0”を適用し、ビット値が“1”の時は送信データに対してデータを変換するための“変換法則1”を適用してもよい。この場合、“変換法則0”と“変換法則1”とは異なる変換法則であるものとする。この場合、送信装置1の変換器12は、エラー訂正符号化器11から出力されるデータに対して、低速データのビット値に応じて、“変換法則0”または“変換法則1”によるデータの変換処理を行なう。この場合、受信装置2は、受信データに対して“変換法則0”の逆変換を行う“逆変換器0”と、受信データに対して“変換法則0”の逆変換を行う“逆変換器1”を備える。そして、“逆変換器0”からのデータは、エラー訂正器0・22-0に入力されて処理され、“逆変換器1”からのデータは、エラー訂正器1・22-1に入力されて処理される。 Furthermore, when the bit value of the low-speed data is "0", "conversion rule 0" for converting data may be applied to the transmission data, and when the bit value is "1", "conversion rule 1" for converting data may be applied to the transmission data. In this case, "conversion rule 0" and "conversion rule 1" are different conversion rules. In this case, the converter 12 of the transmitting device 1 performs data conversion processing using "conversion rule 0" or "conversion rule 1" on the data output from the error correction coder 11 according to the bit value of the low-speed data. In this case, the receiving device 2 includes an "inverse converter 0" that performs an inverse conversion of "conversion rule 0" on the received data, and an "inverse converter 1" that performs an inverse conversion of "conversion rule 0" on the received data. Then, the data from "inverse converter 0" is input to the error corrector 0 22-0 for processing, and the data from "inverse converter 1" is input to the error corrector 1 22-1 for processing.

また、受信装置2は、エラー訂正器22が、エラー訂正器0・22-0、エラー訂正器1・22-1の2つを備えるとして説明した。しかし、受信する送信速度に対して、受信装置2の処理速度が十分に早い場合、エラー訂正器22は、1つのエラー訂正器を備えるものであってもよい。この場合、エラー訂正器22は、2つの系統の送信データを、交互に処理し、その処理結果を出力するようにしてもよい。 Furthermore, the receiving device 2 has been described as having two error correctors 22, error corrector 0 22-0 and error corrector 1 22-1. However, if the processing speed of the receiving device 2 is sufficiently fast compared to the receiving transmission speed, the error corrector 22 may have a single error corrector. In this case, the error corrector 22 may be configured to process the two systems of transmission data alternately and output the processing results.

上述の実施の形態では、低速データの1ビットに基づき、高速データに対して行う変換処理を変えるものとして説明した。これに限定されるものではなく、低速データのnビット(“n”は整数)に基づく場合、2のn乗個の変換法則を備えて処理するようにしてもよい。すなわち、高速データのエラー訂正符号が含まれたデータを、nビットのビット列に対応する変換法則を用いて、データ変換を行うようにしてもよい。この場合、受信装置2も、2のn乗個の変換法則にそれぞれ対応する、2のn乗個の逆変換法則に基づく処理をする2のn乗個の逆変換器を用いて処理をするようにしてもよい。 In the above embodiment, the conversion process performed on high-speed data is described as being changed based on one bit of low-speed data. This is not limited to this, and when based on n bits of low-speed data ("n" is an integer), processing may be performed using 2n conversion rules. In other words, data containing error correction codes of high-speed data may be converted using a conversion rule corresponding to an n-bit bit string. In this case, the receiving device 2 may also process using 2n inverse converters that perform processing based on 2n inverse conversion rules corresponding to the 2n conversion rules, respectively.

以下、低速データのnビット(“n”は整数)に基づく変換処理を用いた送信装置1、受信装置2について説明する。 The following describes a transmitting device 1 and a receiving device 2 that use a conversion process based on n bits ("n" is an integer) of low-speed data.

図7において、送信装置1は、高速データ、低速データの入力を受け、低速データのnビットに基づきデータの変換処理を行い、送信データを生成する。送信装置1は、エラー訂正符号化器11、変換器12を備える。 In FIG. 7, the transmitting device 1 receives high-speed data and low-speed data as input, converts the data based on n bits of the low-speed data, and generates transmission data. The transmitting device 1 includes an error correction coder 11 and a converter 12.

エラー訂正符号化器11は、図1で説明したエラー訂正符号化器11と同じである。 The error correction encoder 11 is the same as the error correction encoder 11 described in Figure 1.

変換器12は、エラー訂正符号化器11から送信単位データの入力を受けるとともに、低速データの入力を受ける。そして、変換器12は、送信単位データを低速データのnビットの値に即して符号化し、送信データを生成する。変換器12は、スイッチ12aと、2のn乗個の変換器1・12-1、変換器2・12-2、・・・、変換器2・12-2を備える。また、各変換器は、それぞれ異なる変換法則を備える。 Converter 12 receives transmission unit data as input from error correction encoder 11, and also receives low-speed data as input. Converter 12 then encodes the transmission unit data in accordance with the n-bit value of the low-speed data to generate transmission data. Converter 12 includes switch 12a and 2 n converters: converter 1 12-1, converter 2 12-2, ..., converter 2 n 12-2 n . Each converter has a different conversion rule.

スイッチ12aは、低速データのnビットの値に基づき、エラー訂正符号化器11からの出力されるデータを、いずれかの変換器に入力する処理を行う。例えば、nビットが、2ビットの場合、変換器12は、2の2乗個である4個の変換器を備える。また、スイッチ12aは、2ビットの値が“00”の場合には変換器1・12-1に、“01”の場合には変換器2・12-2に、“10”の場合には変換器3・12-3に、“11”の場合には変換器4・12-4に、エラー訂正符号化器11との接続(選択)処理を行う。 Switch 12a performs a process of inputting data output from error correction encoder 11 to one of the converters based on the value of n bits of the low-speed data. For example, if n bits is 2 bits, converter 12 has four converters, which is 2^2. Switch 12a also performs a process of connecting (selecting) with error correction encoder 11 to converter 1 12-1 when the value of the 2 bits is "00", to converter 2 12-2 when the value is "01", to converter 3 12-3 when the value is "10", and to converter 4 12-4 when the value is "11".

図7に示す送信装置1の動作について図を用いてより具体的に説明する。図8は、図7に示す送信装置1の動作を示す図である。 The operation of the transmitting device 1 shown in FIG. 7 will be described in more detail with reference to the diagram. FIG. 8 is a diagram showing the operation of the transmitting device 1 shown in FIG. 7.

エラー訂正符号化器11は、訂正符号化の処理単位となる高速データの入力を受け、エラー訂正符号則となるエラー訂正、エラー検出に従い、エラー訂正符号を生成する。また、エラー訂正符号化器11は、処理単位となる高速データに対してエラー訂正符号を付加して、送信単位のデータとして出力する(ステップS31)。エラー訂正符号化器11からの送信単位のデータは、変換器12に対して出力される。 The error correction encoder 11 receives an input of high-speed data that is the processing unit of the correction encoding, and generates an error correction code according to the error correction and error detection rules of the error correction code. The error correction encoder 11 also adds an error correction code to the high-speed data that is the processing unit, and outputs it as data for a transmission unit (step S31). The data for the transmission unit from the error correction encoder 11 is output to the converter 12.

変換器12は、送信する低速データの入力を受け、変換器12のスイッチ12aは、入力される低速データのnビットのビット列に対応する変換器とエラー訂正符号化器11とが接続されるよう、変換器の接続(選択)を行う(ステップS32)。 The converter 12 receives the input of the low-speed data to be transmitted, and the switch 12a of the converter 12 connects (selects) the converter so that the converter corresponding to the n-bit bit string of the input low-speed data is connected to the error correction encoder 11 (step S32).

接続(選択)され、エラー訂正符号化器11からの入力を受けた変換器は、その選択器に割当てられた変換法則に従い、エラー訂正符号化器11からの送信単位のデータを変換して、送信データを生成する(ステップS33)。 The converter that is connected (selected) and receives input from the error correction coder 11 converts the data in transmission units from the error correction coder 11 according to the conversion rule assigned to that converter, to generate transmission data (step S33).

送信装置1は、変換器12からの出力データを、送信データとして出力する(ステップS34)。 The transmitting device 1 outputs the output data from the converter 12 as transmission data (step S34).

送信装置1は、更に送信すべきデータがあるか判断を行い、送信すべきデータがある場合(ステップS35:YES)、ステップS31に戻る。 送信装置1は、送信すべきデータがない場合(ステップS35:NO)、送信処理を終了する。 The transmitting device 1 determines whether there is further data to be transmitted, and if there is data to be transmitted (step S35: YES), the transmitting device 1 returns to step S31. If there is no data to be transmitted (step S35: NO), the transmitting device 1 ends the transmission process.

以上、説明したように、送信装置1では、低速データのnビットに基づき、エラー訂正符号の付された高速データを変換する。これにより、図1に示す送信装置1より、低速データの送信速度がn倍早くても、低速データを送れるようなる。 As explained above, the transmitting device 1 converts high-speed data with an error correction code based on n bits of low-speed data. This makes it possible to send low-speed data even if the transmission speed of the low-speed data is n times faster than that of the transmitting device 1 shown in Figure 1.

例えば、送信装置1は、エラー訂正符号を付す高速データの単位が8バイトに対して、低速データnビットが送信可能となる。送信データの送信速度に対して、低速データの送信速度がさらに遅くてもよい場合、予め決められた送信ルールに従い、訂正符号化の処理単位となる高速データの変換処理を行ってもよい。この場合、送信装置1、受信装置2は、データの送受信開始前に、高速データと低速データの送信レート、あるいは、高速データと低速データの送信レートの比に関する情報等の送信ルールの交換を行ってもよい。 For example, the transmitting device 1 can transmit n bits of low-speed data for every 8-byte unit of high-speed data to which an error correction code is added. If the transmission speed of the low-speed data can be slower than the transmission speed of the transmitted data, conversion processing of the high-speed data that serves as the processing unit for correction coding may be performed according to a predetermined transmission rule. In this case, the transmitting device 1 and the receiving device 2 may exchange transmission rules, such as information regarding the transmission rates of the high-speed data and the low-speed data, or the ratio of the transmission rates of the high-speed data and the low-speed data, before starting transmission and reception of data.

図9は、nビットを単位として低速データの再構成を行う受信装置2の構成の概要を示す図である。受信装置2は、受信データを入力、処理することで、高速データ、および、nビットの低速データの再構成を順次行い、出力する。受信装置2は、逆変換器21、エラー訂正器22、判定器23、選択器24を備える。 Figure 9 shows the outline of the configuration of a receiving device 2 that reconstructs low-speed data in units of n bits. The receiving device 2 inputs and processes the received data, and sequentially reconstructs and outputs high-speed data and n-bit low-speed data. The receiving device 2 includes an inverse converter 21, an error corrector 22, a determiner 23, and a selector 24.

逆変換器21は、2のn乗個の逆変換器1・21-1、逆変換器2・21-2、・・・逆変換器2・21-2を備える。2のn乗個の逆変換器には、送信装置1の2のn乗個の変換法則に対応してそれぞれ逆変換をするための2のn乗個の逆変換法則がそれぞれ割り当てられる。2のn乗個の逆変換器は、割り当てられ逆変換法則に従って、受信データの逆変換処理を行う。逆変換器21は、受信データの入力を受け、それぞれ異なる逆変換が行われた2のn乗個の逆変換データを出力する。 The inverse converter 21 includes 2n inverse converters 1-21-1, 21-2, ..., and 2n -21-2n. The 2n inverse converters are assigned 2n inverse conversion rules for performing inverse conversion corresponding to the 2n conversion rules of the transmitting device 1. The 2n inverse converters perform inverse conversion processing of the received data according to the assigned inverse conversion rules. The inverse converter 21 receives input of the received data, and outputs 2n inverse conversion data that have been subjected to different inverse conversions.

エラー訂正器22は、2の2乗個のエラー訂正器1・22-1、エラー訂正器2・22-2、・・・、エラー訂正器2・22-2を備える。2のn乗個のエラー訂正器はそれぞれ同じ機能を備える。2の2乗個のエラー訂正器は、2のn乗個の逆変換器1・21-1、逆変換器2・21-2、・・・逆変換器2・21-2とそれぞれ接続される。2のn乗個のエラー訂正器はそれぞれ入力されたデータに対して、エラー訂正符号を削除するとともに、エラー訂正符号を用いたエラー検出、エラー訂正処理を行い、処理後のデータを出力する。また、2のn乗個のエラー訂正器はそれぞれエラー検出・エラー訂正可能、エラー検出・訂正不可能、といったエラー訂正処理に関する結果に関する情報も出力する。 The error corrector 22 includes 2^2 error correctors 1-22-1, 2-2-2, ..., 2n - 22-2n . Each of the 2^n error correctors has the same function. The 2^2 error correctors are connected to 2^n inverse converters 1-21-1, 2-21-2, ..., 2n - 21-2n . Each of the 2^n error correctors deletes the error correction code from the input data, performs error detection and error correction processing using the error correction code, and outputs the processed data. In addition, each of the 2^n error correctors also outputs information regarding the results of the error correction processing, such as whether error detection and error correction are possible, or whether error detection and correction are impossible.

判定器23は、2のn乗個のエラー訂正器からのエラー訂正処理に関する結果の情報を入力し、エラー訂正に関する結果から低速データのnビットのビット列を決定し、低速データを出力する。 The determiner 23 inputs information on the results of the error correction process from the 2 n error correctors, determines an n-bit bit string of the low-speed data from the error correction results, and outputs the low-speed data.

選択器24は、判定器23による判定結果に基づき、2のn乗個のエラー訂正器からの出力のいずれか1つを高速データとして出力する。 The selector 24 outputs one of the outputs from the 2 n error correctors as high-speed data based on the result of the judgment by the judger 23.

次に、図9に示す受信装置2の動作について図を用いてより具体的に説明する。図10は、図9に示す受信装置2の動作を示す図である。 Next, the operation of the receiving device 2 shown in FIG. 9 will be described in more detail with reference to the diagram. FIG. 10 is a diagram showing the operation of the receiving device 2 shown in FIG. 9.

受信装置2は、送信装置1からの受信データの受信により処理を開始する。 The receiving device 2 starts processing when it receives the reception data from the transmitting device 1.

受信装置2は、受信データを2のn乗個の系統に分岐し、2のn乗個の逆変換器にそれぞれ入力する。入力を受けた2のn乗個の逆変換器は、それぞれの逆変換器に割当たれた逆変換法則に基づき、入力された受信データの逆変換処理を行い、逆変換データとして出力する(ステップS41)。また、各逆変換器は、逆変換データを接続されるエラー訂正器にそれぞれ出力する。 The receiving device 2 branches the received data into 2 n systems and inputs them to 2 n inverse converters. The 2 n inverse converters that receive the inputs perform inverse conversion processing on the input received data based on the inverse conversion rules assigned to each inverse converter, and output the data as inverse conversion data (step S41). Each inverse converter also outputs the inverse conversion data to the error corrector connected to it.

逆変換データの入力を受けた2のn乗個のエラー訂正器は、逆変換データに含まれるエラー訂正符号に相当するデータを利用してエラーがあるかどうかを確認するとともに、エラー訂正可能であればエラー訂正をおこなう(ステップS42)。 The 2 n error correctors that receive the inverse transformation data check whether there is an error using data corresponding to the error correction code contained in the inverse transformation data, and correct the error if possible (step S42).

判定器23は、各エラー訂正器からの2のn乗個のエラー訂正の結果に関する情報を基に、訂正可能であったエラー訂正器を特定し、訂正可能であったエラー訂正器を示す情報を選択器24路に出力する。また、判定器23は、特定結果に基づき、低速データのnビットのビット列を出力する(ステップS43)。すなわち、判定器23は、特定されたエラー訂正器に対応するnビットのビット列を低速データとして出力する。 The determiner 23 identifies the error corrector that was able to correct the error based on information about the results of correcting 2 to the power of n errors from each error corrector, and outputs information indicating the error corrector that was able to correct the error to the selector 24. The determiner 23 also outputs an n-bit bit string of low-speed data based on the identification result (step S43). That is, the determiner 23 outputs an n-bit bit string corresponding to the identified error corrector as low-speed data.

選択器24は、判定器からの特定結果から、訂正可能であったエラー訂正器からの入力を、高速データとして出力する(ステップS44)。 The selector 24 outputs the input from the error corrector that was correctable based on the identification result from the determiner as high-speed data (step S44).

例えば、例えば、nビットが2ビットの場合、送信装置1の変換器12において、2ビットの値が“00”の場合には変換器1・12-1に、“01”の場合には変換器2・12-2に、“10”の場合には変換器3・12-3に、“11”の場合には変換器4・12-4が選択されるものとする。受信装置2の逆変換器21には、各変換器に対応するように4個の逆変換器、逆変換器1・21-1、逆変換器2・21-2、逆変換器3・21-3、逆変換器4・21-4が設けられているものとする。このような場合において、送信装置1から送信される低速データの2ビット値が“01”であった際、エラー訂正器2・22-2が「訂正可能」との情報を出力する。その結果、判定器23は、低速データとして“01”を出力する(ステップS43)。また、選択器24は、判定器23がエラー訂正器2・22-2を「訂正可能」であったエラー訂正器であると特定する結果に基づき、エラー訂正器2・22-2が出力するデータを、高速データとして出力する(S44)。 For example, if n bits is 2 bits, in the converter 12 of the transmitting device 1, if the value of the 2 bits is "00", converter 1 12-1 is selected, if the value is "01", converter 2 12-2 is selected, if the value is "10", converter 3 12-3 is selected, and if the value is "11", converter 4 12-4 is selected. The inverse converter 21 of the receiving device 2 is provided with four inverse converters corresponding to the respective converters: inverse converter 1 21-1, inverse converter 2 21-2, inverse converter 3 21-3, and inverse converter 4 21-4. In such a case, when the 2-bit value of the low-speed data transmitted from the transmitting device 1 is "01", the error corrector 2 22-2 outputs information that "correction is possible". As a result, the determiner 23 outputs "01" as the low-speed data (step S43). Furthermore, based on the result of the determiner 23 identifying the error corrector 2 22-2 as an error corrector that was "correctable," the selector 24 outputs the data output by the error corrector 2 22-2 as high-speed data (S44).

受信装置2は、更なるデータの受信があるか判断し(ステップS45)、データの受信がない場合(ステップS45:NO)、処理を終了する。一方、受信装置2は、データの受信がある場合(ステップS45:YES)、次の受信データの処理のために、ステップS41に戻る。 The receiving device 2 determines whether further data has been received (step S45), and if no data has been received (step S45: NO), ends the process. On the other hand, if data has been received (step S45: YES), the receiving device 2 returns to step S41 to process the next received data.

以上のようにして、受信装置2は、受信データの入力に対して、高速データ、および、低速データの出力を行う。 In this way, the receiving device 2 outputs high-speed data and low-speed data in response to the input of received data.

なお、図9に示す受信装置2は、例えば、図7に示す送信装置1が高速データ8バイトに対して、低速データnビットを送信する場合における受信装置2の動作を例として説明した。送信データの送信速度に対して、低速データの送信速度がさらに遅くてもよい場合、予め決められた送信ルールに従い、受信装置2の判定器23は、低速データのビット出力を行ってもよい。この場合、送信装置1、受信装置2は、データの送受信開始前に、高速データと低速データの送信レート、あるいは、高速データと低速データの送信レートの比に関する情報等の送信ルールの交換を行なってもよい。 The receiving device 2 shown in FIG. 9 has been described as an example of the operation of the receiving device 2 when the transmitting device 1 shown in FIG. 7 transmits n bits of low-speed data in response to 8 bytes of high-speed data. If the transmission speed of the low-speed data can be slower than the transmission speed of the transmitted data, the determiner 23 of the receiving device 2 may output bits of low-speed data according to a predetermined transmission rule. In this case, the transmitting device 1 and the receiving device 2 may exchange transmission rules, such as information regarding the transmission rates of the high-speed data and the low-speed data, or the ratio of the transmission rates of the high-speed data and the low-speed data, before starting data transmission and reception.

また、図9において受信装置2は、エラー訂正器22が、2のn乗個のエラー訂正器1・22-1、エラー訂正器2・22-2、エラー訂正器2・22-2を備えるとして説明した。しかし、送信装置1からの送信データの送信速度に対して、受信装置2の処理速度が十分に早い場合、エラー訂正器22は、2のn乗個より少ないエラー訂正器を備えるものであってもよい。この場合、エラー訂正器22内の2のn乗個より少ないエラー訂正器は、1または複数の逆変換器からの出力の処理をするようにしてもよい。 9, the receiving device 2 has been described as having an error corrector 22 that includes 2 n error correctors 1 22-1, 2 22-2, and 2 n 22-2 n . However, if the processing speed of the receiving device 2 is sufficiently fast compared to the transmission speed of the transmission data from the transmitting device 1, the error corrector 22 may include fewer than 2 n error correctors. In this case, the fewer than 2 n error correctors in the error corrector 22 may process the output from one or more reverse converters.

図10を用いた受信装置2の動作の説明において、伝送においてエラーが発生しない、あるいは、伝送でエラーがあってもエラー訂正の能力範囲、つまり、1バイトエラーである場合における受信装置2の動作として説明を行った。 In the explanation of the operation of the receiving device 2 using Figure 10, the operation of the receiving device 2 was explained in the case where no errors occur during transmission, or where even if an error occurs during transmission, it is within the range of error correction capabilities, i.e., a 1-byte error.

図10を用いた受信装置2の動作において、伝送で2バイト以上のエラーが発生した場合、何れのエラー訂正器においても訂正不可能なエラーになる。この場合、判定器23は、何れかのエラー訂正器のデータを高速データとして出力するような情報を選択器24に出力して、高速データを得る。また、判定器23は、低速データも何れかのnビットのデータを出力する。受信装置2から出力される高速データおよび低速データは、誤ったデータであるが、これは、低速データを伝送したから発生したものでなく、発生すべくして発生したエラー訂正器の訂正能力を超えるエラーである。このようなエラーは、図示しない受信装置2に含まれる後段の回路にて、再送依頼の処理等、通常の受信装置におけるエラーデータの処理を行い得る。 When an error of 2 bytes or more occurs during transmission in the operation of the receiving device 2 using FIG. 10, it becomes an error that cannot be corrected by any of the error correctors. In this case, the determiner 23 outputs information to the selector 24 to output the data of one of the error correctors as high-speed data, thereby obtaining high-speed data. The determiner 23 also outputs any of the n-bit data as low-speed data. The high-speed data and low-speed data output from the receiving device 2 are erroneous data, but this is not due to the transmission of low-speed data, but is an error that was bound to occur and exceeded the correction capability of the error corrector. Such errors can be processed by a later circuit included in the receiving device 2 (not shown), which processes the error data in a normal receiving device, such as processing a retransmission request.

上述の実施の形態で、エラー訂正符号は、1バイトエラー訂正2バイトエラー検出を例として説明しているが、これに限るものではない。例えば、エラー訂正符号としては誤り訂正可能な符号であればいずれであってもよく、例えば、畳み込み符号等であってもよい。 In the above embodiment, the error correction code is described as an example of 1-byte error correction and 2-byte error detection, but this is not limited to this. For example, the error correction code may be any code that is capable of correcting errors, such as a convolutional code.

送信装置1、受信装置2を構成する各処理器は、処理速度を考慮すると、専用の回路により構成することが好ましい。しかし、送受信されるデータに対して、十分に高速な汎用のプロセッサ、メモリ、バス等を用いて、ソフトウェアにより、送信装置1、受信装置2の機能を実現してもよい。そのような場合の送信装置1、受信装置2のハードウェア構成の一例を図11に示す。 When considering the processing speed, it is preferable that each processor constituting the transmitting device 1 and the receiving device 2 is configured with a dedicated circuit. However, the functions of the transmitting device 1 and the receiving device 2 may be realized by software using a general-purpose processor, memory, bus, etc. that is sufficiently fast for the data to be transmitted and received. An example of the hardware configuration of the transmitting device 1 and the receiving device 2 in such a case is shown in Figure 11.

図11では、送信装置1や受信装置2を実現するための計算機9のほか、ネットワーク81を例示する。計算機9は任意の計算機である。例えば計算機9は、Personal Computer(PC)、サーバマシン、または、タブレット端末などである。計算機9は、送信装置1や受信装置2を実現するために設計された専用の計算機であってもよいし、汎用の計算機であってもよい。 Figure 11 illustrates a computer 9 for implementing the transmitting device 1 and the receiving device 2, as well as a network 81. The computer 9 may be any computer. For example, the computer 9 may be a personal computer (PC), a server machine, or a tablet terminal. The computer 9 may be a dedicated computer designed to implement the transmitting device 1 and the receiving device 2, or may be a general-purpose computer.

計算機9は、バス91、プロセッサ92、メモリ93、ストレージデバイス94、入出力インタフェース95、および、外部インタフェース96を備える。バス91は、プロセッサ92、メモリ93、ストレージデバイス94、入出力インタフェース95、及びネットワークインタフェースともなる外部インタフェース96が、相互にデータを送受信するためのデータ伝送路である。ただし、プロセッサ92などを互いに接続する方法は、バス接続に限定されない。プロセッサ92は、CPU(Central Processing Unit)、GPU(Graphics Processing Unit)、又は FPGA(Field-Programmable Gate Array)などの種々のプロセッサである。メモリ93は、RAM(Random Access Memory)などを用いて実現される主記憶装置である。ストレージデバイス94は、ハードディスク、SSD(Solid State Drive)、メモリカード、又は ROM(Read Only Memory)などを用いて実現される補助記憶装置である。 The computer 9 includes a bus 91, a processor 92, a memory 93, a storage device 94, an input/output interface 95, and an external interface 96. The bus 91 is a data transmission path for the processor 92, the memory 93, the storage device 94, the input/output interface 95, and the external interface 96, which also serves as a network interface, to transmit and receive data to and from each other. However, the method of connecting the processor 92 and the like to each other is not limited to bus connection. The processor 92 is various processors such as a CPU (Central Processing Unit), a GPU (Graphics Processing Unit), or an FPGA (Field-Programmable Gate Array). The memory 93 is a main storage device realized using a RAM (Random Access Memory) or the like. The storage device 94 is an auxiliary storage device realized using a hard disk, an SSD (Solid State Drive), a memory card, or a ROM (Read Only Memory), or the like.

入出力インタフェース95は、計算機9と入出力デバイスとを接続するためのインタフェースである。例えば入出力インタフェース95には、キーボードなどの入力装置や、ディスプレイ装置などの出力装置が接続される。 The input/output interface 95 is an interface for connecting the computer 9 to an input/output device. For example, the input/output interface 95 is connected to an input device such as a keyboard and an output device such as a display device.

外部インタフェース96は、計算機9をネットワーク81などに接続するためのインタフェースである。図11は、外部インタフェース96がネットワークインタフェースであり、ネットワーク81と接続している場合について記しているが、これに限らない。図の場合、このネットワークは、例えば LAN(Local Area Network)や WAN(Wide Area Network)である。外部インタフェース96がネットワークに接続する方法は、無線接続であってもよいし、有線接続であってもよい。 The external interface 96 is an interface for connecting the computer 9 to a network 81 or the like. FIG. 11 illustrates a case in which the external interface 96 is a network interface and is connected to the network 81, but this is not limited to this. In the illustrated example, the network is, for example, a LAN (Local Area Network) or a WAN (Wide Area Network). The method for connecting the external interface 96 to the network may be a wireless connection or a wired connection.

外部インタフェース96は、ネットワークインタフェースのほか、直接外部機器を接続するインタフェースであってもよい。例えば、USB(Universal Serial Bus)やIEEE1394などにより、他の装置と接続されるようになっていてもよい。 The external interface 96 may be a network interface or an interface for directly connecting an external device. For example, it may be connected to other devices via a Universal Serial Bus (USB) or IEEE 1394.

ストレージデバイス94は、送信装置1や受信装置2の各処理器を実現するプログラムモジュールを記憶している。プロセッサ92は、これら各プログラムモジュールをメモリ93に読み出して実行することで、各プログラムモジュールに対応する機能を実現する。 The storage device 94 stores program modules that realize each processing unit of the transmitting device 1 and the receiving device 2. The processor 92 reads each of these program modules into the memory 93 and executes them to realize the function corresponding to each program module.

図12は、送信装置1の最小構成図を示す図である。送信装置1は変換器12を備える。変換器12は、送信単位のデータを変換するための変換法則で、低速データのnビットのビット列にそれぞれ対応する2のn乗個の変換法則であって、かつ、2のn乗個の変換法則がそれぞれ異なる変換法則を備える。変換器12は、エラー訂正の処理単位となる高速データに高速データのエラー訂正符号が含まれた送信単位のデータを、低速データのnビットのビット列に対応する変換法則に基づき変換して送信データを生成する。 Figure 12 is a diagram showing the minimum configuration of the transmitting device 1. The transmitting device 1 includes a converter 12. The converter 12 includes conversion rules for converting the data of a transmission unit, which are 2 n conversion rules corresponding to the n-bit bit strings of the low-speed data, and each of the 2 n conversion rules is different. The converter 12 converts the data of a transmission unit, in which the high-speed data serving as the processing unit for error correction contains an error correction code of the high-speed data, based on the conversion rules corresponding to the n-bit bit strings of the low-speed data, to generate transmission data.

図13は、図12に示す送信装置1からの受信データを受信する受信装置2の最小構成図を示す図である。受信装置2は、逆変換器21と、エラー訂正器22と、判定器23と、選択器24とを備える。
逆変換器21は、送信装置1の2のn乗個の変換法則にそれぞれ対応して逆変換をするための2のn乗個の逆変換法則のそれぞれに基づいて受信データを逆変換し、2のn乗個の逆変換データを出力する。
エラー訂正器22は、2のn乗個の逆変換データのそれぞれを、送信装置1で用いられたエラー訂正方法に対応したエラー訂正処理を行いて、エラー訂正処理後の2のn乗個のエラー訂正データを出力するとともに、2のn乗個のエラー訂正に関する結果を出力する。
判定器23は、2のn乗個のエラー訂正に関する結果から、エラー訂正処理可能であった逆変換データに対応する逆変換法則を特定する。判定器23は、送信装置1における低速データのnビットのビット列にそれぞれ対応した2のn乗個の変換法則に対する逆変換法則の対応関係に基づいて、特定した逆変換法則に対応するnビットのビット列を低速データとして出力する。
選択器24は、2のn乗個のエラー訂正データより、判定器23で特定された逆変換法則にてエラー訂正処理されたエラー訂正データを高速データとして出力する。
Fig. 13 is a diagram showing a minimum configuration of a receiving device 2 that receives reception data from the transmitting device 1 shown in Fig. 12. The receiving device 2 includes an inverse converter 21, an error corrector 22, a determiner 23, and a selector 24.
The inverse transformer 21 inverse transforms the received data based on each of 2n inverse transformation rules for performing inverse transformation corresponding to the 2n transformation rules of the transmitting device 1, and outputs 2n inverse transformed data.
The error corrector 22 performs error correction processing on each of the 2 n inverse transformed data corresponding to the error correction method used in the transmitting device 1, and outputs the 2 n error corrected data after the error correction processing, as well as the results regarding the 2 n error correction.
The determiner 23 specifies an inverse transformation rule corresponding to the inverse transformation data for which error correction processing was possible, based on the results of the 2 n error corrections. The determiner 23 outputs an n-bit bit string corresponding to the specified inverse transformation rule as low-speed data, based on the correspondence relationship of the inverse transformation rule to the 2 n transformation rules corresponding to each n-bit bit string of the low-speed data in the transmitting device 1.
The selector 24 selects the error correction data that has been subjected to error correction processing according to the inverse transformation rule specified by the determiner 23 from the 2 n error correction data, and outputs the error correction data as high-speed data.

以上、送信装置1、受信装置2を、上述した模範的な実施の形態に適用した例として説明した。しかしながら、送信装置1、受信装置2の技術的範囲は、上述した各実施の形態に記載した範囲には限定されない。当業者には、係る実施の形態に対して多様な変更または改良を加えることが可能であることは明らかである。そのような場合、係る変更または改良を加えた新たな実施の形態も、送信装置1、受信装置2の技術的範囲に含まれ得る。 The above describes an example in which the transmitting device 1 and the receiving device 2 are applied to the exemplary embodiment described above. However, the technical scope of the transmitting device 1 and the receiving device 2 is not limited to the scope described in each of the above-mentioned embodiments. It is clear to those skilled in the art that various modifications or improvements can be made to such embodiments. In such cases, new embodiments incorporating such modifications or improvements may also be included in the technical scope of the transmitting device 1 and the receiving device 2.

1・・・送信装置
11・・・エラー訂正符号化器
12・・・変換器
2・・・受信装置
21・・・逆変換器
22・・・エラー訂正器
22-0・・・エラー訂正器0
22-1・・・エラー訂正器1
23・・・判定器
24・・・選択器
1: Transmitter 11: Error correction encoder 12: Converter 2: Receiving device 21: Inverse converter 22: Error corrector 22-0: Error corrector 0
22-1...Error corrector 1
23: Deciding device 24: Selecting device

Claims (9)

送信単位のデータを変換するための変換法則で、低速データのnビットのビット列にそれぞれ対応する2のn乗個の前記変換法則であって、かつ、前記2のn乗個の変換法則がそれぞれ異なる前記変換法則を備え、エラー訂正の処理単位となる高速データに該高速データのエラー訂正符号が含まれた送信単位のデータを、前記低速データのnビットのビット列に対応する前記変換法則に基づき変換して送信データを生成する変換器
を備え、
前記送信データの送信開始前に前記高速データと前記低速データの送信レートに関連する前記高速データと前記低速データの送信ルールを受信装置と交換する、
送信装置。
a converter for converting data in a transmission unit, the conversion rules being 2 n in number corresponding to n-bit bit strings of low-speed data, and the 2 n conversion rules being different from one another, the converter converting data in a transmission unit, in which high-speed data serving as a processing unit for error correction includes an error correction code of the high-speed data, based on the conversion rules corresponding to the n-bit bit string of the low-speed data to generate transmission data;
exchanging, with a receiving device, a transmission rule for the high-speed data and the low-speed data, which is related to a transmission rate of the high-speed data and the low-speed data, before starting transmission of the transmission data;
Transmitting device.
前記変換器において、前記nビットは1ビットであり、前記変換法則として前記1ビットのビット値に対応する2個の変換法則を備える
請求項1に記載の送信装置。
The transmitting device according to claim 1 , wherein in the converter, the n bits are 1 bit, and the converter comprises, as the conversion rules, two conversion rules corresponding to a bit value of the 1 bit.
前記変換器において、前記2個の変換法則の一方は前記送信単位のデータの全ビット反転であり、前記2個の変換法則の他方は前記送信単位のデータの全ビット非反転である、
請求項2に記載の送信装置。
In the converter, one of the two conversion rules is a bit inversion of all bits of the data of the transmission unit, and the other of the two conversion rules is a bit non-inversion of all bits of the data of the transmission unit.
The transmitting device according to claim 2.
エラー訂正の処理単位となる高速データに該高速データのエラー訂正符号が含まれた送信単位のデータを生成するエラー訂正符号化器をさらに備え、
前記変換器は、前記エラー訂正符号化器により生成された前記送信単位のデータより前記送信データを生成する
請求項1から請求項3のいずれか1項に記載の送信装置。
The error correction coder generates data in units of transmission, the data including an error correction code for the high-speed data, the high-speed data being a unit of error correction processing.
The transmitting device according to claim 1 , wherein the converter generates the transmission data from the data of the transmission unit generated by the error correction encoder.
請求項1に記載の送信装置より送信されたデータを受信する受信装置であって、
前記送信装置の2のn乗個の変換法則にそれぞれ対応して逆変換をするための2のn乗個の逆変換法則のそれぞれに基づいて受信データを逆変換し、2のn乗個の逆変換データを出力する逆変換器と、
前記2のn乗個の逆変換データのそれぞれを、前記送信装置で用いられたエラー訂正方法に対応したエラー訂正処理を行い、エラー訂正処理後の2のn乗個のエラー訂正データを出力するとともに、2のn乗個のエラー訂正に関する結果を出力するエラー訂正器と、
前記2のn乗個のエラー訂正に関する結果から、エラー訂正処理可能であった前記逆変換データに対応する逆変換法則を特定し、前記送信装置における低速データのnビットのビット列にそれぞれ対応した2のn乗個の変換法則に対する逆変換法則の対応関係に基づいて、前記特定した逆変換法則に対応する前記nビットのビット列を低速データとして出力する判定器と、
前記2のn乗個のエラー訂正データより、前記判定器で特定された逆変換法則にてエラー訂正処理されたエラー訂正データを高速データとして出力する選択器と、
を備え、
前記送信されたデータの受信開始前に前記高速データと前記低速データの送信レートに関連する前記高速データと前記低速データの送信ルールを送信装置と交換する、
受信装置。
A receiving device for receiving data transmitted from the transmitting device according to claim 1,
an inverse converter that inversely converts received data based on 2 n inverse conversion rules for performing inverse conversion corresponding to the 2 n conversion rules of the transmitting device, and outputs 2 n inverse conversion data;
an error corrector that performs an error correction process on each of the 2 n inverse transformed data in accordance with an error correction method used in the transmitting device, outputs the 2 n error corrected data after the error correction process, and outputs a result of the 2 n error correction;
a decision unit which, based on the result of the 2 n error correction, identifies an inverse transformation law corresponding to the inverse transformation data which has been error-corrected, and outputs the n-bit bit string corresponding to the identified inverse transformation law as low-speed data based on a correspondence relationship between the inverse transformation law and the 2 n transformation laws which respectively correspond to the n-bit bit string of the low-speed data in the transmitting device;
a selector for selecting the error correction data that has been subjected to error correction processing using the inverse transformation rule specified by the determiner, and outputting the error correction data as high-speed data;
Equipped with
exchanging, with a transmitting device, a transmission rule for the high-speed data and the low-speed data, which is related to a transmission rate of the high-speed data and the low-speed data, before starting to receive the transmitted data;
Receiving device.
請求項2に記載の送信装置より送信されたデータを受信する受信装置であって、
前記送信装置の2個の変換法則にそれぞれ対応して逆変換をするための2個の逆変換法則のそれぞれに基づいて受信データを逆変換し、2個の逆変換データを出力する逆変換器と、
前記2個の逆変換データのそれぞれを、前記送信装置で用いられたエラー訂正方法に対応したエラー訂正処理を行い、エラー訂正処理後の2個のエラー訂正データを出力するとともに、2個のエラー訂正に関する結果を出力するエラー訂正器と、
前記2個のエラー訂正に関する結果から、エラー訂正処理が可能であった前記逆変換データに対応する逆変換法則を特定し、前記送信装置における低速データの1ビットのビット値にそれぞれ対応した2個の変換法則に対する逆変換法則の対応関係に基づき、前記特定した逆変換法則に対応するビット値を低速データとして出力する判定器と、
前記2個のエラー訂正データより、前記判定器で特定された逆変換法則にてエラー訂正処理されたエラー訂正データを高速データとして出力する選択器と、
を備える受信装置。
A receiving device for receiving data transmitted from the transmitting device according to claim 2,
an inverse converter that inversely converts received data based on two inverse conversion rules for inverse conversion corresponding to the two conversion rules of the transmitting device, respectively, and outputs two inverse conversion data;
an error corrector that performs an error correction process on each of the two inverse transformed data in accordance with an error correction method used in the transmitting device, and outputs two pieces of error corrected data after the error correction process, and outputs a result of the two error corrections;
a determiner for determining an inverse transformation rule corresponding to the inverse transformation data for which error correction processing has been possible based on the results of the two error corrections, and outputting a bit value corresponding to the determined inverse transformation rule as the low-speed data based on a correspondence relationship between the inverse transformation rule and two transformation rules each corresponding to a bit value of one bit of the low-speed data in the transmitting device;
a selector for selecting the error correction data that has been subjected to error correction processing based on the inverse transformation rule specified by the determiner, and outputting the error correction data as high-speed data;
A receiving device comprising:
請求項3に記載の送信装置より送信されたデータを受信する受信装置であって、
受信データの全ビット反転を行う逆変換器と、
前記受信データ、および、前記全ビット反転を行った受信データに対して、前記送信装置で用いられたエラー訂正方法に対応したエラー訂正処理を行い、エラー訂正処理後の2個のエラー訂正データを出力するとともに、2個のエラー訂正に関する結果を出力するエラー訂正器と、
前記2個のエラー訂正に関する結果から、エラー訂正のない、もしくは、エラー訂正可能であった前記エラー訂正データを特定し、前記送信装置における低速データの1ビットのビット値に対応した全ビット反転、全ビット非反転の2つの変換法則に対する逆変換法則の対応関係に基づき、前記特定したエラー訂正データの前記逆変換法則に対応するビット値を低速データとして出力する判定器と、
前記2個のエラー訂正データより、前記判定器で特定されたエラー訂正データを高速データとして出力する選択器と、
を備える受信装置。
A receiving device for receiving data transmitted from the transmitting device according to claim 3,
an inverse converter that performs bit inversion of received data;
an error corrector that performs an error correction process corresponding to an error correction method used in the transmitting device on the received data and the received data on which all bits have been inverted, and outputs two pieces of error-corrected data after the error correction process, and outputs results related to the two error corrections;
a determiner for identifying the error-corrected data that has not been subjected to error correction or that has been subjected to error correction from the results of the two error corrections, and outputting a bit value corresponding to the inverse conversion law of the identified error-corrected data as low-speed data based on a correspondence relationship between an inverse conversion law and two conversion laws, namely, full bit inversion and full bit non-inversion, corresponding to a bit value of one bit of the low-speed data in the transmitting device;
a selector for outputting the error correction data identified by the determiner as high-speed data from the two error correction data;
A receiving device comprising:
送信単位のデータを変換するための変換法則で、低速データのnビットのビット列にそれぞれ対応する2のn乗個の前記変換法則であって、かつ、前記2のn乗個の変換法則がそれぞれ異なる前記変換法則を備え、
エラー訂正の処理単位となる高速データに該高速データのエラー訂正符号が含まれた送信単位のデータを、前記低速データのnビットのビット列に対応する前記変換法則に基づき変換して送信データを生成する
送信方法であって、
前記送信データの送信開始前に前記高速データと前記低速データの送信レートに関連する前記高速データと前記低速データの送信ルールを受信装置と交換する、
送信方法。
A conversion rule for converting data in a transmission unit includes 2 n conversion rules each corresponding to an n-bit bit string of low-speed data, and the 2 n conversion rules are different from each other;
A transmission method for generating transmission data by converting data of a transmission unit, the data being high-speed data serving as a processing unit for error correction and including an error correction code of the high-speed data, based on the conversion rule corresponding to a bit string of n bits of the low-speed data, the method comprising:
exchanging, with a receiving device, a transmission rule for the high-speed data and the low-speed data, which is related to a transmission rate of the high-speed data and the low-speed data, before starting transmission of the transmission data;
Transmission method.
請求項8に記載の送信方法より送信されたデータを受信する受信方法であって、
前記送信方法の2のn乗個の変換法則にそれぞれ対応して逆変換をするための2のn乗個の逆変換法則のそれぞれに基づいて受信データを逆変換し、2のn乗個の逆変換データを出力し、
前記2のn乗個の逆変換データのそれぞれを、前記送信方法で用いられたエラー訂正方法に対応したエラー訂正処理を行い、エラー訂正処理後の2のn乗個のエラー訂正データを出力するとともに、2のn乗個のエラー訂正に関する結果を出力し、
前記2のn乗個のエラー訂正に関する結果から、エラー訂正処理可能であった前記逆変換データに対応する逆変換法則を特定し、前記送信方法における低速データのnビットのビット列にそれぞれ対応した2のn乗個の変換法則に対する逆変換法則の対応関係に基づいて、前記特定した逆変換法則に対応する前記nビットのビット列を低速データとして出力し、
前記2のn乗個のエラー訂正データより、前記特定された逆変換法則にてエラー訂正処理されたエラー訂正データを高速データとして出力する、
受信方法であって、
前記送信されたデータの受信開始前に前記高速データと前記低速データの送信レートに関連する前記高速データと前記低速データの送信ルールを送信装置と交換する、
受信方法。
A receiving method for receiving data transmitted by the transmitting method according to claim 8, comprising the steps of:
inversely transforming the received data based on 2n inverse transformation rules for performing inverse transformation corresponding to the 2n transformation rules of the transmission method, respectively, and outputting 2n inverse transformed data;
performing an error correction process corresponding to the error correction method used in the transmission method on each of the 2 n inverse transformed data, outputting the 2 n error corrected data after the error correction process, and outputting the results of the 2 n error correction;
From the result of the 2 n error correction, an inverse transformation rule corresponding to the inverse transformation data for which error correction processing was possible is identified, and based on a correspondence relationship of the inverse transformation rule to the 2 n transformation rules corresponding to each n-bit bit string of the low-speed data in the transmission method, the n-bit bit string corresponding to the identified inverse transformation rule is output as low-speed data;
outputting error-corrected data that has been subjected to error correction processing based on the specified inverse transformation rule from the 2 n error-corrected data as high-speed data;
A receiving method, comprising:
exchanging, with a transmitting device, a transmission rule for the high-speed data and the low-speed data, which is related to a transmission rate of the high-speed data and the low-speed data, before starting to receive the transmitted data;
Receiving method.
JP2020038839A 2020-03-06 2020-03-06 Transmitting device, receiving device, transmitting method, and receiving method Active JP7540166B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020038839A JP7540166B2 (en) 2020-03-06 2020-03-06 Transmitting device, receiving device, transmitting method, and receiving method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020038839A JP7540166B2 (en) 2020-03-06 2020-03-06 Transmitting device, receiving device, transmitting method, and receiving method

Publications (2)

Publication Number Publication Date
JP2021141489A JP2021141489A (en) 2021-09-16
JP7540166B2 true JP7540166B2 (en) 2024-08-27

Family

ID=77669163

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020038839A Active JP7540166B2 (en) 2020-03-06 2020-03-06 Transmitting device, receiving device, transmitting method, and receiving method

Country Status (1)

Country Link
JP (1) JP7540166B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1993021709A1 (en) 1992-04-10 1993-10-28 Ericsson Ge Mobile Communications Inc. Multiple access coding for radio communications
WO1998059451A1 (en) 1997-06-20 1998-12-30 Mitsubishi Denki Kabushiki Kaisha Method and device for variable-speed transmission
JP2007202070A (en) 2006-01-30 2007-08-09 Kyocera Corp Wireless communication apparatus and wireless communication method
JP2008048111A (en) 2006-08-15 2008-02-28 Fujitsu Ltd Communications system
US20110182424A1 (en) 2010-01-28 2011-07-28 Cleversafe, Inc. Sequencing encoded data slices
JP2011182419A (en) 2005-08-23 2011-09-15 Sony Corp Data packet type recognition system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4261054A (en) * 1977-12-15 1981-04-07 Harris Corporation Real-time adaptive power control in satellite communications systems
US6744746B1 (en) * 2000-07-31 2004-06-01 Cyntrust Communications, Inc. System and method for communicating additional data in a data communications system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1993021709A1 (en) 1992-04-10 1993-10-28 Ericsson Ge Mobile Communications Inc. Multiple access coding for radio communications
WO1998059451A1 (en) 1997-06-20 1998-12-30 Mitsubishi Denki Kabushiki Kaisha Method and device for variable-speed transmission
JP2011182419A (en) 2005-08-23 2011-09-15 Sony Corp Data packet type recognition system
JP2007202070A (en) 2006-01-30 2007-08-09 Kyocera Corp Wireless communication apparatus and wireless communication method
JP2008048111A (en) 2006-08-15 2008-02-28 Fujitsu Ltd Communications system
US20110182424A1 (en) 2010-01-28 2011-07-28 Cleversafe, Inc. Sequencing encoded data slices

Also Published As

Publication number Publication date
JP2021141489A (en) 2021-09-16

Similar Documents

Publication Publication Date Title
JP2715900B2 (en) Parallel data transmission equipment
CN104601275B (en) Method, encoder, decoder and communication system for encoding data
US20240364455A1 (en) Sending method, receiving method, apparatus, system, device, and storage medium
CN106210749A (en) Decoding device, information transmission system and coding/decoding method
CN115037415A (en) Error correction coding method, device and terminal based on CRC
CN101493804B (en) Data bus system, coder/decoder thereof and coding/decoding method
JP7540166B2 (en) Transmitting device, receiving device, transmitting method, and receiving method
US20050066258A1 (en) Error decoding circuit, data bus control method and data bus system
JP3237700B2 (en) Error detection method and error detection system
CN101771497A (en) Signal transmitting method and device
JPH10164031A (en) Wireless packet communication device
CN113938242A (en) Retransmission method and communication device
US8750423B2 (en) Receiving apparatus, data transfer apparatus, data receiving method and non-transitory computer readable recording medium
JP7142977B1 (en) Data communication system, transmitter and receiver
TWI430585B (en) Block code decoding method and device thereof
JP3059305B2 (en) Transmission error detection method and transmission system using the same
KR20230050256A (en) Data encoding method, encoder, and data decoding method
CN111277830A (en) Encoding method, decoding method and device
CN115037414A (en) Error correction decoding method, device and terminal based on CRC
CN116470921A (en) Method and system for error control coding on ASIC
JP2017175495A (en) Transmitter, receiver, communication system, method and program
CN118353966B (en) A data transmission method, data transmission device and related device
CN102571268B (en) Receiving apparatus and data transmission apparatus
US20250294410A1 (en) First communication apparatus, second communication apparatus, and communication system
KR20020033227A (en) Circuit for parallel cyclic redundancy check in data communication

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230208

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240130

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240220

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240402

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20240408

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240514

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240617

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: 20240716

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240729

R150 Certificate of patent or registration of utility model

Ref document number: 7540166

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150