JPS63217736A - Data transmission system - Google Patents

Data transmission system

Info

Publication number
JPS63217736A
JPS63217736A JP4894487A JP4894487A JPS63217736A JP S63217736 A JPS63217736 A JP S63217736A JP 4894487 A JP4894487 A JP 4894487A JP 4894487 A JP4894487 A JP 4894487A JP S63217736 A JPS63217736 A JP S63217736A
Authority
JP
Japan
Prior art keywords
data
transmission
received
partial
checksum
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
JP4894487A
Other languages
Japanese (ja)
Inventor
Yuji Furukubo
雄二 古久保
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP4894487A priority Critical patent/JPS63217736A/en
Publication of JPS63217736A publication Critical patent/JPS63217736A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

PURPOSE:To attain the normal transmission of all transmission data by one retransmission by dividing a sent data into plural partial data and providing a transmission check sum data at every partial data. CONSTITUTION:A computer 1 divides a transmission data to be sent into n-block to produce transmission check sum data 51-5n to each of partial data 41-4n. Thus, the data 41-4n added with the data 51-5n are sent in the lump to a terminal processor 2. The unit 2 uses a reception circuit 7 to receive them and produce the received check sum data 91-9n from the received partial data 81-8n and they are compared and collated with the sent data 51-5n. Thus, the discrimination between the partial data received normally in the received data in the equipment 2 and the partial data having transmission error is attained. Thus, so long as the transmission error is not caused in the same partial data at the retransmission request, the normal data transmission is attained by one retransmission.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、データ伝送における転送データの誤り検出
、及び誤り回復に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to error detection and error recovery of transferred data in data transmission.

[従来の技術] 第2図は例えば特開昭59−81940号公報に示され
た従来のデータ伝送方式を示すブロック図であり、図に
おいて、Iは送信側としての計算機、2は受信側として
の端末処理装置、3はこの計算機lと端末処理装置2を
結ぶシリアルI10ラインで、4は前記計算機lが送信
する送信データ、5はこの送信データ4の送信チェック
サムデータ、6はこれらをシリアルI10ライン3に送
出する送信回路、7はシリアルI10ライン3からの情
報を受信する受信回路、8は受信データ、9は受信デー
タの受信チェックサムデータ、10は前記受信回路7と
送信回路6とを結ぶ制御線である。
[Prior Art] Fig. 2 is a block diagram showing a conventional data transmission system disclosed in, for example, Japanese Patent Application Laid-Open No. 59-81940. 3 is a serial I10 line connecting this computer 1 and the terminal processing device 2, 4 is the transmission data sent by the computer 1, 5 is the transmission checksum data of this transmission data 4, and 6 is a serial 7 is a receiving circuit that receives information from serial I10 line 3; 8 is received data; 9 is received checksum data of the received data; 10 is the receiving circuit 7 and transmitting circuit 6; This is the control line that connects the

次に動作について説明する。計算機lは端末処理装置2
に対して動作を指令するために、送信回路6より送信デ
ータ4をシリアルI10ライン3を介して送信する。こ
のとき、計算機1は伝送誤りを防止するために、前記送
信データ4から送信チェックサムデータ5を生成して、
これを送信デ−タ4に付加して送信する。この送信チェ
ックサムデータ5は、送信データ4の全ワードを加算し
た値の最下位ワードの値として与えられる。端末処理装
置2はこれらを受信回路7で受信し、受信データ8より
計算機1と同一の方法によって受信ヂエックサムデータ
9を生成して、これを送られてきた送信ヂエックサムデ
ータ5と比較照合する。
Next, the operation will be explained. Computer l is terminal processing device 2
In order to instruct the controller to operate, the transmitting circuit 6 transmits transmitting data 4 via the serial I10 line 3. At this time, in order to prevent transmission errors, the computer 1 generates transmission checksum data 5 from the transmission data 4, and
This is added to the transmission data 4 and transmitted. This transmission checksum data 5 is given as the value of the least significant word of the sum of all the words of the transmission data 4. The terminal processing device 2 receives these with the receiving circuit 7, generates received data 8 using the same method as the computer 1, and compares this with the transmitted data 5. Verify.

その結果、両者が一致している場合には、受信データ8
に誤りがなかったものとして、この受信データ8の内容
に基づいて次の端末処理動作を開始する。また、比較照
合の結果、両者が一致していなければ、受信データ8に
誤りがあるものとして、受信回路7より制御線IOを介
して再送要求信号を送出する。この再送要求信号を送信
回路6で受は取った計算機lは、同一の送信データ4と
その送信ヂエックサムデータ5を送信回路6よりシリア
ルI10ライン3を介して送信する。
As a result, if the two match, the received data 8
Assuming that there is no error in the received data 8, the next terminal processing operation is started based on the contents of the received data 8. Further, if the two do not match as a result of the comparison, it is assumed that there is an error in the received data 8, and a retransmission request signal is sent from the receiving circuit 7 via the control line IO. The computer 1, which has received this retransmission request signal at the transmitting circuit 6, transmits the same transmitted data 4 and its transmitted index data 5 from the transmitting circuit 6 via the serial I10 line 3.

このような処理を計算機lが送信データ4を送信する都
度行うことによって、シリアルI10ライン3における
データ伝送の誤りによって、端末処理装置が誤動作しな
いようにしている。
By performing such processing each time the computer I transmits the transmission data 4, the terminal processing device is prevented from malfunctioning due to an error in data transmission on the serial I10 line 3.

[発明が解決しようとする問題点] 従来のデータ伝送方式は以上のように構成されているの
で、一時に大量の送信データ4を伝送する場合、当該送
信データ4に対して、ただlワードの送信チェックザム
データ5しか用意されていないため、電気的なノイズ環
境などでデータ伝送の誤りが発生しやすい状態となると
、その大量な送信データ4を全て誤りなく伝送すること
が困難となり、再送要求回数が増加したり、極端な場合
にはデータ伝送不能となって、端末処理装置2の動作に
支障をきたすなどの問題点があった。
[Problems to be Solved by the Invention] Since the conventional data transmission system is configured as described above, when transmitting a large amount of transmission data 4 at one time, only one word of the transmission data 4 is transmitted. Since only transmission checksum data 5 is prepared, if data transmission errors are likely to occur in an electrical noise environment, it will be difficult to transmit all of the large amount of transmission data 4 without errors, and a retransmission request will be issued. There are problems such as an increase in the number of transmissions, or in extreme cases, data transmission becomes impossible, which hinders the operation of the terminal processing device 2.

この発明は上記のような問題点を解消するためになされ
たもので、データ伝送の誤りが発生しやすい電気的環境
下でも大量の送信データを伝送できるデータ伝送方式を
得ることを目的とする。
The present invention has been made to solve the above-mentioned problems, and it is an object of the present invention to provide a data transmission method that can transmit a large amount of data even in an electrical environment where data transmission errors are likely to occur.

[問題点を解決するための手段] この発明に係るデータ伝送方式は、送信データを複数の
部分データに分割してその部分データ毎に送信チェック
サムデータを生成させ、この送信ヂエックサムデータを
送信データに付加して送信するものである。
[Means for Solving the Problems] The data transmission method according to the present invention divides transmission data into a plurality of partial data, generates transmission checksum data for each partial data, and processes this transmission checksum data by dividing transmission data into a plurality of partial data. It is added to the transmission data and transmitted.

[作用] この発明におけるデータ伝送方式は、送信データを複数
の部分データに分割し、各部分データ毎に送信ヂエック
サムデータを設けることにより、受信側において4信デ
ータ中で正常に受信できた部分データと、伝送誤りのあ
った部分データとの判別を可能とし、再送要求時に同一
の部分データに伝送誤りが発生しない限り、1回の再送
にて全送信データの正常な伝送を可能とする。
[Function] The data transmission method of the present invention divides the transmission data into a plurality of partial data and provides transmission exsum data for each partial data, so that the receiving side can successfully receive the 4-transmission data. It is possible to distinguish between partial data and partial data with a transmission error, and as long as a transmission error does not occur in the same partial data at the time of a retransmission request, normal transmission of all transmitted data is possible with one retransmission. .

[実施例] 以下、この発明の一実施例を図について説明する。第1
図において、1は計算機、2は端末処理装置、3はシリ
アルI10ラインで、6は送信回路、7は受信回路、1
0は結ぶ制御線であり、これらは第2図に同一符号を付
した、従来のそれらと同一、又は相当部分であるため、
詳細な説明は省略する。また、4I〜4nは前記計算機
lの送信データをn個のブロックに分割した部分データ
、5I〜5nは前記各部分データ41〜4nの送信チェ
ックサムデータ、8.〜8nは前記端末処理装置2で受
信された部分データ、9.〜9nは前記各部分データ8
.〜8nの受信チェックサムデータである。
[Example] Hereinafter, an example of the present invention will be described with reference to the drawings. 1st
In the figure, 1 is a computer, 2 is a terminal processing device, 3 is a serial I10 line, 6 is a transmitting circuit, 7 is a receiving circuit, 1
0 is a connecting control line, and these are the same as or equivalent to the conventional ones, which are given the same reference numerals in FIG.
Detailed explanation will be omitted. Further, 4I to 4n are partial data obtained by dividing the transmission data of the computer 1 into n blocks, 5I to 5n are transmission checksum data of each of the partial data 41 to 4n, and 8. ~8n is partial data received by the terminal processing device 2; 9. ~9n is each partial data 8
.. This is the received checksum data of ~8n.

次に動作について説明する。計算機lは端末処理装置2
に対して動作を指令するため、送信回路6より送信デー
タをシリアルI10ライン3を介して送信する。このと
き、計算機lは送信すべき送信データをnブロックに分
割し、その部分データ41〜4nの各々に対して送信チ
ェックサムデータ51〜5nを生成する。この送信チェ
ックサムデータ5I〜5nは、各部分データ4.〜4n
毎にそれぞれの全ワードを加算した値の最下位ワードの
値として与えられる。このようにして送信チェックサム
データ51〜5nが付加された部分データ41〜4nは
一括して端末処理装置2へ送信される。端末処理装置2
はこれらを受信回路7で受信し、受信した部分データ8
1〜8nより計算機lと同一の方法によって受信チェッ
クサムデ−タ9.〜9nを生成し、それらと送られてき
た送信チェックサムデータ5I〜5nとの比較照合を行
う。その結果、全ブロックにわたって両者が一致してい
る場合には、受信データに誤りがなかったものとして、
この受信データの内容に基づいて次の端末処理動作を開
始する。
Next, the operation will be explained. Computer l is terminal processing device 2
In order to instruct the controller to operate, the transmission circuit 6 transmits transmission data via the serial I10 line 3. At this time, the computer 1 divides the transmission data to be transmitted into n blocks, and generates transmission checksum data 51 to 5n for each of the partial data 41 to 4n. These transmission checksum data 5I to 5n are each partial data 4. ~4n
It is given as the value of the least significant word of the sum of all words for each case. The partial data 41 to 4n to which the transmission checksum data 51 to 5n have been added in this way are transmitted to the terminal processing device 2 all at once. Terminal processing device 2
is received by the receiving circuit 7, and the received partial data 8
1 to 8n, receive checksum data 9. using the same method as computer 1. .about.9n are generated and compared with the sent transmission checksum data 5I.about.5n. As a result, if the two match across all blocks, it is assumed that there was no error in the received data.
The next terminal processing operation is started based on the content of this received data.

ここで、この比較照合の結果、例えば、m番目のブロッ
ク(l≦m≦n)において両者が一致していなかった場
合、端末処理装置2は受信データに誤りがあるものとし
て、計算機1に対して受信回路7を介して制御線10よ
り再送要求信号を送出する。この再送要求信号を送信回
路6で受は取った計算機Iは、同一の部分データ41〜
4nに送信ヂエックザムデータ5I〜5nを付加して再
度送信する。端末処理装置2では、この再送された部分
データ4.〜4nと送信チェックサムデータ51〜5n
を受信すると、前回不一致が検出されたm番目のブロッ
クのみの部分データ8mと送信チェックサムデータ9m
を取り込み、正常に受信されている他のブロックのもの
は捨てる。ついで、取り込んだこの部分データ8mから
受信ヂエックサムデータ9mを生成し、これを送られて
きた送信ヂエックサムデータ5mと比較照合する。
Here, as a result of this comparison and verification, for example, if the two do not match in the m-th block (l≦m≦n), the terminal processing device 2 determines that there is an error in the received data and sends the message to the computer 1. A retransmission request signal is sent from the control line 10 via the receiving circuit 7. The computer I that received this retransmission request signal at the transmitting circuit 6 transmits the same partial data 41 to 41.
Transmission test data 5I to 5n are added to 4n and transmitted again. In the terminal processing device 2, this retransmitted partial data 4. ~4n and transmission checksum data 51~5n
When receiving , partial data 8m of only the m-th block where a mismatch was detected last time and transmission checksum data 9m are received.
and discard other blocks that have been successfully received. Next, received data 9m is generated from the captured partial data 8m, and this is compared with the transmitted data 5m that has been sent.

全てのブロックについて、受信チェックサムデータと送
信チェックサムデータとの比較照合結果が一致するまで
、以上の処理が繰り返される。
The above process is repeated for all blocks until the results of the comparison between the received checksum data and the transmitted checksum data match.

ここで、データの伝送誤りがランダムに発生している場
合、特定のブロックに2回以」二連続して伝送誤りが発
生する確率は低く、また、電気的環境が非常に悪く、伝
送誤りの頻度が極めて高いような場合であっても、ブロ
ックの分割数を多くして、lブロック当たりのワード数
を少なくして、各ブロック毎の伝送誤りの発生確率は低
くなるすれば、同一のブロックで伝送誤りが2回以」二
連続して発生する確率は低いものとなる。
Here, if data transmission errors occur randomly, the probability that a transmission error will occur two or more times in a row in a particular block is low; Even if the frequency is extremely high, if you increase the number of block divisions and reduce the number of words per block, the probability of occurrence of transmission errors for each block will be lowered. Therefore, the probability that a transmission error will occur two or more times in a row is low.

従って、通常は前記1回以度のの送信データの再送によ
って、送信データは全て誤りなく端末処理装置2へ伝送
される。端末処理装置2は受信データを誤りなく受信す
ると、その受信データの内容に基づいて次の端末処理動
作を開始する。
Therefore, normally, by retransmitting the transmission data one or more times, all the transmission data is transmitted to the terminal processing device 2 without error. When the terminal processing device 2 receives the received data without error, it starts the next terminal processing operation based on the contents of the received data.

=8− [発明の効果] 以上のように、この発明によれば大量の送信データを複
数のブロックに分割し、その各にヂエックサムデータを
付加して送信するように構成したので、シリアル伝送ラ
インを伝送誤りの発生しやずい環境下で使用しても、少
ない回数の再送処理によって誤りのない送信データを伝
送することが可能となるため、再送処理による時間遅れ
の小さな、信頼性の高いデータ伝送方式が得られる効果
がある。
=8- [Effects of the Invention] As described above, according to the present invention, a large amount of transmission data is divided into a plurality of blocks, and the data is added to each block and transmitted. Even if the transmission line is used in an environment where transmission errors are likely to occur, it is possible to transmit error-free transmission data with a small number of retransmission processes. This has the effect of providing a high data transmission method.

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

第1図はこの発明の一実施例によるデータ伝送方式を示
すブロック図、第2図は従来のデータ伝送方式を示すブ
ロック図である。 lは送信側(計算機)、2は受信側(端末処理装置)、
4は送信データ、4.〜4nは部分データ、5,51〜
5nは送信ヂエックサムデータ、8は受信データ、8.
〜8nは部分データ、9゜9、〜9nは受信チェックサ
ムデータ。 なお、図中、同一符号は同一、又は相当部分を示す。 (外2名)
FIG. 1 is a block diagram showing a data transmission system according to an embodiment of the present invention, and FIG. 2 is a block diagram showing a conventional data transmission system. l is the sending side (computer), 2 is the receiving side (terminal processing device),
4 is transmission data; 4. ~4n is partial data, 5,51~
5n is the transmitting exsum data, 8 is the receiving data, 8.
~8n is partial data, 9°9, ~9n is received checksum data. In addition, in the figures, the same reference numerals indicate the same or equivalent parts. (2 others)

Claims (1)

【特許請求の範囲】[Claims] 送信側では、送信データから送信チェックサムデータを
生成し、これを前記送信データに付加して受信側へ送信
し、前記受信側では、その受信データから受信チェック
サムデータを生成し、それを送られてきた前記送信チェ
ックサムデータと比較照合し、その結果、受信データに
誤りが検出された場合、前記送信側に再送要求を行うデ
ータ伝送方式において、前記送信側出は、前記送信デー
タを複数の部分データに分割し、前記部分データの各々
に対して送信チェックサムデータを生成し、これを前記
送信データに付加して前記受信側へ送信することを特徴
とするデータ伝送方式。
The transmitting side generates transmission checksum data from the transmission data, adds it to the transmission data, and transmits it to the reception side, and the reception side generates reception checksum data from the reception data and transmits it. In the data transmission method, the transmission checksum data is compared with the transmitted checksum data that has been received, and if an error is detected in the received data, a retransmission request is made to the transmitting side. A data transmission method characterized in that the data is divided into partial data, transmission checksum data is generated for each of the partial data, and this data is added to the transmission data and transmitted to the receiving side.
JP4894487A 1987-03-05 1987-03-05 Data transmission system Pending JPS63217736A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4894487A JPS63217736A (en) 1987-03-05 1987-03-05 Data transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4894487A JPS63217736A (en) 1987-03-05 1987-03-05 Data transmission system

Publications (1)

Publication Number Publication Date
JPS63217736A true JPS63217736A (en) 1988-09-09

Family

ID=12817387

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4894487A Pending JPS63217736A (en) 1987-03-05 1987-03-05 Data transmission system

Country Status (1)

Country Link
JP (1) JPS63217736A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000269936A (en) * 1999-03-15 2000-09-29 Nohmi Bosai Ltd Data transmission system and method for detecting data error

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000269936A (en) * 1999-03-15 2000-09-29 Nohmi Bosai Ltd Data transmission system and method for detecting data error

Similar Documents

Publication Publication Date Title
US4447903A (en) Forward error correction using coding and redundant transmission
US4888767A (en) Repeat request signal transmission method for multi-station packet communication
EP0465533A4 (en) Error correction for infrared data communication
JPS602813B2 (en) Computer-to-computer communication method and system
JPH0691513B2 (en) Data transmission error detection method
JPS63217736A (en) Data transmission system
JPH10164031A (en) Wireless packet communication device
EP0093004B1 (en) Data communication system
JPH0530115A (en) Polling system
JPS63274248A (en) Diagnostic method for transmission error detection section
JPH01204542A (en) Data transmission system
JPH0723030A (en) Serial data communication device
JP3250756B2 (en) Automatic retransmission request data transmission method
JPH0522314A (en) Data transmission equipment
JPS5829243A (en) Signal monitoring device of transmission system
JP3130875B2 (en) Broadcast notification diagnosis system and broadcast notification diagnosis method
JP3549702B2 (en) Bus control circuit and test method thereof
JPS6239929A (en) Data transmission equipment
JPS62216440A (en) Communication control method
JPS6233784B2 (en)
JPH01251937A (en) Data transmission system
JPH06350492A (en) Abnormality detecting system for distribution line carrier communications system
JPH0724398B2 (en) Signal transmission error verification method
JPS6245239A (en) Communication control method
JPH01238241A (en) Control system for retransmitting data