JPS6237581B2 - - Google Patents

Info

Publication number
JPS6237581B2
JPS6237581B2 JP55094699A JP9469980A JPS6237581B2 JP S6237581 B2 JPS6237581 B2 JP S6237581B2 JP 55094699 A JP55094699 A JP 55094699A JP 9469980 A JP9469980 A JP 9469980A JP S6237581 B2 JPS6237581 B2 JP S6237581B2
Authority
JP
Japan
Prior art keywords
buffer memory
check code
transmission
data
block check
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
JP55094699A
Other languages
Japanese (ja)
Other versions
JPS5720049A (en
Inventor
Masamichi Iwama
Satoru Tsushima
Hidenori Hayashi
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP9469980A priority Critical patent/JPS5720049A/en
Publication of JPS5720049A publication Critical patent/JPS5720049A/en
Publication of JPS6237581B2 publication Critical patent/JPS6237581B2/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/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0041Arrangements at the transmitter end

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Detection And Correction Of Errors (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Description

【発明の詳細な説明】 本発明は、バツフアメモリを介してデータの送
受信制御を行なうデータ通信処理装置において、
信頼度を向上させることができるデータ伝送方式
に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention provides a data communication processing device that controls data transmission and reception via a buffer memory.
The present invention relates to a data transmission method that can improve reliability.

伝送路を経てデイジタルデータの送受信を行な
うデータ通信処理装置においては、その信頼度が
極めて高いことが要望される。従来のデータ通信
処理装置においては、伝送路において発生する符
号誤りを検出するため、パリテイチエツク方式、
CRC(Cyclic Redundancy Check)方式等が既
り広く行なわれている。
A data communication processing device that transmits and receives digital data via a transmission path is required to have extremely high reliability. Conventional data communication processing equipment uses a parity check method,
CRC (Cyclic Redundancy Check) methods are already widely used.

第1図は従来のデータ伝送方式を示す図であ
る。同図においてaは送受信制御部の代表的な構
成例を示すブロツク図、bはフレーム構成例を示
す図である。
FIG. 1 is a diagram showing a conventional data transmission system. In the figure, a is a block diagram showing a typical configuration example of a transmission/reception control section, and b is a diagram showing an example frame configuration.

送信側において、送信データは図示されない送
信処理部から送信バツフアメモリ1に書き込まれ
た後順次読み出され、並直列変換部(P/S)2
において直列信号に変換される。変換されて生じ
た直列信号の後に、CRC生成回路3で生成した
CRCコードが付加されてフレーム構成されて
(第1図b)、送信駆動回路4を経て伝送路へ送出
される。
On the transmission side, transmission data is written to a transmission buffer memory 1 from a transmission processing section (not shown) and then sequentially read out, and then sent to a parallel-to-serial conversion section (P/S) 2.
is converted into a serial signal at . After the converted serial signal, the CRC generation circuit 3 generates the
A CRC code is added to form a frame (FIG. 1b), and the frame is sent out to the transmission path via the transmission drive circuit 4.

受信側において、伝送路を経て伝送された信号
は、受信バツフア5を経て直並列変換部(S/
P)6において並列信号に変換されて受信バツフ
アメモリ7に書き込まれた後、読み出されて図示
されない受信処理部へ渡される。一方、CPC検
出回路8はCRCコードを検出して伝送路誤りの
有無を判定し、伝送誤り検出ビツトによつて受信
処理部へ通知する。
On the receiving side, the signal transmitted via the transmission path passes through the receiving buffer 5 and is sent to the serial/parallel converter (S/
After being converted into a parallel signal and written to the reception buffer memory 7 in P) 6, it is read out and passed to a reception processing section (not shown). On the other hand, the CPC detection circuit 8 detects the CRC code, determines the presence or absence of a transmission path error, and notifies the reception processing section using a transmission error detection bit.

しかしながら、符号誤りは伝送路だけでなく、
制御回路中のバツフアメモリにおいても発生する
可能性がある。特に、次第に通信容量が増大して
フレーム長が長くなり、制御回路に占めるバツフ
アメモリの規模が無視できないようになると、伝
送路誤りだけでなくバツフアメモリに対する誤り
検出も併せて行なわないと、十分な信頼度を確保
することができなくなる。しかし、従来から送受
信制御回路中のバツフアメモリに対する誤り検出
は、特に積極的には行なわれていなかつた。
However, code errors occur not only on the transmission path;
This problem may also occur in the buffer memory in the control circuit. In particular, as communication capacity gradually increases and frame lengths become longer, and the scale of buffer memory that occupies the control circuit cannot be ignored, sufficient reliability cannot be achieved unless error detection is performed not only for transmission path errors but also for buffer memory. It will not be possible to secure the However, error detection for the buffer memory in the transmission/reception control circuit has not been particularly actively performed.

本発明は、このような従来技術の欠点を除去し
ようとするものであつて、その目的は、データ送
受信制御回路に設けられたバツフアメモリに対す
る誤り検出を、パリテイチエツクコード等の誤り
検出符号を伝送フレーム中に付加して行なうこと
によつて、データ伝送の信頼度を向上させること
にある。この目的を達成するため、本発明のデー
タ伝送方式においては、送信データを書き込み読
み出す送信バツフアメモリを送信制御部に具え、
受信データを書き込み読み出す受信バツフアメモ
リを受信制御部に具えて伝送路を介してデータの
送受信を行なうデータ伝送処理装置において、送
信制御部に送信バツフアメモリへの入力信号から
チエツクコードを生成するブロツクチエツクコー
ド生成回路を具えるとともに、受信制御部に受信
バツフアメモリの出力信号からチエツクコードを
検出して受信信号の符号誤りを検出するブロツク
チエツクコード検出回路とを具え、送信側で前記
ブロツクチエツクコード生成回路で生成されたブ
ロツクチエツクコードを送信データとともに送信
バツフアメモリに書き込み読み出すとともに、該
送信バツフアメモリの出力信号により誤り検出の
ため符号を生成して付加しフレーム化して伝送
し、受信側で受信バツフアメモリより前段の受信
信号において該誤り検出のための符号により受信
信号の誤り検出を行つたのち、受信バツフアメモ
リに書き込まれた受信データを読み出すときブロ
ツクチエツクコードを生成し受信フレーム中の送
信ブロツクチエツクコードと照合して送信および
受信バツフアメモリにおける誤りを検出すること
を特徴としている。
The present invention aims to eliminate such drawbacks of the prior art, and its purpose is to perform error detection on a buffer memory provided in a data transmission/reception control circuit by transmitting an error detection code such as a parity check code. The purpose is to improve the reliability of data transmission by adding it to the frame. In order to achieve this purpose, in the data transmission system of the present invention, the transmission control section is equipped with a transmission buffer memory for writing and reading transmission data,
In a data transmission processing device that includes a reception buffer memory for writing and reading received data in the reception control unit and transmits and receives data via a transmission path, the transmission control unit generates a check code from an input signal to the transmission buffer memory. The block check code detection circuit detects a check code from the output signal of the reception buffer memory and detects a code error in the received signal in the reception control section, and the block check code generation circuit generates the block check code on the transmitting side. The received block check code is written and read out together with the transmission data in the transmission buffer memory, and a code is generated and added for error detection using the output signal of the transmission buffer memory, and the frame is transmitted. After detecting errors in the received signal using the error detection code, a block check code is generated when reading the received data written in the receive buffer memory, and is compared with the transmitted block check code in the received frame to transmit and It is characterized by detecting errors in the reception buffer memory.

以下、実施例について説明する。 Examples will be described below.

第2図は本発明のデータ伝送方式の一実施例を
示す図である。同図においてaは送受信制御部の
構成例を示し、bはフレーム構成例を示す図であ
る。第2図において第1図と同一部分は同一番号
で示されており、10はブロツクチエツクコード
生成回路、11はバツフアメモリチエツクコード
検出回路である。
FIG. 2 is a diagram showing an embodiment of the data transmission system of the present invention. In the figure, a shows an example of the configuration of a transmission/reception control section, and b shows an example of the frame structure. In FIG. 2, the same parts as in FIG. 1 are designated by the same numbers, 10 is a block check code generation circuit, and 11 is a buffer memory check code detection circuit.

送信側において、送信データは図示されない送
信処理部から送信バツフアメモリ1に書き込まれ
るが、この際、ブロツクチエツクコード生成回路
10においてワード単位のブロツクチエツクコー
ドを生成する。生成されたブロツクチエツクコー
ドは、1フレーム分の送信データが送信バツフア
メモリ1に書き込まれた後に、データの最終アド
レスに書き込まれる。送信バツフアメモリ1から
順次読み出されたデータは、並直列変換部(P/
S)2において直列信号に変換される。変換され
て生じた直列信号の後に、CRC生成回路3で生
成したCRCコードが付加されてフレーム構成さ
れて(第2図b)、送信駆動回路4を経て伝送路
へ送出される。
On the transmitting side, transmission data is written into the transmission buffer memory 1 from a transmission processing section (not shown). At this time, a block check code generation circuit 10 generates a block check code in units of words. The generated block check code is written to the final address of the data after one frame of transmission data has been written to the transmission buffer memory 1. The data sequentially read from the transmission buffer memory 1 is sent to the parallel/serial converter (P/
S) Converted into a serial signal in step 2. After the converted serial signal, a CRC code generated by the CRC generation circuit 3 is added to form a frame (FIG. 2b), and the frame is sent to the transmission line via the transmission drive circuit 4.

受信側において、伝送路を経て伝送された信号
は、受信バツフア5を経て直並列変換部(S/
P)6においてワード単位の並列信号に変換され
て受信バツフアメモリ7に書き込まれる。CRC
検出回路8はフレームに付加されているCRCコ
ード検出し、伝送路誤りの有無を判定して誤り検
出結果を図示されない受信処理部へ通知する。
On the receiving side, the signal transmitted via the transmission path passes through the receiving buffer 5 and is sent to the serial/parallel converter (S/
P) 6, the signal is converted into a word-by-word parallel signal and written into the reception buffer memory 7. CRC
The detection circuit 8 detects the CRC code added to the frame, determines the presence or absence of a transmission path error, and notifies the error detection result to a reception processing section (not shown).

一方、受信バツフアメモリ7に書き込まれたデ
ータはワード単位で読み出されて受信処理部へ渡
されるが、この際、ブロツクチエツクコード検出
回路11でブロツクカウンタを行なつてブロツク
チエツクコードを生成し、データフレーム中のブ
ロツクチエツクコードとの比較を行なつて送受信
制御回路のバツフアメモリにおける誤りを検出し
その結果を受信処理部へ通知する。
On the other hand, the data written in the reception buffer memory 7 is read out in word units and passed to the reception processing section. At this time, the block check code detection circuit 11 performs a block counter to generate a block check code, and A comparison is made with the block check code in the frame to detect an error in the buffer memory of the transmission/reception control circuit, and the result is notified to the reception processing section.

第3図は本発明のデータ伝送方式におけるブロ
ツクチエツクコード生成方法の一実施例を示す図
である。nワードの、mビツトからなるデータ
#1、#2、…、#nは、ワードごとにそれぞれ
アドレス#0、#1、…、#(n−1)に書き込
まれる。この際、各ワードのそれぞれのビツトご
とに垂直方向の偶数または奇数のパリテイをとつ
て、mビツトからなるブロツクチエツクコードが
生成され、アドレス#nに付加される。
FIG. 3 is a diagram showing an embodiment of the block check code generation method in the data transmission system of the present invention. Data #1, #2, . . . , #n consisting of n words and m bits are written word by word to addresses #0, #1, . . . , #(n-1), respectively. At this time, an even or odd parity in the vertical direction is determined for each bit of each word, and a block check code consisting of m bits is generated and added to address #n.

このように本発明のデータ伝送方式において
は、CRCコードによるチエツクによつて伝送路
において発生した誤りを知ることができ、さらに
伝送路における誤り発生がなくても、送受信制御
部において誤りが発生したときは、ブロツクチエ
ツクコードによるチエツクによつてこれを知るこ
とができる。
In this way, in the data transmission system of the present invention, it is possible to know errors that have occurred in the transmission path by checking the CRC code, and even if no error has occurred in the transmission path, it is possible to detect errors that have occurred in the transmission/reception control section. This can be determined by checking the block check code.

送受信制御部における障害中、最も故障発生確
率が大きいのは送信バツフアメモリおよび受信バ
ツフアメモリであり、フレーム長が長くなるに伴
つて故障発生が多くなる。従つて、送信バツフア
メモリにおけるデータ書き込みと読み出し時の誤
り検出と、受信バツフアメモリにおけるデータ書
き込みと読み出し時の誤り検出とを常時ダイナミ
ツクに行なつて監視することが必要である。本発
明のデータ伝送方式においては、受信処理部への
データの出力時、送信バツフアメモリと受信バツ
フアメモリに関する誤り検出を行なつて、その結
果を認識するようにしている。
Among failures in the transmission/reception control section, the transmission buffer memory and reception buffer memory have the highest probability of failure occurrence, and the longer the frame length, the more failures occur. Therefore, it is necessary to constantly dynamically perform and monitor error detection during data writing and reading in the transmission buffer memory, and error detection during data writing and reading in the receiving buffer memory. In the data transmission system of the present invention, when data is output to the reception processing section, error detection is performed regarding the transmission buffer memory and the reception buffer memory, and the result is recognized.

なお第2図に示された実施例においては、ブロ
ツクチエツクコード生成回路およびブロツクチエ
ツクコード検出回路をハードウエアによつて実現
した場合が例示されているが、他の実施例として
これをソフトウエアによつて実現することも可能
である。この場合は送信処理部のソフトウエアに
おいて、ワード単位でのブロツクチエツクコード
をソフト的にカウントして生成結果を送信バツフ
アメモリへ送出する。また受信処理部のソフトウ
エアにおいて、受信バツフアメモリからワード単
位で受信データを引き出しながらブロツクカウン
トを行ない、送信データ中のブロツクチエツクコ
ードと比較することによつて、メモリにおける誤
り検出を行なうことができる。このようにした場
合は、送受信制御回路のハードウエア構成を従来
方式と全く同一にすることができる利点がある。
In the embodiment shown in FIG. 2, the block check code generation circuit and the block check code detection circuit are realized by hardware, but in other embodiments, they may be realized by software. It is also possible to realize this. In this case, the software of the transmission processing section counts block check codes in units of words and sends the generated results to the transmission buffer memory. In addition, in the software of the reception processing section, errors in the memory can be detected by counting blocks while extracting the reception data word by word from the reception buffer memory and comparing it with the block check code in the transmission data. In this case, there is an advantage that the hardware configuration of the transmission/reception control circuit can be made completely the same as that of the conventional system.

また第3図においてブロツクチエツクコードの
生成方法の実施例として、垂直偶(奇)数パリテ
イコードによる場合を説明したが、他の実施例と
して、例えば群(ブロツク)計数チエツクコード
方式等によることが可能である。この場合も基本
的な実現方法は同様であるが、メモリ誤り検出能
力がさらに向上する利点がある。
In addition, in FIG. 3, as an example of the block check code generation method, a case using a vertical even (odd) parity code has been described, but other embodiments include, for example, a group (block) counting check code system. is possible. In this case as well, the basic implementation method is the same, but there is an advantage that the memory error detection ability is further improved.

以上説明したように本発明のデータ伝送方式に
よれば、伝送路における誤り検出と送受信バツフ
アメモリの誤り検出とをデータ送受信中に実行す
ることができるので、データ通信における信頼度
を向上させることができるとともに、伝送路の障
害と送受信バツフアの障害とを切り分けて検出す
ることができ、障害時の対応を容易にすることが
できるので極めて効果的である。
As explained above, according to the data transmission method of the present invention, error detection in the transmission path and error detection in the transmission/reception buffer memory can be performed during data transmission/reception, so reliability in data communication can be improved. At the same time, it is possible to separately detect failures in the transmission path and failures in the transmitting/receiving buffer, making it easy to respond to failures, which is extremely effective.

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

第1図は従来のデータ伝送方式を示す図、第2
図は本発明のデータ伝送方式の一実施例を示す
図、第3図は本発明のデータ伝送方式におけるブ
ロツクチエツクコード生成方法の一実施例を示す
図である。 1……送信バツフアメモリ、2……並直列変換
部(P/S)、3……CRC生成回路、4……送信
駆動回路、5……受信バツフア、6……直並列変
換部(S/P)、7……受信バツフアメモリ、8
……CRC検出回路、10……ブロツクチエツク
コード生成回路、11……ブロツクチエツクコー
ド検出回路。
Figure 1 shows the conventional data transmission method, Figure 2 shows the conventional data transmission method.
This figure shows an embodiment of the data transmission system of the present invention, and FIG. 3 shows an embodiment of the block check code generation method in the data transmission system of the invention. DESCRIPTION OF SYMBOLS 1... Transmission buffer memory, 2... Parallel-to-serial conversion unit (P/S), 3... CRC generation circuit, 4... Transmission drive circuit, 5... Reception buffer, 6... Serial-to-parallel conversion unit (S/P ), 7... Receive buffer memory, 8
...CRC detection circuit, 10...block check code generation circuit, 11...block check code detection circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 送信データを書き込み読み出す送信バツフア
メモリを送信制御部に具え、受信データを書き込
み読み出す受信バツフアメモリを受信制御部に具
えて伝送路を介してデータの送受信を行なうデー
タ伝送処理装置において、送信制御部に送信バツ
フアメモリへの入力信号からチエツクコードを生
成するブロツクチエツクコード生成回路を具える
とともに、受信制御部に受信バツフアメモリの出
力信号からチエツクコードを検出して受信信号の
符号誤りを検出するブロツクチエツクコード検出
回路とを具え、送信側で前記ブロツクチエツクコ
ード生成回路で生成されたブロツクチエツクコー
ドを送信データとともに送信バツフアメモリに書
き込み読み出すとともに、該送信バツフアメモリ
の出力信号により誤り検出のための符号を生成し
て付加しフレーム化して伝送し、受信側で受信バ
ツフアメモリより前段の受信信号において該誤り
検出のための符号により受信信号の誤り検出を行
つたのち、受信バツフアメモリに書き込まれた受
信データを読み出すときのブロツクチエツクコー
ドを生成し受信フレーム中の送信ブロツクチエツ
クコードと照合して送信および受信バツフアメモ
リにおける誤りを検出することを特徴とするデー
タ伝送方式。
1 In a data transmission processing device that transmits and receives data via a transmission path, the transmission control unit includes a transmission buffer memory for writing and reading out transmission data, and the reception control unit includes a reception buffer memory for writing and reading reception data. It is equipped with a block check code generation circuit that generates a check code from the input signal to the buffer memory, and a block check code detection circuit that detects the check code from the output signal of the reception buffer memory and detects a code error in the received signal in the reception control section. On the transmitting side, the block check code generated by the block check code generation circuit is written and read into the transmitting buffer memory along with the transmitting data, and a code for error detection is generated and added based on the output signal of the transmitting buffer memory. A block check code is used when reading the received data written in the receive buffer memory after it is framed and transmitted, and the receiving side performs error detection in the received signal using the code for error detection in the received signal at the stage before the receive buffer memory. A data transmission system characterized in that errors in transmitting and receiving buffer memories are detected by generating a block check code in a received frame and comparing it with a transmitted block check code in a received frame.
JP9469980A 1980-07-11 1980-07-11 Data transmission system Granted JPS5720049A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9469980A JPS5720049A (en) 1980-07-11 1980-07-11 Data transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9469980A JPS5720049A (en) 1980-07-11 1980-07-11 Data transmission system

Publications (2)

Publication Number Publication Date
JPS5720049A JPS5720049A (en) 1982-02-02
JPS6237581B2 true JPS6237581B2 (en) 1987-08-13

Family

ID=14117417

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9469980A Granted JPS5720049A (en) 1980-07-11 1980-07-11 Data transmission system

Country Status (1)

Country Link
JP (1) JPS5720049A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0739268B2 (en) * 1986-01-14 1995-05-01 本田技研工業株式会社 Electric power steering device

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH063640B2 (en) * 1984-10-26 1994-01-12 富士ゼロックス株式会社 Copier control device
JPS62141240U (en) * 1986-02-27 1987-09-05
CA2015401C (en) * 1989-06-23 1993-11-09 Carl J. May, Jr. Multi-length packet format including check sequence(s)
JPH07113454B2 (en) * 1991-01-24 1995-12-06 東芝ホームテクノ株式会社 Combustor controller

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS49130638A (en) * 1973-04-16 1974-12-14
JPS5174540A (en) * 1974-12-25 1976-06-28 Fujitsu Ltd

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS49130638A (en) * 1973-04-16 1974-12-14
JPS5174540A (en) * 1974-12-25 1976-06-28 Fujitsu Ltd

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0739268B2 (en) * 1986-01-14 1995-05-01 本田技研工業株式会社 Electric power steering device

Also Published As

Publication number Publication date
JPS5720049A (en) 1982-02-02

Similar Documents

Publication Publication Date Title
US4447903A (en) Forward error correction using coding and redundant transmission
US11646094B2 (en) Memory system with error detection
US4276646A (en) Method and apparatus for detecting errors in a data set
US20040030980A1 (en) Multiple ECC schemes to improve bandwidth
US3657700A (en) Forward error correcting system
US4858236A (en) Method for error correction in memory system
US6981200B2 (en) Interconnect system with error correction
JPS6237581B2 (en)
EP0130429B1 (en) Failure detection apparatus
JP3217716B2 (en) Wireless packet communication device
JPS62206942A (en) Data transmission system
JPS5853249A (en) Data transmitter and receiver
RU169207U1 (en) ERROR DATA STORAGE AND TRANSMISSION DEVICE
KR940001612B1 (en) Light-memory processing apparatus
JPH0695901A (en) Method for detecting transmission error in no-procedure communication
SU1476478A1 (en) Unit for connecting subscribers to common bus
JPS6342534A (en) Communication system
JPH0689236A (en) Random access memory monitor circuit
SU1167659A1 (en) Storage with self-check
JP2021141489A (en) Transmitting device, receiving device, transmitting method, and receiving method
JPH04267631A (en) Parity bit addition system
JPS589449A (en) Data message decoding system
KR100189738B1 (en) Data transmiiting apparatus
JPS61101138A (en) Frame synchronizing system
JPH0897803A (en) Data transmission system