JPS586420B2 - Total data error detection method - Google Patents

Total data error detection method

Info

Publication number
JPS586420B2
JPS586420B2 JP52055052A JP5505277A JPS586420B2 JP S586420 B2 JPS586420 B2 JP S586420B2 JP 52055052 A JP52055052 A JP 52055052A JP 5505277 A JP5505277 A JP 5505277A JP S586420 B2 JPS586420 B2 JP S586420B2
Authority
JP
Japan
Prior art keywords
data
units
receiving
transmitting
character
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
Application number
JP52055052A
Other languages
Japanese (ja)
Other versions
JPS53139906A (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.)
Omron Corp
Original Assignee
Omron Tateisi Electronics Co
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 Omron Tateisi Electronics Co filed Critical Omron Tateisi Electronics Co
Priority to JP52055052A priority Critical patent/JPS586420B2/en
Publication of JPS53139906A publication Critical patent/JPS53139906A/en
Publication of JPS586420B2 publication Critical patent/JPS586420B2/en
Expired legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 この発明は、データ伝送の誤りを検出する方式に関する
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a method for detecting errors in data transmission.

データを送信し、そしてこれを受信した場合に、そこに
何らかの誤りがあったか否かを検出することは、そのデ
ータの信頼性を保障するために、きわめて必要なことで
ある。
In order to guarantee the reliability of data, it is extremely necessary to detect whether or not there are any errors when data is transmitted and received.

この誤り検出の方式としては、所謂パリテイ方式等があ
るが、これらは、データそのものの誤りを確率論的に検
出するだけであって、送受信局において生じたハードウ
エア的故障による誤りまでも確実に検出することはでき
ない。
This error detection method includes the so-called parity method, but these methods only detect errors in the data itself probabilistically, and do not reliably detect errors caused by hardware failures at the transmitting/receiving station. It cannot be detected.

例えば、送信側において複数のデータ送信ユニットから
順次出力データを送信し、これを受信側において上記送
信ユニットに対応して設けた複数の受信ユニットに順次
入力させるようにした伝送システムにおいては、送信側
のユニット数と受信側のユニット数が、何らかの手違い
によって一致しないことがあって、むしろこれによる誤
りの方が、バリテイ等の方式によって検出される類の誤
りよりも多いのである。
For example, in a transmission system in which output data is sequentially transmitted from a plurality of data transmitting units on the transmitting side, and the output data is sequentially input to a plurality of receiving units provided corresponding to the above-mentioned transmitting units on the receiving side, the transmitting side The number of units on the receiving side may not match the number of units on the receiving side due to some kind of mistake, and errors caused by this are actually more common than errors of the type detected by methods such as barity.

そして、このようなハードウエア的な故障に起因する誤
りは、従来のソフトウエア的な検出方式では、必ずしも
検出することができず、これを検出するには、送信側お
よび受信側の両方についてハードウエア的な検査を行な
わなければならない面倒があった。
Errors caused by such hardware failures cannot necessarily be detected using conventional software detection methods. There was the trouble of having to perform wear-related inspections.

この発明は、以上のような背景に鑑みてなされたもので
、その目的とするところは、上記ソフトウエア的誤りは
もちろん、送信側あるいは受信側にて生じたハードウエ
ア的誤りをも検出することができ、しかもその検出は、
送信側でデータに冗長度を持たせずとも、受信側だけに
て行なうことができるようなトータルデータ誤り検出方
式を提供することにある。
This invention was made in view of the above background, and its purpose is to detect not only software errors mentioned above, but also hardware errors occurring on the transmitting side or receiving side. , and its detection is
To provide a total data error detection method that can be performed only on a receiving side without providing data redundancy on the transmitting side.

以下、この発明を、その実施例を示した図面に基づいて
詳細に説明する。
Hereinafter, the present invention will be explained in detail based on the drawings showing embodiments thereof.

先ず、この発明に係わる誤り検出方式が適用されている
伝送システムについて説明すると、第1図にその概略を
示すように、その伝送システムにおいては、1本の共通
伝送ラインLに複数の送受信局P1.P2,P3.Pn
がそれそれ接続されている。
First, a description will be given of a transmission system to which the error detection method according to the present invention is applied. As shown schematically in FIG. .. P2, P3. Pn
But it is connected.

そして、各送受信局P1,P2,P3,Pnには、それ
ぞれ各局別の自己コードが設定されており、何れか1つ
の局においてその自己コードを指定しラインLに送出す
ると、この送出されたコードと同じコードが設定されて
いる送受信局が選択的に呼び出されて、自己コードを送
出した側の局と呼び出された側の局間でデータの遣り取
りが行なわれるようになっている。
Each transmitting/receiving station P1, P2, P3, Pn has its own code set for each station, and when any one station specifies its own code and sends it to line L, the sent code Transmitting/receiving stations that have the same code set are selectively called, and data is exchanged between the station that sent its own code and the called station.

各送受信局P1〜nは、第2図にその詳細を示すように
、何れかの送受信局から伝送ラインLにデータが送出さ
れると、先ず、これをレシーバRで受信して、モノマル
チバイブレータMMIのトリガ一入力、キャラクタ検出
器1、およびデータ比較器2にそれぞれ導くようになっ
ている。
As shown in detail in FIG. 2, each transmitting/receiving station P1 to Pn receives data from one of the transmitting/receiving stations onto the transmission line L, first receives it at the receiver R, and sends it to the mono-multivibrator. It is designed to lead to an MMI trigger input, a character detector 1, and a data comparator 2, respectively.

そして、キャラクタ検出器1が、1キャラクタ分のビッ
ト情報が受信されたことを検出すると、その検出出力C
SはステツプカウンタK1の計数内容を1ずつ歩進させ
るようになっている。
When the character detector 1 detects that bit information for one character has been received, its detection output C
S is designed to increment the count of the step counter K1 by one.

従って、カウンタK1の計数内容は、1キャラクタ分の
データが受信された段階にて、0から1に歩進する。
Therefore, the count of the counter K1 increments from 0 to 1 when data for one character is received.

また、データ比較器2は、受信データを自己コード設定
部3から発せられる自己コードと比較するようになって
いる。
Further, the data comparator 2 compares the received data with the self-code issued from the self-code setting section 3.

この自己コードは1キャラクタで構成されている。This self-code consists of one character.

この自己コードと受信データ内容が一致すると、比較器
2から一致出力が発せられるようになっている。
When this self-code and the contents of the received data match, the comparator 2 outputs a match output.

この一致出力が、カウンタK1の計数内容が1のときに
発せられると、ゲートG1が開いて、自己コード設定部
3から発せられる自己コードがドライバDを経て伝送ラ
インLへ送出され、またフリツプフロツプFF1がセッ
トされて、送信テータ記憶部5にクロツク発生器CLK
からのクロツク信号CPが導入される。
When this coincidence output is generated when the count content of the counter K1 is 1, the gate G1 is opened and the self-code generated from the self-code setting section 3 is sent to the transmission line L via the driver D, and the flip-flop FF1 is set, and the clock generator CLK is stored in the transmission data storage section 5.
A clock signal CP from CP is introduced.

ドライバDから共通伝送ラインLへ送出された自己コー
ドは、自局のレシーバRにも受信され、この結果カウン
タK1の計数内容は1から2に歩進する。
The own code sent from the driver D to the common transmission line L is also received by the receiver R of the own station, and as a result, the count content of the counter K1 increments from 1 to 2.

カウンタK1の計数内容が2になると、ゲートG2が開
いて、受信コード指定部4から発せられる受信局コード
がドライバDを経て伝送ラインLへ送出され、受信局の
指定が行なわれる。
When the count of the counter K1 reaches 2, the gate G2 is opened and the receiving station code issued from the receiving code specifying section 4 is sent to the transmission line L via the driver D, thereby specifying the receiving station.

このとき、その受信局コードは自局のレシーバRにも受
信されて、カウンタK1の計数内容は2から3に歩進す
る。
At this time, the receiving station code is also received by the receiver R of the local station, and the count content of the counter K1 increments from 2 to 3.

カウンタK1の計数内容が3になると、論理ゲートA1
が閉じて、カウンタK1のカウント入力Ciが禁止され
、またゲートG3が開いて、送信データ記憶部5からの
データがドライバDを経て伝送ラインLへ送出されるよ
うになる。
When the count content of counter K1 reaches 3, logic gate A1
is closed, the count input Ci of the counter K1 is inhibited, and the gate G3 is opened so that the data from the transmission data storage section 5 is sent to the transmission line L via the driver D.

そして、データの送出が終ると、今までトリガーされ続
けていたモノマルチバイブレータMM1は、その後のト
リガー信号が跡切れて、一定の待機時間後にその出力が
立下る。
Then, when the data transmission is finished, the mono multivibrator MM1, which has been continuously triggered until now, loses the trace of the subsequent trigger signal, and its output falls after a certain waiting time.

つまり、これによりデータのフレーム信号FSが発せら
れる。
That is, this causes the data frame signal FS to be generated.

このフレーム信号FS,すなわちMMIの出力の立下り
により、カウンタK1およびフリツプフロツプFF1は
それぞれリセットされて、最初の状態に復帰せられる。
With the fall of the output of frame signal FS, ie, MMI, counter K1 and flip-flop FF1 are reset and returned to their initial states.

次に、カウンタK1の計数内容が0から1に歩進したと
きに、データ比較器2から一致出力が発せられなかった
場合、すなわち受信データの最初の1キャラクタデータ
内容が自己コードでなかった場合、カウンタK1の計数
内容は0から1に歩進するが、この1に歩進した段階で
は伺も行なわれず、さらに次の1キャラクタデータが入
って来るのを待つようになる。
Next, when the count content of the counter K1 increments from 0 to 1, if a coincidence output is not issued from the data comparator 2, that is, if the first character data content of the received data is not a self-code. , the count content of the counter K1 increments from 0 to 1, but at the stage where it increments to 1, no interrogation is performed and the system waits for the next character data to be input.

次の1キャラクタデータが入つ又来て、カウンタK1の
計数内容が1から2に歩進し、かつそのデータ内容が自
己コードと一致すると、フリツプフロツプFF2がセッ
トされて、受信データ記憶部6にクロツク信号CPが導
入される。
When the next character data comes in and the count contents of the counter K1 increments from 1 to 2, and the data contents match the own code, flip-flop FF2 is set and the received data storage section 6 is stored. A clock signal CP is introduced.

これにより、記憶部6はデータを取り込む状態になる。As a result, the storage unit 6 enters a state in which data is taken in.

この後、さらに次の1キャラクタデータが入って来ると
カウンタK1の計数内容は2から3に歩進する。
Thereafter, when the next character data comes in, the count of the counter K1 increments from 2 to 3.

カウンタK1の計数内容が3になると、ゲートG3が開
いて、以後引き続いて受信されるデータは受信データ記
憶部6に取り込まれるようになる。
When the count of the counter K1 reaches 3, the gate G3 is opened, and the data that will be subsequently received will be taken into the received data storage section 6.

そして、受信データが一定時間以上跡切れると、フレー
ム信号FSが発せられて、カウンタK1およびフリツプ
フロツプFF2はそれぞれリセットされ、最初の状態に
復帰せられる。
When the received data runs out for a certain period of time, a frame signal FS is generated, and the counter K1 and flip-flop FF2 are reset and returned to their initial states.

以上のようにして、データの送受信が行なわれるように
なっているのであるが、第2図に示した送受信局P1で
は、その回路中に呼出コード走査回路Suが任意に割込
まれるようになっている。
Data is transmitted and received as described above, and in the transmitting/receiving station P1 shown in FIG. 2, a call code scanning circuit Su is arbitrarily inserted into the circuit. ing.

この走査回路Suは、上記フレーム信号Fsによって走
査するコード走査カウンタK2、および上記ステツプカ
ウンタK1の計数内容が00ときに開いて、走査カウン
タK2の計数内容をドライバDに導くようにしたゲート
Goを有している。
This scanning circuit Su includes a code scanning counter K2 that scans in response to the frame signal Fs, and a gate Go that opens when the counted content of the step counter K1 is 00 and leads the counted content of the scanning counter K2 to the driver D. have.

そして、送受信局P1〜nに対しては、コネクタを介し
て着脱自在に接続されるようになっている。
The transmitting/receiving stations P1 to Pn are detachably connected via connectors.

ここで、走査カウンタK2の各引数段階での計数内容は
、それぞれ各局別に設定された自己コードに対応するよ
うになっている。
Here, the count contents of the scanning counter K2 at each argument stage correspond to the self-code set for each station.

この呼出コード走査回路Suが割込んだ状態では、ステ
ツプカウンタK1の計数内容が00ときに、ゲートGo
が開いて、そのときの査走カウンタK2の計数内容Xが
ドライバDを経て伝送ラインLへ送出される。
In the state where the call code scanning circuit Su interrupts, when the count content of the step counter K1 is 00, the gate Go
is opened, and the count value X of the scanning counter K2 at that time is sent to the transmission line L via the driver D.

すると、この計数内容Xと同じ自己コードが設定されて
いる送受信局が呼び出され、そこからデータが送信され
て来る。
Then, the transmitting/receiving station to which the same self-code as the counted content X is set is called, and data is transmitted from there.

このデータの送信が終了すると、フレーム信号Fsが発
せられて、走査カウンタK2は歩進される。
When this data transmission is completed, a frame signal Fs is issued and the scanning counter K2 is incremented.

するとこの歩進された新たな計数内容(X+1)がライ
ンLに送出され、その計数内容(X+1)と同じ自己コ
ードが設定されている別の送受信局が呼び出されて、同
様のことが繰り返えされる。
Then, this incremented new count content (X+1) is sent to line L, another transmitting/receiving station that has the same self-code as the count content (X+1) is called, and the same process is repeated. be fed.

このようにして、走査カウンタK2が1ずつ歩進される
毎に、伝送ラインLに接続されている多数の送受信局P
1〜nは、順次呼び出されて、それぞれにデータを送信
する。
In this way, each time the scanning counter K2 is incremented by 1, a large number of transmitting/receiving stations P connected to the transmission line L are
1 to n are sequentially called and send data to each.

つまり、送信局の指定走査が行なわれる。In other words, a designated scan of the transmitting station is performed.

次に、この発明に係わる誤り検出方式が実施されている
部分およびその周辺部分について説明する。
Next, a portion where the error detection method according to the present invention is implemented and surrounding portions will be described.

先ず、その周辺部分について説明すると、第3図に示す
ように、上記送信データ記憶部5および受信データ記憶
部6は、それぞれ複数の着脱自在なデータ送信ユニット
No1〜kおよびデータ受信ユニツトNi1〜kによっ
て形成されている,これらのユニットNo1〜kおよび
Ni1〜kは、それそれが1キャラクタ分のデータの送
受信を受け持っている。
First, to explain the peripheral parts thereof, as shown in FIG. 3, the transmission data storage section 5 and the reception data storage section 6 each have a plurality of removable data transmission units No. 1-k and data reception units Ni 1-k. These units No1-k and Ni1-k formed by the above are each in charge of transmitting and receiving data for one character.

従って、送信側の送信ユニットNo1〜kの数と受信側
の受信ユニットNi1〜kの数は同じで、互いに対応さ
せてある。
Therefore, the number of transmitting units No. 1 to No. k on the transmitting side and the number of receiving units Ni1 to Ni on the receiving side are the same and are made to correspond to each other.

そして、各送受信局におけるユニツトNo1〜k,Ni
l〜kの数は、伝送すべきデータの量に応じて任意に定
められるが、データの送受が行なわれる局間において、
送信ユニットと受信ユニットの数は常に一致させなけれ
ばならない。
Then, units No. 1 to k, Ni at each transmitting/receiving station
The numbers l to k are arbitrarily determined depending on the amount of data to be transmitted, but between stations where data is sent and received,
The number of transmitting and receiving units must always match.

これが、何らかの手違い、例えばユニットの一部装着忘
れ、あるいは不完全装着などによって、送受信局間で数
が合わないと、データは一応伝送されるかも知れないが
、その送受信されたデータそのものが誤りになってしま
う。
If the numbers do not match between the transmitting and receiving stations due to some mistake, such as forgetting to install some units or incompletely installing them, the data may be transmitted, but the transmitted and received data itself may be incorrect. turn into.

ところで、送信ユニットNo1〜kおよび受信ユニツト
Ni1〜kがそれぞれ装着された状態では、第3図に示
すように、各ユニットNo1〜k,Ni1〜kの出力あ
るいは入力は、それぞれコネクタを介してラインl1.
l2 に接続されている。
By the way, when the transmitting units No. 1 to k and the receiving units Ni to k are respectively installed, as shown in FIG. l1.
connected to l2.

ユニットNo1〜k,Ni1〜kの選択は、検索走査カ
ウンタK3の計数内容に基いて行なわれるようになって
いる。
Selection of units No. 1 to k and Ni1 to k is performed based on the count of the search scanning counter K3.

そして、カウンタK3の計数内容と対応する個所に送信
ユニットが正常に装着されていれば、その個所に装着さ
れたユニットが選択的に駆動されて、そのユニットにお
いて、1キャラクタ分のデータの出力あるいは入力が行
なわれるようになっている。
If the transmitting unit is normally installed at a location corresponding to the count content of counter K3, the unit installed at that location is selectively driven, and that unit outputs data for one character or Input is now available.

このとき、そのユニットが送信ユニットならば、そのユ
ニットが選択されていることを示す被選択信号DS1が
そのユニットから出力され、コネクタを介して、共通の
送信ユニット検出ラインU1に伝達される。
At this time, if the unit is a transmitting unit, a selected signal DS1 indicating that the unit is selected is outputted from the unit and transmitted to the common transmitting unit detection line U1 via the connector.

また、そのユニットが受信ユニットならば、そのユニッ
トが選択されていることを示す被選択信号DS2がその
ユニットから出力され、コネクタを介して、共通の受信
ユニット検出ラインU2に伝達される。
Further, if the unit is a receiving unit, a selected signal DS2 indicating that the unit is selected is outputted from the unit and transmitted to the common receiving unit detection line U2 via the connector.

すなわち、ラインU1には、コネクタを介して正常に装
着された複数の送信ユニットNO1〜kの何れか1つが
、走査カウンタK3によって選択されたときに信号Ds
lが現われ、またラインU2には、同じくコネクタを介
して正常に装着された複数の受信ユニツトNi1〜kの
何れか1つが、走査カウンタK3によって選択されたと
きに信号Ds2が現われるようになっている。
That is, when any one of the plurality of transmitting units NO1 to NOk normally attached via the connector is selected by the scanning counter K3, the line U1 receives the signal Ds.
A signal Ds2 appears on the line U2 when any one of the plurality of receiving units Ni1 to Nik, which are also normally attached via the connector, is selected by the scanning counter K3. There is.

ここで、送受信局P1が送信局に指定されて、上記フリ
ツブフロツプFF1からセット出力S1が発せられ、か
つステップカウンタK1の計数内容が3になったとする
Here, it is assumed that the transmitting/receiving station P1 is designated as the transmitting station, the set output S1 is issued from the flip-flop FF1, and the count content of the step counter K1 becomes 3.

すると、検索走査カウンタK3は動作状態にセットされ
て、0から計数を開始するようになる。
Then, the search scanning counter K3 is set to the operating state and starts counting from 0.

そして、先ず、計数値が00ときに、その0に対応する
個所に送信ユニットが装着されていなければ、走査カウ
ンタK3の計数人力Ciに、論理ゲートA2を介して、
クロック信号CPが導入され、カウンタK3は高速で走
進される。
First, when the count value is 00, if the transmitting unit is not installed at the location corresponding to 0, the counting force Ci of the scanning counter K3 is inputted via the logic gate A2.
Clock signal CP is introduced and counter K3 is run at high speed.

この高速歩進は、ラインU1に信号Dslが現われるま
で続く。
This fast stepping continues until the signal Dsl appears on line U1.

ラインU1に信号Dslが現われると、すなわち第1番
目の送信ユニットNo1が装着されている個所に対応す
る数まで歩進が進むと、その時点で、ゲートA2が閉じ
てクロック信号CPが禁止される。
When the signal Dsl appears on the line U1, i.e. when the step has progressed to the number corresponding to the location where the first transmitting unit No. 1 is installed, at that point the gate A2 is closed and the clock signal CP is inhibited. .

すなわち、カウンタK3は、ラインU1から信号Dsl
が現われるまで高速歩進することによりユニットの検索
を行なう。
That is, counter K3 receives signal Dsl from line U1.
Search for the unit by walking rapidly until it appears.

第1番目の送信ユニットNo1が検索されると、そこか
ら1キャラクタ分のデータが出力され、ラインl1、ゲ
ートG3、およびドライバDを経て伝送ラインLに送出
される。
When the first transmission unit No. 1 is retrieved, one character's worth of data is outputted therefrom and sent to the transmission line L via line l1, gate G3, and driver D.

1キャラクタ分のデータが送出されると、これが自局に
も受信されて、キャラクタ検出信号CSが発せられる。
When data for one character is transmitted, this is also received by the local station and a character detection signal CS is issued.

この信号CSは、ゲートA6,A3を通ってカウンタK
3に入り、これにより、上記第1番目の送信ユニットN
o1の隣りの個所が選択される。
This signal CS passes through gates A6 and A3 to counter K.
3, thereby causing the first transmitting unit N
The location next to o1 is selected.

そして、その選択個所に別の送信ユニットが正常に装着
されていれば、カウンタK3は、次のキャラクタ検出信
号CSが発せられるまで歩進しないが、そこに送信ユニ
ットが正常に装着されていなければ、ゲートA2が再び
開いて、カウンタK3は、その計数値が、第2番目の送
信ユニットNo2が装着されている個所に対応する数に
達するまで、高速歩進される。
If another transmitting unit is normally installed at that selected location, the counter K3 will not increment until the next character detection signal CS is issued, but if a transmitting unit is not normally installed there. , the gate A2 is opened again, and the counter K3 is rapidly incremented until its count reaches the number corresponding to the location where the second transmitting unit No. 2 is mounted.

つまり、送信ユニットが装着されていない個所を飛ばし
て、次の送信ユニットが装着されている個所を検索する
In other words, the location where no transmitting unit is installed is skipped and the next location where the transmitting unit is installed is searched.

このようにして、全部の送信ユニットの検索が一巡して
,各送信ユニットからそれぞれ1キャラクタ分ずつデー
タが出力されると、カウンタK3の計数値は非選択個所
に対応する数(n+1)になる。
In this way, when the search for all transmitting units completes one cycle and data for one character is output from each transmitting unit, the count value of counter K3 becomes the number (n+1) corresponding to the non-selected location. .

そして、この(n+1)の計数出力が発せられると、上
記フリツプフロツブFF1,FF2ヘリセット信号Rs
がそれぞれ送られて、送信が終了され、これにより、送
受信局P1は最初の状態に復帰する。
When this (n+1) count output is generated, the flip-flop FF1, FF2 heliset signal Rs
are sent, the transmission is completed, and the transmitting/receiving station P1 returns to its initial state.

次に、送受信局P1が受信局に指定されて、上記フリツ
プフロツプFF2からセット出力S2が発せられ、かつ
ステツプカウンタK1の計数内容が3になったとする。
Next, it is assumed that the transmitting/receiving station P1 is designated as a receiving station, a set output S2 is issued from the flip-flop FF2, and the count content of the step counter K1 becomes 3.

すると、検索走査カウンタは、上述した送信の場合と同
様に、動作状態にセットされて、今度は、送信側の送信
ユニットと同数が装着されているはずの複数の受信ユニ
ットNi1〜kの検索が順次行なわれる。
Then, the search scanning counter is set to the operating state as in the case of transmission described above, and this time the search for the plurality of receiving units Ni1 to Nik, which should be installed in the same number as the transmitting units on the transmitting side, is started. It is done sequentially.

この場合、カウンタK3の計数値が、何れの受信ユニッ
トの装着個所にも対応しないときは、カウンタK3の計
数入力には、ゲートA4を介して上記クロツク信号CP
が導入される。
In this case, when the count value of the counter K3 does not correspond to the mounting location of any receiving unit, the count input of the counter K3 is connected to the clock signal CP via the gate A4.
will be introduced.

また、カウンタK3がクロツク信号CPによって高速歩
進されることによつて、その計数値が受信ユニットの装
着個所に対応する数に達すると、その受信ユニットが選
択・駆動されて、そこに1キャラクタ分の受信データが
入力される。
Further, when the counter K3 is incremented at high speed by the clock signal CP and its count reaches the number corresponding to the mounting position of the receiving unit, that receiving unit is selected and driven, and one character is written there. The received data for the following minutes is input.

そして、このデータの入力が終ると、キャラクタ検出信
号がゲートA6,A5を通ってカウンタK3に入力され
、カウンタK3は再び高速歩進されて、次の受信ユニッ
トが装着されている個所を検索する。
When this data input is completed, a character detection signal is input to the counter K3 through gates A6 and A5, and the counter K3 is again incremented at high speed to search for the location where the next receiving unit is installed. .

以上のようにして、送信の場合と同様に、複数の受信ユ
ニットNil〜kが順次検索されて、各受信ユニットに
それぞれ1キャラクタ分のデータが入力されるのである
As described above, as in the case of transmission, a plurality of receiving units Nil to k are sequentially searched, and data for one character is input to each receiving unit.

ここで、それらの受信ユニットNi1〜kが、送信側の
送信ユニットNo1〜kと同数で、かつそれらが全て正
常に装着されているならば、送信側データの送信が完了
した段階で、受信側のカウンタK3の計数値は、被選択
個所に対応する数(n+1)になり、かつそれ以後にキ
ャラクタ検出信号CSが発せられることはないはずであ
る。
Here, if the number of receiving units Ni1 to Nik is the same as the number of transmitting units No.1 to k on the transmitting side, and if they are all installed correctly, then when the transmitting side data transmission is completed, the receiving unit The count value of the counter K3 becomes the number (n+1) corresponding to the selected location, and the character detection signal CS should not be generated thereafter.

ところが、ここで、もし、何らかの手違い、例えば、送
信側あるいは受信側において、ユニットの装着数を誤ま
ったり、またその装着が不完全だったりして、データの
量に対してユニットの数に過不足があったとすると、次
のような状態になる。
However, if there is some kind of mistake at this point, for example, the number of units installed on the sending or receiving side is incorrect, or the installation is incomplete, the number of units may be too large or too small for the amount of data. If there is, the situation will be as follows.

すなわち、実際に受信されたデータの量に対して正常に
装着された受信ユニットの数が不足していると、カウン
タK3による受信ユニットの検索が一巡して計数値が(
n+1)に達した後にも、キャラクタ検出信号CSが発
せられる。
In other words, if the number of properly installed receiving units is insufficient for the amount of data actually received, the counter K3 searches for receiving units once and the count value (
Even after reaching n+1), the character detection signal CS is generated.

また、実際に送信されたデータの量に対して受信ユニッ
トの数が多過ぎると、カウンタK3による受信ユニット
の検索が一巡し終る前に、つまりラインU2に被選択信
号DS2が現われているうちに、データが跡切れて、フ
レーム信号FSが発せられる。
Furthermore, if the number of receiving units is too large for the amount of data actually transmitted, the search for receiving units by counter K3 may be completed before the selection signal DS2 appears on line U2. , the data is lost and a frame signal FS is issued.

ここで、ラインU2に現われる被選択信号Dsとフレー
ム信号Fsとの論理積を取るようにしたANDゲー}A
7を設けて、これを第1の検出手段とし、またカウンタ
K3の計数値が(n+1)のときの出力とキャラクタ検
出信号CSとの論理積を取るようにしたANDゲートA
8を設けて、これを第2の検出手段とする。
Here, an AND game A which takes the logical product of the selected signal Ds appearing on the line U2 and the frame signal Fs
7 is provided as the first detection means, and the AND gate A is configured to take the logical product of the output when the count value of the counter K3 is (n+1) and the character detection signal CS.
8 is provided as the second detection means.

すると、第1の検出手段からは、実際に受信されたデー
タの量に対して受信ユニットの数が不足していた状態の
ときに、検出信号Doが発せられ、また第2の検出手段
からは、上記とは反対に、受信ユニットが多過ぎた状態
のときに、検出信号Duが発せられるようになる。
Then, the first detection means emits a detection signal Do when the number of receiving units is insufficient for the amount of data actually received, and the second detection means emits a detection signal Do. , Contrary to the above, when there are too many receiving units, the detection signal Du is generated.

従って、両検出信号Do,Duの論理和をORゲ−トA
9で取るようにすれば、その論理和(Do十Du)から
、送信側のユニット数に対する受信側のユニット数の過
不足を検知することができ、さらにその論理和をラッチ
回路FF3のラッチ入力に入れるようにすれば、その回
路FF3によって保持された誤り検出信号D0を得るこ
とができる。
Therefore, the OR gate A is the logical sum of both detection signals Do and Du.
9, it is possible to detect the excess or deficiency of the number of units on the receiving side with respect to the number of units on the transmitting side from the logical sum (Do + Du), and furthermore, the logical sum is used as the latch input of the latch circuit FF3. By inputting the error detection signal D0 into the circuit FF3, it is possible to obtain the error detection signal D0 held by the circuit FF3.

この誤り検出信号DF,が発せられるということは、上
述したように、データの量に対して受信側のユニット数
に過不足があったことを示している。
The fact that this error detection signal DF is issued indicates that there is an excess or deficiency in the number of units on the receiving side relative to the amount of data, as described above.

また、その誤り検出信号D8が発せられたときに、受信
側のユニット数が規定どおりで、かつ全て正常に装着さ
れていたならば、これは送信側にて何らかの異常がある
ことを意味する。
Furthermore, if the number of units on the receiving side is as specified and all are installed normally when the error detection signal D8 is issued, this means that there is some abnormality on the transmitting side.

すなわち、受信側だけでもって送受両局の誤りを検出す
ることができるのである。
In other words, errors in both transmitting and receiving stations can be detected only on the receiving side.

しかも、この検出はデータに冗長度を持たせずとも、最
低限必要なデータだけでも行なえるのである。
Moreover, this detection can be performed using only the minimum necessary data without adding redundancy to the data.

以上のように、この発明によるトータルデータ誤り検出
方式は、送信側において複数のデータ送信ユニットから
順次出力データを送信し、これを受信側において上記送
信ユニットに対応して設けた複数の受信ユニットに順次
入力させるようにしたデータ伝送方式において、受信側
に、その中の1つの受信ユニットに入力されるべき分の
データを1キャラクタとして、この1キャラクタデータ
が受信される毎に検出信号を発するようにしたキャラク
タ検出器、およびこのキャラクタ検出信号が発せられる
毎に上記複数の受信ユニットを順次検索する走査手段を
設けるとともに、この走査手段による検索が一巡する前
の段階にて、データの伝送が終了すると信号を出力する
ようにした第1の検出手段、および上記検索が一巡し終
えた段階にて、上記キャラクタ検出信号が発せられると
信号を出力するようにした第2の検出手段を設けて、こ
れら第1、第2の検出手段の両出力信号の論理和から送
信側のユニット数に対する受信側のユニット数の過不足
を検出するようにしたものであり、これにより、ソフト
ウエア的誤りはもちろん、送信側あるいは受信側にて生
じたハードウエア的誤りをも検出することができ、しか
もその検出は、送信側でデータに冗長度を持たせずとも
、受信側だけにて行なうことができる。
As described above, the total data error detection method according to the present invention sequentially transmits output data from a plurality of data transmitting units on the transmitting side, and transmits the output data to a plurality of receiving units provided corresponding to the transmitting units on the receiving side. In a data transmission system in which data is input sequentially, the data to be input to one receiving unit on the receiving side is treated as one character, and a detection signal is issued each time this one character data is received. and a scanning means for sequentially searching the plurality of receiving units each time the character detection signal is emitted, and data transmission ends before the scanning means completes one cycle of searching. Then, a first detection means is provided to output a signal, and a second detection means is provided to output a signal when the character detection signal is emitted at the stage where the search has completed one cycle, The system detects whether the number of units on the receiving side is excessive or insufficient with respect to the number of units on the transmitting side from the logical sum of both output signals of these first and second detection means. It is also possible to detect hardware errors occurring on the transmitting side or the receiving side, and this detection can be performed only on the receiving side without providing data redundancy on the transmitting side.

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

第1図はこの発明が適用される伝送システムの一例を示
すブロック図、第2図はその送受信局の一例を示す回路
図、第3図はこの発明によるトータルデータ誤り検出方
式が実施されている部分およびその周辺を示す回路図で
ある。 P1〜n・・・送受信局、L・・・共通伝送ライン、1
・・・キャラクタ検出器、5・・・送信データ記憶部、
6・・・受信データ記憶部、FFI ,FF2・・・フ
リップフロツプ、K1・・・ステツプカウンタ、MM1
・・・モノマルチバイブレータ、K3・・・検索走査カ
ウンタ、Nol〜k・・・データ送信ユニット、Ni1
〜k・・・データ受信ユニット、A7 ,A8・・・A
NDゲート、FF3・・・ラッチ回路、FS・・・フレ
ーム信号、CS・・・キャラクタ検出信号、CP・・・
クロツク信号、D9・・・誤り検出信号、Dsl ,D
s2・・・被選択信号、D・・・ドライバ、R・・・レ
シーバ。
Fig. 1 is a block diagram showing an example of a transmission system to which the present invention is applied, Fig. 2 is a circuit diagram showing an example of a transmitting/receiving station thereof, and Fig. 3 is a total data error detection system in which the present invention is implemented. FIG. 2 is a circuit diagram showing a portion and its surroundings. P1~n...Transmission/reception station, L...Common transmission line, 1
... Character detector, 5... Transmission data storage section,
6...Received data storage unit, FFI, FF2...Flip-flop, K1...Step counter, MM1
...Mono multivibrator, K3...Search scanning counter, Nol~k...Data transmission unit, Ni1
~k...data receiving unit, A7, A8...A
ND gate, FF3...latch circuit, FS...frame signal, CS...character detection signal, CP...
Clock signal, D9...Error detection signal, Dsl, D
s2...Selected signal, D...Driver, R...Receiver.

Claims (1)

【特許請求の範囲】[Claims] 1 送信側において複数のデータ送信ユニットから順次
出力データを送信し、これを受信側において上記送信ユ
ニットに対応して設けた複数の受信ユニットに順次入力
させるようにしたデータ伝送方式において、受信側に、
その中の1つの受信ユニットに入力されるべき分のデー
タを1キャラクタとして、この1キャラクタデータが受
信される毎に検出信号を発するようにしたキャラクタ検
出器、およびこのキャラクタ検出信号が発せられる毎に
上記複数の受信ユニットを順次検索する走査手段を設け
るとともに、この走査手段による検索が一巡する前の段
階にて、データの伝送が終了すると信号を出力するよう
にした第1の検出手段、および上記検索が一巡し終えた
段階にて、上記キャラクタ検出信号が発せられると信号
を出力するようにした第2の検出手段を設けて、これら
第1、第2の検出手段の両出力信号の論理和から送信側
のユニット数に対する受信側のユニット数の過不足を検
出するようにしたトータルデータ誤り検出方式。
1. In a data transmission method in which output data is sequentially transmitted from a plurality of data transmission units on the transmitting side, and the output data is sequentially inputted to a plurality of receiving units provided corresponding to the above-mentioned transmitting units on the receiving side, ,
A character detector, in which data to be input to one receiving unit is regarded as one character, and a detection signal is emitted each time this one character data is received, and each time this character detection signal is emitted. a first detection means, which is provided with a scanning means for sequentially searching the plurality of receiving units, and outputs a signal when the data transmission is completed before the scanning means completes the search; At the stage where the above-mentioned search has completed one round, a second detection means is provided which outputs a signal when the above-mentioned character detection signal is issued, and the logic of both output signals of these first and second detection means is A total data error detection method that detects the excess or deficiency of the number of units on the receiving side relative to the number of units on the sending side from the sum.
JP52055052A 1977-05-13 1977-05-13 Total data error detection method Expired JPS586420B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP52055052A JPS586420B2 (en) 1977-05-13 1977-05-13 Total data error detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP52055052A JPS586420B2 (en) 1977-05-13 1977-05-13 Total data error detection method

Publications (2)

Publication Number Publication Date
JPS53139906A JPS53139906A (en) 1978-12-06
JPS586420B2 true JPS586420B2 (en) 1983-02-04

Family

ID=12987895

Family Applications (1)

Application Number Title Priority Date Filing Date
JP52055052A Expired JPS586420B2 (en) 1977-05-13 1977-05-13 Total data error detection method

Country Status (1)

Country Link
JP (1) JPS586420B2 (en)

Also Published As

Publication number Publication date
JPS53139906A (en) 1978-12-06

Similar Documents

Publication Publication Date Title
US4897842A (en) Integrated circuit signature analyzer for testing digital circuitry
CA1066812A (en) Apparatus for control and data transfer between a serial data transmission medium and a plurality of devices
US6195768B1 (en) System and method for monitoring high speed data bus
EP0022458B1 (en) Hierarchical computer system for entrance control
EP0102150B1 (en) Data processing system with diagnosis function
JPH07112192B2 (en) Frame identification pattern recognition method and apparatus
JPS586420B2 (en) Total data error detection method
US4779271A (en) Forced error generating circuit for a data processing unit
US4845522A (en) Data communication system for camera system
US3909528A (en) Device for finding a fixed synchronization bit in a frame of unknown length
JPH0160860B2 (en)
SU1019451A1 (en) Device for checking computer
US4001509A (en) Remote office message metering system
CN115865193B (en) Device and method for testing reflective memory networking performance
JPS586419B2 (en) data transmission system
SU1381511A1 (en) Device for detecting intermittent failures
SU1522223A1 (en) Device for inter-set interfacing
SU1377907A1 (en) Device for monitoring digital magnetic recording unit
SU1008746A1 (en) Device for checking data rewriting in processor control memory reloading
Nounou et al. Development tools for communication protocols
JPS6135517B2 (en)
SU563697A1 (en) Device for monitoring long-time memories
CN114706717A (en) Error information recording method and apparatus, electronic device, and storage medium
SU1084805A1 (en) Device for checking input/output blocks
JPS6317381B2 (en)