JPH0724398B2 - Signal transmission error verification method - Google Patents

Signal transmission error verification method

Info

Publication number
JPH0724398B2
JPH0724398B2 JP16958686A JP16958686A JPH0724398B2 JP H0724398 B2 JPH0724398 B2 JP H0724398B2 JP 16958686 A JP16958686 A JP 16958686A JP 16958686 A JP16958686 A JP 16958686A JP H0724398 B2 JPH0724398 B2 JP H0724398B2
Authority
JP
Japan
Prior art keywords
word
error
transmission
parity
vertical parity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP16958686A
Other languages
Japanese (ja)
Other versions
JPS6326133A (en
Inventor
栄三郎 酒匂
照信 宮崎
一夫 西島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP16958686A priority Critical patent/JPH0724398B2/en
Publication of JPS6326133A publication Critical patent/JPS6326133A/en
Publication of JPH0724398B2 publication Critical patent/JPH0724398B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は信号伝送誤り検定方法に係り、特に高度の誤り
検定と訂正できる信号伝送誤り検定方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a signal transmission error verification method, and more particularly to a signal transmission error verification method capable of high-level error verification and correction.

〔従来の技術〕[Conventional technology]

情報伝送処理装置では信号伝送路で発生する符号誤りを
効率良く検出し、システムの誤動作を防止すると共にシ
ステムの処理応答性を早くすることが必要である。この
ため、各種誤り検出方式が提供されている。例えば、特
願昭53−49995号に提案の方式は、誤り検定について十
分な効果があることが判明したが、一方冗長度が高いこ
とも確認出来た。
In the information transmission processing device, it is necessary to efficiently detect a code error occurring in the signal transmission path, prevent a malfunction of the system, and speed up the processing response of the system. Therefore, various error detection methods are provided. For example, the method proposed in Japanese Patent Application No. 53-49995 was found to be sufficiently effective for error checking, but on the other hand, it was confirmed that the redundancy is high.

それでは、情報伝送について説明する。Now, information transmission will be described.

情報伝送を行うとき、例えば0〜9の十進法を伝送する
とすれば、第9図又は第10図のようにビツトに重みを持
たせ、更にその伝送数値(0〜9の各々)に伝送誤りを
検出するための水平パリテイビツトHPを附加するのが普
通である。第9図の場合はバイナリーコードに1ビツト
の偶数パリテイビツトHPを附加し、第10図の場合は重み
ビツト(1,2,4,7)とパリテイビツトHPを有効に組合せ
て、5C2の定マークコードとしている。この重みビット
とパリティビットHPの組み合わせを以下、ワード(W)
と称する。
When transmitting information, for example, if the decimal system of 0 to 9 is transmitted, the bit is given a weight as shown in FIG. 9 or FIG. 10, and the transmission numerical value (each of 0 to 9) is given a transmission error. it is common to wipe the horizontal Pariteibitsuto H P for detecting. For Figure 9 to wipe an even Pariteibitsuto H P of 1 bit in the binary code, in the case of FIG. 10 in combination enable Pariteibitsuto H P the weight bits (1,2,4,7), 5 C 2 It is a fixed mark code. This combination of weight and parity bits H P below, word (W)
Called.

このような符号構成において、情報伝送の送受信の順序
は第11図に示すように送,受信する。つまり、第11図に
おいて、W1,W2,……WNは第9図又は第10図の内の10進数
の1つのワードであり、各々5ビツトからなる。第11図
中のW1,W2,……WNは例えば、“3",“2",……“6"の数値
を送受信するときを示しており、このような数値を伝送
するとき伝送装置での伝送誤り検出方式として、まず二
連送照合方式がある。この方式は、第11図のように、W1
〜WNをまず送信し、更に、再びもう一回W1〜WNをまず送
信し、受信側では先に受信したW1〜WNの符号と二回目に
受信したW1〜WNを照合して一致検査を行い、一致しない
場合には誤りがあると判定する方式である。
In such a code structure, the order of transmitting and receiving information is transmitted and received as shown in FIG. That is, in FIG. 11, W 1 , W 2 , ... W N is one word in decimal number in FIG. 9 or FIG. 10, each consisting of 5 bits. W 1 , W 2 , ... W N in Fig. 11 indicates, for example, when transmitting and receiving numerical values of "3", "2", ... "6", and when transmitting such numerical values. As a transmission error detection method in a transmission device, there is a double-transmission matching method. This method, as FIG. 11, W 1
First sends a to W-N, further, again first sends once more W 1 to W-N, the W 1 to W-N previously received by the receiver code and the W 1 to W-N received a second time This is a method of matching and performing a match check, and if there is no match, it is determined that there is an error.

又、伝送誤り検定方式の二つ目としては二連送目の全て
の符号を反転して伝送する方式がある。この方式は反転
連送照合方式と呼ばれている。
Further, as the second transmission error verification method, there is a method in which all the codes of the second consecutive transmission are inverted and transmitted. This method is called a reverse continuous transmission matching method.

前者も後者も二連送照合方式と呼ばれ、これらはビツト
数が2倍に増えるため、伝送時間が長くなる欠点があ
る。
Both the former and the latter are called the double-transmission matching method, and these have a drawback that the transmission time becomes long because the number of bits doubles.

これを短縮するための方法として、垂直パリテイ方式が
ある。その一例は第12図に示すようにW1〜WNにおける各
ワード毎のビツトデータD0,D2,D3,D4の位置を縦方向に
符号ビツトを調査し、そのときの符号が“1"の数(又は
“0"の数)により垂直パリテイーワードVPのP0,P1,P2,P
3の位置に、“1"の数が奇数のとき、“1"のようなビツ
トを育生して、このワードを垂直パリテイーワードVP
し、情報伝送の場合はW1〜WNを伝送すると共に垂直パリ
テイーワードVPを送受信して、誤り検出を行なう垂直パ
リテイー検出方式がある。この場合、垂直パリテイーワ
ードVPは、第9図の重み付け、符号構成では、水平パリ
テイーのみとしているために、ワード毎(WN)の誤り検
定能力は低いといえる。
As a method for shortening this, there is a vertical parity method. As an example, as shown in FIG. 12, the position of bit data D 0 , D 2 , D 3 , D 4 for each word in W 1 to W N is examined in the vertical direction for code bits, and the code at that time is "1" P 0 of the vertical Paris tee word V P by the number (or the number of "0") of, P 1, P 2, P
At position 3 , when the number of "1" is odd, a bit like "1" is raised and this word is used as vertical parity word V P. In the case of information transmission, W 1 to W N are transmitted. In addition, there is a vertical parity detection method that performs error detection by transmitting and receiving the vertical parity word V P. In this case, since the vertical parity word V P has only the horizontal parity in the weighting and code structure of FIG. 9, it can be said that the error verification capability for each word (W N ) is low.

すなわち、同一ワード内において、偶数個のビツト誤り
が同時に生じた時には水平パリテイー方式では検出出来
ない。
That is, when an even number of bit errors occur simultaneously in the same word, the horizontal parity method cannot detect them.

〔発明が解決しようとする問題点〕 これに比べて、第10図の水平パリテイー方式(定マーク
符号構成)では誤り検定能力は高い。また、垂直パリテ
イーワードVPを見ると、第9図の場合には、垂直パリテ
イーワードVPを検定するためのパリテイーワードを付加
することは可能であるが、第10図の定マーク符号構成か
らなるワード構成では必ずしも垂直パリテイーワードが
定マーク符号構成でないことから垂直パリテイーワード
の誤り検定が出来ない。更に、この垂直パリテイーワー
ドVPを検定するため定マークパリティービツトが育生で
きない欠点がある。
[Problems to be Solved by the Invention] In comparison to this, the horizontal parity system (constant mark code configuration) of FIG. 10 has a high error verification capability. Looking at the vertical parity word V P , in the case of FIG. 9, it is possible to add a parity word for testing the vertical parity word V P , but the fixed mark in FIG. In a word structure consisting of code structures, the vertical parity word cannot always be error-tested because the vertical parity word is not necessarily a constant mark code structure. Further, since the vertical parity word V P is tested, there is a drawback that the constant mark parity bit cannot be grown.

本発明の目的は、正確な伝送をすると共に伝送符号の誤
りを訂正し、かつシステムの応動時間を早くする信号伝
送誤り検定方法を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a signal transmission error verification method that enables accurate transmission, corrects transmission code errors, and shortens the response time of the system.

〔問題点を解決するための手段〕[Means for solving problems]

上記問題点を解決した本発明は、伝送符号を8C4定マー
クで構成してなるキャラクターワードを送受信する伝送
方式において、前記キャラクターワードの特定の位置に
常に“1"を設定すると共に、上記キャラクターワードを
基に垂直パリティー検定用のワードを育成し、キャラク
ターワード及び垂直パリティー検定用ワードの送受信を
行ない、垂直パリティーワードの誤り検定では前記キャ
ラクターワードの特定の位置に1対1に対応する垂直パ
リティー検定用ワードの特定位置の符号を基にパリティ
ー検定を行なうと共に、受信キャラクターワードから得
た垂直パリティーワードとの比較検定をすることを特徴
とするものである。
The present invention, which has solved the above-mentioned problems, is a transmission method for transmitting and receiving a character word in which a transmission code is composed of an 8 C 4 constant mark, in which “1” is always set at a specific position of the character word, and A vertical parity test word is cultivated based on the character word, and the character word and the vertical parity test word are transmitted / received. In the vertical parity word error test, the vertical position corresponding to a specific position of the character word is one-to-one. It is characterized in that the parity test is performed based on the code of the specific position of the parity test word, and the comparison test with the vertical parity word obtained from the received character word is performed.

〔作用〕[Action]

送信側では、キヤラクタワードに水平パリテイーをつけ
て送出する。次に送出したワードから構成した垂直ワー
ドを送信する。
On the sending side, the character word is sent with horizontal parity. Next, a vertical word composed of the transmitted words is transmitted.

受信側では、受信したワードの水平パリテイーを調べ
る。また、受信したワードから垂直パリテイーワードを
構成する。水平パリテイー,垂直パリテイーワード及び
作成した垂直パリテイーワードから誤り検定する。
At the receiving side, the horizontal parity of the received word is examined. Also, a vertical parity word is constructed from the received words. Perform error checking from the horizontal parity, vertical parity word, and created vertical parity word.

〔実施例〕〔Example〕

以下、本発明を図面に基づいて説明する。 Hereinafter, the present invention will be described with reference to the drawings.

第1図は本発明の一実施例を示す図であり、第1図
(I)はシステムを示す構成図、第1図(II)は信号伝
送一例を示す説明図、第1図は8C4の定マーク符号構成
のコードの一例を示す図である。
FIG. 1 is a diagram showing an embodiment of the present invention, FIG. 1 (I) is a configuration diagram showing a system, Figure 1 (II) is an explanatory view showing a signal transmission example, FIG. 1 is 8 C FIG. 6 is a diagram showing an example of a code having a constant mark code configuration of 4 .

第1図(I)において、符号1は送信装置、2は伝送
路、3は受信装置である。送信装置1,受信装置3は、通
信制御できる装置であつて、計算機で構成してよい。
In FIG. 1 (I), reference numeral 1 is a transmitter, 2 is a transmission line, and 3 is a receiver. The transmitting device 1 and the receiving device 3 are devices that can control communication and may be configured by computers.

第1図にて用いる符号構成は8C4の定マーク符号を用い
るものとし、これの一例を第1図(III)に示す。すな
わち、第1図(III)において、0〜9の各ワードは8C4
の定マーク符号であり、この内D1,D2,D4,D7の4ビット
は第10図に示す5C2のワード構成の頭の4ビット(D1,D
2,D4,D7)をそのまま流用し、残りの4ビットの内、5
ビット目はHP、6ビット目はY0、7ビット目はY1、8ビ
ット目はY2とからなる4ビットの水平パリティービット
を付加して8C4の定マーク符号を構成する。この時水平
パリティービットの内、HPビットは固定符号ビットと
し、伝送ワード数に関係無く常に垂直パリティーワード
の“1"または“0"の数が偶数となるか、あるいはVP4の
ビットが“1"の時にVP4を除く他のビットの“1"の数が
奇数になるようにするためにHPビットを常に“1"となる
ようにしている。
The code configuration used in FIG. 1 uses a constant mark code of 8 C 4 , and an example of this is shown in FIG. 1 (III). That is, in FIG. 1 (III), each word of 0 to 9 is 8 C 4
Is a constant mark code of 4 bits of D1, D2, D4, D7 among them, and the first 4 bits (D1, D2) of the 5 C 2 word structure shown in FIG.
2, D4, D7) are used as they are, and 5 of the remaining 4 bits are used.
Bit is HP, 6-th bit Y 0, 7 th bit forms a constant mark sign of Y 1, 8-th bit Y 2 Metropolitan 4 adds a horizontal parity bits of the bit 8 C 4 made of. At this time, of the horizontal parity bits, the HP bit is a fixed code bit and the number of “1” or “0” in the vertical parity word is always an even number, or the VP4 bit is “1” regardless of the number of transmission words. At this time, the HP bit is always set to "1" so that the number of "1" of other bits except VP4 is odd.

この符号構成では、情報ワード(Wn)は8C4の定マーク
を検定するが垂直パリティーワード(VP)は第1図(II
I)の(B)、(C)に示すように定マーク符号とはな
らないことから、このワード(VP)の伝送誤り検定は、
VP4のビットを利用する。すなわちVP4のビットが“1"な
らVP4のビット除く他のビットの“1"の数は奇数であ
り、VP4のビットが“0"ならVP4のビット除く他のビット
の“1"の数は偶数となることを前提に垂直パリティーワ
ードの伝送誤りを検定する。
With this code structure, the information word (Wn) tests the constant mark of 8 C 4 , but the vertical parity word (VP) is shown in FIG.
Since it is not a constant mark code as shown in (B) and (C) of I), the transmission error test of this word (VP) is
Use the bit of VP4. That is, if the bit of VP4 is "1", the number of "1" of other bits except the bit of VP4 is odd, and if the bit of VP4 is "0", the number of "1" of other bits except the bit of VP4 is even. The transmission error of the vertical parity word is tested on the assumption that

それでは、第1図(I)のシステム構成において、第1
図(II)に示すようにW1〜W4の情報信号を送信装置1,伝
送路2を介して受信装置3に送信する場合を、第2図及
び第3図をも参照しならが説明する。
Then, in the system configuration of FIG. 1 (I), the first
As shown in FIG. (II), the case where the information signals W 1 to W 4 are transmitted to the receiving device 3 via the transmitting device 1 and the transmission path 2 will be described with reference to FIGS. 2 and 3 as well. To do.

送信装置1では、信号処理をしてW1(“1"),W
2(“2"),W3(“6"),W4(“9")を作成し(ステツプ1
00)、さらに、W1〜W4から垂直パリテイーワードVPを作
成する(ステツプ101)。次いで、第1図(II)に示す
ように、W1〜W4を送信すると共に(ステツプ102)、垂
直パリテイーワードVPを送信する(ステツプ103)。
In the transmitter 1, signal processing is performed and W 1 (“1”), W
Create 2 (“2”), W 3 (“6”), W 4 (“9”) (step 1
00), and then create a vertical parity word V P from W 1 to W 4 (step 101). Then, as shown in FIG. 1 (II), W 1 to W 4 are transmitted (step 102) and the vertical parity word V P is transmitted (step 103).

この送信を終了すると、送信装置1は停止する(ステツ
プ104)。受信装置3では、ワードW1を受信してそのデ
ータをW1′とすると(ステツプ200)、水平パリテイー
チエツクを行い(ステツプ20)、W1′の水平パリテイー
に誤りがあれば、W1′誤りクラツグをセツトする(ステ
ツプ202)。この例では、W1′の水平パリテイーに誤り
がないので、ステツプ203に移る。ステツプ203では、ワ
ードW2を受信してそのデータをW2′とすると、ステツプ
204で水平パリテイーチエツクをする。パリテイー誤り
があればステツプ205で誤りフラツグを立てるが、ここ
では水平パリテイーが正しいのでステツプ206に移る。
When this transmission is completed, the transmitter 1 stops (step 104). In the receiving apparatus 3 receives the word W 1 of the data W 1 'When (step 200), the horizontal Paris tee Chie arrive (step 20), W 1' if there is an error in the horizontal Paritei of, W 1 'Set the erroneous flag (step 202). In this example, since there is no error in the horizontal parity of W 1 ′, step 203 is entered. In step 203, if word W 2 is received and its data is W 2 ′, step 203
At 204, make a horizontal parity check. If there is an error in the parity, an error flag is set at step 205, but since the horizontal parity is correct here, the process moves to step 206.

ステツプ206ではワードW3を受信してそのデータをW3
とすると、ステツプ207で水平パリテイーチエツクをす
る。ワードW3′では、水平パリテイーに誤りがあるの
で、ステツプ208に移り、誤りフラツグを立てる。次い
で、ステツプ209でワードW4を受信してそのデータを
W4′とすると、ステツプ210でパリテイーチエツクを
し、この例では正であるのでステツプ211に移らず、ス
テツプ212に移る。ステツプ212では、垂直パリテイーワ
ードVPを受信して、データVP′とし、次いでステツプ21
3では垂直パリティーワードの水平パリティーチェック
を行う。この例では、水平パルテイーは正しいので、ス
テツプ214に移る。ステツプ214では、受信したデータ
W1′〜W4′から垂直パリテイーワードRVPを作成する。
次いで、ステツプ215で、VP′とRVPとを比較しVP′=RV
Pならばステツプ218に移るが、VP′≠RVPならばステツ
プ202,205,208,211で水平パリテイーが異なつているか
判定し(ステツプ216)、フラツグがあれば、RVPより誤
りを訂正して、ステツプ218に移る。ステツプ216で、フ
ラツグが立つていなければステツプ219に移り、伝送誤
りとして、処理を終了する。
Step 206 receives the word W 3 and sends its data to W 3 ′.
Then, at step 207, a horizontal parity check is performed. In word W 3 ′, there is an error in horizontal parity, so we move to step 208 and set an error flag. Then at step 209 the word W 4 is received and its data
If W 4 ′, the parity check is performed at step 210, and since it is positive in this example, the process does not proceed to step 211 but to step 212. At step 212, the vertical parity word V P is received as data V P ′, and then at step 21.
In 3, horizontal parity check of vertical parity word is performed. In this example, the horizontal partition is correct, so we move to step 214. In step 214, the received data
Create a vertical parity word RV P from W 1 ′ to W 4 ′.
Then, in step 215, V P ′ and RV P are compared and V P ′ = RV P
If P , move to step 218, but if V P ′ ≠ RV P , determine in steps 202, 205, 208, 211 whether the horizontal parities are different (step 216). If there is a flag, correct the error from RV P and go to step 218. Move. If the flag is not set at step 216, the process proceeds to step 219, and the process ends because of a transmission error.

すなわち、例えば第1図の伝送手順において、W1〜W4
送受信し、その各々の水平パリテイー検定により、一つ
だけのワードに伝送誤りがあると判定したときは一旦伝
送の最後のワード(VP)まで受信し、一連の伝送(W1
W4,VPまで)のうち1ワードにおける1ビットのみが誤
りであるときには、第1図に示すように訂正が出来る
(尚、2ワード以上に誤りがあるときは訂正が出来な
い)。つまり、RVP(一連の受信ワードW1〜Wnから育生
した垂直パリテイーワード)と、VP′(送信端で育生し
て送信し、受信端で受けた垂直パリテイーワード)のデ
ータとを用い、符号の異なるビツト位置を調べることに
より、ワード中の誤り発生のビツト位置がわかることに
なる(図ではD3の位置に誤りが発生)。従つて、訂正す
るワード(Wn)のD4のビツトを訂正すれば(ビツトデー
タを反転すれば)正しいデータとなる(ステツプ21
7)。
That is, for example, in the transmission procedure of FIG. 1 , when W 1 to W 4 are transmitted / received and it is determined by the horizontal parity test of each of them that only one word has a transmission error, the last word of transmission ( V P ) received and a series of transmissions (W 1 ~
If only 1 bit in 1 word out of W 4 and V P ) is erroneous, it can be corrected as shown in FIG. 1 (note that if more than 2 words are erroneous, it cannot be corrected). That, RV and P (series of received words W 1, Ikuo the vertical Paris ~Wn tee words), (transmitted by Ikuo at the transmitting end, the vertical Paris tee word received at the receiving end) V P 'and data By using the bit positions with different signs, the bit position of the error occurrence in the word can be known (the error occurs at the position D 3 in the figure). Accordance connexion, if correct bits of D 4 correction word (Wn) (if inverting the bit data) becomes correct data (step 21
7).

このように本発明の一実施例である第1図の方式では、
伝送ワードのうち、1ワードのみに誤りがあるときはRV
Pを用いて、そのワードのデータを正しく訂正する事が
出来るが、2ワード以上に誤りが発生したときには修正
が出来ないことがある。
Thus, in the system of FIG. 1 which is an embodiment of the present invention,
RV when only one word in the transmission word has an error
You can use P to correct the data in that word correctly, but if an error occurs in two or more words, you may not be able to correct it.

特に、伝送誤りを生ずる原因として考えられるものの一
つに雷がある。雷は短時間に放電するため、伝送路2の
誤りとしては、数ビツト連続して発生することが考えら
れる。従つて、その発生するタイミングによつては2ワ
ードにまたがって誤りを生じることになる。すなわち、
ワードとワードの堺目において、雷害が発生する2ワー
ド共パリテイー、又は定マーク検定にかかつて、上述の
ビツト修正機能を生かすことが出来ない。
In particular, one of the possible causes of transmission error is lightning. Since lightning discharges in a short time, it is considered that an error in the transmission line 2 occurs continuously for several bits. Therefore, depending on the timing of occurrence, an error will occur over two words. That is,
In the word and word sakai, it is impossible to make use of the above-mentioned bit correction function even in the case of a two-word co-parity or fixed mark test in which lightning damage occurs.

したがつて、第2実施例では、上述の如きバースト的に
一連続して発生する。(すなわち、2ワード以上にまた
がつて)伝送ビツト誤りに対しても訂正機能をもたせよ
うとするものである。
Therefore, in the second embodiment, the bursts are continuously generated as described above. It is intended to provide a correction function even for a transmission bit error (that is, over two words or more).

以下、2ワードにまたがつて発生する誤り(バースト)
の場合にも対処出来る訂正機能について説明する。3ワ
ード以上の連続した誤り発生の修正については以下の説
明に準じて3分割以上すればよいことが明白である。
Below, errors that occur over two words (burst)
The correction function that can deal with the case will be described. It is obvious that the correction of the continuous error occurrence of 3 words or more may be performed by dividing into 3 or more according to the following description.

第4図は伝送誤りが2つのワード(例えばW3とW4)にま
たがつて発生したときにも伝送誤りを訂正可能とする伝
送手順を示している。
FIG. 4 shows a transmission procedure in which the transmission error can be corrected even when the transmission error occurs in two words (for example, W 3 and W 4 ).

第4図のVP1は伝送ワードのW1,W3のように奇数ワードか
ら育生した垂直パリテイーワードであり、VP2はW2,W4
ように偶数ワードから育生した垂直パリテイーワードで
ある。伝送の手順はW1〜W4に続いて、VP1,VP2を伝送
し、前記と同様に水平パリテイー検査を行い、VP1,VP2
の各々に対する訂正を行なえば良い。すなわち、偶数N
o.のワードグループと奇数No.のワードグループに対し
て前述のような修正を行うことで2ワード連続した誤り
も修正する事が出来る。
VP 1 in FIG. 4 is a vertical parity word grown from odd words like W 1 and W 3 of the transmission word, and VP 2 is a vertical parity word grown from even words like W 2 and W 4. Is. The transmission procedure is to transmit W P1 and V P2 after W 1 to W 4 and perform horizontal parity inspection as described above, and then perform V P1 and V P2.
It suffices to make a correction to each of the above. That is, even N
By correcting the word group of o. and the word group of odd No. as described above, it is possible to correct the error of two consecutive words.

以上の説明は垂直パリテイーワード自身の検定方法とし
ては他のワード検定とは異なる固定ビツトのパリテイー
ビツト位置で垂直ワード自身のパリテイー検定をした
が、これを誤り検定能力の高い定マーク符号とするとき
の実施例を第5図,第6図に示す。
In the above explanation, the vertical parity word itself is verified by a parity bit test of the vertical word itself at a parity bit position of a fixed bit, which is different from other word tests. An example of this is shown in FIGS.

第5図において、送信する垂直パリテイーワードを2分
(D1〜D7までと、HP,y0,y1,y2)してそれぞれVPHとし、
伝送手順では第6図に示すように伝送ワードに続きVP1
とVP2を伝送する。この伝送のときにV1Pでは、第5図の
VPHの4ビツトの反転した符号をHP,y0,y1,y2のビツトの
位置に配置する。更に、VP2ではD1〜D7のビツト位置に
第5図のVPLを割りあて、このVPLの反転符号をHP,y0,
y1,y2のビツトの位置に配置する。このようにして伝送
を行なうことにより、垂直パリテイーワードの誤り検定
を反転連送照合と同じ能力の検定が出来る。これにより
伝送ビツト数が少なくてもより高度の誤り検定と訂正が
出来ることになる。
In Figure 5, vertically Paris tee word 2 minutes to be transmitted (until D 1 ~D 7, H P, y 0, y 1, y 2) , respectively to V PH,
In the transmission procedure, the transmission word is followed by VP 1 as shown in Fig. 6.
And VP 2 are transmitted. In this transmission, at V 1P ,
An inverted sign of 4 bits of V PH H P, arranged in y 0, y 1, the position of the bits of y 2. Furthermore, assigning the V PL of Figure 5 to the bit position of the D 1 to D 7 in V P2, the inverted sign of the V PL H P, y 0,
Place at the bit positions of y 1 and y 2 . By performing the transmission in this way, the error test of the vertical parity word can be performed with the same ability as that of the inverted continuous transmission check. As a result, even if the number of transmission bits is small, it is possible to perform more sophisticated error verification and correction.

又、第6図の方法と、第4図の方法とを組合せて誤り修
正を実行すれば更に確実な伝送信頼度の高い修正データ
が得られることになる。
Further, if the method of FIG. 6 and the method of FIG. 4 are combined to perform error correction, more reliable correction data with high transmission reliability can be obtained.

又、本実施例では1ワードが8〔Bit〕で説明したが、
これに固定されることなく、任意のビツト数であつても
よい。
Further, in the present embodiment, one word is described as 8 [Bit],
The number of bits may be arbitrary without being fixed to this.

更に、本発明の実施例において、例えば零相キヤリヤ伝
送方式を適用するとき、送信側においては、自分が送信
した信号内容を自ら受信してデータ検定を行うことが出
来るため、伝送路に雷等が重畳したときには受信側にお
けるデータ誤りを送信側においても同時に受信回路を生
かすことにより可能となる。したがつて、送信データ誤
りが、同一のワードグループにおいて、2回以上発生し
たか否かを検定しておけば、2回以上のデータ誤り発生
以後は自ら送信を中止させることが出来、再送信すれ
ば、効果的に、早く信号を相手側に送ることが出来るこ
とになる。
Furthermore, in the embodiment of the present invention, for example, when the zero-phase carrier transmission system is applied, the transmitting side can receive the signal content transmitted by itself and perform data verification, so that lightning or the like is transmitted to the transmission line. When is superimposed, a data error on the receiving side can be realized by utilizing the receiving circuit on the transmitting side at the same time. Therefore, if it is verified whether or not the transmission data error occurs more than once in the same word group, the transmission can be stopped by itself after the data error occurs more than twice, and the retransmission By doing so, it is possible to effectively and quickly send a signal to the other party.

すなわち、一般に送信端においても、伝送路から送出信
号を受信し、これを上述の方式により受信すれば、相手
側か受信した信号を訂正出来るか否かを判断することが
出来る。このため、送信側においては、いずれかの同一
ワードグループにおけるワード誤りが2回以上発生した
時点で送信を中断すれば受信側も無用な信号受信を続け
ることなく、しかも、信号の誤り検定を送信側と受信側
の2ケ所で同時に行うため、より信頼度の高い伝送が可
能となる。
That is, in general, even at the transmitting end, if the outgoing signal is received from the transmission line and is received by the above-mentioned method, it is possible to judge whether or not the received signal can be corrected by the other party. Therefore, on the transmitting side, if the transmission is interrupted at the time when a word error in any one of the same word groups occurs twice or more, the receiving side does not continue the unnecessary signal reception, and further, the signal error test is transmitted. Since the transmission is performed at two locations, one on the receiving side and the other on the receiving side, more reliable transmission is possible.

第7図及び第8図(a),(b)に本発明の第2実施例
の伝送手順フローを示す。第7図は送信手順を示してお
り例えば第4図のワード1(W1)〜ワード4(W4)のデ
ータを送信するときにおいて、VP1は第4図のVP1の垂直
パリテイーの導出を行い(ステツプ301)、VP2は第4図
のVP2と同じ偶数ワードの垂直パリテイーを導出する
(ステツプ302)。
7 and 8 (a) and 8 (b) show a transmission procedure flow of the second embodiment of the present invention. FIG. 7 shows the transmission procedure. For example, when transmitting the data of word 1 (W 1 ) to word 4 (W 4 ) in FIG. 4, V P1 is the derivation of the vertical parity of V P1 in FIG. (Step 301), and V P2 derives the vertical parity of the same even number word as V P2 in FIG. 4 (Step 302).

次に、送信を開始するが、まずW1を送信し続いてW2,W3,
W4の順序で送信して行く(ステツプ303)、W1〜W4の送
信の次に先に導出したVP1を送信するがフロー図には送
信VP1であることを示す記号としてSVP1としている(ス
テツプ304)。次に最終の送信にSVP2を送り(ステツプ3
05)、送信処理を終了する(ステツプ306)。
Then it starts sending, sending W 1 first , then W 2 , W 3 ,
Transmission is performed in the order of W 4 (step 303), V P1 derived earlier is transmitted next to the transmission of W 1 to W 4 , but SV P1 is used as a symbol indicating that it is transmission V P1 in the flow diagram. (Step 304). Then send SV P2 for final transmission (step 3
05), and ends the transmission process (step 306).

一方、受信側では、第8図(a)及び(b)では、W1
ワードを受信し(ステツプ401)、そのワードの水平パ
リテイーのチエツクを行い(ステツプ402)、誤りがあ
ればそのワードが誤りがあつた事を記憶し(ステツプ40
3)、次のワードの受信を行う(ステツプ404)。順次W2
〜W4について上記と同様ワード毎に水平パリテイーをチ
エツクし誤りがあるときにそのワード誤りがあることを
示すフラグをセツトする(ステツプ404〜412)。次に、
送信した垂直パリテイーであるSVP1を受信し(ステツプ
413)、水平パリテイーのチエツクを行う(ステツプ41
4)。更にSVP2もSVP1と同様に受信し(ステツプ415)、
水平パリテイーチエツクを行う(ステツプ416)。この
とき、SVP1及びSVP2に水平パリテイー誤りがある場合に
は(ステツプ414,416)、伝送誤り処理を行う(例えば
操作とか制御は行なわない等)(ステツプ417)。SVP1
又はSVP2に水平誤りがない場合には(ステツプ414,41
6)、受信したデータW1及びW3から第4図と同様に垂直
パリテイーを導出する(ステツプ418)。ここでは導出
したものをRVP1としている。このRVP1と受信したSVP1
の比較を行い(ステツプ419)、一致しない場合には、W
1又はW3の受信ワード誤りがあると判断して(ステツプ4
20)、訂正処理を実行する(ステツプ421)。このとき
先に水平パリテイーチエツクでセツトしたフラグを見
て、誤りセツトされているワードを訂正する(但し、図
示していないがW1及びW3の2ワード共誤りがある場合に
は訂正しない)。
On the other hand, on the receiving side, in FIGS. 8A and 8B, the word W 1 is received (step 401), and the horizontal parity of the word is checked (step 402). Remembered that there was an error (Step 40
3) The next word is received (step 404). Sequential W 2
For ~ W 4 , check the horizontal parity for each word in the same manner as above, and when there is an error, set a flag indicating that the word has an error (steps 404 to 412). next,
SV P1 which is the vertical parity transmitted is received (step
413), perform a horizontal parity check (step 41).
Four). Furthermore, SV P2 receives the same as SV P1 (step 415),
Perform horizontal parity check (step 416). At this time, if there is a horizontal parity error in SV P1 and SV P2 (steps 414, 416), transmission error processing is performed (for example, no operation or control is performed) (step 417). SV P1
Or if there is no horizontal error in SV P2 (steps 414, 41
6) The vertical parity is derived from the received data W 1 and W 3 as in FIG. 4 (step 418). Here are the RV P1 a material obtained by derivation. This RV P1 is compared with the received SV P1 (step 419) and if they do not match, W
It is judged that there is a received word error of 1 or W 3 (step 4
20), the correction process is executed (step 421). At this time, look at the flag set by the horizontal parity check earlier, and correct the word that has been set in error (however, if there is a two-word error in both W 1 and W 3 (not shown), do not correct it). ).

以下同様にSVP2についてもチエツク訂正を行なう。In the same way, check correction is also applied to SV P2 .

以上のことから奇数偶数にまたがる2ワードの伝送誤り
については訂正が可能となる。
From the above, it is possible to correct a transmission error of two words that spans odd and even numbers.

〔発明の効果〕〔The invention's effect〕

以上述べたように本発明によれば伝送ビツト数が少なく
てもより高度の誤り検定と訂正が出来るので、伝送を応
用する装置の応動速度が早くなる効果がある。
As described above, according to the present invention, even if the number of transmission bits is small, a higher degree of error verification and correction can be performed, so that there is an effect that the response speed of the device to which the transmission is applied becomes faster.

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

第1図は本発明に係わる信号伝送誤り検定方法の第1実
施例を示す図、第2図は同実施例の送信手順を示すフロ
ーチヤート、第3図は同実施例を受信手順を示すフロー
チヤート、第4図は本発明の第2実施例を示す図、第5
図及び第6図は同第2実施例で用いられるビツト構成を
示す図、第7図は同第2実施例の送信手順を示すフロー
チヤート、第8図は同第2実施例の受信手順を示すフロ
ーチヤート、第9図〜第12図は従来例を説明するための
説明図である。 1……送信装置、2……伝送路、3……受信装置。
FIG. 1 is a diagram showing a first embodiment of a signal transmission error checking method according to the present invention, FIG. 2 is a flow chart showing a transmitting procedure of the same embodiment, and FIG. 3 is a flow showing a receiving procedure of the same embodiment. FIG. 4 is a chart showing a second embodiment of the present invention, FIG.
FIG. 6 and FIG. 6 are diagrams showing a bit configuration used in the second embodiment, FIG. 7 is a flow chart showing a transmitting procedure of the second embodiment, and FIG. 8 is a receiving procedure of the second embodiment. The flow chart shown in FIGS. 9 to 12 is an explanatory view for explaining a conventional example. 1 ... Transmitting device, 2 ... Transmission path, 3 ... Receiving device.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】伝送符号を8C4定マークで構成してなるキ
ャラクターワードを送受信する伝送方式において、前記
キャラクターワードの特定の位置に常に“1"を設定する
と共に、上記キャラクターワードを基に垂直パリティー
検定用のワードを育成し、キャラクターワード及び垂直
パリティー検定用ワードの送受信を行ない、垂直パリテ
ィーワードの誤り検定では前記キャラクターワードの特
定の位置に1対1に対応する垂直パリティー検定用ワー
ドの特定位置の符号を基にパリティー検定を行なうと共
に、受信キャラクターワードから得た垂直パリティーワ
ードとの比較検定をすることを特徴とする信号伝送誤り
検定方法。
1. In a transmission method for transmitting and receiving a character word having a transmission code composed of 8 C 4 constant marks, "1" is always set at a specific position of the character word, and the character word is used as a basis. The word for vertical parity test is cultivated, and the character word and the word for vertical parity test are transmitted and received. In the error test of the vertical parity word, the word for vertical parity test corresponding to the specific position of the character word is described. A signal transmission error test method characterized by performing a parity test based on a code at a specific position and performing a comparison test with a vertical parity word obtained from a received character word.
【請求項2】特許請求の範囲第1項において、前記キャ
ラクタワードの前半ビット分の垂直パリティーを反転
し、垂直パリティーワードの後半ビットに設定し、垂直
パリティーワードを定マーク検定可能とする信号伝送誤
り検定方法。
2. The signal transmission according to claim 1, wherein the first half bit vertical parity of the character word is inverted and set to the second half bit of the vertical parity word so that the vertical parity word can be subjected to a fixed mark test. Error checking method.
【請求項3】特許請求の範囲第1項において、垂直パリ
ティーワードの誤り検定を行ない、このワードに誤りが
ないことを条件に、誤り発生ワードの1ワード誤りを訂
正する信号伝送誤り検定方法。
3. A signal transmission error test method according to claim 1, wherein an error test of a vertical parity word is performed, and a one-word error of an error-occurring word is corrected on condition that there is no error in this word.
JP16958686A 1986-07-18 1986-07-18 Signal transmission error verification method Expired - Lifetime JPH0724398B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16958686A JPH0724398B2 (en) 1986-07-18 1986-07-18 Signal transmission error verification method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16958686A JPH0724398B2 (en) 1986-07-18 1986-07-18 Signal transmission error verification method

Publications (2)

Publication Number Publication Date
JPS6326133A JPS6326133A (en) 1988-02-03
JPH0724398B2 true JPH0724398B2 (en) 1995-03-15

Family

ID=15889227

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16958686A Expired - Lifetime JPH0724398B2 (en) 1986-07-18 1986-07-18 Signal transmission error verification method

Country Status (1)

Country Link
JP (1) JPH0724398B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2896442B2 (en) * 1990-03-20 1999-05-31 株式会社日立製作所 Signal transmission verification system and signal transmission system

Also Published As

Publication number Publication date
JPS6326133A (en) 1988-02-03

Similar Documents

Publication Publication Date Title
US3910322A (en) Test set controlled by a remotely positioned digital computer
US4077028A (en) Error checking and correcting device
EP0177690A2 (en) Method for error detection and correction by majority voting
US4447903A (en) Forward error correction using coding and redundant transmission
US5453999A (en) Address verification system using parity for transmitting and receiving circuits
US5241549A (en) Data communications system
EP0520580B1 (en) Method and devices for testing ATM connections
JP3217716B2 (en) Wireless packet communication device
JPH0724398B2 (en) Signal transmission error verification method
GB2032736A (en) Data transfer system
KR100999421B1 (en) Method and measuring device for determining an error rate without incremental redundancy
GB2154104A (en) Test apparatus
RU2163400C1 (en) Universal hybrid method for single error correction in data transmission using binary-pulse manchester ii code
JPS6362427A (en) Detection system for error of data communication
JP2864611B2 (en) Semiconductor memory
SU894778A1 (en) Information transmission monitoring device
KR960018927A (en) Program download method using serial I / O
JPS6337728A (en) Error test system
JP2896442B2 (en) Signal transmission verification system and signal transmission system
JPH04267631A (en) Parity bit addition system
JPS63217736A (en) Data transmission system
JPH034623A (en) Serial data transmission system
SU1425757A1 (en) Information transceiving device with error-checking
JPS59100646A (en) Error check system
JPS60174533A (en) Code error correcting device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term