JP2000349792A - Data transmission device - Google Patents

Data transmission device

Info

Publication number
JP2000349792A
JP2000349792A JP11154881A JP15488199A JP2000349792A JP 2000349792 A JP2000349792 A JP 2000349792A JP 11154881 A JP11154881 A JP 11154881A JP 15488199 A JP15488199 A JP 15488199A JP 2000349792 A JP2000349792 A JP 2000349792A
Authority
JP
Japan
Prior art keywords
data
transmission
transmission device
data transmission
change
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
JP11154881A
Other languages
Japanese (ja)
Inventor
Shiro Shozaki
司郎 庄崎
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP11154881A priority Critical patent/JP2000349792A/en
Publication of JP2000349792A publication Critical patent/JP2000349792A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

PROBLEM TO BE SOLVED: To improve data change detection ability and to suppress data retransmission to a minimum by installing error detection codes for detecting the data change of one bit in plural blocks obtained by dividing one transmission data unit constant lengths and installing the similar error detection code even in one transmission data unit. SOLUTION: A data transmission device 11 is connected to a data transmission device 12 having an equal function through a serial transmission line 13 and it can transfer serial data through the serial transmission line 13. Data structure 14 on serial transmission line, which flows in the serial transmission line 13, is formed of plural blocks, a block 11B, a block 12B,..., for example. The block 11B is formed of data 11D and a check code 11C, for example. The check code 11C can detect the data change of one bit in data 11D. A whole check code 16 can detect the data change of one bit in whole data 15.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、他のデータ伝送装
置とシリアルデータのやり取りをするデータ伝送手段を
備えたデータ伝送装置に係り、特にシリアルデータの異
常を検出する検出機能を有するデータ伝送装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transmission device having a data transmission means for exchanging serial data with another data transmission device, and more particularly to a data transmission device having a detection function for detecting an abnormality in serial data. About.

【0002】[0002]

【従来の技術】従来のデータ伝送装置間でやり取りする
シリアルデータを図10に示す。データ伝送装置101
とデータ伝送装置102はシリアル伝送路103で接続
されており、両データ伝送装置間で10Aで示す構造の
シリアルデータをやり取りしている。シリアルデータ1
0Aはデータ部10Bとエラーチェックコード10Cよ
り構成されている。
2. Description of the Related Art FIG. 10 shows serial data exchanged between conventional data transmission apparatuses. Data transmission device 101
And the data transmission device 102 are connected by a serial transmission line 103, and serial data having a structure indicated by 10A is exchanged between the two data transmission devices. Serial data 1
0A is composed of a data part 10B and an error check code 10C.

【0003】[0003]

【発明が解決しようとする課題】シリアルデータ10A
のデータ部10Bが伝送中に変化した場合、通常はエラ
ーチェックコード10Cにより検出できる。しかし、デ
ータの変化の仕方(例えばCRCエラーチェックコード
使用時のバーストエラー発生時等)によっては、データ
変化前と変化後のエラーチェックコード10Cが一致し
てしまい、データ変化が検出できないという問題があっ
た。
SUMMARY OF THE INVENTION Serial data 10A
Is changed during transmission, it can usually be detected by the error check code 10C. However, depending on the manner of data change (for example, when a burst error occurs when using a CRC error check code, etc.), the error check code 10C before and after the data change matches, and the data change cannot be detected. there were.

【0004】本発明は上記問題を解決するためになされ
たもので、その目的は、シリアルデータのデータ変化検
出能力を高めると共に、データ変化発生時のデータ再送
を最小限に抑えることができるデータ伝送装置を提供す
ることにある。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and an object of the present invention is to provide a data transmission system capable of improving the ability to detect data change of serial data and minimizing data retransmission when a data change occurs. It is to provide a device.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
に、本発明の請求項1は、他のデータ伝送装置とシリア
ルデータのやり取りをするデータ伝送手段を少なくとも
1つ備えたデータ伝送装置において、1つの伝送データ
単位を一定の長さの複数ブロックに分割し、その分割し
た複数ブロックそれぞれに1ビットのデータ変化を検出
できるエラー検出コードを設けると共に、1つの伝送デ
ータ単位全体でも同様のエラー検出コードを設けた伝送
データ単位を設けることを特徴とする。請求項1の発明
によると、伝送中のデータ変化検出能力が高められ、前
記伝送手段でやり取りするシリアルデータの異常を検出
することができる。
In order to achieve the above object, a first aspect of the present invention is directed to a data transmission apparatus having at least one data transmission means for exchanging serial data with another data transmission apparatus. One transmission data unit is divided into a plurality of blocks of a fixed length, and an error detection code capable of detecting a 1-bit data change is provided in each of the plurality of divided blocks. A transmission data unit provided with a detection code is provided. According to the first aspect of the present invention, the capability of detecting data change during transmission is enhanced, and an abnormality in serial data exchanged by the transmission means can be detected.

【0006】本発明の請求項2は、請求項1記載のデー
タ伝送装置において、一定の長さに分割したデータを縦
方向に並べ、この縦方向のデータ列に対しても同様に1
ビットのデータ変化を検出できるエラー検出コードを設
けることを特徴とする。
According to a second aspect of the present invention, in the data transmission apparatus according to the first aspect, data divided into a predetermined length is arranged in the vertical direction, and the same applies to the data string in the vertical direction.
An error detection code capable of detecting a change in bit data is provided.

【0007】請求項2の発明によると、データ伝送装置
でやり取りするシリアルデータを一定の長さの複数ブロ
ックに分割し、このデータを縦方向に並べ、この縦方向
のデータ列に対しても横方向と同様に1ビットのデータ
変化を検出できるエラー検出コードを設けることで、伝
送データ単位全体で付加するものと合わせ、エラー検出
コードを3重にして伝送中のデータ変化検出能力が高め
られる。
According to the second aspect of the present invention, the serial data exchanged by the data transmission device is divided into a plurality of blocks each having a predetermined length, and this data is arranged in the vertical direction. By providing an error detection code capable of detecting a 1-bit data change in the same manner as in the direction, the error detection code can be tripled, and the data change detection capability during transmission can be enhanced by combining the error detection codes with those added for the entire transmission data unit.

【0008】本発明の請求項3は、請求項1記載のデー
タ伝送装置において、一定の長さに分割した複数ブロッ
クのデータに、1ビットのデータ変化を修復でき、2ビ
ットのデータ変化を検出できるECCコードを用いるこ
とを特徴とする。
According to a third aspect of the present invention, in the data transmission apparatus according to the first aspect, a one-bit data change can be restored to data of a plurality of blocks divided into a predetermined length, and a two-bit data change is detected. It is characterized by using a possible ECC code.

【0009】請求項3の発明によると、データ伝送装置
でやり取りするシリアルデータを一定の長さの複数ブロ
ックに分割し、その分割した複数ブロックそれぞれに、
ECCコードを用いることで、伝送中のデータ変化検出
能力を高めると共に、1ビットのデータ変化であれば自
動的に修復することができる。
According to the third aspect of the present invention, serial data exchanged by the data transmission device is divided into a plurality of blocks of a fixed length, and each of the plurality of divided blocks is
By using the ECC code, the ability to detect data change during transmission can be enhanced, and a 1-bit data change can be automatically restored.

【0010】本発明の請求項4は、請求項2記載のデー
タ伝送装置において、1つの伝送データ単位を一定の長
さの複数ブロックに分割し、その分割した複数ブロック
それぞれにECCコードを設け、さらに一定の長さに分
割したデータを縦方向に並べ、この縦方向のデータ列に
対してもECCコードを設けることを特徴とする。
According to a fourth aspect of the present invention, in the data transmission apparatus according to the second aspect, one transmission data unit is divided into a plurality of blocks having a predetermined length, and an ECC code is provided for each of the plurality of divided blocks. Furthermore, data divided into a certain length is arranged in the vertical direction, and an ECC code is provided for the data string in the vertical direction.

【0011】請求項4の発明によると、縦方向のデータ
列に対しても横方向と同様にECCコードを設けること
で、同一ブロック内で2ビット以上のデータ変化が発生
しても、縦方向のデータ変化が1ビットに収まっていれ
ば自動的に修復することができる。
According to the fourth aspect of the present invention, the ECC code is provided for the data string in the vertical direction in the same manner as in the horizontal direction. If the data change is within one bit, it can be automatically restored.

【0012】本発明の請求項5は、請求項1乃至請求項
4記載のいずれかのデータ伝送装置において、修復でき
ないデータ変化を検出したことを条件に、送られてきた
データ全てを無効とすることなく、エラーの発生した分
割ブロックのみを再送することを特徴とする。請求項5
の発明によると、伝送路の使用効率を高め、送受信に掛
かる時間を短くできる。
According to a fifth aspect of the present invention, in the data transmission apparatus according to any one of the first to fourth aspects, all transmitted data is invalidated on condition that a data change that cannot be recovered is detected. Without retransmission, only the divided block in which an error has occurred is retransmitted. Claim 5
According to the invention, the use efficiency of the transmission path can be improved, and the time required for transmission and reception can be shortened.

【0013】本発明の請求項6は、請求項3または請求
項4記載のデータ伝送装置において、ECCコードによ
る確認は、伝送データ全体に対して付加されたエラー検
出コードが異常だったときのみ行うことを特徴とする。
請求項6の発明によると、シリアル伝送データ受信時の
処理負荷の軽減を図りつつ、データ変化修復機能を持た
せることができる。
According to a sixth aspect of the present invention, in the data transmission apparatus according to the third or fourth aspect, the confirmation using the ECC code is performed only when the error detection code added to the entire transmission data is abnormal. It is characterized by the following.
According to the invention of claim 6, it is possible to provide a data change restoration function while reducing the processing load at the time of receiving serial transmission data.

【0014】本発明の請求項7は、請求項3または請求
項4記載のデータ伝送装置において、ECCコードによ
りデータ変化を修復できたことを条件に、修復後のデー
タを用いて再度伝送データ全体のエラー検出コードを計
算し、送られてきた伝送データのエラー検出コードとを
比較することを特徴とする。請求項7の発明によると、
データ修復の妥当性を確認し、正しく修復されたデータ
のみを採用できる。
According to a seventh aspect of the present invention, in the data transmission apparatus according to the third or fourth aspect, on the condition that the data change can be restored by the ECC code, the entire transmission data is re-used using the restored data. Is calculated and compared with the error detection code of the transmitted transmission data. According to the invention of claim 7,
Check the validity of data restoration and adopt only the data that has been properly restored.

【0015】本発明の請求項8は、請求項3記載のデー
タ伝送装置において、ECCコードにより修復可能な1
ビットのエラーを検出したことを条件に、伝送速度を段
階的に遅くすることを特徴とする。
According to a eighth aspect of the present invention, in the data transmission apparatus according to the third aspect, one of the data transmission devices which can be restored by an ECC code is provided.
The transmission rate is gradually reduced on condition that a bit error is detected.

【0016】請求項8の発明によると、ECCコードに
より修復可能な1ビットのエラーを検出した場合、伝送
速度を段階的に遅くすることで修復できないデータ変化
を未然に防ぐことができる。
According to the eighth aspect of the invention, when a one-bit error that can be repaired by the ECC code is detected, a data change that cannot be repaired can be prevented by gradually reducing the transmission speed.

【0017】本発明の請求項9は、請求項3記載のデー
タ伝送装置において、ECCコードにより修復可能な1
ビットのエラーを検出しないことを条件に、伝送速度を
段階的に早くすることを特徴とする。
According to a ninth aspect of the present invention, in the data transmission apparatus according to the third aspect, the one which can be restored by an ECC code.
The transmission speed is gradually increased on condition that no bit error is detected.

【0018】請求項9の発明によると、ECCコードに
より修復可能な1ビットのエラーを検出しない場合、伝
送速度を段階的に早くすることで、伝送品質を保ちつつ
最も高速な伝送ができる。
According to the ninth aspect of the present invention, when a one-bit error that can be repaired by the ECC code is not detected, the transmission speed is increased stepwise, so that the highest speed transmission can be performed while maintaining the transmission quality.

【0019】[0019]

【発明の実施の形態】以下、本発明の実施の形態を図を
参照して説明する。図1は本発明の第1実施例(請求項
1対応)であるデータ伝送装置を用いたブロック図であ
る。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram using a data transmission apparatus according to a first embodiment (corresponding to claim 1) of the present invention.

【0020】図において、データ伝送装置11は、同等
の機能を有するデータ伝送装置12とシリアル伝送路1
3を介して接続されており、このシリアル伝送路13を
とおしてシリアルデータのやり取りをすることができ
る。
In the figure, a data transmission device 11 is composed of a data transmission device 12 having the same function and a serial transmission line 1.
3 through which serial data can be exchanged.

【0021】本実施例のデータ伝送装置は上記のように
構成されており、シリアル伝送路13を流れるデータは
シリアル伝送路上データ構造14の形をしている。すな
わち、シリアル伝送路上データ構造14は、ブロック1
1B、ブロック12B、…に示すように複数のブロック
からなる。ブロック11Bは、データ11Dとチェック
コード11Cよりなる。チェックコード11Cはデータ
11Dの1ビットのデータ変化を検出できるチェックコ
ードである。ブロック12B等他のブロックはブロック
11Bと同じ構造をしている。
The data transmission apparatus of this embodiment is configured as described above, and the data flowing through the serial transmission path 13 is in the form of a data structure 14 on the serial transmission path. That is, the data structure 14 on the serial transmission line
1B, blocks 12B,... Are composed of a plurality of blocks. Block 11B includes data 11D and check code 11C. The check code 11C is a check code capable of detecting a 1-bit data change of the data 11D. Other blocks such as the block 12B have the same structure as the block 11B.

【0022】全体データ15はブロック全体の集合体で
ある。全体チェックコード16は全体データ15の1ビ
ットのデータ変化を検出できるチェックコードである。
例えば、チェックコードが全体チェックコード16のみ
であると、全体データ15に2ビット以上の変化が発生
した場合に検出できないことがある。しかし、シリアル
データ伝送路上データ構造14のように、各ブロック内
のデータ変化が1ビット以内に収まっていれば、100
%データ変化を検出することができる。
The whole data 15 is an aggregate of the whole block. The whole check code 16 is a check code capable of detecting a one-bit data change of the whole data 15.
For example, if the check code is only the entire check code 16, it may not be detected when a change of 2 bits or more occurs in the entire data 15. However, if the data change in each block is within 1 bit as in the serial data transmission line data structure 14, 100
% Data change can be detected.

【0023】図2は本発明の第2実施例(請求項2対
応)であるシリアル伝送路上データ構造のブロック図で
ある。図に示すように、本実施例のシリアル伝送路上デ
ータ構造24は、ブロック2A、2B…2Yの複数のブ
ロックよりなる。各ブロックは図1と同じように、デー
タ(aa,ba,…)と1ビットのデータ変化を検出で
きるチェックコード(ab,bb,…)よりなる。この
ブロックを縦方向に並べて、縦方向のチェックコードを
作成し、ブロック2Zを作る。ブロック2A〜2Zに対
してさらにデータ全体の1ビットのデータ変化を検出で
きるチェックコード23を付加する。
FIG. 2 is a block diagram of a data structure on a serial transmission line according to a second embodiment (corresponding to claim 2) of the present invention. As shown in the figure, the data structure 24 on the serial transmission line of this embodiment is composed of a plurality of blocks 2A, 2B,. Each block is composed of data (aa, ba,...) And a check code (ab, bb,...) Capable of detecting a 1-bit data change, as in FIG. The blocks are arranged in the vertical direction, a check code in the vertical direction is created, and a block 2Z is created. A check code 23 capable of detecting a 1-bit data change of the entire data is further added to the blocks 2A to 2Z.

【0024】本実施例によると、チェックコードをマト
リックス状に設けているので、縦横それぞれのデータブ
ロック内でデータ変化が1ビット以内に収まっていれ
ば、100%データ変化を検出することができる。シリ
アルデータのデータ変化は、ある連続したビットで発生
するケースが多いため、このような場合にも有効にデー
タ変化を検出することができる。
According to this embodiment, since the check codes are provided in a matrix, if the data change within one bit in each of the vertical and horizontal data blocks, 100% data change can be detected. Since the data change of the serial data often occurs at a certain continuous bit, the data change can be effectively detected even in such a case.

【0025】図3は本発明の第3実施例(請求項3対
応)であるシリアル伝送路上データ構造のブロック図で
ある。図に示すように、本実施例のシリアル伝送路上デ
ータ構造33は、ブロック3A、3B・・3Zの複数の
ブロックよりなる。各ブロックは、データの1ビットの
データ変化を修復でき、2ビットのデータ変化を検出で
きるECCコード31よりなる。またブロック3A〜3
Zに対してデータ全体の1ビットのデータ変化を検出で
きるチェックコード32を付加する。
FIG. 3 is a block diagram of a data structure on a serial transmission line according to a third embodiment (corresponding to claim 3) of the present invention. As shown in the figure, the data structure 33 on the serial transmission line of this embodiment is composed of a plurality of blocks 3A, 3B,. Each block is composed of an ECC code 31 capable of restoring a 1-bit data change of data and detecting a 2-bit data change. Blocks 3A-3
A check code 32 capable of detecting a 1-bit data change of the entire data is added to Z.

【0026】本実施例によると、ECCコードを用いる
ことで、各データブロックのデータ変化が1ビット以内
の場合、データを修復する事ができる。このため、デー
タの再送が不要になり、伝送効率が向上する。また、E
CCコードを用いることで、各データブロックのデータ
変化が2ビット以内の場合、データ変化を100%検出
することができる。
According to this embodiment, by using the ECC code, if the data change of each data block is within 1 bit, the data can be restored. Therefore, retransmission of data is not required, and transmission efficiency is improved. Also, E
By using the CC code, when the data change of each data block is within 2 bits, 100% of the data change can be detected.

【0027】図4は本発明の第4実施例(請求項4対
応)であるシリアル伝送路上データ構造のブロック図で
ある。図に示すように、本実施例のシリアル伝送路上デ
ータ構造44は、ブロック4A、4B・・4Yの複数の
ブロックよりなる。各ブロックは図3と同じように、デ
ータの1ビットのデータ変化を修復でき、2ビットのデ
ータ変化を検出できるECCコード41よりなる。この
ブロックを縦方向に並べて、縦方向のECCコード42
を作成し、ブロック4Zを作る。さらに、ブロック4A
〜4Zに対してデータ全体の1ビットのデータ変化を検
出できるチェックコード43を付加する。
FIG. 4 is a block diagram of a data structure on a serial transmission line according to a fourth embodiment (corresponding to claim 4) of the present invention. As shown in the figure, the data structure 44 on the serial transmission line of the present embodiment is composed of a plurality of blocks of blocks 4A, 4B,. Each block is composed of an ECC code 41 that can recover a 1-bit data change and detect a 2-bit data change, as in FIG. These blocks are arranged in the vertical direction, and the vertical ECC code 42
Is created, and a block 4Z is created. In addition, block 4A
A check code 43 capable of detecting a 1-bit data change of the entire data is added to .about.4Z.

【0028】本実施例によると、ECCコードをマトリ
ックス状に設けることで、縦横それぞれのデータブロッ
ク内でデータ変化が1ビット以内に収まっていれば、1
00%データの修復を行うことができる。また、縦横そ
れぞれのデータブロックのデータ変化が2ビット以内の
場合、データ変化を100%検出することができる。さ
らに、シリアルデータのデータ変化は、ある連続したビ
ットで発生するケースが多いため、このような場合にも
有効にデータ修復又はデータ変化検出を行うことができ
る。
According to the present embodiment, by providing the ECC codes in a matrix, if the data change is within 1 bit in each of the vertical and horizontal data blocks, 1
00% data can be restored. If the data change in each of the vertical and horizontal data blocks is within 2 bits, 100% of the data change can be detected. Further, since the data change of the serial data often occurs at a certain continuous bit, the data recovery or the data change detection can be effectively performed even in such a case.

【0029】図5は本発明の第5実施例(請求項5対
応)のブロック図である。図に示すように、本実施例で
は、データ変化が発生した場合のデータ伝送装置51と
データ伝送装置52間のシリアルデータのやり取りを示
している。データ伝送装置51は図1〜図4で説明した
ように、1つのシリアルデータを複数ブロックに分割
し、それぞれにチェックコードを付加したシリアルデー
タ通信において、1ブロックで修復できないデータ変化
が発生した場合、当該ブロックの再送要求をデータ伝送
装置52からデータ伝送装置51に要求する。データ伝
送装置51は当該ブロックのみをデータ伝送装置52に
再送する。データ伝送装置52は再送されたブロック
を、はじめに送られ来た全体データと組合わせて、デー
タ変化のない全体データとする。本実施例によると、デ
ータ変化の発生したブロックのみを再送することで、再
送時間、再送データ共に少なくすることができる。
FIG. 5 is a block diagram of a fifth embodiment (corresponding to claim 5) of the present invention. As shown in the figure, the present embodiment shows the exchange of serial data between the data transmission device 51 and the data transmission device 52 when a data change occurs. As described with reference to FIGS. 1 to 4, the data transmission device 51 divides one serial data into a plurality of blocks, and when a data change that cannot be repaired in one block occurs in serial data communication in which a check code is added to each block. The data transmission device 52 requests the data transmission device 51 to request retransmission of the block. The data transmission device 51 retransmits only the block to the data transmission device 52. The data transmission device 52 combines the retransmitted block with the entire data transmitted first to make the entire data unchanged. According to the present embodiment, by retransmitting only the block in which the data change has occurred, both the retransmission time and the retransmission data can be reduced.

【0030】図6は本発明の第6実施例(請求項6対
応)の処理のフロー図である。図に示すように、本実施
例ではチェックコード正常/異常時の処理を示す。既に
図3、図4で説明したシリアル伝送において、データ受
信時(ステップS1)は、各ブロックに付いているEC
Cコードの検査は行わずに、全体チェックコードの検査
のみを実施(ステップS2)する。全体チェックコード
の検査が正常であれば、受信正常終了(ステップS6)
とする。全体チェックコードの検査が異常であれば、各
ブロックのECCコードをチェック(ステップS3)
し、データの修復が完了した(ステップS4)ならば、
受信正常終了(ステップS6)とする。ECCコードで
のデータ修復ができない(ステップS4)場合はデータ
受信異常終了(ステップS5)とする。本実施例による
と、全てソフトウェアでの処理が可能となるため特別な
ハードウェアの必要が無く、データ変化時のデータ再送
を低減させることができる。
FIG. 6 is a flow chart of the processing of the sixth embodiment (corresponding to claim 6) of the present invention. As shown in the figure, the present embodiment shows processing when the check code is normal / abnormal. In the serial transmission described with reference to FIGS. 3 and 4, when data is received (step S1), the EC attached to each block is set.
Only the check of the entire check code is performed without checking the C code (step S2). If the check of the entire check code is normal, the reception is normally completed (step S6).
And If the check of the entire check code is abnormal, the ECC code of each block is checked (step S3).
If the data restoration is completed (step S4),
The reception ends normally (step S6). If the data cannot be restored with the ECC code (step S4), the data reception is abnormally terminated (step S5). According to the present embodiment, since all processing can be performed by software, there is no need for special hardware, and data retransmission when data changes can be reduced.

【0031】図7は本発明の第7実施例(請求項7対
応)の処理のフロー図である。図に示すように、本実施
例ではECCコードによるデータ修復の有無による処理
変化を示す。図3で説明したシリアル伝送において、デ
ータ受信時(ステップS1)は、各ブロックに付いてい
るECCコードによるデータ修復が行われた場合(ステ
ップS2)、修復後のデータで、全体チェックコードの
計算を実施(ステップS3)する。そして、この値と受
信したチェックコードとを比較(ステップS4)し、一
致していればデータ修復は完全だったとしてデータ受信
正常(ステップS6)とし、不一致であればデータ受信
異常(ステップS5)とする。
FIG. 7 is a flow chart of the processing of the seventh embodiment (corresponding to claim 7) of the present invention. As shown in the drawing, this embodiment shows a process change depending on the presence or absence of data restoration by an ECC code. In the serial transmission described with reference to FIG. 3, at the time of data reception (step S1), if data is restored using the ECC code attached to each block (step S2), the entire check code is calculated using the restored data. (Step S3). Then, this value is compared with the received check code (step S4). If they match, it is determined that the data restoration is complete, and the data reception is normal (step S6). If they do not match, the data reception is abnormal (step S5). And

【0032】本実施例によると、ECCコードによる修
復後のデータのチェックコードを算出し、受信時のそれ
と比較することで、データ修復の妥当性を確認でき、伝
送データの信頼性が向上する。
According to the present embodiment, the validity of the data restoration can be confirmed by calculating the check code of the data after the restoration using the ECC code and comparing it with that at the time of reception, thereby improving the reliability of the transmission data.

【0033】図8は本発明の第8実施例(請求項8対
応)のブロック図である。図に示すように、本実施例で
は、図3のデータ伝送装置において、データ伝送装置8
1とデータ伝送装置82間のシリアルデータのやり取り
を示している。通信速度Aにてデータ伝送装置81から
データ伝送装置82へ送ったデータで修復可能なデータ
変化を検出した場合、その情報と通信速度をA−1に低
下させる情報をデータ伝送装置82からデータ伝送装置
81へ通知する。その後の通信速度をA−1とすること
で、データ変化の発生が無くなる。
FIG. 8 is a block diagram of an eighth embodiment (corresponding to claim 8) of the present invention. As shown in the figure, in the present embodiment, in the data transmission device of FIG.
2 shows the exchange of serial data between the data transmission device 1 and the data transmission device 82. When a recoverable data change is detected in the data transmitted from the data transmission device 81 to the data transmission device 82 at the communication speed A, the information and information for reducing the communication speed to A-1 are transmitted from the data transmission device 82 to the data. Notify the device 81. By setting the subsequent communication speed to A-1, no data change occurs.

【0034】一般に、シリアル伝送エラーは通信速度を
下げると改善される場合が多い。本実施例ではデータの
変化が発生してもデータ修復できるうちに伝送速度を低
下させることで、データ修復できないエラーの発生を未
然に防ぐことができる。
Generally, serial transmission errors are often improved by lowering the communication speed. In this embodiment, even if a data change occurs, the transmission speed is reduced while the data can be restored, so that the occurrence of an error that cannot be restored can be prevented.

【0035】図9は本発明の第9実施例(請求項9対
応)のブロック図である。図に示すように、本実施例で
は、図3のデータ伝送装置において、データ伝送装置9
1とデータ伝送装置92間のシリアルデータのやり取り
を示している。通信速度Aにてデータ伝送装置91から
データ伝送装置92へ送ったデータが問題なく受信でき
た場合、データが問題なく受信できたという情報と通信
速度をA+1に速度アップさせる情報をデータ伝送装置
92からデータ伝送装置91へ通知する。その後、通信
速度はA+1に高速化される。通信速度A+1での結果
が良好であれば、同様にA+2に速度アップさせる。そ
して、データ変化が発生したところで最後の通信速度よ
り1段遅い通信速度を設定する。
FIG. 9 is a block diagram of a ninth embodiment (corresponding to claim 9) of the present invention. As shown in the drawing, in the present embodiment, in the data transmission device of FIG.
1 shows the exchange of serial data between the data transmission device 1 and the data transmission device 92. When the data transmitted from the data transmission device 91 to the data transmission device 92 at the communication speed A can be received without any problem, information indicating that the data was successfully received and information for increasing the communication speed to A + 1 are transmitted to the data transmission device 92. To the data transmission device 91. Thereafter, the communication speed is increased to A + 1. If the result at the communication speed A + 1 is good, the speed is similarly increased to A + 2. Then, when the data change occurs, a communication speed one step lower than the last communication speed is set.

【0036】本実施例によると、データ変化の発生しな
い最も高速な通信を行うことができるため、通信速度向
上を図ることができる。また、通信速度設定中に於いて
も特別なテストフレームや、無効データを発生させるこ
とがない。
According to the present embodiment, the highest speed communication with no data change can be performed, so that the communication speed can be improved. Also, no special test frame or invalid data is generated during the setting of the communication speed.

【0037】[0037]

【発明の効果】以上説明したように、本発明の各請求項
は以下に記載するような効果を奏する。すなわち、請求
項1の発明によれば、データ伝送装置でやり取りするシ
リアルデータを一定の長さの複数ブロックに分割し、そ
の分割した複数ブロックそれぞれに1ビットのデータ変
化を検出できるエラー検出コードを設けると共に、1つ
の伝送データ単位全体でも同様のエラー検出コードを設
けることで、伝送中のデータ変化検出能力を高めること
ができる。
As described above, each claim of the present invention has the following effects. That is, according to the first aspect of the present invention, the serial data exchanged by the data transmission device is divided into a plurality of blocks of a fixed length, and an error detection code capable of detecting a 1-bit data change in each of the plurality of divided blocks is provided. By providing the same error detection code in the entire transmission data unit, the capability of detecting data change during transmission can be enhanced.

【0038】請求項2の発明によれば、データ伝送装置
でやり取りするシリアルデータを一定の長さの複数ブロ
ックに分割し、このデータを縦方向に並べ、この縦方向
のデータ列に対しても横方向と同様に1ビットのデータ
変化を検出できるエラー検出コードを設けることで、伝
送データ単位全体で付加するものと合わせ、エラー検出
コードを3重にして伝送中のデータ変化検出能力を高め
ることができる。
According to the second aspect of the present invention, serial data exchanged by the data transmission device is divided into a plurality of blocks each having a predetermined length, and this data is arranged in the vertical direction. By providing an error detection code that can detect a 1-bit data change in the same way as in the horizontal direction, the error detection code can be tripled to enhance the data change detection capability during transmission by combining the error detection code with the one added for the entire transmission data unit. Can be.

【0039】請求項3の発明によれば、データ伝送装置
でやり取りするシリアルデータを一定の長さの複数ブロ
ックに分割し、その分割した複数ブロックそれぞれに、
1ビットのデータ変化を修復でき、2ビットのデータ変
化を検出できるECCコードを用いることで、伝送中の
データ変化検出能力を高めると共に、1ビットのデータ
変化であれば自動的に修復することができる。
According to the third aspect of the present invention, serial data exchanged by the data transmission device is divided into a plurality of blocks of a fixed length, and each of the plurality of divided blocks is
By using an ECC code that can recover a 1-bit data change and detect a 2-bit data change, the ability to detect data change during transmission can be enhanced, and if a 1-bit data change, it can be automatically recovered. it can.

【0040】請求項4の発明によれば、データ伝送装置
でやり取りするシリアルデータを一定の長さの複数ブロ
ックに分割し、このデータを縦方向に並べ、この縦方向
のデータ列に対しても横方向と同様にECCコードを設
けることで、同一ブロック内で2ビット以上のデータ変
化が発生したとしても、縦方向のデータ変化が1ビット
に収まっていれば自動的に修復することことができる。
According to the fourth aspect of the present invention, serial data exchanged by the data transmission device is divided into a plurality of blocks each having a predetermined length, and this data is arranged in the vertical direction. By providing an ECC code in the same manner as in the horizontal direction, even if a data change of 2 bits or more occurs in the same block, if the data change in the vertical direction is within 1 bit, it can be automatically repaired. .

【0041】請求項5の発明によれば、修復できないデ
ータ変化を検出した場合、送られてきたデータを全てを
無効とすることなく、エラーの発生した分割ブロックの
みを再送する事で、伝送路の使用効率を高め、送受信に
掛かる時間を短くできる。
According to the fifth aspect of the present invention, when an unrecoverable data change is detected, only the divided block in which an error has occurred is retransmitted without invalidating all of the transmitted data. Can improve the usage efficiency and shorten the time required for transmission and reception.

【0042】請求項6の発明によれば、ECCコードに
よる確認は、伝送データ全体に対して付加されたエラー
検出コードが異常だったときのみ行うことで、シリアル
伝送データ受信時の処理負荷の軽減を図りつつ、データ
変化修復機能を持たせることができる。
According to the sixth aspect of the present invention, the confirmation by the ECC code is performed only when the error detection code added to the entire transmission data is abnormal, thereby reducing the processing load at the time of receiving the serial transmission data. And a data change repair function can be provided.

【0043】請求項7の発明によれば、ECCコードに
よりデータ変化を修復できた場合、修復後のデータを用
いて再度伝送データ全体のエラー検出コードを計算し、
送られてきた伝送データのエラー検出コードとを比較す
ることで、データ修復の妥当性を確認し、正しく修復さ
れたデータのみを採用することができる。
According to the present invention, when the data change can be restored by the ECC code, the error detection code of the entire transmission data is calculated again using the restored data,
By comparing the transmitted transmission data with the error detection code, the validity of the data restoration can be confirmed, and only the correctly restored data can be adopted.

【0044】請求項8の発明によれば、ECCコードに
より修復可能な1ビットのエラーを検出した場合、伝送
速度を段階的に遅くすることで修復できないデータ変化
を未然に防ぐことができる。
According to the invention of claim 8, when a one-bit error that can be repaired by the ECC code is detected, a data change that cannot be repaired can be prevented beforehand by gradually lowering the transmission speed.

【0045】請求項9の発明によれば、ECCコードに
より修復可能な1ビットのエラーを検出しない場合、伝
送速度を段階的に早くすることで、伝送品質を保ちつつ
最も高速な伝送を提供できる。
According to the ninth aspect of the present invention, when a one-bit error that can be repaired by the ECC code is not detected, the transmission speed is increased stepwise to provide the highest speed transmission while maintaining the transmission quality. .

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の第1実施例であるデータ伝送装置を用
いたブロック図。
FIG. 1 is a block diagram using a data transmission device according to a first embodiment of the present invention.

【図2】本発明の第2実施例であるシリアル伝送路上デ
ータ構造のブロック図。
FIG. 2 is a block diagram of a data structure on a serial transmission line according to a second embodiment of the present invention.

【図3】本発明の第3実施例であるシリアル伝送路上デ
ータ構造のブロック図。
FIG. 3 is a block diagram of a data structure on a serial transmission line according to a third embodiment of the present invention.

【図4】本発明の第4実施例であるシリアル伝送路上デ
ータ構造のブロック図。
FIG. 4 is a block diagram of a data structure on a serial transmission line according to a fourth embodiment of the present invention.

【図5】本発明の第5実施例のシリアル伝送路上データ
通信手順図。
FIG. 5 is a data transmission procedure diagram on a serial transmission line according to a fifth embodiment of the present invention.

【図6】本発明の第6実施例のシリアル伝送路上データ
通信手順図。
FIG. 6 is a data transmission procedure diagram on a serial transmission path according to a sixth embodiment of the present invention.

【図7】本発明の第7実施例のシリアル伝送路上データ
通信手順図。
FIG. 7 is a diagram showing a data communication procedure on a serial transmission line according to a seventh embodiment of the present invention.

【図8】本発明の第8実施例のシリアル伝送路上データ
通信手順図。
FIG. 8 is a diagram showing a data communication procedure on a serial transmission line according to an eighth embodiment of the present invention.

【図9】本発明の第9実施例のシリアル伝送路上データ
通信手順図。
FIG. 9 is a data transmission procedure diagram on a serial transmission path according to a ninth embodiment of the present invention.

【図10】従来のデータ伝送装置を用いたブロック図。FIG. 10 is a block diagram using a conventional data transmission device.

【符号の説明】[Explanation of symbols]

10A…シリアルデータ、10B…データ部、10C…
エラーチェックコード、101,102…データ伝送装
置、103…シリアル伝送路、11,12,51,5
2,81,82,91,92…データ伝送装置、13…
シリアルデータライン、3…シリアル伝送路、14,2
4,33,44…シリアル伝送路上データ構造、2A,
2B,2Y,2Z,3A,3B,3Z,4A,4B,4
Y,4Z,11B,12B…ブロック、11D…デー
タ、11C,23,32,43…チェックコード、15
…全体データ、161…全体チェックコード、31,4
1,42…ECCコード。
10A: Serial data, 10B: Data part, 10C ...
Error check code, 101, 102: data transmission device, 103: serial transmission line, 11, 12, 51, 5
2, 81, 82, 91, 92 ... data transmission device, 13 ...
Serial data line, 3 ... serial transmission path, 14, 2
4, 33, 44 ... data structure on serial transmission path, 2A,
2B, 2Y, 2Z, 3A, 3B, 3Z, 4A, 4B, 4
Y, 4Z, 11B, 12B ... block, 11D ... data, 11C, 23, 32, 43 ... check code, 15
... Whole data, 161 ... Whole check code, 31, 4
1,42 ... ECC code.

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 他のデータ伝送装置とシリアルデータの
やり取りをするデータ伝送手段を少なくとも1つ備えた
データ伝送装置において、1つの伝送データ単位を一定
の長さの複数ブロックに分割し、その分割した複数ブロ
ックそれぞれに1ビットのデータ変化を検出できるエラ
ー検出コードを設けると共に、1つの伝送データ単位全
体でも同様のエラー検出コードを設けた伝送データ単位
を設けることを特徴とするデータ伝送装置。
In a data transmission apparatus provided with at least one data transmission means for exchanging serial data with another data transmission apparatus, one transmission data unit is divided into a plurality of blocks of a fixed length, and the division is performed. A data transmission apparatus characterized in that an error detection code capable of detecting a 1-bit data change is provided in each of a plurality of blocks, and a transmission data unit provided with a similar error detection code is provided in one entire transmission data unit.
【請求項2】 請求項1記載のデータ伝送装置におい
て、一定の長さに分割したデータを縦方向に並べ、この
縦方向のデータ列に対しても1ビットのデータ変化を検
出できるエラー検出コードを設けることを特徴とするデ
ータ伝送装置。
2. An error detection code according to claim 1, wherein the data divided into a predetermined length are arranged in a vertical direction, and a 1-bit data change can be detected even in the data string in the vertical direction. A data transmission device comprising:
【請求項3】 請求項1記載のデータ伝送装置におい
て、一定の長さに分割した複数ブロックのデータに、1
ビットのデータ変化を修復でき、2ビットのデータ変化
を検出できるECCコードを用いることを特徴とするデ
ータ伝送装置。
3. The data transmission apparatus according to claim 1, wherein the data of a plurality of blocks divided into a predetermined length includes 1
A data transmission device using an ECC code capable of recovering a bit data change and detecting a 2-bit data change.
【請求項4】 請求項2記載のデータ伝送装置におい
て、1つの伝送データ単位を一定の長さの複数ブロック
に分割し、その分割した複数ブロックそれぞれにECC
コードを設け、さらに一定の長さに分割したデータを縦
方向に並べ、この縦方向のデータ列に対してもECCコ
ードを設けることを特徴とするデータ伝送装置。
4. The data transmission apparatus according to claim 2, wherein one transmission data unit is divided into a plurality of blocks each having a predetermined length, and each of the plurality of divided blocks is subjected to ECC.
A data transmission device comprising a code, a data divided into a predetermined length, arranged in the vertical direction, and an ECC code provided for the data sequence in the vertical direction.
【請求項5】 請求項1乃至請求項4記載のいずれかの
データ伝送装置において、修復できないデータ変化を検
出したことを条件に、送られてきたデータ全てを無効と
することなく、エラーの発生した分割ブロックのみを再
送することを特徴とするデータ伝送装置。
5. The data transmission apparatus according to claim 1, wherein an error is generated without invalidating all transmitted data on condition that an unrecoverable data change is detected. A data transmission device characterized by retransmitting only divided blocks.
【請求項6】 請求項3または請求項4記載のデータ伝
送装置において、ECCコードによる確認は、伝送デー
タ全体に対して付加されたエラー検出コードが異常だっ
たときのみ行うことを特徴とするデータ伝送装置。
6. The data transmission device according to claim 3, wherein the confirmation by the ECC code is performed only when an error detection code added to the entire transmission data is abnormal. Transmission equipment.
【請求項7】 請求項3または請求項4記載のデータ伝
送装置において、ECCコードによりデータ変化を修復
できたことを条件に、修復後のデータを用いて再度伝送
データ全体のエラー検出コードを計算し、送られてきた
伝送データのエラー検出コードとを比較することを特徴
とするデータ伝送装置。
7. The data transmission device according to claim 3, wherein an error detection code of the entire transmission data is calculated again using the restored data, on condition that the data change can be restored by the ECC code. A data transmission device for comparing the transmitted transmission data with an error detection code.
【請求項8】 請求項3記載のデータ伝送装置におい
て、ECCコードにより修復可能な1ビットのエラーを
検出したことを条件に、伝送速度を段階的に遅くするこ
とを特徴とするデータ伝送装置。
8. The data transmission device according to claim 3, wherein the transmission speed is gradually reduced on condition that a one-bit error that can be recovered by the ECC code is detected.
【請求項9】 請求項3記載のデータ伝送装置におい
て、ECCコードにより修復可能な1ビットのエラーを
検出しないことを条件に、伝送速度を段階的に早くする
ことを特徴とするデータ伝送装置。
9. The data transmission device according to claim 3, wherein the transmission speed is increased stepwise on condition that no one-bit error that can be recovered by the ECC code is detected.
JP11154881A 1999-06-02 1999-06-02 Data transmission device Pending JP2000349792A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11154881A JP2000349792A (en) 1999-06-02 1999-06-02 Data transmission device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11154881A JP2000349792A (en) 1999-06-02 1999-06-02 Data transmission device

Publications (1)

Publication Number Publication Date
JP2000349792A true JP2000349792A (en) 2000-12-15

Family

ID=15594004

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11154881A Pending JP2000349792A (en) 1999-06-02 1999-06-02 Data transmission device

Country Status (1)

Country Link
JP (1) JP2000349792A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002098003A1 (en) * 2001-05-29 2002-12-05 Thomson Licensing S.A. Hierarchical block coding for a packet-based communications system
JP2008508757A (en) * 2004-07-27 2008-03-21 シーメンス アクチエンゲゼルシヤフト Encoding method and decoding method with two-stage error protection method, and encoding device and decoding device
JP2010022004A (en) * 2001-11-01 2010-01-28 Qualcomm Inc Inner coding of higher priority data within digital message
US7716559B2 (en) 2003-10-23 2010-05-11 Thomson Licensing Method for lost packet reconstruction and device for carrying out said method
EP2234305A1 (en) * 2009-03-27 2010-09-29 Nokia Siemens Networks Oy Method of reliable communications by splitting redundant data into CRC sub-blocks best reassembled at the receiver
US8103942B2 (en) 2007-05-24 2012-01-24 Fuji Xerox Co., Ltd. Data transmission apparatus, data transmission device, data reception device and data transmission system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002098003A1 (en) * 2001-05-29 2002-12-05 Thomson Licensing S.A. Hierarchical block coding for a packet-based communications system
US7389463B2 (en) 2001-05-29 2008-06-17 Thomson Licensing Hierarchical block coding for a packet-based communications system
JP2010022004A (en) * 2001-11-01 2010-01-28 Qualcomm Inc Inner coding of higher priority data within digital message
US7716559B2 (en) 2003-10-23 2010-05-11 Thomson Licensing Method for lost packet reconstruction and device for carrying out said method
JP2008508757A (en) * 2004-07-27 2008-03-21 シーメンス アクチエンゲゼルシヤフト Encoding method and decoding method with two-stage error protection method, and encoding device and decoding device
US8601343B2 (en) 2004-07-27 2013-12-03 Nokia Siemens Networks Gmbh & Co. Kg Encoding and decoding method, and encoding and decoding devices with a two-stage error protection process
US8103942B2 (en) 2007-05-24 2012-01-24 Fuji Xerox Co., Ltd. Data transmission apparatus, data transmission device, data reception device and data transmission system
EP2234305A1 (en) * 2009-03-27 2010-09-29 Nokia Siemens Networks Oy Method of reliable communications by splitting redundant data into CRC sub-blocks best reassembled at the receiver

Similar Documents

Publication Publication Date Title
WO2006096879A1 (en) System and method for tolerating communication lane failures
JPH0328094B2 (en)
CN105991252B (en) Method and apparatus for protecting data transfer blocks from memory errors and transfer errors
US20110022936A1 (en) Sending device, receiving device, communication control device, communication system, and communication control method
KR20120112981A (en) Receiving node and method of reducing retransmission of data frame
JP2000349792A (en) Data transmission device
US8806282B2 (en) Data integrity field (DIF) implementation with error detection and intelligent recovery mechanism
CN111726288A (en) Real-time data transmission and recovery method and system for power secondary equipment
EP3477478B1 (en) Memory architecture including response manager for error correction circuit
JP3217716B2 (en) Wireless packet communication device
JP5056947B2 (en) Information processing apparatus, data transmission apparatus, and data transfer method for data transmission apparatus
US8762817B1 (en) Method and apparatus for determining the start of a data field in a data frame
US7096414B2 (en) In-line wire error correction
CN113055259B (en) Function safety protection method based on AXI bus protocol
US7251753B2 (en) Apparatus, system, and method for identifying a faulty communication module
WO2023020202A1 (en) Integrated circuit, communication method, and communication system
JPH0535616A (en) Data transfer system
JP4213814B2 (en) Error correction circuit check method and error correction circuit with check function
JP3245552B2 (en) Transfer control system
US20090150727A1 (en) Data transmission method
JPH03190333A (en) Data abnormality detection system for parallel data communication
WO2003105392A1 (en) Methods for use with timeslot identifiers in a timeslot-based protocol and apparatus
CN118199800A (en) Data transmission optimization method and system
JPH02189665A (en) Bus system
JP2001102938A (en) Error detecting method, error correcting method and error correcting device for received signal