JPH08123740A - Common bus control method - Google Patents
Common bus control methodInfo
- Publication number
- JPH08123740A JPH08123740A JP6256925A JP25692594A JPH08123740A JP H08123740 A JPH08123740 A JP H08123740A JP 6256925 A JP6256925 A JP 6256925A JP 25692594 A JP25692594 A JP 25692594A JP H08123740 A JPH08123740 A JP H08123740A
- Authority
- JP
- Japan
- Prior art keywords
- bus
- failure
- relay device
- common bus
- data
- 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
Links
Landscapes
- Debugging And Monitoring (AREA)
- Bus Control (AREA)
- Computer And Data Communications (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、入出力回線を接続終端
し、かつ、共通バスに接続される複数の回線インタフェ
ース装置(以後LIFと称する)から、前記共通バス上
にデータを送信する一つの送信者を決定する共通バス制
御方式に関し、特に、障害装置を短時間で特定して切離
すことのできる共通バス制御方式に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for transmitting data on a common bus from a plurality of line interface devices (hereinafter referred to as LIFs) that terminate connection of input / output lines and are connected to a common bus. The present invention relates to a common bus control method for determining one sender, and particularly to a common bus control method capable of identifying and disconnecting a faulty device in a short time.
【0002】[0002]
【従来の技術】従来、この種の共通バス制御方式では、
共通バスに接続された複数のLIFそれぞれが、障害を
認識した際、この障害情報を、特定バスを使用して監視
装置に通知するか、または、複数のLIFのうちの一つ
をマスターLIFとし、このマスターLIFがポーリン
グ/セレクティング方式によって定期的に順次、LIF
の状態を監視し、障害情報を含む監視情報を収集してい
る。2. Description of the Related Art Conventionally, in this type of common bus control system,
When each of the plurality of LIFs connected to the common bus recognizes a failure, the failure information is notified to the monitoring device using a specific bus, or one of the plurality of LIFs is set as a master LIF. , This master LIF is periodically polled / selected by the polling / selecting method.
The status of is monitored and the monitoring information including the failure information is collected.
【0003】これら両方の方式とも、収集された障害情
報が、ソフトウェア処理装置に渡され、解析された結
果、障害LIFを特定している。また、更に必要に応じ
て、障害LIFの閉塞処理が行われている。In both of these systems, the fault information collected is passed to the software processing device and analyzed, and the fault LIF is specified. Further, the blocking process of the faulty LIF is performed as needed.
【0004】しかし、これらの方式は、障害LIFを特
定する状態監視および統計処理をソフトウェアにより処
理しているので、障害LIFを閉塞して切離すまでに時
間を要している。このため、正常にデータを転送できる
スループット(使用効率)の低下が発生する。However, in these systems, since the state monitoring and the statistical processing for specifying the faulty LIF are processed by software, it takes time to block and disconnect the faulty LIF. Therefore, the throughput (usage efficiency) at which data can be normally transferred is reduced.
【0005】一方、別にバスの使用効率を向上させる技
術が、例えば、特開平2−159658号公報に記載さ
れている。この方式では、図6に示されるように、LI
Fのような複数の装置(以後ユニットと称する)80,
81に接続された一つの共通バス9に、調停装置7が接
続され、この調停装置7は、共通バス9にデータを送信
する一つの送信者を、複数のユニット80,81から決
定している。On the other hand, another technique for improving the use efficiency of the bus is disclosed in, for example, Japanese Patent Laid-Open No. 2-159658. In this method, as shown in FIG.
A plurality of devices such as F (hereinafter referred to as units) 80,
The arbitration device 7 is connected to one common bus 9 connected to 81, and the arbitration device 7 determines one sender, which transmits data to the common bus 9, from a plurality of units 80 and 81. .
【0006】調停装置7は、バスの使用効率向上のため
に共通バス9上の信号を監視するバス監視回路71を有
している。ここで、2つのユニット80,81は同一の
構成要素であり、図6では、一方のユニット80にデー
タ信号の送信を要求する部分の転送制御回路82が図示
され、他方のユニット81にデータ信号の受信に対する
レスポンス信号を送信するゲート83の部分が図示され
ている。ここで、共通バス9は、データバス91、レス
ポンスバス92、および、制御バス93により構成され
ているものとする。The arbitration device 7 has a bus monitoring circuit 71 for monitoring signals on the common bus 9 in order to improve bus usage efficiency. Here, the two units 80 and 81 are the same constituent elements, and in FIG. 6, the transfer control circuit 82 of a portion requesting the transmission of the data signal to one unit 80 is shown, and the data signal to the other unit 81 is shown. The part of the gate 83 that transmits a response signal to the reception of the is shown. Here, the common bus 9 is assumed to be composed of a data bus 91, a response bus 92, and a control bus 93.
【0007】まず、調停装置7は、ユニット80からデ
ータの送信を要求する送信要求信号を受けると、他ユニ
ットから受けた送信要求信号と調整して、ユニット80
に送信許可信号を送る。ユニット80は、送信許可信号
を受けて、データバス91上にコマンド、アドレス、デ
ータの順に情報を送出し、制御バス93にコマンドの送
出に同期させてバス・スタート信号を発行する。First, when the arbitration device 7 receives a transmission request signal requesting the transmission of data from the unit 80, the arbitration device 7 adjusts the transmission request signal received from another unit, and the unit 80
Send a transmission permission signal to. In response to the transmission permission signal, the unit 80 sends information on the data bus 91 in the order of command, address, and data, and issues a bus start signal to the control bus 93 in synchronization with the sending of the command.
【0008】ユニット81は、コマンドに含まれるID
(識別)表示から自己宛ての情報を知り、この情報をデ
ータバス91から取込む。調停装置7のバス監視回路7
1は、制御バス93からバス・スタート信号を受ける
と、ユニット81に共通バス9の使用許可信号を発行
し、ゲート83をオンにする。ユニット81は、ゲート
83を介してレスポンスバス92上にレスポンスを送出
する。The unit 81 has an ID included in the command.
The information addressed to itself is known from the (identification) display, and this information is fetched from the data bus 91. Bus monitoring circuit 7 of arbitration device 7
When the bus start signal is received from the control bus 93, the device 1 issues a use permission signal for the common bus 9 to the unit 81 and turns on the gate 83. The unit 81 sends a response to the response bus 92 via the gate 83.
【0009】データバス上に送出された情報のエラー
は、障害と共に、バス監視回路71と受信側のユニット
81との少なくとも一方により検出され、障害発生時の
発生通知と障害内容とがこのレスポンスバス92を用い
て送信側のユニット80に通知され、ユニット80によ
る共通バス9の解放を早期に行うことができる。このた
め、正常なデータ転送のスループット(使用効率)を向
上することができる。The error of the information transmitted on the data bus is detected together with the failure by at least one of the bus monitoring circuit 71 and the receiving unit 81, and the occurrence notification and the content of the failure at the time of the failure occur in this response bus. The unit 80 on the transmitting side is notified using 92, and the unit 80 can release the common bus 9 early. Therefore, the throughput (usage efficiency) of normal data transfer can be improved.
【0010】[0010]
【発明が解決しようとする課題】上述した従来の共通バ
ス制御方式は、障害発生によって障害発生時の発生通知
と障害内容とを送信側のユニットに通知して、使用中の
共通バスを早期に切離して共通バスの使用効率を向上さ
せている。しかし、この構成でも、収集された障害内容
が送信ユニットからソフトウェア処理装置に渡されて解
析された結果、障害ユニットが特定されるので、障害ユ
ニットを閉塞して切離すまでの時間が必要であり、この
障害ユニットの閉塞までの間、障害データの発生を阻止
できないという問題点は残る。The above-mentioned conventional common bus control system notifies the transmission side unit of the occurrence notification and the contents of the failure at the time of occurrence of a failure, so that the common bus in use is promptly released. Separated to improve the usage efficiency of the common bus. However, even with this configuration, since the failure unit is identified as a result of the collected failure contents being passed from the transmission unit to the software processing device and analyzed, it takes time to block and disconnect the failure unit. However, the problem remains that the generation of fault data cannot be prevented until the fault unit is blocked.
【0011】また、ユニットを共通バスで接続した複数
のローカルネットワークを中継装置で連結し、規模を拡
張したネットワークにおいては、バス監視回路の配備が
複雑になると共に、障害内容に中継装置情報が含まれな
い場合、中継装置の障害場所が特定できないという面で
問題点がある。Further, in a network in which a plurality of local networks in which units are connected by a common bus are connected by a relay device and the scale is expanded, the deployment of the bus monitoring circuit becomes complicated and the failure content includes relay device information. If not, there is a problem in that the failure location of the relay device cannot be identified.
【0012】本発明の課題は、共通バスを収容接続する
中継装置において障害を認識し、ハードウェア制御によ
り装置を特定することによって、この特定した装置を論
理的に短時間に閉塞し切離すことができ、かつ、障害デ
ータにより使用中の共通バスを早期に解放できる共通バ
ス制御方式を提供することである。An object of the present invention is to identify a fault in a relay device that accommodates and connects a common bus and to identify the device by hardware control, thereby logically blocking and disconnecting the identified device in a short time. And to provide a common bus control method capable of releasing a common bus in use at an early stage due to failure data.
【0013】[0013]
【課題を解決するための手段】本発明による共通バス制
御方式は、共通バス上のデータを取込み、このデータの
障害を認識した際、障害発生のデータから検出したLI
Fを特定して障害発生回数を計数し、この障害発生回数
が所定の数値を超過した場合、LIFから発行された共
通バスへの送信要求に対して送信許可を禁止する手段を
備え、また、中継装置で中継装置間バス上のデータに障
害を認識した際、この中継装置間バス毎に発生した障害
発生回数を計数し、該障害発生回数が所定の数値を超過
した場合、中継装置間バスを閉塞する手段を備えてい
る。According to the common bus control method of the present invention, when data on a common bus is taken in and a fault in this data is recognized, the LI detected from the fault occurrence data is detected.
F is specified, the number of times of failure occurrence is counted, and when the number of times of failure occurrence exceeds a predetermined numerical value, means for prohibiting transmission permission for a transmission request issued from the LIF to the common bus is provided, and When the relay device recognizes a failure in the data on the inter-relay device bus, it counts the number of failure occurrences for each inter-relay device bus, and when the number of failure occurrences exceeds a predetermined value, the inter-relay device bus Means for closing the
【0014】上記の具体的手段の一つでは、共通バスに
データを送信する一つの送信者を複数の前記LIFから
決定する調停装置を備え、中継装置が、共通バス上のデ
ータを取込み、このデータの障害を認識する手段を有す
ると共に、調停装置が、中継装置から障害の発生通知情
報を受け、障害発生のデータから検出したLIFを特定
して障害発生回数を計数し、この障害発生回数が所定の
数値を超過した場合、このLIFから発行された共通バ
スへの送信要求に対する送信許可を禁止する手段を有
し、また、中継装置が、中継装置間バス上に転送される
データの障害を認識する手段を有すると共に、調停装置
が、中継装置で中継装置間バス上のデータに障害を認識
した際、この中継装置間バス毎に発生した障害発生回数
を計数し、この障害発生回数が所定の数値を超過した場
合、この中継装置間バスを閉塞する手段を備えている。According to one of the above-mentioned concrete means, an arbitration device for determining one sender for transmitting data to the common bus from the plurality of LIFs is provided, and the relay device takes in the data on the common bus. The arbitration device has means for recognizing a data failure, and the arbitration device receives the failure occurrence notification information from the relay device, identifies the LIF detected from the failure occurrence data, and counts the failure occurrence frequency. When the number exceeds a predetermined value, the relay device has means for prohibiting transmission permission for a transmission request issued from the LIF to the common bus. Further, the relay device prevents a failure of data transferred on the inter-relay device bus. When the arbitration device recognizes a failure in the data on the inter-relay device bus at the relay device, the arbitration device counts the number of failure occurrences for each inter-relay device bus, If the raw count has exceeded a predetermined numerical value, and a means for closing the relay device between the buses.
【0015】[0015]
【実施例】次に、本発明について図面を参照して説明す
る。Next, the present invention will be described with reference to the drawings.
【0016】図1は本発明の一実施例を示す機能ブロッ
ク図である。FIG. 1 is a functional block diagram showing an embodiment of the present invention.
【0017】図示された共通バス制御方式では、入出力
データを送受信するn個の入出力回線7(11)〜(1
n)それぞれに接続するn個のLIF3(11)〜(1
n)を共通バス4(1)で中継装置2(1)に接続し、
また、m個の入出力回線7(p1)〜(pm)それぞれ
に接続するm個のLIF3(p1)〜3(pm)を共通
バス4(p)で中継装置2(p)に接続している。即
ち、p群のローカルネットワークが設けられており、そ
れぞれのローカルネットワークは複数ののLIF3を一
つの共通バス4で一つの中継装置2に接続して構成され
ているものとする。In the illustrated common bus control system, n input / output lines 7 (11) to (1) for transmitting / receiving input / output data are used.
n) n LIFs 3 (11) to (1) connected to each
n) is connected to the relay device 2 (1) by the common bus 4 (1),
In addition, the m LIFs 3 (p1) to 3 (pm) connected to the m input / output lines 7 (p1) to (pm) are connected to the relay device 2 (p) by the common bus 4 (p). There is. That is, it is assumed that p groups of local networks are provided, and each local network is configured by connecting a plurality of LIFs 3 to one relay device 2 by one common bus 4.
【0018】更に、中継装置2(1)〜(p)は中継装
置間バス5により結合されており、かつ、調停装置1
が、全ての中継装置2およびLIF3に接続され、共通
バス4(1)〜(p)にデータ信号を送信する一つの送
信者を複数のLIF3(11)〜(pm)から決定する
ために設けられている。Further, the relay devices 2 (1) to (p) are connected by the inter-relay device bus 5, and the arbitration device 1
Is provided to determine one sender from a plurality of LIFs 3 (11) to (pm), which is connected to all the relay devices 2 and the LIFs 3 and transmits the data signal to the common buses 4 (1) to (p). Has been.
【0019】図1において図6と異なる点は、ネットワ
ーク内に中継装置2を設けた広域なネットワークを対象
とし、この中継装置2がバスの監視をして障害の発生を
通知すると共に、調停装置1が中央装置2から障害発生
通知を受けて該当する障害のLIF3または中継装置間
バス5を特定して閉塞していることである。1 is different from FIG. 6 in that it covers a wide area network in which a relay device 2 is provided in the network, and this relay device 2 monitors the bus to notify the occurrence of a failure, and at the same time, an arbitration device. 1 indicates that the LIF 3 or the inter-repeater bus 5 of the corresponding fault is identified and blocked upon receiving the fault notification from the central unit 2.
【0020】調停装置1は、詳細を図3を参照して後述
するが、入出力データを受けたLIF3から送信要求信
号を受けると、他のLIF3から受けた送信要求信号と
調停して、共通バス4(1)にデータ信号を送信する一
つとしてLIF3(例えば、1n)を決定し、このLI
F3(1n)にLIF番号情報(1n)を含む送信許可
信号を送出する。この送信許可信号は同一群の中継装置
2(1)にも送られており、中継装置2(1)は、配下
のどのLIFに送信が許可されたかを認識できる。The arbitration device 1, which will be described in detail later with reference to FIG. 3, receives the transmission request signal from the LIF 3 which has received the input / output data, and arbitrates with the transmission request signal received from the other LIF 3 so as to be shared. The LIF 3 (for example, 1n) is determined as one that transmits the data signal to the bus 4 (1), and this LI is determined.
A transmission permission signal including the LIF number information (1n) is sent to F3 (1n). This transmission permission signal is also sent to the relay device 2 (1) of the same group, and the relay device 2 (1) can recognize which LIF under the relay is permitted to transmit.
【0021】各中継装置2は、詳細を図2を参照して後
述するが、3つのバスインタフェースを有しており、1
つにLIFに接続する共通バス4を収容し、残る2つに
直列接続された他の2つの中継装置2それぞれを接続す
る中継装置間バス5を収容し、1つが入力状態にある場
合、残る2つを出力状態にする。Each relay device 2 has three bus interfaces, the details of which will be described later with reference to FIG.
One accommodates the common bus 4 connected to the LIF, and the other two accommodate the inter-relay device bus 5 that connects each of the other two relay devices 2 connected in series, and if one is in the input state, remains. Put two into output state.
【0022】LIF3(1n)は、送信許可信号内のL
IF番号が“1n”の場合、データ信号を共通バス4
(1)のデータバスに送信し、更に、データ信号に同期
したパリティ信号を共通バス4(1)のパリティバスに
送信する。パリティ信号は、データ信号の1バイト単位
に1ビット付加される。LIF3(1n)から送出され
たデータ信号は、中継装置2(1)から中継装置2(例
えば、p)までを中継され、共通バス4(p)を介して
送信先のLIF3(例えば、pm)に達する。LIF3 (1n) is an L in the transmission permission signal.
When the IF number is “1n”, the data signal is sent to the common bus 4
The parity signal synchronized with the data signal is transmitted to the data bus of (1), and further transmitted to the parity bus of the common bus 4 (1). One bit is added to the parity signal for each byte of the data signal. The data signal transmitted from the LIF 3 (1n) is relayed from the relay device 2 (1) to the relay device 2 (for example, p), and the destination LIF 3 (for example, pm) via the common bus 4 (p). Reach
【0023】次に、中継装置2について、図1および図
2を併せ参照して詳細を説明する。中継装置2は、図2
に示されるように、バス障害認識回路21、2つの中継
装置間バス5それぞれに接続するバス制御回路22、お
よび、中継制御回路23を有している。Next, the relay device 2 will be described in detail with reference to FIGS. 1 and 2. The relay device 2 is shown in FIG.
As shown in FIG. 3, the bus fault recognition circuit 21, the bus control circuit 22 connected to each of the two inter-relay device buses 5, and the relay control circuit 23 are provided.
【0024】発信側の中継装置2のバス障害認識回路2
1は、調停装置1により調停された結果、調停装置1か
ら送出された送信許可信号を受けて障害検出開始の準備
を行い、共通バス4にデータ信号が入力すると、このデ
ータ信号を監視し、障害がある場合、この障害を検出す
る。障害はデータ信号のパリティエラーを障害として検
出することにより行う。バス障害認識回路21は、デー
タ信号でパリティエラーを検出した際には、直ちに、障
害発生通知信号を調停装置1に送出する。Bus failure recognition circuit 2 of the relay device 2 on the originating side
1 receives the transmission permission signal sent from the arbitration device 1 as a result of arbitration by the arbitration device 1 and prepares for failure detection start. When the data signal is input to the common bus 4, the data signal is monitored, If there is a fault, detect this fault. The failure is performed by detecting the parity error of the data signal as the failure. When the bus fault recognition circuit 21 detects a parity error in the data signal, it immediately sends a fault occurrence notification signal to the arbitration device 1.
【0025】また、バス障害認識回路21は、2つのバ
ス制御回路22それぞれから中継装置2間で送受信する
中継データの障害通知を受けたとき、これを障害通知信
号として調停装置1に送出し、調停装置1から閉塞信号
を受けたとき障害通知を発行したバス制御回路22に閉
塞通知を送る。Further, when the bus fault recognition circuit 21 receives a fault notification of relay data transmitted and received between the relay devices 2 from each of the two bus control circuits 22, it sends this to the arbitration device 1 as a fault notification signal, When the blocking signal is received from the arbitration device 1, the blocking notification is sent to the bus control circuit 22 that has issued the failure notification.
【0026】バス制御回路22は、中継装置間バス5を
収容接続し、この中継装置間バス5と、LIF3を接続
する共通バス4を収容接続する中継制御回路23との間
でデータ信号およびパリティ信号をそのまま転送すると
共に、送信側ではこれらデータ信号とパリティ信号とか
ら障害用パリティ信号を生成して送出する。この障害用
パリティ信号は中継装置2内でのデータ信号(1バイ
ト)とパリティ信号(1ビット)とに対して更に1ビッ
トを付加したものとする。The bus control circuit 22 accommodates and connects the inter-relay device bus 5, and a data signal and a parity are provided between the inter-relay device bus 5 and the relay control circuit 23 that accommodates and connects the common bus 4 connecting the LIF 3. The signal is transferred as it is, and the transmitting side generates a fault parity signal from the data signal and the parity signal and sends it out. It is assumed that the fault parity signal has 1 bit added to the data signal (1 byte) and the parity signal (1 bit) in the relay device 2.
【0027】バス制御回路22の受信側は、中継装置間
バス5から受けたデータ信号(1バイト)、パリティ信
号(1ビット)および障害用パリティ信号(1ビット)
を1単位として、パリティにより障害を調べ、障害を検
出した場合、バス障害認識回路21に通知する。The receiving side of the bus control circuit 22 receives the data signal (1 byte), the parity signal (1 bit) and the fault parity signal (1 bit) received from the inter-repeater bus 5.
Is set as one unit, the parity is checked for a fault, and when the fault is detected, the bus fault recognition circuit 21 is notified.
【0028】中継制御回路23は、共通バス4を収容
し、共通バス4上のデータ信号およびパリティ信号を取
込んで、2つのバス制御回路22に転送する。また、中
継制御回路23は、中継装置間バス5から受けたデータ
信号からこのデータ信号の着アドレスを知り、受けたデ
ータ信号を共通バスに送出する。The relay control circuit 23 accommodates the common bus 4, takes in the data signal and the parity signal on the common bus 4, and transfers them to the two bus control circuits 22. Further, the relay control circuit 23 knows the destination address of this data signal from the data signal received from the inter-relay device bus 5, and sends the received data signal to the common bus.
【0029】次に、調停装置1について、図1および図
3を併せ参照して詳細を説明する。図3に示される調停
装置1は、中継装置障害制御回路11、送信要求マスク
回路12、調停回路13、LIF番号検出回路14、要
求制御回路15、および、障害回数保持回路16を備え
ている。Next, the arbitration device 1 will be described in detail with reference to FIGS. 1 and 3. The arbitration device 1 shown in FIG. 3 includes a relay device failure control circuit 11, a transmission request mask circuit 12, an arbitration circuit 13, a LIF number detection circuit 14, a request control circuit 15, and a failure frequency holding circuit 16.
【0030】中継装置障害制御回路11には、CPUバ
ス6を介してCPU(図示されていない)により、各中
継装置2の中継装置間インタフェースであるバス制御回
路22(図2参照)毎に中継装置間障害の上限回数が障
害限度カウンタ値として設定されている。中継装置障害
制御回路11は、各中継装置2から障害通知信号を受け
た際、バス制御回路22毎の障害回数を積算集計して予
め設定されている上記障害限度カウンタ値と比較する。The relay device failure control circuit 11 relays each bus control circuit 22 (see FIG. 2) which is an inter-relay device interface of each relay device 2 by a CPU (not shown) via the CPU bus 6. The upper limit number of inter-device failures is set as the failure limit counter value. When the relay device failure control circuit 11 receives a failure notification signal from each relay device 2, the relay device failure control circuit 11 integrates and aggregates the number of failures for each bus control circuit 22, and compares the total number of failures with the preset failure limit counter value.
【0031】比較した結果、一致した場合、中継装置障
害制御回路11は、中継装置間で中継障害が発生したも
のと認識して、この障害通知信号を発行した中継装置2
に、閉塞するバス制御回路22を指定した閉塞信号を送
出すると共に、この閉塞されるバス制御回路22に接続
される中継装置間バス5で対抗する位置の中継装置2の
バス制御回路22にも閉塞するバス制御回路22を指定
した閉塞信号を送出する。As a result of the comparison, if they match, the relay device fault control circuit 11 recognizes that a relay fault has occurred between the relay devices, and issues the fault notification signal to the relay device 2
To the bus control circuit 22 to be blocked, and also to the bus control circuit 22 of the relay device 2 at the position opposed by the inter-relay device bus 5 connected to the blocked bus control circuit 22. A blocking signal that designates the bus control circuit 22 to be blocked is transmitted.
【0032】送信要求マスク回路12は、各LIF3か
らの送信要求信号を調停回路13に送出する。一方、送
信要求マスク回路12は、要求制御回路15からLIF
対応要求禁止信号を受信中、この信号に含まれるLIF
番号に対応するLIF3からの送信要求信号をマスクし
て、この禁止信号が無くなるまで、送信要求信号の出力
を停止する。調停回路13は、送信要求マスク回路12
から複数の送信要求信号を受け、この送信要求信号の中
から、1つを選択決定してLIF3、中継装置2、およ
び、LIF番号検出回路14に送信許可信号により通知
する。The transmission request mask circuit 12 sends the transmission request signal from each LIF 3 to the arbitration circuit 13. On the other hand, the transmission request mask circuit 12 receives the LIF from the request control circuit 15.
While receiving the response request prohibition signal, the LIF included in this signal
The transmission request signal from the LIF 3 corresponding to the number is masked, and the output of the transmission request signal is stopped until the prohibition signal disappears. The arbitration circuit 13 uses the transmission request mask circuit 12
Receives a plurality of transmission request signals, selects one of the transmission request signals, and notifies the LIF 3, the relay device 2, and the LIF number detection circuit 14 of the transmission permission signal.
【0033】LIF番号検出回路14は、調停回路13
から送信許可信号を受信するたびにこの送信許可信号か
らLIF番号を認識してこのLIF番号を要求制御回路
15に通知する。また、LIF番号検出回路14は、障
害発生通知信号を中継装置2のバス障害認識回路21か
ら受信した際、受信中の送信許可信号から障害発生のL
IFを特定して要求制御回路15に通知する。The LIF number detection circuit 14 includes an arbitration circuit 13
Each time the transmission permission signal is received from the device, the LIF number is recognized from the transmission permission signal and the request control circuit 15 is notified of this LIF number. Further, when the LIF number detection circuit 14 receives the failure occurrence notification signal from the bus failure recognition circuit 21 of the relay device 2, the LIF number detection circuit 14 detects the occurrence of a failure L from the transmission permission signal being received.
The IF is specified and notified to the request control circuit 15.
【0034】要求制御回路15は、LIF番号検出回路
14から受信したLIF番号からこのLIFがデータを
送信した回数と、障害発生のLIFからLIF対応の障
害発生回数とを計数しており、障害発生の通知をLIF
番号検出回路14から受けた際、障害回数保持回路16
に障害内容通知信号により送出する。要求制御回路15
は、障害回数保持回路16で所定の障害発生回数を超過
した場合、この回数超過を回数超過信号によって障害回
数保持回路16から通知される。回数超過信号を受けた
要求制御回路15は、送信要求マスク回路12にLIF
対応要求禁止信号を送出し、通知された対応LIFから
の送信要求を禁止する。The request control circuit 15 counts the number of times that this LIF has transmitted data from the LIF number received from the LIF number detection circuit 14 and the number of times of failure occurrence corresponding to the LIF from the failure occurrence LIF. Notification of LIF
When received from the number detection circuit 14, the failure frequency holding circuit 16
It is sent by the fault content notification signal. Request control circuit 15
When the failure frequency holding circuit 16 exceeds a predetermined failure occurrence frequency, the failure frequency holding circuit 16 notifies the excess frequency by a frequency overrun signal. The request control circuit 15, which has received the excess-count signal, causes the transmission request mask circuit 12 to perform LIF.
A response request prohibition signal is sent to inhibit the transmission request from the notified response LIF.
【0035】障害回数保持回路16は、要求制御回路1
5から受けた障害内容通知信号により各LIFのデータ
送信回数と障害発生回数とをハードウェアによる障害カ
ウンタとして保持している。また、障害回数保持回路1
6は、CPUバス6を収容し、CPU制御のソフトウェ
アによる障害限度カウンタとして障害限度回数を各LI
F毎に設定できると共に、各LIF単位でデータ送信回
数とデータ障害回数との状態を読出すことができる。従
って、障害回数保持回路16は、ソフトウェアによる障
害限度カウンタ値とハードウェアによる障害カウンタ値
とが一致した場合、一致したLIF番号を障害LIF情
報として持たせた回数超過信号を、要求制御回路15に
送出する。The failure number holding circuit 16 is the request control circuit 1
The number of times of data transmission of each LIF and the number of times of occurrence of a failure are held as a failure counter by hardware in accordance with the failure content notification signal received from 5. In addition, the failure count holding circuit 1
The CPU 6 accommodates the CPU bus 6 and uses the CPU control software as a failure limit counter to indicate the failure limit count for each LI.
It can be set for each F and the state of the number of data transmissions and the number of data failures can be read in each LIF unit. Therefore, when the failure limit counter value by software and the failure counter value by hardware match, the failure frequency holding circuit 16 sends to the request control circuit 15 an overtime signal having the matched LIF number as failure LIF information. Send out.
【0036】次に、図4に図1から図3までを併せ参照
してLIF3(p1)からの送信データに障害が発生し
た場合について説明する。Next, referring to FIG. 4 together with FIG. 1 to FIG. 3, a case where a failure occurs in the transmission data from the LIF3 (p1) will be described.
【0037】図4に示される状態は、ハードウェアによ
り既にカウントされている障害カウンタ値が“2”で、
ソフトウェアにより設定されている障害限度カウンタ値
が“3”であるとした場合であり、送信要求信号による
送信許可信号がLIF3(p1)に到達し、LIF3
(p1)から共通バス4(p)にデータが送出されてい
るものとする。In the state shown in FIG. 4, the fault counter value already counted by the hardware is "2",
This is a case where the failure limit counter value set by software is "3", and the transmission permission signal by the transmission request signal reaches LIF3 (p1), and LIF3
It is assumed that data is transmitted from (p1) to the common bus 4 (p).
【0038】障害が無い場合、送信許可信号は調停回路
13からLIF番号検出回路14を介して要求制御回路
15まで転送され、要求制御回路15においてLIF3
(p1)でのデータの送信回数が計数されるだけであ
る。共通バス4上を転送されるデータに障害がある場
合、中継装置2(p)のバス障害認識回路21(p)
が、この障害を認識し、障害発生通知信号をLIF番号
検出回路14を介して要求制御回路15に送出する。When there is no failure, the transmission permission signal is transferred from the arbitration circuit 13 to the request control circuit 15 through the LIF number detection circuit 14, and the request control circuit 15 receives the LIF 3 signal.
Only the number of data transmissions in (p1) is counted. When there is a failure in the data transferred on the common bus 4, the bus failure recognition circuit 21 (p) of the relay device 2 (p)
Recognizes this failure and sends a failure occurrence notification signal to the request control circuit 15 via the LIF number detection circuit 14.
【0039】上述のように、要求制御回路15は、LI
F番号検出回路14からLIF3(p1)の障害を通知
された場合、ハードウェアとして内臓する障害カウンタ
値に“1”を加え、障害内容通知信号を障害回数保持回
路16に送出する。障害回数保持回路16は、受けた障
害カウンタ値が“3”の場合、ソフトウェアによる障害
限度カウンタ値“3”に達するので、所定値の超過とな
り回数超過信号を要求制御回路15に送出する。回数超
過信号を受けた要求制御回路15は、LIF3(p1)
に対するLIF対応要求禁止信号を送信要求マスク回路
12に発行する。LIF3(p1)に対するLIF対応
要求禁止信号を受けた送信要求マスク回路12は、LI
F3(p1)からの送信要求信号の送出を禁止すること
により、LIF3(p1)からの送信要求を無視する。As described above, the request control circuit 15 has the LI
When the F-number detection circuit 14 is notified of the failure of the LIF3 (p1), "1" is added to the failure counter value contained as hardware, and a failure content notification signal is sent to the failure number holding circuit 16. When the received failure counter value is “3”, the failure number holding circuit 16 reaches the failure limit counter value “3” by software, and therefore the predetermined value is exceeded, and the failure number holding signal is sent to the request control circuit 15. The request control circuit 15 that has received the over-count signal outputs LIF3 (p1).
To the transmission request masking circuit 12. The transmission request mask circuit 12 that has received the LIF-compliant request prohibition signal for LIF3 (p1)
By prohibiting the transmission of the transmission request signal from F3 (p1), the transmission request from LIF3 (p1) is ignored.
【0040】このLIF3(p1)に対する障害限度カ
ウンタ値の超過状態は、要求制御回路15によりCPU
バス6を介してCPUに通知され、CPUによりLIF
3(p1)の閉塞および再開処理が行われる。CPUか
らの再会処理通知を受け、要求制御回路15はLIF対
応要求禁止信号の送出を解除する。The excess state of the fault limit counter value for this LIF3 (p1) is detected by the request control circuit 15 by the CPU.
The CPU is notified via the bus 6, and the LIF is sent by the CPU.
3 (p1) closing and resuming processing is performed. Upon receiving the reunion processing notification from the CPU, the request control circuit 15 cancels the transmission of the LIF-compliant request prohibition signal.
【0041】CPUによるソフトウェアの障害限度カウ
ンタ値の設定は、LIF毎の回線種別対応、ユーザ要求
への対応、装置品質の選択等、きめ細かな対応を可能と
している。The setting of the software fault limit counter value by the CPU enables detailed support such as line type support for each LIF, user request support, and device quality selection.
【0042】次に、中継装置2の障害対策について、図
5に図1から図3までを併せ参照して説明する。Next, a countermeasure for the failure of the relay device 2 will be described with reference to FIG. 5 together with FIGS. 1 to 3.
【0043】例えば、図示されていないLIF3(2
1)が送信したデータ信号とパリティ信号とは、共通バ
ス4(2)(図示されていない)を介して中継装置2
(2)(図示されていない)の中継制御回路23(図2
参照)により受けられ、更に、2つのバス制御回路22
まで転送されている。For example, LIF3 (2
The data signal and the parity signal transmitted by 1) are transmitted to the relay device 2 via the common bus 4 (2) (not shown).
(2) Relay control circuit 23 (not shown) (see FIG. 2)
And two bus control circuits 22
Has been transferred up to.
【0044】図2を参照して説明したように、バス制御
回路22は、データ信号およびパリティ信号に加えて、
これらデータ信号およびパリティ信号から生成される障
害用パリティ信号を中継装置間バス5に送出するので、
データ信号受信側ではデータ信号、パリティ信号、およ
び障害用パリティ信号を受信する。バス障害認識回路2
1は、これらデータ信号、パリティ信号、および障害用
パリティ信号をバス制御回路22から取込み、パリティ
障害の検出を行う。通常、中継装置間のデータ信号はパ
ケット単位であるが、本発明ではパケット単位に限定さ
れるものではない。As described with reference to FIG. 2, the bus control circuit 22 adds, in addition to the data signal and the parity signal,
Since the fault parity signal generated from these data signal and parity signal is sent to the inter-relay device bus 5,
The data signal receiving side receives the data signal, the parity signal, and the fault parity signal. Bus failure recognition circuit 2
1 takes in these data signal, parity signal, and parity signal for failure from the bus control circuit 22 and detects a parity failure. Normally, the data signal between the relay devices is in packet units, but the present invention is not limited to packet units.
【0045】バス障害認識回路21は、障害を認識する
と、中継障害ありを示す障害通知信号を調停回路1の中
継装置障害制御回路11に送出する。中継装置障害制御
回路11は、図3を参照して説明されたように、受けた
障害通知信号をもとに中継装置間バス5毎の障害カウン
タ値と障害限度カウンタ値とが一致した場合、関係する
バス制御回路22に閉塞信号を送出する。When the bus fault recognition circuit 21 recognizes a fault, it sends a fault notification signal indicating that there is a relay fault to the relay device fault control circuit 11 of the arbitration circuit 1. As described with reference to FIG. 3, the relay device failure control circuit 11 determines whether the failure counter value for each inter-relay device bus 5 matches the failure limit counter value based on the received failure notification signal. It sends a blocking signal to the associated bus control circuit 22.
【0046】閉塞信号は、上述したように、障害発生の
中継装置間バス5の両端に接続されているバス制御回路
22、例えば、中継装置(1)の中継装置(2)側のバ
ス制御回路22と、中継装置(2)の中継装置(1)側
のバス制御回路22とにそれぞれ送出され、これらバス
制御回路22を閉塞して、中継装置間バス5へのデータ
の送受信を禁止する。中継装置2の閉塞状態はCPUバ
ス9を介してCPUに通知される。CPUからの閉塞解
除通知を受けた中継装置障害制御回路11は、対象とな
るバス障害認識回路21への閉塞信号を解除して該当す
る中継装置間バス5への中継装置2からのデータ送受信
を再開させる。As described above, the blocking signal is transmitted to the bus control circuit 22 connected to both ends of the inter-relay device bus 5 in which a failure has occurred, for example, the bus control circuit on the relay device (2) side of the relay device (1). 22 and the bus control circuit 22 on the side of the relay device (1) of the relay device (2), and these bus control circuits 22 are closed to prohibit transmission / reception of data to / from the inter-relay device bus 5. The blocked state of the relay device 2 is notified to the CPU via the CPU bus 9. The relay device failure control circuit 11 that has received the blockage release notification from the CPU releases the blockage signal to the target bus fault recognition circuit 21 and transmits / receives data from / to the corresponding relay device bus 5 from the relay device 2. Resume.
【0047】上記説明では、例えば、調停装置でLIF
番号検出回路が独立して備えられ、中継装置から障害発
生通知信号が入力しているが、LIF番号検出回路を要
求制御回路に含め、障害発生通知信号が直接、要求制御
回路に入力してもよい。In the above description, for example, in the arbitration device, the LIF
Although the number detection circuit is independently provided and the failure occurrence notification signal is input from the relay device, even if the failure occurrence notification signal is directly input to the request control circuit by including the LIF number detection circuit in the request control circuit. Good.
【0048】このように、図示した機能ブロックの分
離、併合等は自由であり、上記説明による機能を満たす
ものであればよい。このように、上記説明が本発明を限
定するものではない。As described above, the functional blocks shown in the figure can be freely separated, merged, and the like, as long as they fulfill the functions described above. Thus, the above description is not meant to limit the invention.
【0049】[0049]
【発明の効果】以上説明したように本発明によれば、中
継装置が共通バス上のデータを取込み、バスの障害を認
識して調停装置に通知し、調停装置がこの中継装置から
障害の発生通知情報を受けた際、障害発生のデータから
検出したLIFを特定して障害発生回数を計数し、この
障害発生回数が所定の数値を超過した場合、このLIF
からの共通バスへの送信要求を禁止するハードウェアに
よる制御手段を有しており、同様に、調停装置が中継装
置で障害を認識した際も、この中継装置間バス毎に発生
した障害発生回数を計数し、この障害発生回数が所定の
数値を超過した場合、障害の中継装置間バスを閉塞する
ハードウェアによる制御手段を備えている。この構成に
よって、障害の発生したLIF、中継装置または中継装
置間バスを障害発生時に特定し、使用中の共通バスを早
期に解放できると共に、この特定した装置を論理的に短
時間に切離し、または、閉塞できる共通バス制御方式を
得ることができる。As described above, according to the present invention, the relay device takes in the data on the common bus, recognizes the fault of the bus and notifies the arbitration device, and the arbitration device generates the fault from the relay device. When the notification information is received, the LIF detected from the fault occurrence data is specified, the number of fault occurrences is counted, and if the number of fault occurrences exceeds a predetermined numerical value, this LIF
It has a control means by hardware that prohibits the transmission request from the device to the common bus. Similarly, even when the arbitration device recognizes a failure in the relay device, the number of failure occurrences for each inter-relay device bus And a control means by hardware for blocking the inter-relay device bus when the number of times of failure exceeds a predetermined value. With this configuration, the faulty LIF, the relay device or the inter-relay device bus can be specified when the fault occurs, the common bus in use can be released early, and the specified device can be logically disconnected in a short time, or Therefore, it is possible to obtain a common bus control method that can be blocked.
【図1】本発明の一実施例を示す機能ブロック図であ
る。FIG. 1 is a functional block diagram showing an embodiment of the present invention.
【図2】図1の中継装置の一実施例を示す機能ブロック
図である。FIG. 2 is a functional block diagram showing an embodiment of the relay device in FIG.
【図3】図1の調停装置の一実施例を示す機能ブロック
である。3 is a functional block diagram showing an embodiment of the arbitration device of FIG. 1. FIG.
【図4】図1による障害発生通知信号に関する一例を示
すタイムチャートである。FIG. 4 is a time chart showing an example of a failure occurrence notification signal according to FIG.
【図5】図1による障害通知信号に関する一例を示すタ
イムチャートである。5 is a time chart showing an example of a failure notification signal according to FIG.
【図6】従来の一例を示す機能ブロック図である。FIG. 6 is a functional block diagram showing a conventional example.
1 調停装置 2 中継装置 3 回線インタフェース装置(LIF) 4 共通バス 5 中継装置間バス 6 CPUバス 7 入出力回線 11 中継装置障害制御回路 12 送信要求マスク回路 13 調停回路 14 LIF番号検出回路 15 要求制御回路 16 障害回数保持回路 21 バス障害認識回路 22 バス制御回路 23 中継制御回路 1 arbitration device 2 relay device 3 line interface device (LIF) 4 common bus 5 inter-relay device bus 6 CPU bus 7 input / output line 11 relay device failure control circuit 12 transmission request mask circuit 13 arbitration circuit 14 LIF number detection circuit 15 request control Circuit 16 Fault frequency holding circuit 21 Bus fault recognition circuit 22 Bus control circuit 23 Relay control circuit
Claims (4)
一つの共通バスに接続してローカルネットワークを形成
する複数の回線インタフェース装置(以後LIFと称す
る)と、それぞれが一つの前記共通バスを収容接続して
相互に中継装置間バスによって接続される複数の中継装
置とで構成され、前記共通バスにデータを送信する一つ
の送信者を複数の前記LIFから決定する共通バス制御
方式において、前記共通バス上のデータを取込み、該デ
ータの障害を認識した際、障害発生のデータから検出し
たLIFを特定して障害発生回数を計数し、該障害発生
回数が所定の数値を超過した場合、該LIFから発行さ
れた前記共通バスへの送信要求に対して送信許可を禁止
する手段を備えることを特徴とする共通バス制御方式。1. A plurality of line interface devices (hereinafter referred to as LIFs), one of which is connected and terminated to an input / output line and the other is connected to one common bus to form a local network, and each of the common bus is one common bus. In the common bus control method, which is configured by a plurality of relay devices that are connected to each other and are connected to each other by the inter-relay device bus, and that determines one sender that transmits data to the common bus from the plurality of LIFs, When the data on the common bus is fetched and the failure of the data is recognized, the LIF detected from the failure data is specified to count the failure occurrence frequency, and when the failure occurrence frequency exceeds a predetermined numerical value, A common bus control system comprising means for prohibiting transmission permission in response to a transmission request issued from the LIF to the common bus.
装置間バス上のデータに障害を認識した際、該中継装置
間バス毎に発生した障害発生回数を計数し、該障害発生
回数が所定の数値を超過した場合、該中継装置間バスを
閉塞する手段を備えることを特徴とする共通バス制御方
式。2. The method according to claim 1, wherein when the relay device recognizes a failure in the data on the inter-relay device bus, the number of failure occurrences for each inter-relay device bus is counted, and the failure occurrence number is predetermined. A common bus control method comprising means for blocking the inter-relay device bus when the value of the above is exceeded.
タを送信する一つの送信者を複数の前記LIFから決定
する調停装置を備え、前記中継装置が、前記共通バス上
のデータを取込み、該データの障害を認識する手段を有
すると共に、前記調停装置が、該中継装置から障害の発
生通知情報を受け、障害発生のデータから検出したLI
Fを特定して障害発生回数を計数し、該障害発生回数が
所定の数値を超過した場合、該LIFから発行された前
記共通バスへの送信要求に対する送信許可を禁止する手
段を有することを特徴とする共通バス制御方式。3. The arbitration device according to claim 1, further comprising: an arbitration device that determines one sender for transmitting data to the common bus from a plurality of the LIFs, and the relay device captures the data on the common bus. In addition to having a unit for recognizing a data failure, the arbitration device receives the failure occurrence notification information from the relay device and detects the LI detected from the failure occurrence data.
F is specified, the number of fault occurrences is counted, and when the number of fault occurrences exceeds a predetermined numerical value, means for prohibiting transmission permission for a transmission request issued from the LIF to the common bus is provided. Common bus control method.
タを送信する一つの送信者を複数の前記LIFから決定
する調停装置を備え、前記中継装置が、前記中継装置間
バス上に転送されるデータの障害を認識する手段を有す
ると共に、前記調停装置が、前記中継装置で中継装置間
バス上のデータに障害を認識した際、該中継装置間バス
毎に発生した障害発生回数を計数し、該障害発生回数が
所定の数値を超過した場合、該中継装置間バスを閉塞す
る手段を備えることを特徴とする共通バス制御方式。4. The arbitration device according to claim 1, further comprising: an arbitration device that determines one sender for transmitting data to the common bus from the plurality of LIFs, and the relay device is transferred onto the inter-relay device bus. With a means for recognizing a data failure, the arbitration device counts the number of failure occurrences for each inter-relay device bus when the relay device recognizes a failure in the data on the inter-relay device bus, A common bus control method, comprising means for blocking the inter-relay device bus when the number of times of failure occurrence exceeds a predetermined numerical value.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6256925A JPH08123740A (en) | 1994-10-21 | 1994-10-21 | Common bus control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6256925A JPH08123740A (en) | 1994-10-21 | 1994-10-21 | Common bus control method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH08123740A true JPH08123740A (en) | 1996-05-17 |
Family
ID=17299287
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP6256925A Pending JPH08123740A (en) | 1994-10-21 | 1994-10-21 | Common bus control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH08123740A (en) |
-
1994
- 1994-10-21 JP JP6256925A patent/JPH08123740A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0359241B1 (en) | Control method for distributed processing system | |
| US5218600A (en) | Process for networking computers and/or computer networks and networking systems | |
| US4777330A (en) | Network system diagnosis system | |
| EP0580938B1 (en) | Duplex communication control device | |
| US20130272113A1 (en) | Chassis type switch | |
| CN100367262C (en) | Method for testing a monitoring function of a bus system | |
| US5712846A (en) | Order wire communication control method for line-switched ring network system | |
| JP2535594B2 (en) | Disaster prevention monitoring device | |
| JPS58170247A (en) | Automatic loop back controlling system | |
| JP2962062B2 (en) | Processor monitoring method | |
| KR100229434B1 (en) | Dual apparatus for controlling data communication | |
| KR100250888B1 (en) | Network check device of distributed control system | |
| JP2682427B2 (en) | Failure detection method on loop transmission line | |
| JP4194410B2 (en) | Monitoring terminal device | |
| US7003696B1 (en) | Fault management system for switching equipment | |
| JP3015441B2 (en) | Private communication system | |
| JPS63232542A (en) | Poling system in ring type network | |
| JP4355471B2 (en) | Communication device having alarm transfer function | |
| JPH06338896A (en) | Fault processing method for loop transmission system | |
| JPH0454747A (en) | Data transfer system | |
| JP2541111B2 (en) | Relay device alarm transfer method | |
| JPH06141036A (en) | Multi-wave ring LAN fault management system | |
| JPH04321342A (en) | Fault detection method by token access method | |
| JPH0463419B2 (en) | ||
| JP2000124936A (en) | Remote operation system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20030225 |