JPH03218147A - Communication control device - Google Patents

Communication control device

Info

Publication number
JPH03218147A
JPH03218147A JP2012533A JP1253390A JPH03218147A JP H03218147 A JPH03218147 A JP H03218147A JP 2012533 A JP2012533 A JP 2012533A JP 1253390 A JP1253390 A JP 1253390A JP H03218147 A JPH03218147 A JP H03218147A
Authority
JP
Japan
Prior art keywords
line
memory
adapter
communication control
error information
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
JP2012533A
Other languages
Japanese (ja)
Inventor
Atsushi Ugajin
宇賀神 敦
Tomihisa Nishijima
富久 西島
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2012533A priority Critical patent/JPH03218147A/en
Publication of JPH03218147A publication Critical patent/JPH03218147A/en
Pending legal-status Critical Current

Links

Landscapes

  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、通信制御装置に係り、特に、回線障害発生時
に、回線障害の切り分けが可能な通信制御装置に関する
。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a communication control device, and particularly to a communication control device that can isolate a line fault when it occurs.

[従来の技術] 従来、一般に、レイヤ1、レイヤ2を別々のブロセッサ
により実現している通信制御装置が知られているが、こ
の通信制御装置は、レイヤ2プロトコルにおいてリトラ
イアウトが発生した場合に、その根本原因を正しく上位
装置へ通知することのできるものではない。
[Prior Art] Conventionally, a communication control device is generally known in which layer 1 and layer 2 are implemented using separate processors. , it is not possible to correctly notify the host device of the root cause.

この種従来技術として、例えば、特開昭62−2457
50号公報等に記載された技術が知られているが、この
従来技術は、回線障害情報を周期的に収集する方法につ
いて述べているのみである。
As this type of prior art, for example, Japanese Patent Application Laid-Open No. 62-2457
Although a technique described in Japanese Patent No. 50 and the like is known, this conventional technique only describes a method of periodically collecting line failure information.

[発明が解決しようとする課Mi] 前記従来技術は、統計情報として障害情報を収集するも
のであるため、障害情報の収集周期が長く、レイヤ2プ
ロトコルリトライアウトが発生したとき、収集されてい
る最新の障害情報が、前記リトライアウト発生直前の障
害情報であるか否かの対応をとることができず、この障
害情報を用いて回Mll害切り分けを行うことができな
いという問題点を有している。
[Issue Mi to be Solved by the Invention] Since the above-mentioned conventional technology collects failure information as statistical information, the failure information collection cycle is long, and when a layer 2 protocol retryout occurs, the failure information is collected. There is a problem in that it is not possible to determine whether the latest failure information is the failure information immediately before the retryout occurred, and it is not possible to use this failure information to isolate the problem. There is.

また、前記従来技術は、障害情報の収集周期を短くする
と、収集するデータ量が膨大となり、大量のメモリを必
要とするという問題点を生じてしまう。
Further, in the prior art, if the failure information collection cycle is shortened, the amount of data to be collected becomes enormous, resulting in a problem that a large amount of memory is required.

本発明の目的は、前記従来技術の問題点を解決し、少な
いメモリを用いて、障害情報の収集周期を短くすること
ができるようにし、レイヤ2プロトコルリトライアウト
発生直前の回線状態を収集できるようにした通信制御装
置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to solve the problems of the prior art described above, to shorten the failure information collection cycle using a small amount of memory, and to collect the line status immediately before a layer 2 protocol retryout occurs. The purpose of the present invention is to provide a communication control device that achieves the following.

[課題を解決するための手段] 本発明によれば前記目的は、小容量の2つのメモリA1
、A2を用意し、短周期でこれらのメモリを交互にリセ
ットしながら、データ受信が発生する毎に、新たにリセ
ットしたメモリに回線エラー情報を設定するようにする
ことにより達成される。
[Means for Solving the Problems] According to the present invention, the object is to provide two small capacity memories A1.
, A2 are prepared, and while resetting these memories alternately at short intervals, each time data reception occurs, line error information is set in the newly reset memory.

また、前記目的は、回線エラー収集を短周期で、確実に
行うために、タイマ発生回線を設け、このタイマによる
回線エラー収集のための割り込みレベルを、通常のデー
タ送信完了割り込み、データ受信割り込みより高くする
ことにより、タイマ割リ込みの沈み込みを防止するよう
にすることにより達成される。
In addition, the above purpose is to provide a timer generation line in order to reliably collect line errors in a short cycle, and to set the interrupt level for line error collection using this timer to be higher than the normal data transmission completion interrupt and data reception interrupt. This is achieved by increasing the value to prevent the timer interrupt from sinking.

[作 用] 2つのメモリを交互にリセットしながら、収集した回線
エラー情報をリセットしたメモリに交互に書き込むこと
により、メモリリセット直後であっても、リセットを行
っていないメモリには、回線エラー情報が格納されてい
ることになるので、最小、メモリリセットタイミングの
1周期分、最大、メモリリセットタイミングの2周期分
の回線エラー情報の収集を行うことができる。
[Operation] By alternately resetting the two memories and alternately writing the collected line error information to the reset memory, the line error information is stored in the unreset memory even immediately after the memory reset. Therefore, it is possible to collect line error information for a minimum of one cycle of memory reset timing and a maximum of two cycles of memory reset timing.

従って、レイヤ2プロトコルリトライアウトが発生した
とき、前記メモリ内の回線エラー情報を読み出せば、こ
の回線エラー情報は、レイヤ2プロトコルリトライアウ
ト発生直前の回線エラー情報であり、このエラー情報に
基づいて、この障害が、回線に起因した障害か、リンク
レベルの障害かを識別して切り分けることができる。
Therefore, when a layer 2 protocol retryout occurs, if the line error information in the memory is read out, this line error information is the line error information immediately before the layer 2 protocol retryout occurred, and based on this error information, , it is possible to identify and isolate whether this fault is caused by the line or a link-level fault.

[実施例] 以下、本発明による通信制御装置の一実施例を図面によ
り詳細に説明する。
[Embodiment] Hereinafter, an embodiment of a communication control device according to the present invention will be described in detail with reference to the drawings.

第1図は本発明の一実施例の構成を示すブロック図、第
2図は回線アダプタの構成を示すブロック図、第3図は
回線エラーの内容を説明する図、第4図は本発明の一実
施例の動作を説明するシーケンス図、第5図は回線エラ
ー情報が保持される期間を説明するタイムチャートであ
る。第1図、第2図において、10はホストコンピュー
タ、l00は回線アダプタ、110、340はローカル
バス、120、130は回線制御回線、121,122
はデータドライバ/レシーバー 123は回線エラー収
集回線、124はデータ送受信制御回線、140はメモ
リA,150はバスインタフェース回線、160はプロ
セッサA、161はタイマ発生回線、170は共有バス
、300は通信制御アダプタ、310は通信制御アダプ
タ制御回線、320は共有メモリ、330はホストイン
タフェース回線、350はプロセッサB、360はメモ
リBである。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, FIG. 2 is a block diagram showing the configuration of a line adapter, FIG. 3 is a diagram explaining the contents of a line error, and FIG. 4 is a block diagram showing the configuration of a line adapter. FIG. 5 is a sequence diagram illustrating the operation of one embodiment, and a time chart illustrating the period during which line error information is retained. 1 and 2, 10 is a host computer, l00 is a line adapter, 110, 340 are local buses, 120, 130 are line control lines, 121, 122
is a data driver/receiver; 123 is a line error collection line; 124 is a data transmission/reception control line; 140 is a memory A; 150 is a bus interface line; 160 is a processor A; 161 is a timer generation line; 170 is a shared bus; 300 is a communication control line. 310 is a communication control adapter control line, 320 is a shared memory, 330 is a host interface line, 350 is a processor B, and 360 is a memory B.

本発明による通信制御装置は、第1図に示すように、1
台の通信制御アダプタ300と複数台の回線アダプタ1
00とにより構成されており、回線アダプタ100がレ
イヤ1を、通信制御アダプタ300がレイヤ2を実現し
ている。
As shown in FIG. 1, the communication control device according to the present invention includes:
One communication control adapter 300 and multiple line adapters 1
00, the line adapter 100 implements layer 1, and the communication control adapter 300 implements layer 2.

回線アダプタ100は、回線200a〜200dを収容
することができ、また、通信制御アダプタ300は、最
大8個の回線アダプタ100を、共有バス170を介し
て接続することができ、最大16個がホストコンピュー
タlOに対して接続可能である。
The line adapter 100 can accommodate the lines 200a to 200d, and the communication control adapter 300 can connect up to eight line adapters 100 via the shared bus 170, and up to 16 can connect to the host. It can be connected to the computer IO.

通信制御アダプタ300は、ホストコンピュータ10と
のインタフェースを制御するホストインタフェース回線
330と、共有メモリ320に対するアクセスの調停、
共有バス170に対するバス調停を行う通信制御アダプ
タ制御回線310と、通信制御アダプタ300全体の動
作を制御するメインプロセッサであるプロセッサB35
0と、プロセッサB350内で動作するプログラムが格
納されているメモリ8360と、プロセッサB350、
メモリB360を通信制御アダプタ制御回線310に接
続するローカルバスB340と、プロセッサA160及
びプロセッサB350からアクセス可能な共有メモリ3
20とを備えて構成されている。
The communication control adapter 300 includes a host interface line 330 that controls the interface with the host computer 10, arbitrates access to the shared memory 320,
A communication control adapter control line 310 that performs bus arbitration for the shared bus 170, and a processor B35 that is a main processor that controls the overall operation of the communication control adapter 300.
0, a memory 8360 in which a program running in the processor B350 is stored, and a processor B350,
A local bus B340 that connects the memory B360 to the communication control adapter control line 310, and a shared memory 3 accessible from the processor A160 and the processor B350.
20.

回線アダプタ100は、回線200a、200bを制御
する回線制御回線A120と、回線200c、200d
を制御する回線制御回線B130と、回線アダプタ全体
を制御するプロセッサであるプロセッサA160と、プ
ロセッサAl60上で動作するプログラム及び回線エラ
ー情報を格納するメモリAl40と、通信制御アダプタ
300とのインタフェースを制御するバスインタフェー
ス回線150と、これらを接続するローカルバス110
とを備えて構成されている。
The line adapter 100 includes a line control line A120 that controls lines 200a and 200b, and lines 200c and 200d.
The interface between the line control line B130, which controls the line control line B130, the processor A160, which is a processor that controls the entire line adapter, the memory Al40, which stores programs running on the processor Al60 and line error information, and the communication control adapter 300. Bus interface line 150 and local bus 110 connecting these
It is composed of:

前述のように構成される本発明の通信制御装置の一実施
例において、ホストコンピュータ10から転送されてく
るデータは、ホストインタフェース回線330、通信制
御アダプタ制御回線310を介して共有メモリ320に
格納される。ホストインタフェース回線330は、デー
タを共有メモリ320に格納すると、プロセッサB35
0に対して割り込みを発生させる。
In one embodiment of the communication control device of the present invention configured as described above, data transferred from the host computer 10 is stored in the shared memory 320 via the host interface line 330 and the communication control adapter control line 310. Ru. Host interface line 330 allows processor B 35 to store data in shared memory 320.
Generates an interrupt for 0.

プロセッサB350は、この割り込みを受けると、レイ
ヤ2のフレーム、例えば、HDLCのIフレームを作成
し、該フレーム作成後、共有メモリ320にデータ送信
要求のコマンドを設定し、回線アダプタ100内のプロ
セッサA160に対して割り込みを発生させる。
Upon receiving this interrupt, the processor B 350 creates a layer 2 frame, for example, an HDLC I frame, and after creating the frame, sets a data transmission request command in the shared memory 320, and sends the processor A 160 in the line adapter 100 Generates an interrupt for.

この割り込みを受けたプロセッサA160は、共有メモ
リ320内に設定されたコマンドを解析し、回線制御回
線Al20または回線制御回線B130に送信指示を行
う。この送信指示を受けた回線制御回線A120または
回線制御回線Bl30は、回線200a〜200dのい
ずれかにデータを送信する。
The processor A160 that has received this interrupt analyzes the command set in the shared memory 320 and issues a transmission instruction to the line control line Al20 or the line control line B130. The line control line A120 or the line control line B130 that receives this transmission instruction transmits data to any of the lines 200a to 200d.

次に、回線アダプタ100の詳細な構成を示す第2図に
より、回線アダプタ100の前述した以外の他の構成を
説明する。
Next, other configurations of the line adapter 100 other than those described above will be explained with reference to FIG. 2 showing the detailed configuration of the line adapter 100.

第2図において、タイマ発生回線161は、周期的なタ
イマ割り込みを発生させる回線であり、回線エラー収集
回線123は、回線へのデータの送出及び回線からのデ
ータの受信を行うデータドライバ/レシーバー121、
122で検出された回線エラーを読み出す回線である。
In FIG. 2, a timer generation line 161 is a line that generates periodic timer interrupts, and a line error collection line 123 is a line used by a data driver/receiver 121 that sends data to and receives data from the line. ,
This is a line for reading line errors detected at 122.

プロセッサA160は、タイマ発生回線161からの割
り込み信号をトリガとして、回線エラー収集回線123
に読み込まれている回線エラー情報を読み出し、メモリ
Al40内の例えばメモリA1に回線エラー情報を設定
し、その後、タイマ発生回線161に次のトリガタイミ
ングを設定する。次のトリガがタイマ発生回線161か
ら発せられたとき、プロセッサ160は、前述と同様な
処理を行うが、このときの、回線エラー情報の格納先は
、メモリA内のメモリA2となる。
The processor A 160 uses the interrupt signal from the timer generation line 161 as a trigger to send the line error collection line 123 to the line error collection line 123.
The line error information read in is read out, and the line error information is set in, for example, the memory A1 in the memory Al40, and then the next trigger timing is set in the timer generation line 161. When the next trigger is issued from the timer generation line 161, the processor 160 performs the same processing as described above, but at this time, the line error information is stored in the memory A2 in the memory A.

前述したように本発明の実施例は、回線エラー情報を、
メモリA1とメモリA2とへ交互に格納することになる
。そして、タイマ発生回線161の割り込み信号発生周
期は、メモリAl40内に設定されているシステム設定
テーブルの値を変.更することにより、例えば、1秒〜
255秒まで任意に設定することができる。
As mentioned above, the embodiment of the present invention stores line error information as
The data will be stored alternately in memory A1 and memory A2. The interrupt signal generation cycle of the timer generation line 161 is determined by changing the value of the system setting table set in the memory Al40. For example, by changing the
It can be arbitrarily set up to 255 seconds.

回線エラー情報は、第3図に示すように、8ビットのデ
ータで表わされ、各ビット位置対応に、予備、ロングフ
レーム、バッファビジー、オーバーラン、ショウトフレ
ーム、アボート検出、同期はずれ、FCSエラーの各エ
ラーの有無を表わすように構成されている。
As shown in Figure 3, the line error information is expressed as 8-bit data, and is divided into spare, long frame, buffer busy, overrun, short frame, abort detection, synchronization loss, and FCS error corresponding to each bit position. is configured to indicate the presence or absence of each error.

次に、前述した本発明の一実施例において、レイヤ2プ
ロトコルリトライアウトが発生した場合の、通信制御ア
ダプタ300及び回線アダプタlOOの動作を第4図に
示すシーケンスにより説明する。
Next, the operations of the communication control adapter 300 and the line adapter lOO when a layer 2 protocol retryout occurs in the above-described embodiment of the present invention will be described with reference to the sequence shown in FIG. 4.

データの送信を行う場合、通信制御アダプタ300は、
回線アダプタ100に対して、割込みによりデータ送信
要求コマンドを発行する。このデータ送信要求コマンド
は、通信制御アダプタ300が共有メモリ320上に書
き込み、前記割り込みを契機にして、回線アダプタ10
0がこれを読み出すことにより、回線アダプタ100に
渡される。
When transmitting data, the communication control adapter 300
A data transmission request command is issued to the line adapter 100 by interrupt. This data transmission request command is written by the communication control adapter 300 on the shared memory 320, and triggered by the interrupt, the line adapter 10
0 is passed to the line adapter 100 by reading this.

回線アダプタ100は、このデータ送信要求コマンドを
受け取ると、データドライバ/レシーバーを用いて、相
手通信装置に対してデータI(0,0)の送信を行う。
When the line adapter 100 receives this data transmission request command, it uses the data driver/receiver to transmit data I(0,0) to the other communication device.

このとき、送信データの相手先アドレスとデータ長とは
、データ送信要求コマンドに付加されているものを使用
する。
At this time, the destination address and data length of the transmission data are those added to the data transmission request command.

データの送信が終了すると、データドライバ/レシーバ
ーは、プロセッサA160に対して割り込みを発生させ
る。回線アダプタ100は、この割り込みにより、共有
メモリ320に対して、送信完了割り込みレスポンスを
設定し、通信制御アダプタ300に対する割り込みを行
う。
When the data transmission is completed, the data driver/receiver generates an interrupt to processor A160. In response to this interrupt, the line adapter 100 sets a transmission completion interrupt response in the shared memory 320 and interrupts the communication control adapter 300.

通信制御アダプタ300は、このレスポンスを受けると
、タイマ370に監視タイマスタート指示を出し、該タ
イマ370がタイムアウトすると、プロセッサBに対し
て割り込みを行い、この割り込みを契機として、再度、
回線アダプタlOOに対してデータ送信要求コマンドを
発行する。
When the communication control adapter 300 receives this response, it issues an instruction to start the monitoring timer to the timer 370, and when the timer 370 times out, it interrupts the processor B, and uses this interrupt as a trigger to start the monitoring timer again.
A data transmission request command is issued to line adapter lOO.

一方、回線アダプタ100において、データドライバ/
レシーバー121、122は、データ受信の都度回線エ
ラーのチェックを行い、そのチェック結果を内部に保持
する動作を行う。また、プロセッサA160は、タイマ
発生回線161からの所定の周期毎のタイマ割り込みを
受け、回線エラー収集回線123にエラー収集指示を発
行する。
On the other hand, in the line adapter 100, the data driver/
The receivers 121 and 122 perform an operation of checking for line errors each time they receive data and internally retaining the check results. Furthermore, the processor A 160 receives timer interrupts from the timer generation line 161 at predetermined intervals and issues an error collection instruction to the line error collection line 123.

回線エラー収集回線123は、データドライバ/レシー
バーがデータ受信の都度検出して保持している回線エラ
ー情報を読み出し、一旦、自回線エラー収集回線内のレ
ジスタに格納する。このレジスタに格納された回線エラ
ー情報は、プロセッサA160により、メモリA140
内のメモリA1に格納される。このとき、メモリA1は
、前記タイマ発生回線161からのタイマ割り込みによ
りリセットされている。
The line error collection line 123 reads line error information detected and held by the data driver/receiver each time data is received, and temporarily stores it in a register within its own line error collection line. The line error information stored in this register is stored in the memory A140 by the processor A160.
The data is stored in memory A1 within the memory A1. At this time, the memory A1 has been reset by a timer interrupt from the timer generation line 161.

このメモリA140内のメモリAIへの回線エラー情報
の格納後、プロセッサA160は、回線エラー収集回線
123にエラー要因リセット指示を発行し、回線エラー
収集回線123内のレジスタを“0゜゛クリアさせると
共に、データドライバ/レシーバー内のエラーをリセッ
トさせる。さらに、プロセッサA160は、次の回線エ
ラー情報読み出しのためのトリガを得るために、タイマ
発生回線181に割り込み発生指示を与えておく。
After storing the line error information in the memory AI in the memory A140, the processor A160 issues an error factor reset instruction to the line error collection line 123, clears the register in the line error collection line 123 to "0°," The error in the data driver/receiver is reset.Furthermore, the processor A160 gives an interrupt generation instruction to the timer generation line 181 in order to obtain a trigger for reading the next line error information.

回線アダプタ100では、タイマ発生回線161のタイ
マ割り込みが発生する度に、前述したメモリ140内の
メモリA1、A2の交互リセットと、回線エラー情報の
収集を行い、収集した回線エラー情報を、メモリA14
0内のメモリA1、A2へ交互に格納する動作とを続け
る。
In the line adapter 100, each time a timer interrupt occurs on the timer generation line 161, the memories A1 and A2 in the memory 140 are alternately reset and line error information is collected, and the collected line error information is stored in the memory A14.
The operation of alternately storing data into the memories A1 and A2 within 0 is continued.

このような動作中に、通信制御アダプタ300がレイヤ
2プロトコルリトライアウトを検出すると、通信制御ア
ダプタ300は、回線アダプタ100に対して、回線エ
ラー情報読み出しコマンドを発行する。
During such an operation, when the communication control adapter 300 detects a layer 2 protocol retryout, the communication control adapter 300 issues a line error information read command to the line adapter 100.

このコマンドを回線アダプタ100が受信すると、回線
アダプタ100内のプロセッサA160は、メモリA1
、A2の内容を読み出し、両読み出し情報の内容の論理
和をとり、この結果を共有メモリ320に書き込んで、
通信制御アダプタ300に対して、回線エラー情報通知
レスポンスを発行する。
When the line adapter 100 receives this command, the processor A160 in the line adapter 100 stores the memory A1.
, A2, performs the logical OR of the contents of both read information, writes this result to the shared memory 320,
A line error information notification response is issued to the communication control adapter 300.

この回線エラー情報通知レスポンスを受けた、通信制御
アダプタ300内のプロセッサB350は、回線エラー
情報の内容の解析を実行する。本発明の実施例の場合、
回線エラー情報は、第3図により説明したように構成さ
れているので、回線エラー情報が、AH“0”の場合、
回線エラー無しであり、AH ”O”で無い場合、“1
”のたっているビット位置に対応する回線エラーが生じ
ていると判定することができる。
Processor B350 in communication control adapter 300, which received this line error information notification response, analyzes the contents of the line error information. In the case of embodiments of the invention,
The line error information is configured as explained in FIG. 3, so if the line error information is AH “0”,
If there is no line error and AH is not “O”, “1”
It can be determined that a line error has occurred corresponding to the bit position marked with ".

通信制御アダプタ300は、この判定の結果、上位装置
であるホストコンピュータ10に、回線エラー以外のエ
ラーの場合リンクエラーを通知し、回線エラーの場合そ
の回線エラーを通知する。
As a result of this determination, the communication control adapter 300 notifies the host computer 10, which is a host device, of a link error in the case of an error other than a line error, and notifies the line error in the case of a line error.

次に、第5図に示すタイミングチャートにより、回線エ
ラー情報収集期間について説明する。
Next, the line error information collection period will be explained with reference to the timing chart shown in FIG.

第5図において、タイマ割り込み発生回線161からの
割り込みタイミングT1は、等間隔(図では異なってい
るように見えるが)に発生し、メモリA1、A2を交互
にクリアしている。一方、回線エラー情報は、データ受
信発生毎にクリアされたメモリに格納される。
In FIG. 5, interrupt timings T1 from the timer interrupt generation line 161 occur at equal intervals (although they appear to be different in the figure), and memories A1 and A2 are cleared alternately. On the other hand, line error information is stored in a memory that is cleared every time data reception occurs.

従って、メモリリセット1発生後、メモリリセット3が
発生するまで、メモリAlの内容が保持されることにな
り、また、メモリリセット2の発生後、メモリリセット
4が発生されるまで、メモリA2の内容が保持されるこ
とになる。図の例では、メモリリセット2の発生からメ
モリリセット3の発生までの間に、回線エラー情報2、
3が発生し、これらのエラー情報が、メモリリセット4
が発生するまでメモリA2に保持されることになる。
Therefore, after the memory reset 1 occurs, the contents of the memory Al are held until the memory reset 3 occurs, and after the memory reset 2 occurs, the contents of the memory A2 are held until the memory reset 4 occurs. will be retained. In the example shown in the figure, between the occurrence of memory reset 2 and the occurrence of memory reset 3, line error information 2,
3 occurs, and these error information are stored in memory reset 4.
It will be held in memory A2 until it occurs.

従って、その後、メモリリセット3と4との間で、エラ
ー情報読み出し要求が発生すれば、このときに保持され
ているエラー情報は、回線エラー情報2、3となる。
Therefore, if an error information read request is subsequently generated between memory resets 3 and 4, the error information held at this time becomes line error information 2 and 3.

本発明の実施例は、前述のメモリリセット周期、すなわ
ち、回線エラー収集周期を短くしても、メモリAI、A
2の容量の増加を招くことがないので、少ないメモリ容
量で、短周期の回線エラー情報の収集を行うことができ
る。
In the embodiment of the present invention, even if the above-mentioned memory reset period, that is, the line error collection period is shortened, the memories AI, A
Since this does not cause an increase in the capacity of 2, it is possible to collect short-period line error information with a small memory capacity.

前述した本発明の実施例において、回線エラー情報は、
メモリではなくレジスタに格納するようにしてもよい。
In the embodiment of the present invention described above, the line error information is
It may also be stored in a register instead of memory.

また、回線エラー情報は、回線の物理的な特性に応じて
変更することができる。さらに、データ送受信制御回線
は、レイヤl物理インタフェースの信号を読むことがで
きるので、このインタフェース信号と回線エラー情報と
を、合わせて用いることにより、障害の切り分けを有効
に行うことができる。
Further, the line error information can be changed depending on the physical characteristics of the line. Furthermore, since the data transmission/reception control line can read the signal of the layer I physical interface, failures can be effectively isolated by using this interface signal and line error information together.

[発明の効果] 以上説明したように本発明によれば、レイヤ2プロトコ
ルエラーの要因が、回線障害によるものか、相手通信装
置によるものかを、少量の情報量で容易に切り分けるこ
とができ、2面のメモリに交互に回線エラー情報を格納
し、読み出し指示により、両メモリの内容の論理和をと
ることによって、読み出し指示直前の回線状態を正確に
把握することができる。
[Effects of the Invention] As explained above, according to the present invention, it is possible to easily determine whether the cause of a layer 2 protocol error is due to line failure or due to the other party's communication device using a small amount of information. By alternately storing line error information in two memories and performing a logical sum of the contents of both memories in response to a read instruction, it is possible to accurately grasp the line status immediately before the read instruction.

また、通信制御アダプタと回線アダプタのそれぞれに、
プロセッサを備えることにより、通信制御装置を、マル
チプロセッサ構成とした場合にも、本発明を適用するこ
とができる。
In addition, for each communication control adapter and line adapter,
By including a processor, the present invention can be applied even when the communication control device has a multiprocessor configuration.

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

第1図は本発明の一実施例の構成を示すブロック図、第
2図は回線アダプタの構成を示すブロック図、第3図は
回線エラーの内容を説明する図、第4図は本発明の一実
施例の動作を説明するシーケンス図、第5図は回線エラ
ー情報が保持される期間を説明するタイムチャートであ
る。 10・・・・・・ホストコンピュータ、lOO・・・・
・・回線アダプタ、110、340・・・・・・ローカ
ルバス、120、130・・・・・・回線制御回線、1
21,122・・・・・・データドライバ/レシーバー
、123・・・・・・回線エラー収集回線、124・・
・・・・データ送受信制御回線、140・・・・・・メ
モリA、150・・・・・・バスインタフェース回線、
160・・・・・・プロセッサA,16l・・・・・・
タイマ発生回線、170・・・・・・共有バス、300
・・・・・・通信制御アダプタ、310・・・・・・通
信制御アダプタ制御回線、320・・・・・・共有メモ
リ、33O・・・・・・ホストインタフェース回線、3
50・・・・・・ブ ロセッサB, 360・・・・・・メモリB.
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, FIG. 2 is a block diagram showing the configuration of a line adapter, FIG. 3 is a diagram explaining the contents of a line error, and FIG. 4 is a block diagram showing the configuration of a line adapter. FIG. 5 is a sequence diagram illustrating the operation of one embodiment, and a time chart illustrating the period during which line error information is retained. 10...Host computer, lOO...
...Line adapter, 110, 340...Local bus, 120, 130...Line control line, 1
21, 122... Data driver/receiver, 123... Line error collection line, 124...
...Data transmission/reception control line, 140...Memory A, 150...Bus interface line,
160... Processor A, 16l...
Timer generation line, 170...Shared bus, 300
...Communication control adapter, 310...Communication control adapter control line, 320...Shared memory, 33O...Host interface line, 3
50...Processor B, 360...Memory B.

Claims (1)

【特許請求の範囲】[Claims] 1、レイヤ1、レイヤ2を別々のプロセッサにより実現
している通信制御装置において、小容量の2面のメモリ
を備え、短周期でこれらのメモリを交互にリセットしな
がら、データ受信が発生する毎に、新たにリセットした
メモリに回線エラー情報を設定し、レイヤ2プロトコル
リトライアウトが発生した場合、前記メモリに設定され
た回線エラー情報を上位装置へ通知することを特徴とす
る通信制御装置。
1. In a communication control device that realizes layer 1 and layer 2 using separate processors, it is equipped with two small-capacity memories, and resets these memories alternately in short cycles, each time data reception occurs. A communication control device characterized in that line error information is set in a newly reset memory, and when a layer 2 protocol retryout occurs, the line error information set in the memory is notified to a higher-level device.
JP2012533A 1990-01-24 1990-01-24 Communication control device Pending JPH03218147A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012533A JPH03218147A (en) 1990-01-24 1990-01-24 Communication control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012533A JPH03218147A (en) 1990-01-24 1990-01-24 Communication control device

Publications (1)

Publication Number Publication Date
JPH03218147A true JPH03218147A (en) 1991-09-25

Family

ID=11807968

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012533A Pending JPH03218147A (en) 1990-01-24 1990-01-24 Communication control device

Country Status (1)

Country Link
JP (1) JPH03218147A (en)

Similar Documents

Publication Publication Date Title
US6205501B1 (en) Apparatus and method for handling universal serial bus control transfers
US7849235B2 (en) DMA controller, node, data transfer control method and storage medium
TWI229796B (en) Method and system to implement a system event log for system manageability
KR100290944B1 (en) An apparatus and method for providing an interface to a compound universal serial bus controller
US4205374A (en) Method and means for CPU recovery of non-logged data from a storage subsystem subject to selective resets
CN101866308B (en) FPGA expansion based Picosat house-keeping system
CN108132910B (en) System interconnect and system on chip with system interconnect
JP3083565B2 (en) Timer manager
US6658519B1 (en) Bus bridge with embedded input/output (I/O) and transaction tracing capabilities
EP0333593B1 (en) A data processing system capable of fault diagnosis
WO2003067444A2 (en) Method and system for monitoring dma status in a computer system
US20060149866A1 (en) Method and apparatus for transferring data
JP2001202295A (en) sub-system
JPH0981533A (en) Interprocessor data transfer method and ring buffer memory for interprocessor data transfer
CN114816896A (en) AXI bus monitor and electronic system thereof
JPWO2007097040A1 (en) Information processing apparatus control method, information processing apparatus
JPH05224964A (en) Bus abnormality information system
US6345332B1 (en) Bus interchange apparatus and dual system for accessing a fault information register without regard to buffer conditions
CN121210204B (en) Processor and exception handling methods for processor response
CN120832316A (en) Data transmission method, storage device and electronic device
KR970002400B1 (en) Control scheme of interrupt go and done in a multiprocessor interrupt requester
JPH07114491A (en) Timeout monitoring method
JPH0675796A (en) Parity error recorder
JP2003281087A (en) Memory target device and data transfer system
JPS6113845A (en) Communication control equipment