JP2021141489A - 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
JP2021141489A
JP2021141489A JP2020038839A JP2020038839A JP2021141489A JP 2021141489 A JP2021141489 A JP 2021141489A JP 2020038839 A JP2020038839 A JP 2020038839A JP 2020038839 A JP2020038839 A JP 2020038839A JP 2021141489 A JP2021141489 A JP 2021141489A
Authority
JP
Japan
Prior art keywords
data
error correction
error
speed data
conversion
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.)
Pending
Application number
JP2020038839A
Other languages
Japanese (ja)
Inventor
雅裕 新井
Masahiro Arai
雅裕 新井
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/JP2021141489A/en
Publication of JP2021141489A publication Critical patent/JP2021141489A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

To make it possible to restore two types of data even if an error occurs during transmission of the two types of data that can be transmitted at different transmission speeds.SOLUTION: A transmitting device 1 includes conversion laws for converting the data of a transmission unit, which are n power of 2 conversion laws corresponding to each n-bit bit string of low-speed data, and each n power of 2 conversion law is different from the other. The transmitting device 1 includes a converter 12, which converts the data of the transmission unit, which is a processing unit for error correction and contains the error correction code of high-speed data on the basis of a conversion law corresponding to the n-bit string of low-speed data to generate transmission data.SELECTED DRAWING: Figure 7

Description

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

装置間の通信において、性質の異なる情報、例えば、他装置に送る実データと、装置の状態情報に関するデータ、を1つの伝送媒体にて送る必要が生じる場合がある。このような場合、通常、実データの送信量と状態情報のデータの送信量には大きな違いがあることが一般的である。そのため、実データの送信においては高速での送信速度が必要になる一方、状態情報に関するデータ送信では実データでの送信速度に比べ低速での送信速度で十分なことがある。 In communication between devices, it may be necessary to send information having different properties, for example, actual data to be sent to another device and data related to state information of the device in one transmission medium. In such a case, it is common that there is usually a large difference between the amount of actual data transmitted and the amount of state information data transmitted. Therefore, while the transmission speed of the actual data is required to be high, the transmission speed of the data related to the state information may be sufficient at a lower speed than the transmission speed of the actual data.

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

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

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

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

ところで、特許文献2の反転指示信号は、64ビット幅のデータの極性反転に関する情報であり、前述の高速データに対する低速データという関係ではない。特許文献1に開示の送信方法では、前述の高速データに対して低速データを重畳して送信しようとするものであるが、データ伝送時にエラーが発生した場合、本来のCMIで符号化したデータも、低速データも復元できなくなってしまう問題がある。
そこでこの発明は、上記課題を解決する送信装置、受信装置、送信方法、および、受信方法を提供することを目的としている。
By the way, the inversion instruction signal of Patent Document 2 is information regarding polarity inversion of data having a width of 64 bits, and is not related to low-speed data with respect to the above-mentioned high-speed data. The transmission method disclosed in Patent Document 1 attempts to superimpose low-speed data on the high-speed data described above and transmit the data. However, if an error occurs during data transmission, the data encoded by the original CMI may also be transmitted. However, there is a problem that slow data cannot be restored.
Therefore, 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 the first aspect of the present invention, the transmission device is a conversion law for converting data in a transmission unit, and is the conversion law of 2 to the nth power corresponding to each n-bit bit string of low-speed data. Moreover, the data of the transmission unit in which the error correction code of the high-speed data is included in the high-speed data which is the processing unit of error correction and has the conversion law in which the n-th power conversion law of 2 is different from each other is described. A converter for generating transmission data by converting based on the conversion law corresponding to an n-bit bit string of low-speed data is provided.

本発明の第2の態様によれば、第1の態様に記載の送信装置より送信されたデータを受信する受信装置は、前記送信装置の2のn乗個の変換法則にそれぞれ対応して逆変換をするための2のn乗個の逆変換法則のそれぞれに基づいて受信データを逆変換し、2のn乗個の逆変換データを出力する逆変換器と、前記2のn乗個の逆変換データのそれぞれを、前記送信装置で用いられたエラー訂正方法に対応したエラー訂正処理を行いて、エラー訂正処理後の2のn乗個のエラー訂正データを出力するとともに、2のn乗個のエラー訂正に関する結果を出力するエラー訂正器と、前記2のn乗個のエラー訂正に関する結果から、エラー訂正処理可能であった前記逆変換データに対応する逆変換法則を特定し、前記送信装置における低速データのnビットのビット列にそれぞれ対応した2のn乗個の変換法則に対する逆変換法則の対応関係に基づいて、前記特定した逆変換法則に対応する前記nビットのビット列を低速データとして出力する判定器と、前記2のn乗個のエラー訂正データより、前記判定器で特定された逆変換法則にてエラー訂正処理されたエラー訂正データを高速データとして出力する選択器と、を備える。 According to the second aspect of the present invention, the receiving device that receives the data transmitted from the transmitting device according to the first aspect reverses each of the two nth power conversion rules of the transmitting device. A reverse converter that reverse-converts received data based on each of the 2 n-th power inverse conversion rules for conversion and outputs 2 n-th power inverse conversion data, and the above-mentioned 2 n-th power inverse converter. Each of the inverse conversion data is subjected to error correction processing corresponding to the error correction method used in the transmission device, and 2 to the nth power error correction data after the error correction processing is output, and 2 to the nth power is output. From the error corrector that outputs the results related to the number of error corrections and the result related to the nth power error correction of 2, the inverse conversion rule corresponding to the inverse conversion data that could be error-corrected is specified, and the transmission is performed. Based on the correspondence of the inverse conversion law to the conversion law of 2 to the nth power corresponding to the n-bit bit string of the low-speed data in the device, the n-bit bit string corresponding to the specified inverse conversion law is used as the low-speed data. It is provided with a determination device to output, and a selector to output error correction data processed by the inverse conversion law specified by the determination device as high-speed data from the 2 nth power error correction data. ..

本発明の第3の態様によれば、送信方法は、送信単位のデータを変換するための変換法則で、低速データのnビットのビット列にそれぞれ対応する2のn乗個の前記変換法則であって、かつ、前記2のn乗個の変換法則がそれぞれ異なる前記変換法則を備え、エラー訂正の処理単位となる高速データに該高速データのエラー訂正符号が含まれた送信単位のデータを、前記低速データのnビットのビット列に対応する前記変換法則に基づき変換して送信データを生成する。 According to the third aspect of the present invention, the transmission method is a conversion law for converting data in a transmission unit, and is the conversion law of 2 to the nth power corresponding to each n-bit bit string of low-speed data. Moreover, the data of the transmission unit in which the error correction code of the high-speed data is included in the high-speed data which is the processing unit of error correction and has the conversion law in which the n-th power conversion law of 2 is different from each other is described. Transmission data is generated by conversion based on the conversion law corresponding to the n-bit bit string of low-speed 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 the fourth aspect of the present invention, it is a receiving method for receiving the data transmitted by the transmitting method described in the third aspect, and corresponds to the conversion law of 2 to the nth power of the transmitting method. The received data is inversely converted based on each of the 2 n-th power inverse conversion rules for performing the inverse conversion, and the 2 n-th power inverse conversion data is output, and the 2 n-th power inverse conversion is performed. Each piece of data is subjected to error correction processing corresponding to the error correction method used in the transmission method, and 2 nth power error correction data after the error correction processing is output, and 2 nth power pieces of data are output. The result related to the error correction is output, and from the result related to the nth power of the error correction, the inverse conversion rule corresponding to the inverse conversion data that can be error-corrected is specified, and n of the low-speed data in the transmission method. Based on the correspondence of the inverse conversion law to the conversion law of 2 to the nth power corresponding to each bit string of the bits, the n-bit bit string corresponding to the specified inverse conversion law is output as low-speed data, and the above 2 From the n-th power error correction data, the error correction data that has been error-corrected according to the inverse conversion law specified by the determination is output as high-speed data.

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

本発明の一実施形態による送信装置の構成の概要を示す図である。It is a figure which shows the outline of the structure of the transmission device by one Embodiment of this invention. 本発明の一実施形態による受信装置の構成の概要を示す図である。It is a figure which shows the outline of the structure of the receiving apparatus by one Embodiment of this invention. 本発明の一実施形態による送信装置の動作を示す図である。It is a figure which shows the operation of the transmission device by one Embodiment of this invention. 本発明の一実施形態による送信装置による送信データの処理の一例を示す図である。It is a figure which shows an example of the processing of the transmission data by the transmission apparatus by one Embodiment of this invention. 本発明の一実施形態による受信装置の動作を示す図である。It is a figure which shows the operation of the receiving apparatus by one Embodiment of this invention. 本発明の一実施形態による受信装置による受信データの処理の一例を示す図である。It is a figure which shows an example of the processing of the received data by the receiving device by one Embodiment of this invention. 本発明の他の実施形態による送信装置の構成の概要を示す図である。It is a figure which shows the outline of the structure of the transmission device by another embodiment of this invention. 本発明の他の実施形態による送信装置の動作を示す図である。It is a figure which shows the operation of the transmission device by another embodiment of this invention. 本発明の他の実施形態による受信装置の構成の概要を示す図である。It is a figure which shows the outline of the structure of the receiving apparatus by another embodiment of this invention. 本発明の他の実施形態による受信装置の動作を示す図である。It is a figure which shows the operation of the receiving apparatus by another embodiment of this invention. 本発明の一実施形態による送信装置、受信装置のハードウェア構成の一例を示す図である。It is a figure which shows an example of the hardware composition of the transmission device and the receiving device by one Embodiment of this invention. 本発明の一実施形態による送信装置の最小構成図を示す図である。It is a figure which shows the minimum block diagram of the transmission device by one Embodiment of this invention. 本発明の一実施形態による受信装置の最小構成図を示す図である。It is a figure which shows the minimum block diagram of the receiving apparatus by one Embodiment of this invention.

以下、本発明の一実施形態による送信装置、受信装置を図面を参照して説明する。図1は、送信装置1の構成の概要を示す図である。以下において、本来、高速で伝送するデータを高速データとし、高速データよりも低速で伝送するデータを低速データとする。 Hereinafter, a transmitting device and a receiving device according to an 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 the transmission device 1. In the following, originally, data transmitted at high speed is referred to as high-speed data, and data transmitted at a lower speed than high-speed data is referred to as low-speed data.

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

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

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

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

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

エラー訂正器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 an error corrector 0.22-0 and an error corrector 1.22-1. The error corrector 0.22-0 and the error corrector 1.22-1 have the same function. The error corrector 0.22-0 and the error corrector 1.22-1 delete the error correction code from the input data, perform error detection and error correction processing using the error correction code, and perform the error correction processing after the processing. Output data. In addition, the error corrector 0.22-0 and the error corrector 1.22-1 also output the results related to the error correction processing such as error detection / correction possible and error detection / correction impossible. The error corrector 0.22-0 performs error correction processing on the received data. On the other hand, the error correctors 1.22-1 perform error correction processing on the output data from the inverse converter 21.

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

選択器24は、判定器23による判定結果に基づき、エラー訂正器0・22−0とエラー訂正器1・22−1とのいずれか一方からの出力を高速データとして出力する。 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 based on the determination result by the determination device 23.

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

処理されるデータの一例として、図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, in the configuration of high-speed data, the data is 8 bytes from B0 to B7, and these 8 bytes are used as the error correction processing unit.
The error correction code is 1-byte error correction, 2-byte error detection, and the error correction code for error correction is 3 bytes from C0 to C2.
Further, when the converter 12 of the transmission device 1 transmits "0" as low-speed data, it outputs data in which all bits of the output from the error correction encoder 11 are non-inverted as transmission data. Further, when transmitting "1" as low-speed data, the converter 12 outputs data in which all bits of the output from the error correction encoder 11 are non-inverted as transmission data.
In FIG. 4, (B0, B1, B2, ... B7, C0, C1, C2) described as transmission data are non-inverted.

Figure 2021141489
Figure 2021141489

は反転を示す。 Indicates inversion.

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

エラー訂正符号化器11は、訂正符号化の処理単位となる高速データの入力を受け、エラー訂正符号則となるエラー訂正、エラー検出に従い、エラー訂正符号を生成する。また、エラー訂正符号化器11は、処理単位となる高速データに対してエラー訂正符号を付加して、送信単位のデータとして出力する(ステップS11)。エラー訂正符号化器11からの送信単位のデータは、変換器12に対して出力される。 The error correction encoder 11 receives the input of high-speed data which is the processing unit of the correction coding, and generates the error correction code according to the error correction and the error detection which are the error correction code rules. Further, the error correction encoder 11 adds an error correction code to the high-speed data as the processing unit and outputs the data as the transmission unit data (step S11). The data of the 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-byte high-speed data (B0, B1, B2, ..., B7) which is a processing unit for correction coding. The error correction encoder 11 generates 3-byte error correction codes (C0, C1, C2) for the input high-speed data according to 1-byte error correction 2-byte error detection which is an error correction code rule. Further, the error correction encoder 11 adds a 3-byte error correction code to the 8-byte high-speed data, and transfers the 11-byte data to 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 or not the bit value of the input low-speed data is “1” (step S12).

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

一方、低速データのビット値が“1”でない場合(ステップS12:NO)、変換器12は、エラー訂正符号化器11からの送信単位のデータをそのまま、送信データとして生成する。そして、送信装置1は、変換器12にて生成された送信データを送信する(ステップS14)。すなわち、変換器12は、エラー訂正符号化器11からの送信単位のデータに対する処理は行わず(全ビット非反転)、エラー訂正符号化器11からの送信単位のデータをそのまま、送信データとする。 On the other hand, when 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 it is as the transmission data. Then, the transmission 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 (all bits are not inverted), and the data of the transmission unit from the error correction encoder 11 is used as the transmission data as it is. ..

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

Figure 2021141489
Figure 2021141489

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

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

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

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

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

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

次に、受信装置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 more specifically with reference to the drawings. FIG. 5 is a diagram showing the operation of the receiving device 2. In the description using FIG. 5, an example of data processing by the receiving device 2 shown in FIG. 6 will be described. In the example of FIG. 6, as in FIG. 4, it is assumed that the high-speed data serving as the error correction processing unit is 8 bytes and the code for error correction is 3 bytes. Further, in the example of FIG. 6, the data from the transmission device 1 is processed as transmission data in units of 11 bytes (8 bytes + 3 bytes). Further, in FIG. 6, it is assumed that transmission data in units of 11 bytes is transmitted from the transmission device from time t 0 to t 11.

受信装置2は、送信装置1からのデータの受信により処理を開始する。 The receiving device 2 starts the process by receiving the 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 performs a process in which the received data of the first system is expected to have a bit value of low-speed data of "0", and the received data of the second system has a bit value of low-speed data of "1". Perform the processing that is expected. That is, the received data of the second system is input to the reverse converter 21, and the reverse converter 21 performs a process of inverting all the bits of the input received data and outputs the data as reverse conversion data (step S21).

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

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

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

逆変換器21からの出力される逆変換データは、エラー訂正器1・22−1に入力される。エラー訂正器1・22−1は、逆変換データに含まれるエラー訂正符号に相当するデータを利用してエラーがあるかどうかを確認するとともに、エラー訂正可能であればエラー訂正をおこなう(ステップS23)。 The reverse conversion data output from the reverse converter 21 is input to the error corrector 1.22-1. The error correctors 1.22-1 use the data corresponding to the error correction code included in the inverse conversion data to check whether there is an error, and if the error can be corrected, correct the error (step S23). ).

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

また、エラー訂正器1・22−1は、エラー訂正データを選択器24に出力する。また、エラー訂正器1・22−1は、訂正可能であったか、訂正不可能であったかを示すエラー情報を判定器23に出力する。 Further, the error correctors 1.22-1 output the error correction data to the selector 24. Further, the error corrector 1.22-1 outputs error information indicating whether the correction was possible or not possible to the determination device 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 the error corrector 0.22-0 and the error corrector 1.22-1, the judgment device 23 identifies which error corrector the correctable error does not occur and corrects it. Information indicating an error corrector on the possible side is output to the selector 24 path. Further, the determination device 23 outputs a bit value of low-speed data based on the specific result (step S24). That is, if the error corrector 0.22-0 can correct the error corrector 23, the determination device 23 sets "0" as the bit value of the low-speed data, and the error corrector 1.22-1 can correct the bit value. For example, "1" is output as a bit value of low-speed data.

図6の例では、エラー訂正器0・22−0(ECC0)からのエラー訂正データにおいて、エラー訂正できなかった8バイトのエラー訂正データを黒く示している。また、エラーなしあるいはエラーの検出がされたが訂正できた場合の8バイトのエラー訂正データを白く示している。
同様に、エラー訂正器1・22−1(ECC1)からのエラー訂正データにおいて、エラー訂正できなかった8バイトのエラー訂正データを黒く示している。また、エラーなしあるいはエラーの検出がされたが訂正できた場合の8バイトのエラー訂正データを白く示している。
In the example of FIG. 6, in the error correction data from the error corrector 0.22-0 (ECC0), the 8-byte error correction data that could not be error-corrected is shown in black. In addition, 8-byte error correction data when there is no error or when an error is detected but can be corrected is shown in white.
Similarly, in the error correction data from the error corrector 1.22-1 (ECC1), the 8-byte error correction data that could not be error-corrected is shown in black. In addition, 8-byte error correction data when there is no error or when an error is detected but can be corrected is 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 the times t0 and t1 in FIG. 6, the error corrector 0.22-0 was able to correct the error. Therefore, at the times t0 and t1, the judgment device 23 sets “0” as the bit value of the low-speed data. Output. At times t2 to t6, the error corrector 1.22-1 was able to correct the error, so the judgment device 23 was set to the time. At times t2 to t6, "1" is output as a bit value of low-speed data. Further, since error correction was possible with the error corrector 0.22-0 from time t7 to t11, the judgment device 23 outputs "0" as a bit value of low-speed data from time t7 to t11, respectively. do.

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

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

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

なお、図6では、送信装置1は、高速データ8バイトに対して、低速データ1ビットを送信する場合における受信装置2の動作を例として説明した。送信データの送信速度に対して、低速データの送信速度がさらに遅くてもよい場合、予め決められた送信ルールに従い、受信装置2の判定器23は、低速データのビット出力を行ってもよい。この場合、送信装置1、受信装置2は、データの送受信開始前に、高速データと低速データの送信レート、あるいは、高速データと低速データの送信レートの比に関する情報などの送信ルールの交換を行なってもよい。 Note that, in FIG. 6, the transmitting device 1 has described the operation of the receiving device 2 when transmitting 1 bit of low-speed data to 8 bytes of high-speed data as an example. When the transmission speed of low-speed data may be slower than the transmission speed of transmission data, the determination device 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 exchange transmission rules such as information on the transmission rate of high-speed data and low-speed data or the ratio of the transmission rate of high-speed data and low-speed data before starting transmission / reception of data. You may.

図6では、伝送においてエラーが発生しない、あるいは、伝送でエラーがあってもエラー訂正の能力範囲、つまり、1バイトエラーである場合における受信装置2の動作として説明を行った。 In FIG. 6, an explanation has been made as an operation of the receiving device 2 in the case where an error does not occur in transmission, or even if there is an error in transmission, the error correction capability range, that is, a 1-byte error.

伝送で2バイト以上のエラーが発生した場合、何れのエラー訂正器においても訂正不可能なエラーになる。この場合、判定器23は、何れかの側のデータを高速データとして出力するような情報を選択器24に出力して、高速データを得るようにする。また、判定器23は、低速データも何れかのデータを出力する。受信装置2から出力される高速データおよび低速データは、誤ったデータであるが、これは、低速データを伝送したから発生したものでなく、発生すべくして発生したエラー訂正器の訂正能力を超えるエラーである。このようなエラーは、受信装置2に含まれる図示しない後段の回路にて、再送依頼の処理等、通常の受信装置におけるエラーデータの処理を行い得る。 If an error of 2 bytes or more occurs in transmission, an error that cannot be corrected by any error corrector will occur. In this case, the determination device 23 outputs information that outputs data on either side as high-speed data to the selector 24 so as to obtain high-speed data. Further, the determination device 23 outputs any 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 caused by transmitting the low-speed data, and exceeds the correction capability of the error corrector generated to occur. It is an error. For such an error, an error data process in a normal receiving device such as a retransmission request process can be performed in a subsequent circuit (not shown) included in the receiving device 2.

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

さらに、低速データのビット値が“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", the "conversion rule 0" for converting the data is applied to the transmission data, and when the bit value is "1", the data is sent to the transmission data. You may apply "conversion rule 1" for conversion. In this case, it is assumed that "conversion law 0" and "conversion law 1" are different conversion laws. In this case, the converter 12 of the transmission device 1 applies to the data output from the error correction encoder 11 according to the "conversion law 0" or the "conversion law 1" according to the bit value of the low-speed data. Perform conversion processing. In this case, the receiving device 2 has a "reverse converter 0" that performs the reverse conversion of the "conversion law 0" on the received data and a "reverse converter 0" that performs the reverse conversion of the "conversion law 0" on the received data. 1 ”is provided. Then, the data from the "inverse converter 0" is input to the error corrector 0.22-0 and processed, and the data from the "inverse converter 1" is input to the error corrector 1.22-1. Is processed.

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

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

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

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

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

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

スイッチ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との接続(選択)処理を行う。 The switch 12a performs a process of inputting the data output from the error correction encoder 11 to any of the converters based on the n-bit value of the low-speed data. For example, when n bits are 2 bits, the converter 12 includes 4 converters which are 2 squared. The switch 12a is connected to the converter 1.12-1 when the 2-bit value is "00", to the converter 2 / 12-2 when the 2-bit value is "01", and to the converter 2 / 12-2 when the 2-bit value is "10". The converters 3 and 12-3, and in the case of "11", the converters 4 and 12-4 are connected (selected) to the error correction encoder 11.

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

エラー訂正符号化器11は、訂正符号化の処理単位となる高速データの入力を受け、エラー訂正符号則となるエラー訂正、エラー検出に従い、エラー訂正符号を生成する。また、エラー訂正符号化器11は、処理単位となる高速データに対してエラー訂正符号を付加して、送信単位のデータとして出力する(ステップS31)。エラー訂正符号化器11からの送信単位のデータは、変換器12に対して出力される。 The error correction encoder 11 receives the input of high-speed data which is the processing unit of the correction coding, and generates the error correction code according to the error correction and the error detection which are the error correction code rules. Further, the error correction encoder 11 adds an error correction code to the high-speed data as the processing unit and outputs the data as the transmission unit data (step S31). The data of 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 the converter corresponding to the n-bit bit string of the input low-speed data and the error correction encoder 11. , The converter is connected (selected) (step S32).

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

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

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

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

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

図9は、nビットを単位として低速データの再構成を行う受信装置2の構成の概要を示す図である。受信装置2は、受信データを入力、処理することで、高速データ、および、nビットの低速データの再構成を順次行い、出力する。受信装置2は、逆変換器21、エラー訂正器22、判定器23、選択器24を備える。 FIG. 9 is a diagram showing an outline of the configuration of the receiving device 2 that reconstructs low-speed data in units of n bits. By inputting and processing the received data, the receiving device 2 sequentially reconstructs the high-speed data and the n-bit low-speed data and outputs the data. The receiving device 2 includes an inverter 21, an error corrector 22, a determining device 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 inverter 21 includes 2 nth-th root inverse converters 1.21-1, inverse converters 2.21-2, ... Inverter 2 n / 21-2 n . Each of the 2 nth root inverse converters is assigned 2 nth root inverse conversion rules for performing inverse transformation corresponding to the 2 nth root conversion law of the transmitter 1. The nth-th root inverse converters of 2 perform the inverse transformation processing of the received data according to the assigned inverse transformation law. The reverse converter 21 receives the input of the received data and outputs 2 nth power reverse conversion data in which different reverse conversions have been performed.

エラー訂正器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 squared error correctors 1.22-1, error correctors 2.22-2, ..., Error correctors 2 n and 22-2 n . Each of the 2 nth root error correctors has the same function. The 2 squared error correctors are 2 nth power inverse converters 1.21-1, inverse converters 2.21-2, ... Inverter 2 n・ 21-2 n , respectively. Be connected. The n-th power error corrector of 2 deletes the error correction code for each input data, performs error detection and error correction processing using the error correction code, and outputs the processed data. In addition, 2 to the nth power of the error corrector also outputs information on the results related to the error correction processing such as error detection / error correction possible and error detection / correction impossible, respectively.

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

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

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

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

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

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

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

選択器24は、判定器からの特定結果から、訂正可能であったエラー訂正器からの入力を、高速データとして出力する(ステップS44)。 The selector 24 outputs the input from the error corrector that could be corrected from the specific result from the determination device 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, when the n-bit is 2 bits, the converter 12 of the transmission device 1 converts the 2-bit value to the converters 1.12-1 when the 2-bit value is “00” and to the converter 1.12-1 when the 2-bit value is “01”. It is assumed that the transducers 2 and 12-2 are selected, the converters 3 and 12-3 are selected in the case of "10", and the converters 4 and 12-4 are selected in the case of "11". The reverse converter 21 of the receiving device 2 includes four reverse converters, a reverse converter 1.21-1, a reverse converter 2.21-2, and a reverse converter 3.21 so as to correspond to each converter. -3, Inverter 4.21-4 shall be provided. In such a case, when the 2-bit value of the low-speed data transmitted from the transmission device 1 is "01", the error correctors 2.22-2 output the information that "correctable". As a result, the determination device 23 outputs "01" as low-speed data (step S43). Further, the selector 24 outputs the error corrector 2.22-2 based on the result that the determination device 23 identifies the error corrector 2.22-2 as an error corrector that was "correctable". The data is output as high-speed data (S44).

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

以上のようにして、受信装置2は、受信データの入力に対して、高速データ、および、低速データの出力を行う。 As described above, the receiving device 2 outputs the high-speed data and the low-speed data in response to the input of the 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 to 8 bytes of high-speed data. When the transmission speed of low-speed data may be slower than the transmission speed of transmission data, the determination device 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 exchange transmission rules such as information on the transmission rate of high-speed data and low-speed data or the ratio of the transmission rate of high-speed data and low-speed data before starting transmission / reception of data. You may.

また、図9において受信装置2は、エラー訂正器22が、2のn乗個のエラー訂正器1・22−1、エラー訂正器2・22−2、エラー訂正器2・22−2を備えるとして説明した。しかし、送信装置1からの送信データの送信速度に対して、受信装置2の処理速度が十分に早い場合、エラー訂正器22は、2のn乗個より少ないエラー訂正器を備えるものであってもよい。この場合、エラー訂正器22内の2のn乗個より少ないエラー訂正器は、1または複数の逆変換器からの出力の処理をするようにしてもよい。 Further, in FIG. 9, in the receiving device 2, the error corrector 22 has 2 nth power error correctors 1.22-1, error correctors 2.22-2, and error correctors 2 n / 22-2 n. It was explained as having. However, when the processing speed of the receiving device 2 is sufficiently faster than the transmitting speed of the transmitted data from the transmitting device 1, the error corrector 22 includes an error corrector 22 less than 2 to the nth power. May be good. In this case, the number of error correctors less than 2 to the nth root in the error corrector 22 may process the output from one or more inverse converters.

図10を用いた受信装置2の動作の説明において、伝送においてエラーが発生しない、あるいは、伝送でエラーがあってもエラー訂正の能力範囲、つまり、1バイトエラーである場合における受信装置2の動作として説明を行った。 In the description of the operation of the receiving device 2 using FIG. 10, the operation of the receiving device 2 when an error does not occur in transmission or there is an error in transmission but there is an error correction capability range, that is, a 1-byte error. It was explained as.

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

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

送信装置1、受信装置2を構成する各処理器は、処理速度を考慮すると、専用の回路により構成することが好ましい。しかし、送受信されるデータに対して、十分に高速な汎用のプロセッサ、メモリ、バス等を用いて、ソフトウェアにより、送信装置1、受信装置2の機能を実現してもよい。そのような場合の送信装置1、受信装置2のハードウェア構成の一例を図11に示す。 Each processor constituting the transmitting device 1 and the receiving device 2 is preferably configured by a dedicated circuit in consideration of the processing speed. 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, or the like that is sufficiently high in speed for the transmitted / received data. FIG. 11 shows an example of the hardware configuration of the transmitting device 1 and the receiving device 2 in such a case.

図11では、送信装置1や受信装置2を実現するための計算機9のほか、ネットワーク81を例示する。計算機9は任意の計算機である。例えば計算機9は、Personal Computer(PC)、サーバマシン、または、タブレット端末などである。計算機9は、送信装置1や受信装置2を実現するために設計された専用の計算機であってもよいし、汎用の計算機であってもよい。 In FIG. 11, in addition to the calculator 9 for realizing the transmitting device 1 and the receiving device 2, the network 81 is illustrated. The computer 9 is an arbitrary computer. For example, the computer 9 is a personal computer (PC), a server machine, a tablet terminal, or the like. The computer 9 may be a dedicated computer designed to realize the transmitting device 1 or 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 processors 92 and the like to each other is not limited to the bus connection. The processor 92 is various processors such as a CPU (Central Processing Unit), a GPU (Graphics Processing Unit), and an FPGA (Field-Programmable Gate Array). The memory 93 is a main storage device realized by using RAM (Random Access Memory) or the like. The storage device 94 is an auxiliary storage device realized by using a hard disk, an SSD (Solid State Drive), a memory card, a ROM (Read Only Memory), or the like.

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

外部インタフェース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 shows a case where the external interface 96 is a network interface and is connected to the network 81, but the present invention is not limited to this. In the case of the figure, this network is, for example, LAN (Local Area Network) or WAN (Wide Area Network). The method of 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 an interface for directly connecting an external device in addition to the network interface. For example, it may be connected to another device by USB (Universal Serial Bus) or IEEE1394.

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

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

図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 diagram of a receiving device 2 that receives received data from the transmitting device 1 shown in FIG. The receiving device 2 includes an inverter 21, an error corrector 22, a determining device 23, and a selector 24.
The inverse converter 21 reversely transforms the received data based on each of the 2 nth inverse transformation rules for performing the inverse transformation corresponding to each of the 2 nth transformation rules of the transmitting device 1. Outputs 2 to the nth power of inverse transformation data.
The error corrector 22 performs error correction processing corresponding to the error correction method used in the transmission device 1 for each of the 2 nth power inverse conversion data, and 2 nth power after the error correction processing. The error correction data is output, and the results related to 2 to the nth power of error correction are output.
The determination device 23 identifies the inverse transformation law corresponding to the inverse transformation data that could be error-corrected from the result of 2 to the nth power of error correction. The determination device 23 determines the n-bits corresponding to the specified inverse transformation law based on the correspondence of the inverse transformation law to the 2 n-th power conversion law corresponding to the n-bit bit string of the low-speed data in the transmission device 1. Output the bit string as low-speed data.
The selector 24 outputs the error correction data that has been error-corrected according to the inverse conversion law specified by the determination device 23 as high-speed data from the 2 nth error correction data.

以上、送信装置1、受信装置2を、上述した模範的な実施の形態に適用した例として説明した。しかしながら、送信装置1、受信装置2の技術的範囲は、上述した各実施の形態に記載した範囲には限定されない。当業者には、係る実施の形態に対して多様な変更または改良を加えることが可能であることは明らかである。そのような場合、係る変更または改良を加えた新たな実施の形態も、送信装置1、受信装置2の技術的範囲に含まれ得る。 The transmission device 1 and the reception device 2 have been described above as examples in which the transmission device 1 and the reception device 2 are applied to the above-described exemplary embodiment. However, the technical scope of the transmitting device 1 and the receiving device 2 is not limited to the range described in each of the above-described embodiments. It will be apparent to those skilled in the art that various changes or improvements can be made to such embodiments. In such a case, a new embodiment with such changes 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 ... Receiver 21 ... Reverse converter 22 ... Error corrector 22-0 ... Error corrector 0
22-1 ... Error corrector 1
23 ... Judgment device 24 ... Selector

Claims (9)

送信単位のデータを変換するための変換法則で、低速データのnビットのビット列にそれぞれ対応する2のn乗個の前記変換法則であって、かつ、前記2のn乗個の変換法則がそれぞれ異なる前記変換法則を備え、エラー訂正の処理単位となる高速データに該高速データのエラー訂正符号が含まれた送信単位のデータを、前記低速データのnビットのビット列に対応する前記変換法則に基づき変換して送信データを生成する変換器
を備えた送信装置。
The conversion law for converting the data of the transmission unit, which is the conversion law of 2 to the nth power corresponding to the n-bit bit string of the low-speed data, and the conversion law of the nth power of 2 is each. Based on the conversion law corresponding to the n-bit bit string of the low-speed data, the data of the transmission unit having the different conversion law and including the error correction code of the high-speed data in the high-speed data which is the processing unit of error correction. A transmitter equipped with a converter that converts and generates transmitted data.
前記変換器において、前記nビットは1ビットであり、前記変換法則として前記1ビットのビット値に対応する2個の変換法則を備える
請求項1に記載の送信装置。
The transmitter according to claim 1, wherein in the converter, the n bits are 1 bit, and the conversion law includes two conversion rules corresponding to the bit value of the 1 bit.
前記変換器において、前記2個の変換法則の一方は前記送信単位のデータの全ビット反転であり、前記2個の変換法則の他方は前記送信単位のデータの全ビット非反転である、
請求項2に記載の送信装置。
In the converter, one of the two conversion laws is all-bit inversion of the transmission unit data, and the other of the two conversion laws is all-bit non-inversion of the transmission unit data.
The transmitting device according to claim 2.
エラー訂正の処理単位となる高速データに該高速データのエラー訂正符号が含まれた送信単位のデータを生成するエラー訂正符号化器をさらに備え、
前記変換器は、前記エラー訂正符号化器により生成された前記送信単位のデータより前記送信データを生成する
請求項1から請求項3のいずれか1項に記載の送信装置。
An error correction encoder that generates data in a transmission unit in which the error correction code of the high-speed data is included in the high-speed data that is the processing unit of error correction is further provided.
The transmitter according to any one of claims 1 to 3, 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 that receives data transmitted from the transmitting device according to claim 1.
The received data is inversely transformed based on each of the 2 nth inverse transformation rules for performing the inverse transformation corresponding to the 2n nth transformation law of the transmitting device, and the 2n nth power transformation is performed. An inverse converter that outputs inverse transformation data and
Each of the 2 nth power inverse conversion data is subjected to error correction processing corresponding to the error correction method used in the transmission device, and the 2n nth power error correction data after the error correction processing is output. And an error corrector that outputs the result of 2 to the nth power of error correction,
From the result of the n-th power error correction of 2 above, the inverse transformation law corresponding to the inverse transformation data that could be error-corrected was specified, and the n-bit bit string of the low-speed data in the transmission device was corresponding to 2 respectively. Based on the correspondence of the inverse transformation law with respect to the n-th power transformation law of, a determining device that outputs the n-bit bit string corresponding to the specified inverse transformation law as low-speed data.
A selector that outputs error correction data that has been error-corrected according to the inverse conversion law specified by the determination device as high-speed data from the n-th power error correction data of 2.
A receiver equipped with.
請求項2に記載の送信装置より送信されたデータを受信する受信装置であって、
前記送信装置の2個の変換法則にそれぞれ対応して逆変換をするための2個の逆変換法則のそれぞれに基づいて受信データを逆変換し、2個の逆変換データを出力する逆変換器と、
前記2個の逆変換データのそれぞれを、前記送信装置で用いられたエラー訂正方法に対応したエラー訂正処理を行い、エラー訂正処理後の2個のエラー訂正データを出力するとともに、2個のエラー訂正に関する結果を出力するエラー訂正器と、
前記2個のエラー訂正に関する結果から、エラー訂正処理が可能であった前記逆変換データに対応する逆変換法則を特定し、前記送信装置における低速データの1ビットのビット値にそれぞれ対応した2個の変換法則に対する逆変換法則の対応関係に基づき、前記特定した逆変換法則に対応するビット値を低速データとして出力する判定器と、
前記2個のエラー訂正データより、前記判定器で特定された逆変換法則にてエラー訂正処理されたエラー訂正データを高速データとして出力する選択器と、
を備える受信装置。
A receiving device that receives data transmitted from the transmitting device according to claim 2.
A reverse converter that reverse-converts received data based on each of the two reverse conversion rules for performing reverse conversion corresponding to the two conversion rules of the transmitter and outputs two reverse conversion data. When,
Each of the two inverse conversion data is subjected to error correction processing corresponding to the error correction method used in the transmission device, two error correction data after the error correction processing are output, and two errors are generated. An error corrector that outputs the result of correction,
From the results of the two error corrections, the inverse transformation law corresponding to the inverse transformation data that could be error-corrected was specified, and the two corresponding to the 1-bit bit value of the low-speed data in the transmitter. Based on the correspondence of the inverse transformation law to the transformation law of, a judgment device that outputs the bit value corresponding to the specified inverse transformation law as low-speed data, and
A selector that outputs error correction data that has been error-corrected according to the inverse conversion law specified by the determination device as high-speed data from the two error correction data.
A receiver equipped with.
請求項3に記載の送信装置より送信されたデータを受信する受信装置であって、
受信データの全ビット反転を行う逆変換器と、
前記受信データ、および、前記全ビット反転を行った受信データに対して、前記送信装置で用いられたエラー訂正方法に対応したエラー訂正処理を行い、エラー訂正処理後の2個のエラー訂正データを出力するとともに、2個のエラー訂正に関する結果を出力するエラー訂正器と、
前記2個のエラー訂正に関する結果から、エラー訂正のない、もしくは、エラー訂正可能であった前記エラー訂正データを特定し、前記送信装置における低速データの1ビットのビット値に対応した全ビット反転、全ビット非反転の2つの変換法則に対する逆変換法則の対応関係に基づき、前記特定したエラー訂正データの前記逆変換法則に対応するビット値を低速データとして出力する判定器と、
前記2個のエラー訂正データより、前記判定器で特定されたエラー訂正データを高速データとして出力する選択器と、
を備える受信装置。
A receiving device that receives data transmitted from the transmitting device according to claim 3.
Inverter that inverts all bits of received data and
The received data and the received data obtained by all-bit inversion are subjected to error correction processing corresponding to the error correction method used in the transmission device, and the two error correction data after the error correction processing are obtained. An error corrector that outputs and outputs the results related to two error corrections,
From the results of the two error corrections, the error correction data having no or error correction was identified, and all bit inversion corresponding to the 1-bit bit value of the low-speed data in the transmission device. Based on the correspondence of the inverse conversion law to the two conversion laws of non-inversion of all bits, a determination device that outputs the bit value corresponding to the inverse conversion law of the specified error correction data as low-speed data, and a determination device.
A selector that outputs the error correction data specified by the determination device as high-speed data from the two error correction data, and a selector.
A receiver equipped with.
送信単位のデータを変換するための変換法則で、低速データのnビットのビット列にそれぞれ対応する2のn乗個の前記変換法則であって、かつ、前記2のn乗個の変換法則がそれぞれ異なる前記変換法則を備え、
エラー訂正の処理単位となる高速データに該高速データのエラー訂正符号が含まれた送信単位のデータを、前記低速データのnビットのビット列に対応する前記変換法則に基づき変換して送信データを生成する
送信方法。
The conversion law for converting the data of the transmission unit, which is the conversion law of 2 to the nth root corresponding to the n-bit bit string of the low-speed data, and the conversion law of 2 to the nth root, respectively. With different said transformation laws,
The transmission unit data in which the error correction code of the high-speed data is included in the high-speed data that is the processing unit of the error correction is converted based on the conversion rule corresponding to the n-bit bit string of the low-speed data to generate the transmission data. Sending 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.
The received data is inversely transformed based on each of the 2 nth inverse transformation rules for performing the inverse transformation corresponding to the 2n nth transformation law of the transmission method, and the 2n nth transformation law is obtained. Output the inverse transformation data,
Each of the 2 nth power inverse conversion data is subjected to error correction processing corresponding to the error correction method used in the transmission method, and 2 nth power error correction data after the error correction processing is output. And output the result of 2 to the nth power error correction.
From the result of the n-th power error correction of 2 above, the inverse transformation law corresponding to the inverse transformation data that could be error-corrected was specified, and 2 corresponding to the n-bit bit string of the low-speed data in the transmission method, respectively. Based on the correspondence of the inverse transformation law with respect to the n-th power transformation law of, the bit string of the n bits corresponding to the specified inverse transformation law is output as low-speed data.
From the 2 nth error correction data, the error correction data processed by the above-specified inverse conversion law is output as high-speed data.
Receiving method.
JP2020038839A 2020-03-06 2020-03-06 Transmitting device, receiving device, transmitting method, and receiving method Pending JP2021141489A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020038839A JP2021141489A (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 JP2021141489A (en) 2020-03-06 2020-03-06 Transmitting device, receiving device, transmitting method, and receiving method

Publications (1)

Publication Number Publication Date
JP2021141489A true JP2021141489A (en) 2021-09-16

Family

ID=77669163

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JP2021141489A (en)

Similar Documents

Publication Publication Date Title
JPH07273742A (en) Parallel data transmission equipment
US3688265A (en) Error-free decoding for failure-tolerant memories
JP2004040199A (en) Encoder, decoder, encoding method, decoding method, program, program recording medium, and data recording medium
GB1105583A (en) Error detection and/or correction of digital information
US20170222752A1 (en) Decoding device, information transmission system, decoding method, and non-transitory computer readable medium
US5938773A (en) Sideband signaling with parity bit schemes
US20180131394A1 (en) Data processing system and data processing apparatus
JP2021141489A (en) Transmitting device, receiving device, transmitting method, and receiving method
JP3237700B2 (en) Error detection method and error detection system
JP3000811B2 (en) Cyclic coding and CRC device and processing method thereof
CN115048323B (en) Data transmission system and method based on DMA handshake protocol
JP2005086683A (en) Error decoding circuit, data bus control method, and data bus system
CN108574490B (en) Method and device for calculating Cyclic Redundancy Check (CRC) code
CN114443348B (en) Computing system capable of configuring CRC (Cyclic redundancy check) code
JPH05183447A (en) Improved error detection coding system
KR20230050256A (en) Data encoding method, encoder, and data decoding method
CN108694100B (en) Data conversion device
JP2012124642A (en) Receiving device, data transfer device, and program
CN108964670B (en) Basic coding and decoding unit and coder-decoder
JP2017175495A (en) Transmitter, receiver, communication system, method and program
JPH0685793A (en) Transmission error detection system
US8699624B2 (en) Receiving apparatus and data transmission apparatus
JPS6237581B2 (en)
KR20020033227A (en) Circuit for parallel cyclic redundancy check in data communication
US20090150727A1 (en) Data transmission method

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