JPH03252841A - Transfer data checking system - Google Patents

Transfer data checking system

Info

Publication number
JPH03252841A
JPH03252841A JP2051306A JP5130690A JPH03252841A JP H03252841 A JPH03252841 A JP H03252841A JP 2051306 A JP2051306 A JP 2051306A JP 5130690 A JP5130690 A JP 5130690A JP H03252841 A JPH03252841 A JP H03252841A
Authority
JP
Japan
Prior art keywords
data
line
control unit
bus
received
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
JP2051306A
Other languages
Japanese (ja)
Inventor
Naotoshi Ukai
鵜飼 直俊
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 JP2051306A priority Critical patent/JPH03252841A/en
Publication of JPH03252841A publication Critical patent/JPH03252841A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To detect the hardware fault in a data transfer state by performing the collation between the data on a transfer bus and the data stored in a holding means and the check of the data length while a direct memory access is carried out to a main memory from a circuit correspondence control part. CONSTITUTION:A timer 143 receives the data of the prescribed length (equal to the data length generating) a bus using request at a circuit correspondence control part 13) via a common circuit data reception control part 14. If a bus using grant signal is not inputted within a fixed time after the timer 143 is started, the part 13 decides the occurrence of a fault where the data of the prescribed length is not received yet. Thus the hardware fault of the part 13 can be detected.

Description

【発明の詳細な説明】 [概要] ダイレクトメモリアクセス機能を有する複数の回線対応
制御部と2メインメモリ部と処理部を備える通信処理装
置における転送データ検査方式に関し。
DETAILED DESCRIPTION OF THE INVENTION [Summary] The present invention relates to a transfer data inspection method in a communication processing device including a plurality of line compatible control units having a direct memory access function, two main memory units, and a processing unit.

ダイレクトメモリアクセスにより転送時に回線対応制御
部におけるハードウェア障害の検出が可能な転送データ
検査方式を提供することを目的とし。
The purpose of this invention is to provide a transfer data inspection method that can detect hardware failures in a line-compatible control unit during transfer using direct memory access.

全ての回線からのデータを各回線対応制御部と並列に受
信してそれぞれ保持手段に保持すると共に1回線対応制
御部からメインメモリ部へのダイレクトメモリアクセス
実行時に、転送バス上のデータと保持手段のデータの照
合とデータ長の検査を行う共通回線データ受信制御部を
備えるよう構成する。
Data from all lines is received in parallel with each line corresponding control unit and held in the holding means, and when direct memory access is executed from the single line corresponding control unit to the main memory unit, the data on the transfer bus and the holding means are received. The configuration includes a common line data reception control unit that collates the data and checks the data length.

[産業上の利用分野コ 本発明はダイレクトメモリアクセス機能を有する複数の
回線対応制御部と、メインメモリ部と処理部を備える通
信処理装置における転送データ検査方式に関する。
[Industrial Field of Application] The present invention relates to a transfer data inspection method in a communication processing device that includes a plurality of line compatible control units having a direct memory access function, a main memory unit, and a processing unit.

情報処理システムにおいて、複数の回線により遠隔の処
理装置や、端末と接続してデータの送受信を行う通信処
理装置が広く利用されている。
2. Description of the Related Art In information processing systems, communication processing devices that transmit and receive data by connecting to remote processing devices and terminals via multiple lines are widely used.

そのような通信処理装置の各回線と接続する回線対応制
御部は受信データをメインメモリに転送する場合にダイ
レクトメモリアクセス(DMA)機能により実行される
が1回線対応制御部の障害等により誤ったデータをメイ
ンメモリに書き込む可能性があり、その改善が望まれて
いる。
The line-compatible control unit connected to each line of such a communication processing device uses a direct memory access (DMA) function to transfer received data to the main memory, but if one line-compatible control unit malfunctions, an error occurs. There is a possibility that data may be written to main memory, and improvements are desired.

[従来の技術] 第4図は従来例の構成図である。[Conventional technology] FIG. 4 is a configuration diagram of a conventional example.

第4図において、30はCPU、31はメインメモリ部
、32はバス競合制御部、33は複数個設けられた回線
対応制御部、34は回線を表す。
In FIG. 4, 30 represents a CPU, 31 a main memory section, 32 a bus contention control section, 33 a plurality of line correspondence control sections, and 34 a line.

従来例の動作を説明すると、各回線対応制御部33にお
いて9回線34を介して相手装置からデータを受信する
と、各回線対応制御部33においてシリアルに一定長(
例えば1バイト)のデータを受信すると、その回線対応
制御部33はバス競合制御部32に対し使用要求を発生
する。バス競合制御部32から使用許可の通知が要求を
発生した回線対応制御部33に与えられると5回線対応
制御部33は内部に備えたダイレクトメモリアクセス(
DMA)機能により、バスを介してメインメモリ部に受
信したデータを転送する。
To explain the operation of the conventional example, when each line correspondence control unit 33 receives data from a partner device via nine lines 34, each line correspondence control unit 33 serially receives data of a fixed length (
When receiving data of, for example, 1 byte, the line correspondence control section 33 issues a use request to the bus contention control section 32. When the bus contention control unit 32 gives a notification of usage permission to the line correspondence control unit 33 that has generated the request, the 5 line correspondence control unit 33 uses an internal direct memory access (
DMA) function transfers the received data to the main memory section via the bus.

この転送において1回線対応制御部33の故障により誤
ったデータをメインメモリ部に書き込む可能性があり、
その防止策として従来は3回線対応制御部33からデー
タにパリティ−ビットを付加し、転送先のメインメモリ
部31においてパリティ−チエツクを行う方法が採用さ
れている。
During this transfer, there is a possibility that incorrect data may be written to the main memory section due to a failure of the single-line compatible control section 33.
As a preventive measure, a conventional method has been adopted in which a parity bit is added to the data from the three-line compatible control section 33, and a parity check is performed in the main memory section 31, which is the transfer destination.

[発明が解決しようとする課題] 上記従来の技術によれば、転送時に発生したlビットの
エラーはパリティ−チエツクにより検出することができ
るが、ハードウェア故障の場合2ビツトのエラーが同時
に発生する確率もあり、パリティ−チエツクではエラー
発生を検出することができない。また1回線対応制御部
のハードウェア障害等により、受信データより長いデー
タや短いデータがメインメモリ部に転送された場合は。
[Problem to be Solved by the Invention] According to the above-mentioned conventional technology, an l-bit error that occurs during transfer can be detected by a parity check, but in the case of a hardware failure, two-bit errors occur simultaneously. There is also a probability, and parity checks cannot detect the occurrence of errors. Also, if data longer or shorter than the received data is transferred to the main memory section due to a hardware failure in the single-line compatible control section.

どのような検査符号を付加しても検出することができな
いという問題があった。
There was a problem in that no matter what kind of check code was added, it could not be detected.

本発明はダイレクトメモリアクセスにより転送時に回線
対応制御部におけるハードウェア障害の検出が可能な転
送データ検査方式を提供することを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a transfer data inspection method capable of detecting a hardware failure in a line compatible control unit during transfer using direct memory access.

「課題を解決するための手段] 第1図は本発明の基本構成図である。“Means to solve problems” FIG. 1 is a basic configuration diagram of the present invention.

10はメインメモリ部、11はバス制御部、12はバス
、13は複数の回線のそれぞれに対応して設けられた回
線対応制御部、14は共通回線データ受信制御部、14
1は照合手段、142は格納手段、143はタイマ、1
5はCPUを表す。
10 is a main memory section, 11 is a bus control section, 12 is a bus, 13 is a line correspondence control section provided corresponding to each of a plurality of lines, 14 is a common line data reception control section, 14
1 is a collation means, 142 is a storage means, 143 is a timer, 1
5 represents the CPU.

本発明は複数回線のデータをそれぞれの回線対応制御部
で受信すると同時に全ての回線のデータを共通回線デー
タ受信制御部において受信し1回線対応制御部からメイ
ンメモリ部へデータを転送する時バス上のデータと共通
回線データ受信制御部のデータとを照合すると共にタイ
マを利用して検査を行うものである。
In the present invention, data for multiple lines is received by each line corresponding control unit, data for all lines is simultaneously received by a common line data reception control unit, and data is transferred from the single line corresponding control unit to the main memory unit on the bus. The data is compared with the data of the common line data reception control unit, and a timer is used to perform the check.

[作用] 各回線対応制御部13はそれぞれの回線からデータを受
信し、共通回線データ受信制御部14は全ての回線の受
信データが入力されて高速動作により各回線毎のデータ
をそれぞれの格納手段142に格納する。回線対応制御
部13の受信データが所定長になるとバス使用要求をバ
ス制御部11に対し発生する。一方、共通回線データ受
信制御部14では、格納手段142に所定長のデータが
格納されると、タイマ143を起動する。
[Function] Each line corresponding control unit 13 receives data from each line, and the common line data reception control unit 14 receives the received data of all lines and stores the data for each line in its respective storage means by high-speed operation. 142. When the received data of the line correspondence control section 13 reaches a predetermined length, a bus use request is issued to the bus control section 11. On the other hand, the common line data reception control section 14 starts the timer 143 when a predetermined length of data is stored in the storage means 142.

要求に対してバス制御部11から使用可の信号が発生す
ると、その信号は要求を発生した回線対応制御部13と
同時に共通回線データ受信制御部14にも入力され、そ
の信号により共通回線データ受信制御部14では照合手
段141が起動し。
When a usable signal is generated from the bus control unit 11 in response to a request, that signal is input to the common line data reception control unit 14 at the same time as the line correspondence control unit 13 that generated the request, and this signal causes the common line data to be received. In the control unit 14, the verification means 141 is activated.

同時にタイマ143が停止する。At the same time, timer 143 stops.

バス使用可の信号により回線対応制御部13のDMAl
1能により受信データがバス12上をメインメモリ部1
0に向けて転送されると、そのデータはバスを介して共
通回線データ受信制御部14にも入力され、照合手段1
41において格納手段142のデータと照合される。両
者が一致する場合は問題ないが、不一致の場合(転送デ
ータの方が長い場合を含む)はエラー表示等の出力動作
が行われる。
DMAl of the line corresponding control unit 13 by the bus usable signal.
1 function, the received data is transferred on the bus 12 to the main memory section 1.
0, the data is also input to the common line data reception control section 14 via the bus, and the verification means 1
At 41, the data is compared with the data in the storage means 142. If the two match, there is no problem, but if they do not match (including the case where the transferred data is longer), an output operation such as an error display is performed.

上記のタイマ143は、共通回線データ受信制御部14
において、所定長のデータ(回線対応制御部においてバ
ス使用要求を発生するデータ長と同じ)を受信した後、
タイマを起動して一定時間内にバス使用可信号が入力し
ないと1回線対応制御部13ではまだ所定長のデータが
受信されてない(データ長が短い)という障害が発生し
たものと判断する。
The above-mentioned timer 143 is the common line data reception control unit 14
After receiving data of a predetermined length (same as the data length that generates a bus use request in the line compatible control unit),
If a bus availability signal is not input within a certain time after starting the timer, the single-line correspondence control unit 13 determines that a failure has occurred in that data of a predetermined length has not yet been received (the data length is short).

このような検査を行うことにより回線対応制御部のハー
ドウェア障害を検出することができる。
By performing such a test, it is possible to detect a hardware failure in the line corresponding control section.

[実施例] 第2図は本発明の実施例の構成図、第3図は実施例の動
作タイミングである。
[Embodiment] FIG. 2 is a block diagram of an embodiment of the present invention, and FIG. 3 shows the operation timing of the embodiment.

第2図には共通回線データ受信制御部と関連する槽底を
示し9図において、20は共通回線データ受信制御部で
あり、21は照合回路(第1図の照合手段141に対応
)、22はバイトレジスタ(第1図の格納手段142)
、23はタイマ、24は多重受信回路、25はバス使用
可信号線、26はバス人力線、27は各回線の受信信号
線である。なお9共通回線データ受信制御部20の21
〜23の槽底は各回線対応制御部に対応して複数個設け
られる。
FIG. 2 shows the bottom of the tank related to the common line data reception control section, and in FIG. is a byte register (storage means 142 in Figure 1)
, 23 is a timer, 24 is a multiplex reception circuit, 25 is a bus usable signal line, 26 is a bus power line, and 27 is a reception signal line for each line. Note that 21 of 9 common line data reception control section 20
A plurality of tank bottoms 23 to 23 are provided corresponding to each line corresponding control section.

第3図において、■、■は回線工及び回線nから入力す
る直列データ1.nであり、■、■は共通回線データ受
信制御部20の多重受信回路24で検出した回線1及び
回線nのデータが格納されるバイトレジスタ(第2図の
22)の内容、■は照合動作が行われるタイミングを示
し照合1は回線1のデータの照合動作のタイミング、照
合nは回線nのデータの照合動作のタイ短ングを表す。
In FIG. 3, ■ and ■ are serial data 1. input from the line operator and line n. n, ■ and ■ are the contents of the byte register (22 in FIG. 2) in which the data of line 1 and line n detected by the multiplex reception circuit 24 of the common line data reception control unit 20 are stored, and ■ is the verification operation. Verification 1 represents the timing of the data verification operation of line 1, and verification n represents the timing of the data verification operation of line n.

第2図の動作を説明すると、各回線からの受信データは
各回線対応制御部のバイトレジスタ(図示せず)で受信
されると共に共通回線データ受信制御部20の多重受信
回路24に入力する。共通回線データ受信制御部20で
は、多数の回線からのデータを回線のデータ速度のn倍
(回線数を〇とする)でサンプリングして各ビットデー
タを抽出し2回線に対応して設けられたそれぞれのバイ
トレジスタ22(図では1つの回線分だけ示す)に格納
する。1バイト分のデータがバイトレジスタ22に格納
されると、バイトレジスタ22に全部格納されたことを
検出する出力によりタイマ23が起動される。
To explain the operation of FIG. 2, received data from each line is received by a byte register (not shown) of each line corresponding control unit and input to the multiplex reception circuit 24 of the common line data reception control unit 20. The common line data reception control unit 20 samples data from a large number of lines at n times the data rate of the lines (the number of lines is 0), extracts each bit data, and extracts each bit data. The data is stored in each byte register 22 (only one line is shown in the figure). When one byte of data is stored in the byte register 22, the timer 23 is activated by an output that detects that all data has been stored in the byte register 22.

一方2図示しない回線対応制御部(第1図の13)にお
いて1バイトのデータを受信すると、バス制御部(第1
図の11)に対しバス使用要求が発生し、それに対して
バス使用可信号がバス制御部から発生すると、各回線対
応制御部に対応して設けられたバス使用可信号線から信
号が入力する。
On the other hand, when 1 byte of data is received in the 2nd line control unit (not shown) (13 in Figure 1), the bus control unit (13 in Figure 1) receives 1 byte of data.
When a bus use request is generated for 11) in the figure and a bus available signal is generated from the bus control unit in response, the signal is input from the bus available signal line provided corresponding to each line corresponding control unit. .

この信号は、照合回路21に供給されると、照合動作を
起動し、同時にタイマ23をリセットする。
When this signal is supplied to the verification circuit 21, it starts the verification operation and resets the timer 23 at the same time.

照合動作は起動するとバス上に転送されるデータをバス
入力、!#126から取り込んでバイトレジスタ22の
内容と照合する。この照合において不一致が発生すると
1割り込みが発生して2図示しないCPUに入力する。
When the verification operation starts, the data is transferred onto the bus, which is input to the bus! It is fetched from #126 and compared with the contents of the byte register 22. If a mismatch occurs in this comparison, 1 interrupt is generated and 2 is input to a CPU (not shown).

この動作を繰り返して、多数のバイトが順次メインメモ
リ部に転送されるが、もし共通回線データ受信制御部2
0ではデータを受信したのに1回線対応制御部において
データが受信されない(ハードウェア障害の発生等によ
る)場合は、バイトレジスタ22に格納された後起動し
たタイマ23が3バス使用可信号が入力しないため(バ
ス使用要求を出さないので)にタイムオーバーの出力を
発生する。この出力も割り込み信号としてCPUに供給
される。このように回線対応制御部における受信データ
長が短いことを検出できる。
By repeating this operation, a large number of bytes are sequentially transferred to the main memory section, but if the common line data reception control section 2
If the data is received at 0, but the data is not received by the 1-line compatible control unit (due to a hardware failure, etc.), the timer 23, which is started after being stored in the byte register 22, receives the 3-bus available signal. (because it does not issue a bus use request), it generates a time-over output. This output is also supplied to the CPU as an interrupt signal. In this way, it is possible to detect that the received data length in the line correspondence control section is short.

また1回線対応制御部で受信したデータ長の方が長い場
合(ソフトウェアまたはハードウェア障害による)は、
共通回線データ受信制御部20が受信しないデータにつ
いて照合(バス使用可信号が入力すると起動する)が行
われるので、不一致となって割り込みが発生する。
Also, if the data length received by the single line compatible control unit is longer (due to software or hardware failure),
Since the data not received by the common line data reception control unit 20 is compared (activated when the bus availability signal is input), a mismatch occurs and an interrupt occurs.

[発明の効果] 本発明によれば装置故障(ハードウェア障害)に対して
従来の各種検査符号を付加する検査方式に比べて確実に
検出することができ、またデータ長の検査を行うことが
でき、システムの信頼性を向上することができる。
[Effects of the Invention] According to the present invention, equipment failures (hardware failures) can be detected more reliably than conventional inspection methods that add various check codes, and data length inspection can be performed. This can improve system reliability.

12:バス 13:回線対応制御部 14:共通回線データ受信制御部 141:照合手段 142:格納手段 143:タイマ 15 : CPU12: Bus 13: Line compatible control section 14: Common line data reception control section 141: Verification means 142: Storage means 143: Timer 15: CPU

Claims (1)

【特許請求の範囲】 ダイレクトメモリアクセス機能を有する複数の回線対応
制御部と、メインメモリ部と処理部を備える通信処理装
置において、 全ての回線からのデータを各回線対応制御部と並列に受
信してそれぞれ保持手段に保持すると共に、回線対応制
御部からメインメモリ部へのダイレクトメモリアクセス
実行時に、転送バス上のデータと保持手段のデータの照
合とデータ長の検査を行う共通回線データ受信制御部を
備えることを特徴とする転送データ検査方式。
[Claims] In a communication processing device that includes a plurality of line-compatible control units having a direct memory access function, a main memory unit, and a processing unit, data from all lines is received in parallel with each line-compatible control unit. and a common line data reception control unit that collates the data on the transfer bus with the data in the holding unit and checks the data length when executing direct memory access from the line correspondence control unit to the main memory unit. A transfer data inspection method comprising:
JP2051306A 1990-03-02 1990-03-02 Transfer data checking system Pending JPH03252841A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2051306A JPH03252841A (en) 1990-03-02 1990-03-02 Transfer data checking system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2051306A JPH03252841A (en) 1990-03-02 1990-03-02 Transfer data checking system

Publications (1)

Publication Number Publication Date
JPH03252841A true JPH03252841A (en) 1991-11-12

Family

ID=12883237

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2051306A Pending JPH03252841A (en) 1990-03-02 1990-03-02 Transfer data checking system

Country Status (1)

Country Link
JP (1) JPH03252841A (en)

Similar Documents

Publication Publication Date Title
FI92262B (en) Flexible joint system
JP2770976B2 (en) Parity check device
US5574865A (en) System for data transfer protection during module connection/disconnection onto live bus
AU595211B2 (en) Apparatus for input/output notification to a processor
JPH0572783B2 (en)
JPH03252841A (en) Transfer data checking system
US10565076B2 (en) Device for supervising and initializing ports
JP3600480B2 (en) Serial data transfer system and abnormality detection method
US6131176A (en) On-the-fly data integrity transfer system handling mixed block sizes
US6345332B1 (en) Bus interchange apparatus and dual system for accessing a fault information register without regard to buffer conditions
JP2953878B2 (en) Data transfer system
JPS59200365A (en) Transfer system of control information
JP2000165424A (en) Loop type data transmitting device
JP2600021B2 (en) Time slot indication check processing method
JPS63223916A (en) Data buffer circuit
JPS6010379A (en) Data transfer system of data processing system
JPH05298201A (en) System bus error processing system for information processing system
JPS63244945A (en) Data transmission system
JPH06266629A (en) Bus conversion device
JPH1174869A (en) Transfer control system
JPS62235649A (en) Information processor
JPH02224045A (en) Data transfer control system
JPS62222739A (en) Connection test system
JPH0821240B2 (en) ROM internal information check circuit
JPH04340816A (en) Redundancy checking device