JPS5869147A - Data transmission system - Google Patents

Data transmission system

Info

Publication number
JPS5869147A
JPS5869147A JP16765481A JP16765481A JPS5869147A JP S5869147 A JPS5869147 A JP S5869147A JP 16765481 A JP16765481 A JP 16765481A JP 16765481 A JP16765481 A JP 16765481A JP S5869147 A JPS5869147 A JP S5869147A
Authority
JP
Japan
Prior art keywords
data
code
transmission
circuit
chk
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.)
Granted
Application number
JP16765481A
Other languages
Japanese (ja)
Other versions
JPH0239902B2 (en
Inventor
Masahiro Mochizuki
望月 正博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Nippon Electric Co 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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP16765481A priority Critical patent/JPS5869147A/en
Publication of JPS5869147A publication Critical patent/JPS5869147A/en
Publication of JPH0239902B2 publication Critical patent/JPH0239902B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0078Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
    • H04L1/0083Formatting with frames or packets; Protocol or part of protocol for error control

Abstract

PURPOSE:To improve the transmission efficiency, by outputting an error detection code through inversion together with a transmission end signal for already transmitted data when the data transmission is stopped on the way, detecting the code at the reception side, and immediately discriminating the abnormity of the transmission side. CONSTITUTION:A data from a line 10 is received at a data processing circuit 1 and the data is applied to a terminal device 11 via a selection circuit 4 and an interface 6. In this case, the transmitted data DATA, a transmission end code ED and a format (a) with an error detection code CHK are applied to an EOR gate 3. Further, the ED and CHK are applied to an end code generating circuit 5 and an error code generating circuit 2. When the necessity for stopping data transmission at the circuit 1 takes place, the transmission stop signal is applied to the circuits 2, 4 and 5, the code CHK is inverted at the gate 3 to be inversion CHK', and a part of the data DATA, the end code ED and the inversion CHK' are transferred to the device 11. The code ED and the inversion CHK are detected at an error detection circuit 8 and an end code detection circuit 9 and applied to the circuit 1.

Description

【発明の詳細な説明】 本発明はデータ伝送装置を相互に接続し、送信データの
符号誤Vを検出することが可能な誤り検出符号を使用す
るデータ伝送方式に関する〇従来のデータ伝送方式では
第1図(a)又は(b)に示すように、データ1)AT
Aの後にこのデータの終了を示す終了符号EDおよびデ
ータDATAの誤り検出符号CHKを送出し、最大デー
タ長相当時間経過後においても終了符号EDが受信側で
検出されないときには受信異常(受信タイムアウト)と
判定して込る。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a data transmission system that interconnects data transmission apparatuses and uses an error detection code that can detect code errors V in transmitted data. As shown in Figure 1 (a) or (b), data 1) AT
After A, the end code ED indicating the end of this data and the error detection code CHK of the data DATA are sent, and if the end code ED is not detected on the receiving side even after a time equivalent to the maximum data length has elapsed, a reception error (reception timeout) is detected. Judge and enter.

しかしながら、このような伝送方式で祉データ送信中の
送信情報異常を最大データ長相当時間経過後の終了符号
の有無により検出しているため、送信側では次のデータ
伝送までに最大データ長送信相当時間待たねばならずデ
ータ伝送効率が悪いという欠点がある。
However, in such a transmission method, an abnormality in the transmitted information during data transmission is detected by the presence or absence of an end code after a time equivalent to the maximum data length has elapsed, so the transmitting side will have to wait until the next data transmission to complete the transmission of the maximum data length. This method has the drawback that it requires a long wait and data transmission efficiency is poor.

本発明の目的は上述の欠点を除去したデータ伝送方式を
提供することKある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a data transmission system that eliminates the above-mentioned drawbacks.

第2図(alおよび(blti本発明の一実施例を説明
するためのデータフォーマットを示す。今、第2図+a
+に示すデータフォーマットで伝送を行っているとき、
データIJATAの送信途中に異状が発生したとすると
、本発明の伝送方式では、異状が発生した時点でデータ
DATAの送信を中止するとともに、第2図(b)のフ
ォーマットに示されるように、データの終了を示す符号
EDと誤り検出符号の反転した符号(反転誤り検出符号
)CHKを前記データ中止のあとに続けて送信し、受信
側で送信側からの符号EDおよびCHKを検出すること
により送信データの異状を検出している。このため、従
来方式のように送信データ異状を最大データ長相当時間
待たなくても検出できるのでデータ伝送効率が向上する
Figure 2 (al and (blti) shows a data format for explaining one embodiment of the present invention.
When transmitting data using the data format shown in +,
Assuming that an abnormality occurs during the transmission of the data IJATA, the transmission method of the present invention will stop the transmission of the data DATA at the moment the abnormality occurs, and will The code ED indicating the end of the error detection code and the inverted code (inverted error detection code) CHK are continuously transmitted after the data is stopped, and the receiving side detects the codes ED and CHK from the transmitting side. An abnormality in the data is detected. Therefore, an abnormality in the transmitted data can be detected without having to wait for a time corresponding to the maximum data length as in the conventional method, thereby improving data transmission efficiency.

第3図は本発明の伝送方式に使用されるデータ伝送装置
のブロック図である。図において、マイクロコンビ二一
夕から構成されるデータ処理回路1は回線lOを介して
図示しないデータ処理回路から送られてきたデータを受
信する。このデータは選択回路4およびインター7エイ
ス6を介して端末装置11に与えられる。選択回路4の
出力は誤り検出符号(パリティチェックビット)回路2
に与えられ、データに効応した誤り検出符号を発生する
。処理回路1は前記データを選択回路4′1を介して送
〜市し終了信号を終了符号発生回路5および誤り符号発
生回路2に与える。これら符号発生口I#S5および2
は処理回路1からの検出信号に応に与える。なお、選択
回路の切換信号は処理回路1から与えられる。
FIG. 3 is a block diagram of a data transmission device used in the transmission method of the present invention. In the figure, a data processing circuit 1 made up of a microcombination unit receives data sent from a data processing circuit (not shown) via a line 1O. This data is given to the terminal device 11 via the selection circuit 4 and the interface 7/8 6. The output of the selection circuit 4 is an error detection code (parity check bit) circuit 2.
is given to generate an error detection code that is appropriate for the data. The processing circuit 1 sends the data through the selection circuit 4'1 and provides an end signal to the end code generation circuit 5 and the error code generation circuit 2. These code generators I#S5 and 2
is given in response to the detection signal from the processing circuit 1. Note that the switching signal for the selection circuit is given from the processing circuit 1.

このような構成において、処理回路1において、データ
送信を中止する必要性が発生すると直ちに回路2.4お
よび5に送信中止信号を与えるとともに、信号aを11
1として排他的論理和(EOR)ゲート3を介して出力
されるL4J)検出符号CHKを反転(インバー) )
 L (C)IK)中止された送信データの後に終了符
号EDおよび反転誤り符号ス回路7を介して処理回路1
へ入力されるとともに、岨ジ検出回路8に人力され、ま
た、回路7からの信号は終了符号検出回路9へ入力され
、終了符号EDの検出が行われる。回路9でED符号が
検出されると直ちに回路1に通知される0以上のように
、本発明では、データの送出完了する前に、データ送出
を中止したい場合、既送出データにつづいて送信終了通
知符号EDを出力するとともに誤り検出符号を反転して
出力し、受信側では、この返転誤9検出符号の受信検出
によりmちに送信側の異状を知ることができるため伝送
効率が向上する0
In such a configuration, in the processing circuit 1, as soon as it becomes necessary to stop data transmission, a transmission stop signal is given to the circuits 2.4 and 5, and the signal a is sent to the circuits 2.4 and 5.
Invert (invert) the L4J) detection code CHK that is output as 1 through the exclusive OR (EOR) gate 3.
(C)IK) After the aborted transmission data, the processing circuit 1 passes the termination code ED and the inverted error code S circuit 7.
The signal from the circuit 7 is input to the end code detection circuit 9, and the end code ED is detected. As shown in 0 or more, which is immediately notified to circuit 1 when the ED code is detected in circuit 9, in the present invention, if it is desired to stop data transmission before the data transmission is completed, transmission is terminated following the already transmitted data. The notification code ED is output, and the error detection code is inverted and outputted, and on the receiving side, by detecting the reception of this inverted error 9 detection code, it is possible to know the abnormality on the sending side immediately, improving transmission efficiency. 0

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

第1図(alおよび(b)は従来のデータ伝送方式を説
明するためのデータフォーマットを示す図、第2図(a
)および(bla本発明の伝送方式を説明する図、第3
図は本発明の伝送方式に使用される装置のブロック図で
ある。 第3図において、1・・・・・・データ処理回路、2・
・・・・・誤シ検出符号発生回路、3・・・・・・EO
Rゲート、4・・・・・・選択回路、5・・・・・・終
了符号発生回路、6.7・・・・・・インターフェイス
、8・・・・・・誤り検出回路、9・・・・・・終了符
号検出回路0 第1図 (ゐ) (b)
Figures 1 (al and b) are diagrams showing data formats for explaining conventional data transmission methods, and Figure 2 (a
) and (bla) Figure 3 explaining the transmission method of the present invention.
The figure is a block diagram of a device used in the transmission system of the present invention. In FIG. 3, 1... data processing circuit, 2...
...Error detection code generation circuit, 3...EO
R gate, 4... Selection circuit, 5... End code generation circuit, 6.7... Interface, 8... Error detection circuit, 9... ... Termination code detection circuit 0 Fig. 1 (ii) (b)

Claims (1)

【特許請求の範囲】[Claims] データ伝送方式において、予め定めたデータの送信を途
中で中止するときに前記既に送信したデータの後に前記
データに対応する誤り検出符号の中の少なくとも1ビツ
トを反転した符号および前記データの終了を通知する符
号を送出することを特徴とするデータ伝送方式。
In a data transmission system, when the transmission of predetermined data is stopped midway, a code in which at least one bit of an error detection code corresponding to the data is inverted and the end of the data is notified after the already transmitted data. A data transmission method characterized by transmitting a code.
JP16765481A 1981-10-20 1981-10-20 Data transmission system Granted JPS5869147A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16765481A JPS5869147A (en) 1981-10-20 1981-10-20 Data transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16765481A JPS5869147A (en) 1981-10-20 1981-10-20 Data transmission system

Publications (2)

Publication Number Publication Date
JPS5869147A true JPS5869147A (en) 1983-04-25
JPH0239902B2 JPH0239902B2 (en) 1990-09-07

Family

ID=15853760

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16765481A Granted JPS5869147A (en) 1981-10-20 1981-10-20 Data transmission system

Country Status (1)

Country Link
JP (1) JPS5869147A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63294154A (en) * 1987-05-27 1988-11-30 Nec Corp Transmission frame aborting system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51123505A (en) * 1975-04-21 1976-10-28 Hitachi Ltd Data transmission system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51123505A (en) * 1975-04-21 1976-10-28 Hitachi Ltd Data transmission system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63294154A (en) * 1987-05-27 1988-11-30 Nec Corp Transmission frame aborting system

Also Published As

Publication number Publication date
JPH0239902B2 (en) 1990-09-07

Similar Documents

Publication Publication Date Title
EP0090019B1 (en) Multiple source clock encoded communications error detection circuit
KR840005229A (en) Data processing systems
JPS5869147A (en) Data transmission system
JPH0530115A (en) Polling system
JPH0374946A (en) Error control system in data communication
JPS5983430A (en) Serial transmission circuit
KR100374833B1 (en) Trust conviction method for lon talk home network
JPS59178036A (en) Parity check system
JPS6251022B2 (en)
JPS5829243A (en) Signal monitoring device of transmission system
JPS6239929A (en) Data transmission equipment
JPH0210623B2 (en)
JPH0683186B2 (en) Data communication method
JPS5863248A (en) Loop type data transmitting system
JPS63152249A (en) Data transmission system
KR910005384B1 (en) Interfaing method between external computer system and private exchanger
JPH0637738A (en) Data transmission error control system
JPH05260125A (en) Data transfer control system
JPS632385B2 (en)
JPH04267631A (en) Parity bit addition system
KR19990034372A (en) Error detection device at the time of data transmission
JPS62102641A (en) Data transmission system
JPS59138141A (en) Transmission system
JPS6154521A (en) Data transmission method
KR19980067614A (en) Network Collision Signal Detector